@saasquatch/mint-components 1.15.0-7 → 1.15.0-70

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 (913) hide show
  1. package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
  2. package/dist/cjs/IndirectTaxDetailsView-eb18813f.js +646 -0
  3. package/dist/cjs/{ShadowViewAddon-e666dc8b.js → ShadowViewAddon-ce81415d.js} +1469 -1399
  4. package/dist/cjs/{copy-text-view-7441206d.js → copy-text-view-e5223a96.js} +19 -8
  5. package/dist/cjs/data-d4339c2e.js +137 -0
  6. package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
  7. package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
  8. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  9. package/dist/cjs/{global-124aec2c.js → global-0c73fe16.js} +12152 -11932
  10. package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
  11. package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
  12. package/dist/cjs/loader.cjs.js +5 -5
  13. package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
  14. package/dist/cjs/mint-components.cjs.js +5 -5
  15. package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
  16. package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
  17. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  18. package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
  19. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +871 -2415
  20. package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
  21. package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +1128 -299
  22. package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
  23. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  24. package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
  25. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  26. package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
  27. package/dist/cjs/sqm-empty_4.cjs.entry.js +57 -63
  28. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  29. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  30. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  31. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  33. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  34. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
  35. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
  36. package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
  37. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  38. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +56 -0
  39. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
  40. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
  41. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
  42. package/dist/cjs/sqm-pagination_3.cjs.entry.js +97 -70
  43. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  44. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  45. package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
  46. package/dist/cjs/{sqm-portal-email-verification-view-f5ce25cc.js → sqm-portal-email-verification-view-405c000d.js} +4 -4
  47. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  48. package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
  49. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
  50. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  51. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  52. package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
  53. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  54. package/dist/cjs/{sqm-portal-profile-view-07d13061.js → sqm-portal-profile-view-92dc7a3a.js} +4 -4
  55. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  56. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  57. package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
  58. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  59. package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
  60. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  61. package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
  62. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  63. package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
  64. package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
  65. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
  66. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  67. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  68. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
  69. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  70. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  71. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13753 -12462
  72. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  73. package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
  74. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
  75. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
  76. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  77. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
  78. package/dist/cjs/sqm-widget-verification.cjs.entry.js +24 -14
  79. package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
  80. package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
  81. package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
  82. package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
  83. package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
  84. package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
  85. package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
  86. package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
  87. package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
  88. package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
  89. package/dist/cjs/utils-7bcbf319.js +105 -0
  90. package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
  91. package/dist/collection/collection-manifest.json +1 -1
  92. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  93. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
  94. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +162 -2
  95. package/dist/collection/components/sqm-big-stat/useBigStat.js +22 -6
  96. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +13 -4
  97. package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
  98. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
  99. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
  100. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  101. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
  102. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  103. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  104. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +60 -3
  105. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  106. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
  107. package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
  108. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  109. package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
  110. package/dist/collection/components/sqm-hero/sqm-hero-view.js +14 -6
  111. package/dist/collection/components/sqm-hero/sqm-hero.js +26 -1
  112. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
  113. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
  114. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
  115. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  116. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
  117. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
  118. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
  119. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  120. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
  121. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  122. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
  123. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +201 -60
  124. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  125. package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
  126. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
  127. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
  128. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
  129. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
  130. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
  131. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
  132. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  133. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  134. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  135. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
  136. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  137. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
  138. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  139. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  140. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
  141. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  142. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  143. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
  144. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
  145. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
  146. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
  147. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
  148. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
  149. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  150. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  151. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  152. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
  153. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  154. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
  155. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
  156. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
  157. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  158. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +34 -31
  159. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +79 -11
  160. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
  161. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +169 -1
  162. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
  163. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  164. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
  165. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  166. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
  167. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
  168. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
  169. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
  170. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
  171. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
  172. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
  173. package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
  174. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
  175. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
  176. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  177. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
  178. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  179. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +39 -42
  180. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -2
  181. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
  182. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
  183. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
  184. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
  185. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
  186. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
  187. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
  188. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
  189. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
  190. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
  191. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
  192. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  193. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  194. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  195. package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
  196. package/dist/collection/components/sqm-share-code/sqm-share-code.js +34 -4
  197. package/dist/collection/components/sqm-share-link/sqm-share-link.js +39 -5
  198. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
  199. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
  200. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
  201. package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
  202. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
  203. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  204. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  205. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
  206. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  207. package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
  208. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  209. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -20
  210. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
  211. package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
  212. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  213. package/dist/collection/components/sqm-text/sqm-text.js +100 -49
  214. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
  215. package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
  216. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  217. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  218. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  219. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
  220. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  221. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
  222. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  223. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -8
  224. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  225. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
  226. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
  227. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +54 -58
  228. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
  229. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
  230. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
  231. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
  232. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
  233. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
  234. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -62
  235. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  236. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  237. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
  238. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  239. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  240. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
  241. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
  242. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  243. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
  244. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +284 -30
  245. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  246. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -92
  247. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  248. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  249. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  250. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  251. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
  252. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  253. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  254. package/dist/collection/components/views/copy-text-view.js +17 -6
  255. package/dist/collection/components/views/email-registration-view.js +3 -1
  256. package/dist/collection/global/global.js +27 -12
  257. package/dist/collection/global/mixins.js +6 -6
  258. package/dist/collection/global/styles.js +307 -134
  259. package/dist/collection/global/styles.ts +398 -135
  260. package/dist/collection/insertfont.js +18 -0
  261. package/dist/collection/stories/PortalTemplates.stories.js +22 -30
  262. package/dist/collection/tables/GenericTableView.js +4 -4
  263. package/dist/collection/utils/parseStates.js +12 -0
  264. package/dist/collection/utils/utils.js +4 -0
  265. package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
  266. package/dist/esm/IndirectTaxDetailsView-10504666.js +639 -0
  267. package/dist/esm/{ShadowViewAddon-7c10e0ee.js → ShadowViewAddon-6a3f1594.js} +1468 -1397
  268. package/dist/esm/{copy-text-view-717050d5.js → copy-text-view-8d1713d7.js} +19 -8
  269. package/dist/esm/data-ee3ae298.js +121 -0
  270. package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
  271. package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
  272. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  273. package/dist/esm/{global-6dc825bc.js → global-d0254726.js} +11849 -11630
  274. package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
  275. package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
  276. package/dist/esm/loader.js +5 -5
  277. package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
  278. package/dist/esm/mint-components.js +5 -5
  279. package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
  280. package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
  281. package/dist/esm/raisins-plop-target.entry.js +1 -1
  282. package/dist/esm/{re-render-cc945f38.js → re-render-9c90767d.js} +2 -2
  283. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +720 -2257
  284. package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
  285. package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_43.entry.js} +1040 -213
  286. package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
  287. package/dist/esm/sqm-close-button.entry.js +5 -5
  288. package/dist/esm/sqm-code-verification.entry.js +348 -0
  289. package/dist/esm/sqm-context-router.entry.js +4 -4
  290. package/dist/esm/sqm-email-verification.entry.js +145 -21
  291. package/dist/esm/sqm-empty_4.entry.js +54 -60
  292. package/dist/esm/sqm-form-message.entry.js +7 -7
  293. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  294. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  295. package/dist/esm/sqm-header-logo.entry.js +2 -2
  296. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  297. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  298. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
  299. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  300. package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  301. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  302. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +54 -0
  303. package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
  304. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
  305. package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
  306. package/dist/esm/sqm-pagination_3.entry.js +91 -64
  307. package/dist/esm/sqm-password-field.entry.js +6 -6
  308. package/dist/esm/sqm-popup-container.entry.js +4 -4
  309. package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
  310. package/dist/esm/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-de7b4ae9.js} +4 -4
  311. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  312. package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
  313. package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
  314. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  315. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  316. package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
  317. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  318. package/dist/esm/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-790cbf95.js} +4 -4
  319. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  320. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  321. package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
  322. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  323. package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
  324. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  325. package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
  326. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  327. package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
  328. package/dist/esm/sqm-qr-code.entry.js +6 -7
  329. package/dist/esm/sqm-referral-table_11.entry.js +122 -33
  330. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  331. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  332. package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
  333. package/dist/esm/sqm-route.entry.js +1 -1
  334. package/dist/esm/sqm-scroll.entry.js +2 -2
  335. package/dist/esm/sqm-stencilbook.entry.js +13578 -12287
  336. package/dist/esm/sqm-tab.entry.js +4 -4
  337. package/dist/esm/sqm-tabs.entry.js +24 -10
  338. package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
  339. package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
  340. package/dist/esm/sqm-text-span.entry.js +6 -6
  341. package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
  342. package/dist/esm/sqm-widget-verification.entry.js +21 -11
  343. package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
  344. package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
  345. package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
  346. package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
  347. package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
  348. package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
  349. package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
  350. package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
  351. package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
  352. package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
  353. package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
  354. package/dist/esm/utils-088048b2.js +97 -0
  355. package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
  356. package/dist/esm-es5/IndirectTaxDetailsView-10504666.js +1 -0
  357. package/dist/esm-es5/ShadowViewAddon-6a3f1594.js +1 -0
  358. package/dist/esm-es5/copy-text-view-8d1713d7.js +1 -0
  359. package/dist/esm-es5/data-ee3ae298.js +1 -0
  360. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
  361. package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
  362. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  363. package/dist/esm-es5/{global-6dc825bc.js → global-d0254726.js} +5 -5
  364. package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
  365. package/dist/esm-es5/index.module-38dad6c9.js +1 -0
  366. package/dist/esm-es5/loader.js +1 -1
  367. package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
  368. package/dist/esm-es5/mint-components.js +1 -1
  369. package/dist/esm-es5/mixins-f750863a.js +1 -0
  370. package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
  371. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  372. package/dist/esm-es5/re-render-9c90767d.js +1 -0
  373. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  374. package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
  375. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -0
  376. package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
  377. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  378. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  379. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  380. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  381. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  382. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  383. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  384. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  385. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  386. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  387. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  388. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
  389. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  390. package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  391. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  392. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +1 -0
  393. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  394. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
  395. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  396. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  397. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  398. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  399. package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
  400. package/dist/esm-es5/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-de7b4ae9.js} +1 -1
  401. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  402. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
  403. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  404. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  405. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  406. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
  407. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  408. package/dist/esm-es5/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-790cbf95.js} +1 -1
  409. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  410. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  411. package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
  412. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  413. package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
  414. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  415. package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
  416. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  417. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
  418. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  419. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  420. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  421. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  422. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  423. package/dist/esm-es5/sqm-route.entry.js +1 -1
  424. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  425. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  426. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  427. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  428. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  429. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
  430. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  431. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  432. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  433. package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
  434. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
  435. package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
  436. package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
  437. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
  438. package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
  439. package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
  440. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
  441. package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
  442. package/dist/esm-es5/utilities-ad9c2893.js +1 -0
  443. package/dist/esm-es5/utils-03188de2.js +1 -0
  444. package/dist/esm-es5/utils-088048b2.js +1 -0
  445. package/dist/mint-components/global/styles.ts +398 -135
  446. package/dist/mint-components/mint-components.esm.js +1 -1
  447. package/dist/mint-components/mint-components.js +1 -1
  448. package/dist/mint-components/p-000c91b1.js +1 -0
  449. package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
  450. package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
  451. package/dist/mint-components/{p-95ae4ab9.system.js → p-034d5162.system.js} +1 -1
  452. package/dist/mint-components/p-0797a946.js +1 -0
  453. package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
  454. package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
  455. package/dist/mint-components/p-0935f9b7.system.js +1 -0
  456. package/dist/mint-components/{p-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
  457. package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
  458. package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
  459. package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
  460. package/dist/mint-components/p-0e532b53.entry.js +1 -0
  461. package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
  462. package/dist/mint-components/p-0ea61502.system.js +1 -0
  463. package/dist/mint-components/p-100c878b.system.entry.js +1 -0
  464. package/dist/mint-components/p-1337f47c.entry.js +1 -0
  465. package/dist/mint-components/p-1363c4ab.system.js +1 -0
  466. package/dist/mint-components/p-14128c84.system.entry.js +1 -0
  467. package/dist/mint-components/{p-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
  468. package/dist/mint-components/p-15bfd7e2.system.js +1 -0
  469. package/dist/mint-components/p-1a278658.entry.js +1 -0
  470. package/dist/mint-components/{p-cf8677ea.js → p-1bd88713.js} +1 -1
  471. package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
  472. package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
  473. package/dist/mint-components/p-1ee101ea.system.entry.js +1 -0
  474. package/dist/mint-components/p-1f6b213b.system.js +1 -0
  475. package/dist/mint-components/p-204861a6.js +1 -0
  476. package/dist/mint-components/p-209ea185.js +1 -0
  477. package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
  478. package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
  479. package/dist/mint-components/p-2403c6e1.system.js +1 -0
  480. package/dist/mint-components/p-240bec23.js +1 -0
  481. package/dist/mint-components/{p-d3e5704c.entry.js → p-24426218.entry.js} +1 -1
  482. package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
  483. package/dist/mint-components/{p-ad985d37.system.entry.js → p-2837d231.system.entry.js} +1 -1
  484. package/dist/mint-components/{p-a37541ae.system.entry.js → p-315fe275.system.entry.js} +1 -1
  485. package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
  486. package/dist/mint-components/p-3cb249c3.js +1 -0
  487. package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
  488. package/dist/mint-components/p-3d99fa43.entry.js +1 -0
  489. package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
  490. package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
  491. package/dist/mint-components/p-3edaf1e2.entry.js +93 -0
  492. package/dist/mint-components/p-40c01a5a.system.js +1 -0
  493. package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
  494. package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
  495. package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
  496. package/dist/mint-components/p-42da8239.system.js +1 -0
  497. package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
  498. package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
  499. package/dist/mint-components/p-49b20dae.js +1 -0
  500. package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
  501. package/dist/mint-components/p-4f2ac3e6.system.entry.js +1 -0
  502. package/dist/mint-components/p-4f5329a2.system.js +53 -0
  503. package/dist/mint-components/p-536663c9.entry.js +1 -0
  504. package/dist/mint-components/p-563fda0a.entry.js +13 -0
  505. package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
  506. package/dist/mint-components/p-587115cb.system.entry.js +1 -0
  507. package/dist/mint-components/p-59b028db.system.js +1 -0
  508. package/dist/mint-components/p-5d3c1bd6.entry.js +13 -0
  509. package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
  510. package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
  511. package/dist/mint-components/p-5ff2da11.js +1 -0
  512. package/dist/mint-components/p-60ea020f.entry.js +1 -0
  513. package/dist/mint-components/p-63e29387.js +42 -0
  514. package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
  515. package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
  516. package/dist/mint-components/p-672d144e.entry.js +1 -0
  517. package/dist/mint-components/p-67ad2252.system.js +1 -0
  518. package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
  519. package/dist/mint-components/p-692bacf3.js +1 -0
  520. package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
  521. package/dist/mint-components/p-6ad674c2.js +103 -0
  522. package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
  523. package/dist/mint-components/p-6cbb85f9.entry.js +25 -0
  524. package/dist/mint-components/p-6e069052.entry.js +1 -0
  525. package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
  526. package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.entry.js} +1 -1
  527. package/dist/mint-components/p-71271fbd.system.js +1 -0
  528. package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
  529. package/dist/mint-components/p-72f484c2.system.entry.js +1 -0
  530. package/dist/mint-components/p-7970e73a.js +1 -0
  531. package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
  532. package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
  533. package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
  534. package/dist/mint-components/{p-11519322.system.js → p-84fc5f22.system.js} +1 -1
  535. package/dist/mint-components/p-852078dd.entry.js +144 -0
  536. package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
  537. package/dist/mint-components/p-873fc567.system.entry.js +1 -0
  538. package/dist/mint-components/p-8a6494c7.system.js +1 -0
  539. package/dist/mint-components/p-8c15ba44.js +1 -0
  540. package/dist/mint-components/p-8caef004.js +1 -0
  541. package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
  542. package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
  543. package/dist/mint-components/p-8e2bead4.js +1 -0
  544. package/dist/mint-components/p-9049b387.entry.js +1 -0
  545. package/dist/mint-components/p-908ae7ed.js +1233 -0
  546. package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
  547. package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
  548. package/dist/mint-components/p-91ee1967.system.entry.js +1 -0
  549. package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
  550. package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
  551. package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
  552. package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
  553. package/dist/mint-components/p-9e297104.entry.js +1 -0
  554. package/dist/mint-components/p-9f82e69d.entry.js +1 -0
  555. package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
  556. package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
  557. package/dist/mint-components/p-a1b9da75.system.entry.js +1 -0
  558. package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
  559. package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
  560. package/dist/mint-components/p-a4758eb4.entry.js +1 -0
  561. package/dist/mint-components/p-a54a29d1.system.entry.js +1 -0
  562. package/dist/mint-components/p-a5c9ce6c.entry.js +1 -0
  563. package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
  564. package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
  565. package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
  566. package/dist/mint-components/p-af484582.js +394 -0
  567. package/dist/mint-components/p-b065215a.entry.js +1 -0
  568. package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
  569. package/dist/mint-components/p-b2bf7fcb.entry.js +16 -0
  570. package/dist/mint-components/p-b2c1b68a.system.entry.js +1 -0
  571. package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
  572. package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
  573. package/dist/mint-components/p-b710c7e0.js +1 -0
  574. package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
  575. package/dist/mint-components/{p-9209a016.system.entry.js → p-ba5613d7.system.entry.js} +1 -1
  576. package/dist/mint-components/p-bad50dc1.entry.js +1 -0
  577. package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
  578. package/dist/mint-components/p-bd288a80.system.js +1 -0
  579. package/dist/mint-components/p-be88596c.system.js +1 -0
  580. package/dist/mint-components/p-bf1f7b28.system.entry.js +1 -0
  581. package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
  582. package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
  583. package/dist/mint-components/p-c4886223.entry.js +1 -0
  584. package/dist/mint-components/p-c589c38b.js +1 -0
  585. package/dist/mint-components/p-c7965639.entry.js +1 -0
  586. package/dist/mint-components/p-c7c11325.js +1 -0
  587. package/dist/mint-components/p-c8ae3367.system.entry.js +1 -0
  588. package/dist/mint-components/p-cab1f502.js +1 -0
  589. package/dist/mint-components/{p-619c2aa3.entry.js → p-cc784086.entry.js} +2 -2
  590. package/dist/mint-components/p-cd393bc4.entry.js +11 -0
  591. package/dist/mint-components/p-d1f626e0.system.js +1 -0
  592. package/dist/mint-components/p-d31b9da5.entry.js +9 -0
  593. package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
  594. package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
  595. package/dist/mint-components/p-d785a297.system.entry.js +1 -0
  596. package/dist/mint-components/p-d7f1b1c9.system.js +1 -0
  597. package/dist/mint-components/p-d821418e.system.js +1 -0
  598. package/dist/mint-components/p-d8c5b80a.system.js +1 -0
  599. package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
  600. package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
  601. package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
  602. package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
  603. package/dist/mint-components/p-de36faf0.system.js +1 -0
  604. package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
  605. package/dist/mint-components/p-e539fed3.entry.js +1 -0
  606. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  607. package/dist/mint-components/p-e57d61af.system.js +1 -0
  608. package/dist/mint-components/p-ea2891f7.entry.js +258 -0
  609. package/dist/mint-components/p-eaeddfe2.system.js +1 -0
  610. package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
  611. package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
  612. package/dist/mint-components/{p-44a82cf3.system.js → p-eead0d96.system.js} +22 -22
  613. package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
  614. package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
  615. package/dist/mint-components/{p-abefb7cc.js → p-f1b13c6c.js} +1 -1
  616. package/dist/mint-components/p-f1dc581f.js +1 -0
  617. package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
  618. package/dist/mint-components/p-f6baa0c9.system.js +1 -0
  619. package/dist/mint-components/p-f94788ab.system.entry.js +1 -0
  620. package/dist/mint-components/p-f9c7248e.js +1 -0
  621. package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
  622. package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
  623. package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
  624. package/dist/mint-components/p-fb77f662.entry.js +1 -0
  625. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  626. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  627. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +41 -0
  628. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
  629. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
  630. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
  631. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  632. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  633. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +13 -0
  634. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
  635. package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
  636. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
  637. package/dist/types/components/sqm-hero/sqm-hero.d.ts +5 -1
  638. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
  639. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
  640. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
  641. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  642. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
  643. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
  644. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  645. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  646. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
  647. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  648. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
  649. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +52 -16
  650. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  651. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
  652. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
  653. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  654. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
  655. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  656. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  657. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  658. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
  659. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  660. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
  661. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
  662. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
  663. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
  664. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
  665. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  666. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
  667. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
  668. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
  669. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  670. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +23 -3
  671. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
  672. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +42 -0
  673. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
  674. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
  675. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
  676. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  677. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
  678. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  679. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
  680. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
  681. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
  682. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
  683. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
  684. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
  685. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
  686. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
  687. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
  688. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
  689. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
  690. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  691. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
  692. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
  693. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
  694. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
  695. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
  696. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  697. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  698. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  699. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  700. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  701. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  702. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
  703. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +10 -2
  704. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +12 -2
  705. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  706. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
  707. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
  708. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  709. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  710. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  711. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  712. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  713. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
  714. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
  715. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
  716. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  717. package/dist/types/components/sqm-text/sqm-text.d.ts +12 -0
  718. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
  719. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
  720. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  721. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  722. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  723. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  724. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -2
  725. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  726. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
  727. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  728. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
  729. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
  730. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  731. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
  732. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  733. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
  734. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  735. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +46 -4
  736. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  737. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  738. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  739. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  740. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  741. package/dist/types/components.d.ts +1093 -87
  742. package/dist/types/global/android.d.ts +7 -0
  743. package/dist/types/global/demo.d.ts +2 -0
  744. package/dist/types/global/global.d.ts +2 -2
  745. package/dist/types/global/mixins.d.ts +12 -12
  746. package/dist/types/global/styles.d.ts +10 -2
  747. package/dist/types/insertfont.d.ts +1 -0
  748. package/dist/types/saasquatch.d.ts +142 -0
  749. package/dist/types/stories/features.d.ts +4 -0
  750. package/dist/types/stories/templates.d.ts +4 -0
  751. package/dist/types/utils/parseStates.d.ts +1 -0
  752. package/dist/types/utils/utils.d.ts +1 -0
  753. package/docs/docs.docx +0 -0
  754. package/docs/raisins.json +1 -1
  755. package/grapesjs/grapesjs.js +1 -1
  756. package/package.json +3 -2
  757. package/dist/cjs/ErrorView-b2fcf954.js +0 -35
  758. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
  759. package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
  760. package/dist/cjs/sqm-invoice-table-view-f369b0a6.js +0 -2038
  761. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
  762. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
  763. package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
  764. package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
  765. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
  766. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
  767. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
  768. package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
  769. package/dist/esm/ErrorView-48e2b969.js +0 -33
  770. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
  771. package/dist/esm/sqm-asset-card.entry.js +0 -41
  772. package/dist/esm/sqm-invoice-table-view-1bd8afaa.js +0 -2022
  773. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
  774. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
  775. package/dist/esm/sqm-referred-registration.entry.js +0 -174
  776. package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
  777. package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
  778. package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
  779. package/dist/esm-es5/ShadowViewAddon-7c10e0ee.js +0 -1
  780. package/dist/esm-es5/copy-text-view-717050d5.js +0 -1
  781. package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
  782. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  783. package/dist/esm-es5/index.module-89a79f66.js +0 -1
  784. package/dist/esm-es5/luxon-8d51c92b.js +0 -1
  785. package/dist/esm-es5/mixins-83f90fa1.js +0 -1
  786. package/dist/esm-es5/re-render-cc945f38.js +0 -1
  787. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
  788. package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
  789. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  790. package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
  791. package/dist/esm-es5/sqm-invoice-table-view-1bd8afaa.js +0 -1
  792. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  793. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  794. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  795. package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
  796. package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
  797. package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
  798. package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
  799. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
  800. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
  801. package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
  802. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
  803. package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
  804. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
  805. package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
  806. package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
  807. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
  808. package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
  809. package/dist/esm-es5/utilities-5b0ca040.js +0 -1
  810. package/dist/esm-es5/utils-334c1e34.js +0 -1
  811. package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
  812. package/dist/mint-components/p-04a6e457.entry.js +0 -1
  813. package/dist/mint-components/p-11542862.system.entry.js +0 -1
  814. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  815. package/dist/mint-components/p-14a65f29.system.js +0 -1
  816. package/dist/mint-components/p-1513309d.entry.js +0 -1
  817. package/dist/mint-components/p-19ccb4ce.js +0 -1
  818. package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
  819. package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
  820. package/dist/mint-components/p-208d8d75.system.entry.js +0 -1
  821. package/dist/mint-components/p-217514ac.system.js +0 -1
  822. package/dist/mint-components/p-229f797b.js +0 -1
  823. package/dist/mint-components/p-24db5c70.js +0 -1
  824. package/dist/mint-components/p-26468242.js +0 -1
  825. package/dist/mint-components/p-275b4767.entry.js +0 -1
  826. package/dist/mint-components/p-2bbff88f.entry.js +0 -1
  827. package/dist/mint-components/p-2c07df76.entry.js +0 -144
  828. package/dist/mint-components/p-2dca9e1a.system.js +0 -1
  829. package/dist/mint-components/p-2e110002.system.js +0 -1
  830. package/dist/mint-components/p-33c96e14.entry.js +0 -16
  831. package/dist/mint-components/p-38de17fa.system.js +0 -1
  832. package/dist/mint-components/p-38e5c429.system.js +0 -1
  833. package/dist/mint-components/p-38fc919b.entry.js +0 -1
  834. package/dist/mint-components/p-3a49811c.js +0 -1
  835. package/dist/mint-components/p-3a62a7e2.system.js +0 -1
  836. package/dist/mint-components/p-3db34d68.js +0 -1
  837. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  838. package/dist/mint-components/p-42187319.system.entry.js +0 -1
  839. package/dist/mint-components/p-4428294b.entry.js +0 -1
  840. package/dist/mint-components/p-48135f99.system.js +0 -53
  841. package/dist/mint-components/p-4874193a.system.js +0 -1
  842. package/dist/mint-components/p-49206a9c.entry.js +0 -1
  843. package/dist/mint-components/p-49deb225.entry.js +0 -1
  844. package/dist/mint-components/p-4dbe2d08.entry.js +0 -25
  845. package/dist/mint-components/p-4e5af50c.js +0 -1
  846. package/dist/mint-components/p-51495bc3.entry.js +0 -13
  847. package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
  848. package/dist/mint-components/p-6055eb4c.system.js +0 -1
  849. package/dist/mint-components/p-6333265f.system.js +0 -1
  850. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  851. package/dist/mint-components/p-6427e963.entry.js +0 -1
  852. package/dist/mint-components/p-65ba9e94.entry.js +0 -1
  853. package/dist/mint-components/p-6b7a595f.system.js +0 -1
  854. package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
  855. package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
  856. package/dist/mint-components/p-6f34c2c2.entry.js +0 -13
  857. package/dist/mint-components/p-734695a0.entry.js +0 -205
  858. package/dist/mint-components/p-775f3ded.entry.js +0 -1
  859. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  860. package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
  861. package/dist/mint-components/p-7e3a84bc.js +0 -1
  862. package/dist/mint-components/p-7f1e10d3.entry.js +0 -9
  863. package/dist/mint-components/p-802b9f7e.entry.js +0 -1
  864. package/dist/mint-components/p-8053366e.system.entry.js +0 -1
  865. package/dist/mint-components/p-837dbf90.system.entry.js +0 -1
  866. package/dist/mint-components/p-893d7ab4.js +0 -1
  867. package/dist/mint-components/p-8abfeff8.entry.js +0 -1
  868. package/dist/mint-components/p-8c12078e.js +0 -394
  869. package/dist/mint-components/p-8c23d1b8.js +0 -1
  870. package/dist/mint-components/p-8c494bf1.js +0 -1
  871. package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
  872. package/dist/mint-components/p-90421929.system.entry.js +0 -1
  873. package/dist/mint-components/p-91521e9d.js +0 -1
  874. package/dist/mint-components/p-92816d1f.js +0 -1
  875. package/dist/mint-components/p-93fed35b.system.js +0 -1
  876. package/dist/mint-components/p-94a876b9.js +0 -1
  877. package/dist/mint-components/p-97d4d651.system.js +0 -1
  878. package/dist/mint-components/p-98698131.js +0 -1
  879. package/dist/mint-components/p-9acb5038.js +0 -1
  880. package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
  881. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  882. package/dist/mint-components/p-bb3f1257.system.entry.js +0 -1
  883. package/dist/mint-components/p-bd2a2546.system.js +0 -1
  884. package/dist/mint-components/p-bdbbc673.system.entry.js +0 -1
  885. package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
  886. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  887. package/dist/mint-components/p-c0d839d0.entry.js +0 -258
  888. package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
  889. package/dist/mint-components/p-c3680c02.js +0 -1
  890. package/dist/mint-components/p-c6841ab8.system.entry.js +0 -1
  891. package/dist/mint-components/p-ccb5699b.js +0 -1
  892. package/dist/mint-components/p-cd1d497f.system.js +0 -1
  893. package/dist/mint-components/p-cd63a965.system.entry.js +0 -1
  894. package/dist/mint-components/p-cd651f81.js +0 -42
  895. package/dist/mint-components/p-d8cf46ba.system.js +0 -1
  896. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  897. package/dist/mint-components/p-df89186f.system.js +0 -1
  898. package/dist/mint-components/p-e01fe915.js +0 -1248
  899. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  900. package/dist/mint-components/p-eab1c9f3.js +0 -1
  901. package/dist/mint-components/p-ed11966d.system.js +0 -1
  902. package/dist/mint-components/p-eda5e82c.entry.js +0 -1
  903. package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
  904. package/dist/mint-components/p-f26aedcd.system.js +0 -1
  905. package/dist/mint-components/p-f2d8d3d3.system.entry.js +0 -1
  906. package/dist/mint-components/p-f708da7b.js +0 -1
  907. package/dist/mint-components/p-fd0a013f.entry.js +0 -1
  908. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
  909. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
  910. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
  911. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
  912. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  913. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ import{r as e,h as r,c as s}from"./p-c7c11325.js";import{n as t}from"./p-63e29387.js";import"./p-8e2bead4.js";import{a as o}from"./p-fb5be0c5.js";const n=class{constructor(r){e(this,r),this.columnTitle="Note",t(this)}disconnectedCallback(){}async renderCell(e,s){var t;return r("sqm-rewards-table-customer-note-cell",{note:null===(t=null==e?void 0:e.meta)||void 0===t?void 0:t.message,locale:null==s?void 0:s.locale})}async renderLabel(){return this.columnTitle}render(){return o([this.columnTitle]),r(s,{style:{display:"none"}})}};export{n as sqm_rewards_table_customer_note_column}
@@ -1,4 +1,4 @@
1
- import{k as i,f as r}from"./p-cd651f81.js";import{d as e,J as o,X as n,$ as s}from"./p-94a876b9.js";const t=e.gql`
1
+ import{k as i,f as r}from"./p-63e29387.js";import{d as e,J as o,X as n,$ as s}from"./p-8e2bead4.js";const t=e.gql`
2
2
  query userLookup {
3
3
  viewer {
4
4
  ... on User {
@@ -0,0 +1,16 @@
1
+ import{r as e,h as i}from"./p-c7c11325.js";import{k as r,f as o,n as t}from"./p-63e29387.js";import{d as a,J as n,I as s,q as c,X as l,i as d}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as u}from"./p-6951663b.js";import{e as h,p as f}from"./p-0797a946.js";import{S as p,V as y,a as v}from"./p-38c7775a.js";const g=a.gql`
2
+ query checkUserVerification {
3
+ viewer {
4
+ ... on User {
5
+ id
6
+ accountId
7
+ email
8
+ emailVerified
9
+ managedIdentity {
10
+ email
11
+ emailVerified
12
+ }
13
+ }
14
+ }
15
+ }
16
+ `,V=class{constructor(i){e(this,i),this.general_verifyEmailHeader="Verify your email",this.general_verifyEmailDescription="To get your cash paid out directly to your bank account, please complete your account setup",this.emailStep_verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.",this.emailStep_sendCodeErrorHeader="There was an error sending your code.",this.emailStep_sendCodeErrorDescription="Please try again. If this problem continues, contact our program support team.",this.emailStep_emailLabel="Email",this.emailStep_sendCodeText="Send code",this.emailStep_emailValidationErrorText="Please enter a valid email",this.codeStep_verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.codeStep_resendCodeText="Didn't receive your code? {resendCodeLink}",this.codeStep_resendCodeLabel="Resend code",this.codeStep_codeResentSuccessfullyText="Another code has been sent to {email}",this.codeStep_invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.",this.codeStep_verifyText="Verify",this.codeStep_networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.",this.stateController="{}",t(this)}disconnectedCallback(){}getStepTextProps(e){const i=u(this);return h(i,e)}render(){const e=d()?function(e){const[i,r]=s({namespace:p,initialValue:!1}),[o,t]=s({namespace:y,initialValue:void 0}),a=c(v),n=f(e.stateController),l=Object.keys(n).reduce(((e,i)=>"sqm-widget-verification"===i?{...e,...n[i]}:{...e,[`${i}_stateController`]:n[i]}),{});return m({showCode:i,onVerification:()=>{a(!0)},loading:!1},l||{},{arrayMerge:(e,i)=>i})}(this):function(){const e=n(),[i,t]=s({namespace:p,initialValue:!1}),[a,d]=s({namespace:y,initialValue:null==e?void 0:e.email}),m=c(v),[u,h]=r(!0),[f]=l(g);return o((()=>{(async()=>{var e,i,r;try{const o=await f({});if(!o||o instanceof Error)throw new Error;((null===(e=null==o?void 0:o.viewer)||void 0===e?void 0:e.emailVerified)||(null===(r=null===(i=null==o?void 0:o.viewer)||void 0===i?void 0:i.managedIdentity)||void 0===r?void 0:r.emailVerified))&&m(!0)}catch(e){console.error("Could not fetch user information:",e)}finally{h(!1)}})()}),[]),{showCode:i,onVerification:()=>{m(!0)},loading:u}}();if(e.loading)return i("sl-spinner",null);const t=this.getStepTextProps("general_");return i("div",null,i("h3",{style:{fontSize:"24px",margin:"0"}},t.verifyEmailHeader),i("p",{style:{color:"var(--sl-color-neutral-500)",fontSize:"var(--sl-font-size-medium)",margin:"0"}},t.verifyEmailDescription),e.showCode?i("sqm-code-verification",Object.assign({onVerification:e.onVerification},this.getStepTextProps("codeStep_"),h(e,"sqm-code-verification_"))):i("sqm-email-verification",Object.assign({},this.getStepTextProps("emailStep_"),h(e,"sqm-email-verification_"))))}};export{V as sqm_widget_verification}
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __spreadArrays=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),a=0,t=0;t<r;t++)for(var n=arguments[t],o=0,s=n.length;o<s;o++,a++)i[a]=n[o];return i};System.register(["./p-59b028db.system.js","./p-eead0d96.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-15bfd7e2.system.js","./p-1a673057.system.js","./p-1f6b213b.system.js","./p-e55aafe9.system.js","./p-d821418e.system.js"],(function(e){"use strict";var t,r,i,a,n,o,s,d,u,c,l,h,p,m,f,y,b,v,_,g,x,T,S,I,C,P,k,A,w,L,N,B;return{setters:[function(e){t=e.r;r=e.h},function(){},function(e){i=e.u;a=e.f;n=e.n},function(e){o=e.M;s=e._;d=e.J;u=e.L;c=e.I;l=e.S;h=e.i},function(e){p=e.c},function(e){m=e.g},function(){},function(e){f=e.g;y=e.L},function(e){b=e.e;v=e.p},function(e){_=e.T;g=e.a;x=e.U;T=e.C;S=e.b;I=e.S;C=e.c;P=e.G;k=e.d;A=e.e;w=e.F;L=e.f;N=e.g;B=e.h}],execute:function(){function E(e){var t,r;if(!((t=e.impactConnection)===null||t===void 0?void 0:t.connected)||!((r=e.impactConnection)===null||r===void 0?void 0:r.publisher)){return"/1"}var i=e.impactConnection.publisher,a=i.requiredTaxDocumentType,n=i.currentTaxDocument,o=i.withdrawalSettings,s=i.brandedSignup;if(a&&!n)return"/3";if(!o&&s)return"/4";return"/dashboard"}function D(){var e,t,r,n,h;var p=s();var m=d();var y=u();var b=c({namespace:_,initialValue:"/loading"}),v=b[0],D=b[1];var F=c({namespace:g,initialValue:{}}),R=F[0],q=F[1];var H=c({namespace:x,initialValue:{firstName:undefined,lastName:undefined,email:undefined,countryCode:undefined,currency:undefined}}),V=H[0],j=H[1];var O=c({namespace:T,initialValue:[]}),G=O[0],M=O[1];var U=c({namespace:S,initialValue:[]}),W=U[0],Y=U[1];var Q=c({namespace:I,initialValue:[]}),Z=Q[0],z=Q[1];var J=l({namespace:C,query:P,skip:!m,options:{batch:false}}),K=J.data,X=J.errors;var $=((r=(t=(e=K===null||K===void 0?void 0:K.user)===null||e===void 0?void 0:e.impactConnection)===null||t===void 0?void 0:t.publisher)===null||r===void 0?void 0:r.countryCode)||V.countryCode;l({namespace:k,query:A,skip:!m});var ee=l({namespace:w,query:L,skip:!m,variables:{filter:le()}}),te=ee.data,re=ee.refetch;var ie=l({namespace:N,query:B,skip:!m,variables:{locale:y}}).data;var ae=i((function(){var e,t;var r=(t=(e=te===null||te===void 0?void 0:te.impactFinanceNetworkSettings)===null||e===void 0?void 0:e.data)===null||t===void 0?void 0:t.reduce((function(e,t){var r,i;var a=(i=(r=ie===null||ie===void 0?void 0:ie.currencies)===null||r===void 0?void 0:r.data)===null||i===void 0?void 0:i.find((function(e){return e.currencyCode===t.currency}));if(!a)return e;if(e.find((function(e){return e.currencyCode===t.currency})))return e;if(V.countryCode&&t.countryCode!==$)return e;return __spreadArrays(e,[a])}),[]);return r}),[te,$]);var ne=(y===null||y===void 0?void 0:y.replace("_","-"))||"en";var oe=function(e,t){return e.displayName<t.displayName?-1:1};var se=(n=te===null||te===void 0?void 0:te.impactFinanceNetworkSettings)===null||n===void 0?void 0:n.data;var de=i((function(){return new Set(se===null||se===void 0?void 0:se.map((function(e){return e.countryCode})).filter((function(e){return e})))}),[se]);var ue=["CA","GB","US"];var ce=i((function(){return Array.from(de).map((function(e){return f({countryCode:e,locale:ne})})).sort(oe).reduce((function(e,t){if(ue.includes(t.countryCode))return __spreadArrays([t],e);return __spreadArrays(e,[t])}),[])}),[de]);a((function(){if(ce)z(ce)}),[ce]);a((function(){if(ae)M(ae)}),[ae]);a((function(){if(X){D("/error");return}if(!p||!m)return;if(K){var e=K===null||K===void 0?void 0:K.user;if(!e||v!=="/loading")return;var t=E(e);D(t)}}),[p,m,(h=K===null||K===void 0?void 0:K.user)===null||h===void 0?void 0:h.email,X]);function le(){var e,t,r;if(v==="/1")return{};if(v==="/4")return{currency_eq:(r=(t=(e=K===null||K===void 0?void 0:K.user)===null||e===void 0?void 0:e.impactConnection)===null||t===void 0?void 0:t.publisher)===null||r===void 0?void 0:r.currency};if($)return{countryCode_eq:$};return{}}return{step:v,setStep:D,context:R,namespace:o(_),loading:v==="/loading"}}var F=e("sqm_tax_and_cash",function(){function e(e){t(this,e);this.step1_firstName="First name";this.step1_lastName="Last name";this.step1_email="Email";this.step1_country="Country";this.step1_phoneNumber="Phone number";this.step1_address="Address";this.step1_city="City";this.step1_state="State";this.step1_province="Province";this.step1_region="Region";this.step1_postalCode="Postal code";this.step1_currency="Currency";this.step1_currencyHelpText="Choose your preferred payout currency";this.step1_allowBankingCollection="I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";this.step1_personalInformation="Personal Information";this.step1_termsAndConditionsLabel="terms and conditions";this.step1_termsAndConditionsLink="https://terms.advocate.impact.com/PayoutTermsAndConditions.html";this.step1_searchForCurrencyText="Search for currency..";this.step2_indirectTax="Indirect Tax";this.step2_indirectTaxDescription="Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";this.step2_indirectTaxDetails="Indirect tax details";this.step2_otherRegion="Registered for indirect tax";this.step2_otherRegionSubtext="If you’ve registered with your tax authority, add your information to stay tax compliant.";this.step2_notRegistered="Not registered for indirect tax";this.step2_notRegisteredSubtext="If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";this.step2_selectedRegion="Country / region of indirect tax";this.step2_indirectTaxNumber="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";this.step2_province="Province";this.step2_indirectTaxNumberError="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";this.step2_qstNumber="QST number";this.step2_isRegisteredQST="I am registered for QST Tax";this.step2_isRegisteredSubRegionIncomeTax="I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";this.step2_subRegion="Sub-region";this.step2_subRegionTaxNumberLabel="Income Tax Number";this.step2_cannotChangeInfoAlert="Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";this.step3_taxForm="Tax form";this.step3_taxFormLabel="{documentType} Tax Form";this.step3_participantType="Participant type";this.step3_businessEntity="I represent a business";this.step3_individualParticipant="I am an individual participant";this.step3_taxFormDescription="Participants based in the US need to submit a {documentType} form.";this.step3_taxFormDescriptionIndividualParticipant="Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";this.step3_taxFormDescriptionBusinessEntity="Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";this.step3_docusignExpired="For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";this.step3_refreshButton="Refresh Page";this.step3_exitButton="Exit";this.step3_modalTitle="Important Note";this.step3_modalDescription="Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";this.step3_modalButtonText="I understand";this.step4_taxAndPayouts="Payouts";this.step4_directlyToBankAccount="Directly to my bank account";this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})";this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold";this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month";this.step4_paymentDaySelectLabel="Payment Day";this.step4_paymentThresholdSelectLabel="Payment threshold";this.step4_paymentDayFirstOfMonthLabelText="1st of the month";this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month";this.step4_paymentMethod="Payment method";this.step4_paymentSchedule="Payment schedule";this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.";this.step4_payPalInputLabel="PayPal email";this.step4_bankLocationLabel="Bank country location";this.step4_beneficiaryAccountNameLabel="Account holder name";this.step4_beneficiaryAccountNameDescription="The beneficiary name of your bank account. Ensure this matches the name on your tax form.";this.step4_bankAccountTypeLabel="Bank account type";this.step4_checkingSelectItemLabel="Checking";this.step4_savingsSelectItemLabel="Savings";this.step4_bankAccountNumberLabel="Bank account number";this.step4_ibanLabel="IBAN";this.step4_swiftCodeLabel="SWIFT code";this.step4_routingCodeLabel="{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";this.step4_bankNameLabel="Bank name";this.step4_classificationEntityLabel="Classification entity";this.step4_businessSelectItemLabel="Business";this.step4_individualSelectItemLabel="Individual";this.step4_foreignSelectItemLabel="Foreign";this.step4_classificationCPFLabel="Classification CPF";this.step4_patronymicNameLabel="Patronymic name";this.step4_voCodeLabel="VO code";this.step4_agencyCodeLabel="Agency code";this.step4_branchCodeLabel="Branch code";this.step4_classificationLabel="Classification";this.step4_taxPayerIdLabel="Beneficiary INN";this.step4_bankAddressLabel="Bank address";this.step4_bankCityLabel="Bank city";this.step4_bankStateLabel="Bank Province / State";this.step4_bankPostalCodeLabel="Bank postal code";this.step4_eftWithdrawalLabel="EFT Withdrawal (free)";this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)";this.step4_verifyEmailHeaderText="Verify your email";this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";this.step4_modalTitle="Important Note";this.step4_modalDescription="Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";this.step4_modalButtonText="I understand, update my information";this.dashboard_statusTextActive="Active";this.dashboard_statusTextNotActive="Invalid Tax Form";this.dashboard_statusTextNotVerified="Not Verified";this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.";this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.";this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.";this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile";this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid";this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.";this.dashboard_taxAlertNotActiveMessageW8="Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";this.dashboard_invalidForm="Make sure your information is correct and submit new form.";this.dashboard_bankingInformationSectionHeader="Payout Information";this.dashboard_taxDocumentSectionHeader="Tax documents";this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form";this.dashboard_noFormNeededSubtext="Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";this.dashboard_indirectTaxInfoSectionHeader="Indirect tax";this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}";this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}";this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}";this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.";this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}";this.dashboard_newFormButton="Submit new form";this.dashboard_editPaymentInformationButton="Edit Payout Information";this.dashboard_notRegisteredForTax="Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";this.dashboard_qstNumber="QST number: {qstNumber}";this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}";this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}";this.dashboard_accountText="Account";this.dashboard_invoiceColumnTitle="Invoice";this.dashboard_dateColumnTitle="Date";this.dashboard_earningsColumnTitle="Earnings";this.dashboard_indirectTaxColumnTitle="Indirect tax";this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax";this.dashboard_payoutHoldAlertHeader="Your payout is on hold";this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.";this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.";this.dashboard_invoicePrevLabel="Prev";this.dashboard_invoiceMoreLabel="Next";this.dashboard_invoiceHeader="Invoices";this.dashboard_invoiceEmptyStateHeader="View your invoice details";this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned";this.dashboard_replaceTaxFormModalHeader="Replace existing tax form";this.dashboard_replaceTaxFormModalBodyText="Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";this.dashboard_verificationRequiredHeader="Verify your identity";this.dashboard_verificationRequiredDescription="Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress";this.dashboard_verificationRequiredInternalDescription="Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review";this.dashboard_verificationReviewInternalDescription="Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful";this.dashboard_verificationFailedInternalDescription="Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";this.dashboard_verificationRequiredButtonText="Start Verification";this.formStep="Step {step} of {count}";this.generalErrorTitle="There was a problem submitting your information";this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.";this.fieldRequiredError="{fieldName} is required";this.invalidCharacterError="{fieldName} includes characters that aren't supported.";this.fieldInvalidError="{fieldName} is invalid";this.continueButton="Continue";this.backButton="Back";this.cancelButton="Cancel";this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com";this.isPartnerAlertDescription="If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";this.searchForCountryText="Search for country..";this.loadingErrorAlertHeader="There was a problem loading your form";this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.";this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.";this.supportLink="support team";this.stateController="{}";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getGeneralStepTextProps=function(e){var t=m(this);return __assign(__assign({},b(t,e)),{generalErrorTitle:t.generalErrorTitle,generalErrorDescription:t.generalErrorDescription,fieldRequiredError:t.fieldRequiredError,invalidCharacterError:t.invalidCharacterError,fieldInvalidError:t.fieldInvalidError,continueButton:t.continueButton,backButton:t.backButton,cancelButton:t.cancelButton,isPartnerAlertHeader:t.isPartnerAlertHeader,isPartnerAlertDescription:t.isPartnerAlertDescription,loadingErrorAlertHeader:t.loadingErrorAlertHeader,loadingErrorAlertDescription:t.loadingErrorAlertDescription,taxAndPayoutsDescription:t.taxAndPayoutsDescription,searchForCountryText:t.searchForCountryText,formStep:t.formStep,supportLink:t.supportLink})};e.prototype.render=function(){var e=this;var t,i;var a=h()?R(this):D();if((t=this.demoData)===null||t===void 0?void 0:t.showTextProps){var n=m(this);return r("div",null,(i=Object.keys(n))===null||i===void 0?void 0:i.map((function(t){if(t==="demoData")return;return r("div",null,r("b",null,t,":")," ",e[t],r("hr",null))})))}var o=function(){switch(a.step){case"/1":return r("sqm-user-info-form",Object.assign({},e.getGeneralStepTextProps("step1_"),b(a,"sqm-user-info-form_")));case"/2":return r("sqm-indirect-tax-form",Object.assign({},e.getGeneralStepTextProps("step2_"),b(a,"sqm-indirect-tax-form_")));case"/3":return r("sqm-docusign-form",Object.assign({},e.getGeneralStepTextProps("step3_"),b(a,"sqm-docusign-form_")));case"/4":return r("sqm-banking-info-form",Object.assign({},e.getGeneralStepTextProps("step4_"),b(a,"sqm-banking-info-form_")));case"/dashboard":return r("sqm-tax-and-cash-dashboard",Object.assign({},e.getGeneralStepTextProps("dashboard_"),b(a,"sqm-tax-and-cash-dashboard_")));case"/error":return r("sqm-form-message",{type:"error"},r("p",{part:"alert-title"},e.loadingErrorAlertHeader),r("p",{part:"alert-description"},e.loadingErrorAlertDescription))}};return o()||r(y,null)};return e}());function R(e){var t=c({namespace:_,initialValue:"/1"}),r=t[0],i=t[1];console.log("PROPS",e);var a=v(e.stateController);var n=Object.keys(a).reduce((function(e,t){var r;return t==="sqm-tax-and-cash"?__assign(__assign({},e),a[t]):__assign(__assign({},e),(r={},r[t+"_stateController"]=a[t],r))}),{});return p({step:r,setStep:i},e.demoData||n||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-6cd4f2b1.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-2e110002.system.js","./p-8175e85f.system.js","./p-217514ac.system.js","./p-571e1427.system.js","./p-9d362d44.system.js","./p-13ed8586.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,f,d,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){f=e.B},function(e){d=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var f=n({mode:"base"}),d=f[0],h=f[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:d,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(f,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(d,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,o)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-a148663a.system.js","./p-be88596c.system.js","./p-b6911812.system.js","./p-9d362d44.system.js","./p-3dc34570.system.js"],(function(e){"use strict";var t,r,n,a,i,s,o,l,u,c,d,f,h;return{setters:[function(e){t=e.r;r=e.h},function(e){n=e.k;a=e.n},function(e){i=e.i;s=e.j},function(e){o=e.j},function(e){l=e.c},function(e){u=e.c},function(){},function(){},function(e){c=e.a},function(e){d=e.B},function(e){f=e.P},function(){},function(e){h=e.u}],execute:function(){var m=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Error);m.prototype.name="InvalidTokenError";function g(e){return decodeURIComponent(atob(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function p(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return g(t)}catch(e){return atob(t)}}function b(e,t){if(typeof e!=="string"){throw new m("Invalid token specified: must be a string")}t||(t={});var r=t.header===true?0:1;var n=e.split(".")[r];if(typeof n!=="string"){throw new m("Invalid token specified: missing part #"+(r+1))}var a;try{a=p(n)}catch(e){throw new m("Invalid token specified: invalid base64 for part #"+(r+1)+" ("+e.message+")")}try{return JSON.parse(a)}catch(e){throw new m("Invalid token specified: invalid json for part #"+(r+1)+" ("+e.message+")")}}function v(e){var t=this;var r=n(null),a=r[0],i=r[1];var s=c(),l=s[0],u=s[1];var d=n({mode:"base"}),f=d[0],h=d[1];var m=function(r){return __awaiter(t,void 0,void 0,(function(){var t,n,a;return __generator(this,(function(s){t=r.target.getFormControls();n={};a=null;t.forEach((function(t){if(!t.name||t.name!=="/email")return;o.set(n,t.name,t.value);if(t.required&&!t.value)a=e.requiredFieldErrorMessage;if(typeof t.validationError==="function"){var r=t.validationError;var i=r({control:t,key:"email",value:t.value});if(i)a=i}}));if(a){i(a);return[2]}u(__assign(__assign({},l),{initialData:__assign(__assign({},l===null||l===void 0?void 0:l.initialData),n)}));h({mode:"manual"});return[2]}))}))};var g=function(e){var t;if(!((t=e.detail)===null||t===void 0?void 0:t.credential))return;try{var r=b(e.detail.credential);u(__assign(__assign({},l),{_googleOAuthIdToken:e.detail.credential,initialData:{email:r.email,firstName:r.given_name,lastName:r.family_name}}));h({mode:"google"})}catch(e){console.error("Failed to decode Google Sign In credential JWT:",e)}};return{showRegistrationForm:f,emailValidationError:a,handleGoogleInit:g,handleEmailSubmit:m}}var _=e("sqm_portal_google_registration_form",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.redirectPath="/verifyEmail";this.emailLabel="Email";this.passwordLabel="Password";this.submitLabel="Register";this.loginLabel="Sign in";this.confirmPasswordLabel="Confirm Password";this.confirmPassword=false;this.disablePasswordValidation=false;this.hideInputs=false;this.pageLabel="Register";this.loginPath="/login";this.loginCTA="Already have an account?";this.requiredFieldErrorMessage="Cannot be empty";this.networkErrorMessage="Network request failed.";this.passwordMismatchErrorMessage="Passwords do not match.";this.invalidEmailErrorMessage="Must be a valid email address";this.formDisabledErrorMessage="The registration form is currently disabled.";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.googleButtonText="signup_with";a(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=i()?w(this):h(this),t=e.states,n=e.callbacks,a=e.refs;var o={LoginButton:{"&::part(label)":{padding:"0"}}};var l=u(o);var c=l.toString();var m=i()?y(this):v(this),g=m.handleGoogleInit,p=m.handleEmailSubmit,b=m.showRegistrationForm,_=m.emailValidationError;var E={formData:r("slot",{name:"formData"}),googleButton:r("sqm-google-sign-in",{text:this.googleButtonText,onInitComplete:g}),secondaryButton:r("slot",{name:"secondaryButton"},r("style",null,c),r("span",null,this.loginCTA," ",r("sl-button",{size:"large",type:"text",disabled:t.loading,onClick:function(){return s.push(t.loginPath)},className:l.classes.LoginButton},this.loginLabel)," ")),terms:r("slot",{name:"terms"}),emailLabel:this.emailLabel,passwordLabel:this.passwordLabel,submitLabel:this.submitLabel,pageLabel:this.pageLabel,confirmPasswordLabel:this.confirmPasswordLabel,networkErrorMessage:this.networkErrorMessage,passwordMismatchErrorMessage:this.passwordMismatchErrorMessage,invalidEmailErrorMessage:this.invalidEmailErrorMessage,formDisabledErrorMessage:this.formDisabledErrorMessage,requiredFieldErrorMessage:this.requiredFieldErrorMessage,meetsRequirementsText:this.meetsRequirementsText,doesNotMeetRequirementsText:this.doesNotMeetRequirementsText,minErrorText:this.minErrorText,uppercaseErrorText:this.uppercaseErrorText,lowercaseErrorText:this.lowercaseErrorText,hasErrorText:this.hasErrorText};if(b.mode==="base"){return r(d,{states:{error:_},callbacks:{handleEmailSubmit:p},content:E})}return r(f,{states:__assign(__assign({},t),{emailDisabled:true,hidePasswords:b.mode==="google"}),callbacks:n,content:__assign({},E),refs:a})};return e}());function w(e){var t=this;return l({states:{error:"",loading:false,confirmPassword:e.confirmPassword,hideInputs:e.hideInputs||false,customPasswordField:false,loginPath:"/login"},callbacks:{handleGoogleInit:function(){},setShowRegistrationForm:function(){},submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},inputFunction:function(){}},content:{pageLabel:"Register",formData:null,passwordField:null},refs:{formRef:{}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}function y(e){var t=n({mode:"base"}),r=t[0],a=t[1];return l({emailValidationError:true,handleEmailSubmit:function(){return a({mode:"manual"})},showRegistrationForm:r,handleGoogleInit:function(){return a({mode:"google"})}},e.demoGoogleData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +1 @@
1
- System.register(["./p-f26aedcd.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-2e110002.system.js"],(function(e){"use strict";var r,t,i,a,o,s,l,n;return{setters:[function(e){r=e.h},function(e){t=e.c},function(e){i=e.A;a=e.a;o=e.H;s=e.b;l=e.E},function(e){n=e.T}],execute:function(){e("P",p);var d={Wrapper:i,Column:a,HostBlock:o,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:s,ErrorStyle:l};var u="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var m=t(d);var v=m.toString();function p(e){var t,i,a,o,s,l,d,p,c,b,g,f,x,E,y,w,h,S,F,T;var q=e.states,P=e.refs,M=e.callbacks,j=e.content;if(q.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return r("div",{class:m.classes.Wrapper,part:"sqm-base"},r("style",{type:"text/css"},u,v),r(n,{type:"h3"},j.pageLabel),r("sl-form",{class:m.classes.Column,"onSl-submit":M.submit,ref:function(e){return P.formRef.current=e},novalidate:true},((t=q.registrationFormState)===null||t===void 0?void 0:t.disabled)?r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},q.registrationFormState.disabledMessage)):q.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},e.states.error)),j.formData,!q.hideInputs&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:j.emailLabel||"Email",disabled:q.loading||((i=q.registrationFormState)===null||i===void 0?void 0:i.disabled)||q.emailDisabled,required:true,validationError:function(e){var r=e.value;if(!r){return j.requiredFieldErrorMessage}if(!r.includes("@")){return j.invalidEmailErrorMessage}}},((o=(a=q.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.email)?{value:(l=(s=q.registrationFormState)===null||s===void 0?void 0:s.initialData)===null||l===void 0?void 0:l.email}:{},((p=(d=q.registrationFormState)===null||d===void 0?void 0:d.validationErrors)===null||p===void 0?void 0:p.email)?{class:m.classes.ErrorStyle,helpText:((b=(c=q.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||b===void 0?void 0:b.email)||j.requiredFieldErrorMessage}:[])),!(q.hideInputs||q.hidePasswords)&&r("sqm-password-field",{fieldLabel:j.passwordLabel,"disable-validation":!q.enablePasswordValidation,meetsRequirementsText:j.meetsRequirementsText,doesNotMeetRequirementsText:j.doesNotMeetRequirementsText,minErrorText:j.minErrorText,uppercaseErrorText:j.uppercaseErrorText,lowercaseErrorText:j.lowercaseErrorText,hasErrorText:j.hasErrorText}),j.passwordField,!(q.hideInputs||q.hidePasswords)&&q.confirmPassword&&r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:j.confirmPasswordLabel,disabled:q.loading||((g=q.registrationFormState)===null||g===void 0?void 0:g.disabled),required:true},((x=(f=q.registrationFormState)===null||f===void 0?void 0:f.initialData)===null||x===void 0?void 0:x.confirmPassword)?{value:(y=(E=q.registrationFormState)===null||E===void 0?void 0:E.initialData)===null||y===void 0?void 0:y.confirmPassword}:{},((h=(w=q.registrationFormState)===null||w===void 0?void 0:w.validationErrors)===null||h===void 0?void 0:h.confirmPassword)?{class:m.classes.ErrorStyle,helpText:((F=(S=q.registrationFormState)===null||S===void 0?void 0:S.validationErrors)===null||F===void 0?void 0:F.confirmPassword)||j.requiredFieldErrorMessage}:[])),j.emailOptIn,j.terms,r("div",{class:m.classes.ButtonsContainer},r("sl-button",{submit:true,loading:q.loading,disabled:(T=q.registrationFormState)===null||T===void 0?void 0:T.disabled,exportparts:"base: primarybutton-base",type:"primary"},j.submitLabel||"Register"),j.secondaryButton)))}}}}));
1
+ System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js"],(function(r){"use strict";var e,t,i,a,o,s,l,n;return{setters:[function(r){e=r.h},function(r){t=r.c},function(r){i=r.A;a=r.a;o=r.H;s=r.b;l=r.E},function(r){n=r.T}],execute:function(){r("P",p);var d={Wrapper:i,Column:a,HostBlock:o,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:s,ErrorStyle:l};var u="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var m=t(d);var v=m.toString();function p(r){var t,i,a,o,s,l,d,p,c,b,g,f,x,E,y,w,h,S,F,T;var q=r.states,P=r.refs,M=r.callbacks,j=r.content;if(q.error){window.scrollTo({top:0,left:0,behavior:"smooth"})}return e("div",{class:m.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},u,v),e(n,{type:"h3"},j.pageLabel),e("sl-form",{class:m.classes.Column,"onSl-submit":M.submit,ref:function(r){return P.formRef.current=r},novalidate:true},((t=q.registrationFormState)===null||t===void 0?void 0:t.disabled)?e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},q.registrationFormState.disabledMessage)):q.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},r.states.error)),j.formData,!q.hideInputs&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:j.emailLabel||"Email",disabled:q.loading||((i=q.registrationFormState)===null||i===void 0?void 0:i.disabled)||q.emailDisabled,required:true,validationError:function(r){var e=r.value;if(!e){return j.requiredFieldErrorMessage}if(!e.includes("@")){return j.invalidEmailErrorMessage}}},((o=(a=q.registrationFormState)===null||a===void 0?void 0:a.initialData)===null||o===void 0?void 0:o.email)?{value:(l=(s=q.registrationFormState)===null||s===void 0?void 0:s.initialData)===null||l===void 0?void 0:l.email}:{},((p=(d=q.registrationFormState)===null||d===void 0?void 0:d.validationErrors)===null||p===void 0?void 0:p.email)?{class:m.classes.ErrorStyle,helpText:((b=(c=q.registrationFormState)===null||c===void 0?void 0:c.validationErrors)===null||b===void 0?void 0:b.email)||j.requiredFieldErrorMessage}:[])),!(q.hideInputs||q.hidePasswords)&&e("sqm-password-field",{fieldLabel:j.passwordLabel,"disable-validation":!q.enablePasswordValidation,meetsRequirementsText:j.meetsRequirementsText,doesNotMeetRequirementsText:j.doesNotMeetRequirementsText,minErrorText:j.minErrorText,uppercaseErrorText:j.uppercaseErrorText,lowercaseErrorText:j.lowercaseErrorText,hasErrorText:j.hasErrorText}),j.passwordField,!(q.hideInputs||q.hidePasswords)&&q.confirmPassword&&e("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/confirmPassword",label:j.confirmPasswordLabel,disabled:q.loading||((g=q.registrationFormState)===null||g===void 0?void 0:g.disabled),required:true},((x=(f=q.registrationFormState)===null||f===void 0?void 0:f.initialData)===null||x===void 0?void 0:x.confirmPassword)?{value:(y=(E=q.registrationFormState)===null||E===void 0?void 0:E.initialData)===null||y===void 0?void 0:y.confirmPassword}:{},((h=(w=q.registrationFormState)===null||w===void 0?void 0:w.validationErrors)===null||h===void 0?void 0:h.confirmPassword)?{class:m.classes.ErrorStyle,helpText:((F=(S=q.registrationFormState)===null||S===void 0?void 0:S.validationErrors)===null||F===void 0?void 0:F.confirmPassword)||j.requiredFieldErrorMessage}:[])),j.emailOptIn,j.terms,e("div",{class:m.classes.ButtonsContainer},e("sl-button",{submit:true,loading:q.loading,disabled:(T=q.registrationFormState)===null||T===void 0?void 0:T.disabled,exportparts:"base: primarybutton-base",type:"primary"},j.submitLabel||"Register"),j.secondaryButton)))}}}}));
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-c7c11325.js";import{c as o}from"./p-cef45012.js";import{H as r}from"./p-49b20dae.js";const n={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};function s(s){const{buttonStyle:l="icon"}=s,e=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:s.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":`${s.borderRadius}px`||"var(--sqm-border-radius-normal)","--sl-input-background-color":s.backgroundColor||"var(--sqm-portal-background)","--sl-input-color":"var(--sqm-text)","--sl-input-border-color":"var(--sqm-border-color)","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:`${s.borderRadius}px`||"var(--sqm-border-radius-normal)",background:s.backgroundColor||"var(--sqm-portal-background)",border:`var(--sqm-border-thickness) solid ${s.borderColor||"var(--sqm-border-color)"}`},width:"100%"},icon:{"&::part(base)":{color:s.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}}),i=e.toString(),a=!s.loading&&s.error,p=a?s.inputPlaceholderText:s.copyString,c=a||s.loading||s.disabled,u=t("sl-tooltip",{trigger:"manual",content:s.tooltiptext,placement:"button-below"===s.buttonStyle?"bottom":"button-outside"===s.buttonStyle?"top":"top-end",disabled:s.disabled,open:s.open,skidding:"icon"===s.buttonStyle?-5:0,slot:"suffix"},"icon"===l?t("sl-icon-button",{class:e.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},name:"files",disabled:c}):t("sl-button",{exportparts:`base: ${s.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=s.onClick)||void 0===t?void 0:t.call(s)},size:"medium",style:{width:`${"button-below"===l&&"100%"}`},disabled:c,type:"primary"},s.copyButtonLabel||"Copy"));return t("div",{class:e.classes.ContainerDiv},t("style",{type:"text/css"},i,"\n :host{\n display: block; \n width: 100%;\n }\n",n[s.textAlign],c&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:e.classes.containerStyle,style:{flexDirection:"button-below"===l?"column":"row"}},t("sl-input",{class:`${e.classes.inputStyle} ${a?e.classes.inputErrorStyle:""}`,exportparts:"base: input-base, input: input-label",value:s.loading?"Loading...":p,readonly:!0,disabled:c},"icon"===l&&u,a&&t("p",{slot:"help-text",class:e.classes.errorTextStyle},s.errorText)),("button-outside"===l||"button-below"===l)&&u),s.isCopied&&s.showNotificationText&&s.notificationText&&t("p",{part:"sqm-notification-text",class:e.classes.notificationTextStyle},s.notificationText))}export{s as C}
@@ -1 +1 @@
1
- import{h as t,r as s}from"./p-f708da7b.js";import{i,k as n,n as e}from"./p-cd651f81.js";import{i as r}from"./p-94a876b9.js";import{c as l}from"./p-c1086930.js";import{g as o}from"./p-9ec99ced.js";import{c as a}from"./p-cef45012.js";import{E as u}from"./p-91521e9d.js";import{R as c}from"./p-98698131.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=a({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=a({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,o,a,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(o=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===o?void 0:o.password}:{},(null===(u=null===(a=d.registrationFormState)||void 0===a?void 0:a.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,o,a,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(a=null===(o=null==t?void 0:t.demoData)||void 0===o?void 0:o.states)||void 0===a?void 0:a.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(o(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(o(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
1
+ import{h as t,r as s}from"./p-c7c11325.js";import{i,k as n,n as e}from"./p-63e29387.js";import{i as r}from"./p-8e2bead4.js";import{c as l}from"./p-c1086930.js";import{g as a}from"./p-6951663b.js";import{c as o}from"./p-cef45012.js";import{E as u}from"./p-49b20dae.js";import{R as c}from"./p-cab1f502.js";var h="(\\d.*)",d="([a-zA-Z].*)",p="([`~\\!@#\\$%\\^\\&\\*\\(\\)\\-_\\=\\+\\[\\{\\}\\]\\\\|;:\\'\",<.>\\/\\?€£¥₹§±].*)",v="([\\s].*)";function m(t,s){if(s&&s>1){const i=parseInt(s,10);return new RegExp(t+"{"+i+",}").test(this.password)===this.positive}return new RegExp(t).test(this.password)===this.positive}var f={not:function(t){return this.positive=!1,!t||m.call(this,t)},has:function(t){return this.positive=!0,!t||m.call(this,t)},is:function(){return this.positive=!0,!0},min:function(t){return this.password.length>=t},max:function(t){return this.password.length<=t},digits:function(t){return m.call(this,h,t)},letters:function(t){return m.call(this,d,t)},uppercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toLowerCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toLowerCase()===this.positive},lowercase:function(t){if(t&&t>1){let s=0,i=0;for(;i<t&&s<this.password.length;){const t=this.password.charAt(s);t!==t.toUpperCase()&&i++,s++}return i===t===this.positive}return this.password!==this.password.toUpperCase()===this.positive},symbols:function(t){return m.call(this,p,t)},spaces:function(t){return m.call(this,v,t)},oneOf:function(t){return t.indexOf(this.password)>=0===this.positive}},g="Length should be a valid positive number";function b(t){const s=Number(t);if(isNaN(s)||!Number.isInteger(s)||s<1)throw new Error(g)}function w(t){return f[t.method].apply(this,t.arguments)}function y(t,s){return this.properties.push({method:t,arguments:s}),this}const x=(new class{constructor(){this.properties=[]}validate(t,s){return this.list=Boolean(s&&s.list),this.password=String(t),this.positive=!0,this.list?this.properties.reduce(((t,s)=>w.call(this,s)?t:t.concat(s.method)),[]):this.properties.every(w.bind(this))}letters(t){return t&&b(t),y.call(this,"letters",arguments)}digits(t){return t&&b(t),y.call(this,"digits",arguments)}symbols(t){return t&&b(t),y.call(this,"symbols",arguments)}min(t){return b(t),y.call(this,"min",arguments)}max(t){return b(t),y.call(this,"max",arguments)}lowercase(t){return t&&b(t),y.call(this,"lowercase",arguments)}uppercase(t){return t&&b(t),y.call(this,"uppercase",arguments)}spaces(t){return t&&b(t),y.call(this,"spaces",arguments)}has(){return y.call(this,"has",arguments)}not(){return y.call(this,"not",arguments)}is(){return y.call(this,"is",arguments)}oneOf(){return y.call(this,"oneOf",arguments)}}).is().min(8).has().uppercase().has().lowercase().has(/([\d`~\!@#\$%\^\&\*\(\)\-_\=\+\[\{\}\]\\\|;:'",<.>\/\?€£¥₹§±].*){1,}/),C=(t,s)=>{const i=x.validate(t,{list:!0});return E(i,t,s)},L=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM4.8 9L1.8 6L2.646 5.154L4.8 7.302L9.354 2.748L10.2 3.6L4.8 9Z",fill:"#259053"})),j=()=>t("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M6 0C2.688 0 0 2.688 0 6C0 9.312 2.688 12 6 12C9.312 12 12 9.312 12 6C12 2.688 9.312 0 6 0ZM6 10.8C3.354 10.8 1.2 8.646 1.2 6C1.2 3.354 3.354 1.2 6 1.2C8.646 1.2 10.8 3.354 10.8 6C10.8 8.646 8.646 10.8 6 10.8ZM8.754 3.348L4.8 7.302L3.246 5.754L2.4 6.6L4.8 9L9.6 4.2L8.754 3.348Z",fill:"#555555"})),I={display:"flex",alignItems:"center",fontSize:"var(--sl-font-size-small)","& > :not(:last-child)":{"margin-right":"var(--sl-spacing-x-small)"}},k=o({Base:{fontSize:"var(--sl-font-size-small)"},ValidationList:{"list-style-type":"none",paddingRight:"var(--sl-spacing-large)",margin:"var(--sl-spacing-small) 0 var(--sl-spacing-x-large)","& > :not(:last-child)":{"margin-bottom":"var(--sl-spacing-xx-small)"},"& *":{"line-height":"var(--sl-line-height-dense)"}},ValidationItemValid:{...I,color:"var(--sl-color-success-600)"},ValidationItemInvalid:{...I}}),V=k.toString(),E=(s,i,n)=>{const e={min:n.minErrorText,uppercase:n.uppercaseErrorText,lowercase:n.lowercaseErrorText,has:n.hasErrorText};return!s.length&&i?t("div",{class:k.classes.ValidationItemValid,style:{paddingBottom:"var(--sl-spacing-x-large)"}},t("style",{type:"text/css"},V),t(L,null)," ",t("span",null,n.meetsRequirementsText)):t("div",{class:k.classes.Base},t("style",{type:"text/css"},V),n.doesNotMeetRequirementsText,t("ul",{class:k.classes.ValidationList},Object.keys(e).map((i=>s.includes(i)?t("li",{class:k.classes.ValidationItemInvalid},t(j,null)," ",t("span",null,e[i])):t("li",{class:k.classes.ValidationItemValid},t(L,null)," ",t("span",null,e[i]))))))},M=o({InputContainer:{"& > :not(:last-child)":{"margin-bottom":"20px"}},ErrorStyle:u}),S=M.toString();function Z(s){var i,n,e,r,l,a,o,u,c,h;const{states:d,callbacks:p}=s;return t("div",{class:M.classes.InputContainer,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"password",name:"/password",label:d.content.fieldLabel||"Password",required:!0,disabled:(null===(i=d.registrationFormState)||void 0===i?void 0:i.loading)||(null===(n=d.registrationFormState)||void 0===n?void 0:n.disabled),validationError:({value:t})=>{if(!t)return"Cannot be empty"}},(null===(r=null===(e=d.registrationFormState)||void 0===e?void 0:e.initialData)||void 0===r?void 0:r.password)?{value:null===(a=null===(l=d.registrationFormState)||void 0===l?void 0:l.initialData)||void 0===a?void 0:a.password}:{},(null===(u=null===(o=d.registrationFormState)||void 0===o?void 0:o.validationErrors)||void 0===u?void 0:u.password)?{class:M.classes.ErrorStyle,helpText:(null===(h=null===(c=d.registrationFormState)||void 0===c?void 0:c.validationErrors)||void 0===h?void 0:h.password)||"Cannot be empty"}:[],{onInput:t=>d.enableValidation&&p.onInput(t)})),d.dynamicValidation)}const q=class{constructor(t){s(this,t),this.ignored=!0,this.fieldLabel="Password",this.disableValidation=!1,this.meetsRequirementsText="Password has met all requirements",this.doesNotMeetRequirementsText="Password must meet the following requirements:",this.minErrorText="be a minimum of 8 characters",this.uppercaseErrorText="contain at least 1 uppercase character",this.lowercaseErrorText="contain at least 1 lowercase character",this.hasErrorText="contain at least 1 number or symbol",e(this)}disconnectedCallback(){}render(){const{states:s,callbacks:e}=r()?function(t){var s,i,e,r,a,o,u;const[c,h]=n(""),[d,p]=n("");if(t.demoData&&d!=(null===(s=null==t?void 0:t.demoData)||void 0===s?void 0:s.initValue)){const s=C((null===(i=null==t?void 0:t.demoData)||void 0===i?void 0:i.initValue)||"",t);h(""===(null===(e=null==t?void 0:t.demoData)||void 0===e?void 0:e.initValue)?"":s),p(null===(r=null==t?void 0:t.demoData)||void 0===r?void 0:r.initValue)}return l({states:{enableValidation:!t.disableValidation,dynamicValidation:c,registrationFormState:(null===(o=null===(a=null==t?void 0:t.demoData)||void 0===a?void 0:a.states)||void 0===o?void 0:o.registrationFormState)||{},content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);h(i)}}},(null===(u=null==t?void 0:t.demoData)||void 0===u?void 0:u.states)||{},{arrayMerge:(t,s)=>s})}(a(this)):function(t){const s=i(c),[e,r]=n("");return{states:{enableValidation:!t.disableValidation,dynamicValidation:e,registrationFormState:s,content:{fieldLabel:t.fieldLabel}},callbacks:{onInput:function(s){const i=C(s.target.value,t);r(i)}}}}(a(this));return t(Z,{states:s,callbacks:e})}};export{q as sqm_password_field}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{c(i.next(e))}catch(e){a(e)}}function o(e){try{c(i["throw"](e))}catch(e){a(e)}}function c(e){e.done?n(e.value):r(e.value).then(s,o)}c((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return c([e,t])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-44a82cf3.system.js","./p-6cd4f2b1.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js","./p-2e110002.system.js","./p-95ae4ab9.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,c,u,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(e){i=e.k;r=e.m;a=e.f;s=e.n},function(){},function(e){o=e.l;c=e.n;u=e.J;l=e.j;f=e.u;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var w=o(),b=w[0],M=w[1],_=M.loading,k=M.data,E=M.errors;var x=c(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=u();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),J=G[0],U=G[1];var Y=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,b(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function K(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}Q(10);return[2]}}))}))}var N=function(e){if(e===void 0){e=1e4}return setInterval(K,e)};var O=function(e){return setInterval((function(){return U(e)}),1e3)};function Q(e){clearInterval(z.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=J||10;z.current=O(e-1||t-1);Y.current=N(e*1e3||t*1e3)}var W=f((function(){return Q()}),[J]);a((function(){if(!Y.current){K();Y.current=N()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(J>0){clearInterval(z.current);z.current=O(J-1)}document.addEventListener("visibilitychange",W);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",W)}}),[J]);return{states:{loading:_,error:((g=(d=(v=(s=E===null||E===void 0?void 0:E.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=E===null||E===void 0?void 0:E.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:J},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{u(i.next(e))}catch(e){a(e)}}function o(e){try{u(i["throw"](e))}catch(e){a(e)}}function u(e){e.done?n(e.value):r(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-eead0d96.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-034d5162.system.js"],(function(e){"use strict";var t,n,i,r,a,s,o,u,c,l,f,v,d,g;return{setters:[function(e){t=e.r;n=e.h},function(){},function(e){i=e.k;r=e.m;a=e.f;s=e.n},function(e){o=e.l;u=e.n;c=e.J;l=e.j;f=e.u;v=e.i},function(e){d=e.c},function(){},function(){},function(){},function(e){g=e.P}],execute:function(){function h(e){var t=this;var n,s,v,d,g,h,m,y,p;var w=o(),b=w[0],M=w[1],_=M.loading,k=M.data,E=M.errors;var x=u(),S=x[0],I=x[1],P=I.data,V=I.loading;var j=c();var L=(n=j===null||j===void 0?void 0:j.managedIdentity)===null||n===void 0?void 0:n.email;var R=new URLSearchParams(l.location.search);var T=R.get("nextPage");var B=i(false),H=B[0],C=B[1];var q=i(""),A=q[0],D=q[1];var G=i(10),J=G[0],U=G[1];var Y=r(undefined);var z=r(undefined);var F=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,i,r,a;return __generator(this,(function(s){switch(s.label){case 0:if(!L)return[2];D("");C(false);n=T?{nextPage:T}:null;i=e.redirectPath;r={email:L,urlParams:n,redirectPath:i};return[4,b(r)];case 1:a=s.sent();if(a instanceof Error){if(a.message)D(e.networkErrorMessage);return[2]}if((t=a.requestManagedIdentityVerificationEmail)===null||t===void 0?void 0:t.success)C(true);return[2]}}))}))};function K(){return __awaiter(this,void 0,void 0,(function(){var t,n;return __generator(this,(function(i){switch(i.label){case 0:return[4,S()];case 1:n=i.sent();if((t=n===null||n===void 0?void 0:n.managedIdentitySession)===null||t===void 0?void 0:t.emailVerified){clearInterval(Y.current);return[2,l.push({pathname:e.redirectPath,search:R.toString()&&"?"+R.toString()})]}Q(10);return[2]}}))}))}var N=function(e){if(e===void 0){e=1e4}return setInterval(K,e)};var O=function(e){return setInterval((function(){return U(e)}),1e3)};function Q(e){clearInterval(z.current);clearInterval(Y.current);if(document.visibilityState==="hidden")return;if(e)U(e);var t=J||10;z.current=O(e-1||t-1);Y.current=N(e*1e3||t*1e3)}var W=f((function(){return Q()}),[J]);a((function(){if(!Y.current){K();Y.current=N()}return function(){clearInterval(Y.current)}}),[]);a((function(){if(J>0){clearInterval(z.current);z.current=O(J-1)}document.addEventListener("visibilitychange",W);return function(){clearInterval(z.current);document.removeEventListener("visibilitychange",W)}}),[J]);return{states:{loading:_,error:((g=(d=(v=(s=E===null||E===void 0?void 0:E.response)===null||s===void 0?void 0:s.errors)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.extensions)===null||g===void 0?void 0:g.message)||((y=(m=(h=E===null||E===void 0?void 0:E.response)===null||h===void 0?void 0:h.errors)===null||m===void 0?void 0:m[0])===null||y===void 0?void 0:y.message)||A,success:H,loadingVerification:V,isVerified:!!((p=P===null||P===void 0?void 0:P.managedIdentitySession)===null||p===void 0?void 0:p.emailVerified),countdown:J},callbacks:{submit:F},content:{email:L,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}var m=e("sqm_portal_email_verification",function(){function e(e){t(this,e);this.ignored=true;this.redirectPath="/verifyEmail";this.emailVerificationHeader="Verify your email";this.resendEmailButtonText="Re-send Email";this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.";this.verificationStatusMessage="Checking verification status in {countdown}";this.verificationLoadingMessage="Checking verification status";this.verificationResentMessage="Your verification email has been resent successfully";this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=v()?y(this):h(this),t=e.states,i=e.callbacks,r=e.content;return n(g,{states:t,callbacks:i,content:r})};return e}());function y(e){var t=this;return d({states:{error:"",loading:false,success:false,countdown:10},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2]}))}))}},content:{email:"test@example.com",verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -0,0 +1 @@
1
+ import{r as s,h as t,c as e}from"./p-c7c11325.js";import{n as r}from"./p-63e29387.js";import{l}from"./p-6951663b.js";import{l as i}from"./p-08700497.js";const o=class{constructor(t){s(this,t),this.ignored=!0,r(this)}disconnectedCallback(){}render(){return this.data}},a=class{constructor(t){s(this,t),this.ignored=!0,this.locale="en",r(this)}disconnectedCallback(){}render(){var s,t;return this.date?null===(t=null===(s=i.DateTime.fromMillis(this.date))||void 0===s?void 0:s.setLocale(l(this.locale)))||void 0===t?void 0:t.toLocaleString(i.DateTime.DATE_MED):"-"}},n=class{constructor(t){s(this,t),this.ignored=!0,r(this)}disconnectedCallback(){}render(){return t(e,null,t("style",null,"svg:hover, svg:hover * {\n cursor: pointer;\n }"),!!this.downloadUrl&&t("a",{href:this.downloadUrl,target:"_blank"},t("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z",fill:"var(--sqm-text-subdued)"}),t("path",{d:"M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z",fill:"var(--sqm-text-subdued)"}))))}},c=class{constructor(t){s(this,t),this.colspan=1,this.padding="15px 10px"}render(){return t(e,{style:{display:"contents"}},t("td",{colSpan:this.colspan,style:{padding:this.padding}},t("slot",null)))}},d=class{constructor(t){s(this,t),this.border="var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)"}render(){return t(e,{style:{display:"contents"}},t("tr",{style:{border:this.border}},t("slot",null)))}};export{o as sqm_invoice_table_data_cell,a as sqm_invoice_table_date_cell,n as sqm_invoice_table_download_cell,c as sqm_table_cell,d as sqm_table_row}
@@ -1,4 +1,4 @@
1
- import{r as e,h as o}from"./p-f708da7b.js";import{k as t,f as a,n as r}from"./p-cd651f81.js";import{d as n,H as i,J as d,F as c,w as s,$ as l,B as m,i as g}from"./p-94a876b9.js";import{c as h}from"./p-c1086930.js";import{g as p}from"./p-9ec99ced.js";import"./p-cef45012.js";import{a as u}from"./p-3f7b81b8.js";import"./p-9acb5038.js";import{Q as w}from"./p-893d7ab4.js";const v=n.gql`
1
+ import{r as e,h as o}from"./p-c7c11325.js";import{k as t,f as a,n as r}from"./p-63e29387.js";import{d as n,H as i,J as d,B as c,F as s,w as l,$ as m,i as g}from"./p-8e2bead4.js";import{c as h}from"./p-c1086930.js";import{g as u}from"./p-6951663b.js";import"./p-cef45012.js";import{a as p}from"./p-862845d7.js";import{Q as w}from"./p-692bacf3.js";const v=n.gql`
2
2
  query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {
3
3
  user: viewer {
4
4
  ... on User {
@@ -14,4 +14,4 @@ import{r as e,h as o}from"./p-f708da7b.js";import{k as t,f as a,n as r}from"./p-
14
14
  mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
15
15
  createUserAnalyticsEvent(eventMeta: $eventMeta)
16
16
  }
17
- `,C=class{constructor(o){e(this,o),this.titleText="Share your QR code",this.viewCodeText="View QR code",this.downloadCodeText="Download",this.printCodeText="Print",this.errorHeaderText="There was an error loading your QR code",this.errorDescriptionText="Please refresh this page and try again",this.hideTitle=!1,this.alignment="center",r(this)}disconnectedCallback(){}render(){const e=p(this),r=g()?function(e){const[o,a]=t(!1);return h({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:()=>a(!0),hideDialog:()=>a(!1),titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:()=>{console.log("View QR Code clicked")},createDownloadable:async()=>{console.log("Download QR Code clicked")},createPrintable:async()=>{console.log("Print QR Code clicked")}},e.demoData||{},{arrayMerge:(e,o)=>o})}(e):function(e){var o;const r=i(),n=d(),g=m(),h=c(u),[p,w]=t(null),[C,R]=t(!1),[y,b]=t(!1),{data:q,loading:E}=s(v,{programId:r,engagementMedium:g},!(null==n?void 0:n.jwt)||void 0!==(null==h?void 0:h.shareLink)),[M]=l(f),k=null===(o=null==q?void 0:q.user)||void 0===o?void 0:o.shareLink,I=`${k}?qrCode`,j=E||y;a((()=>{k&&(async()=>{b(!0);try{const e=await fetch(`${k}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`),o=await e.blob(),t=URL.createObjectURL(o);w(t)}catch(e){R(!0)}finally{b(!1)}})()}),[k]);const Q=async()=>{M({eventMeta:{programId:r,id:null==n?void 0:n.id,accountId:null==n?void 0:n.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:g,shareMedium:"DIRECT"}}})};return{...e,loading:j,qrLink:p,error:C,createDownloadable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=800&qrCodeImageFormat=png`),o=await e.blob(),t=URL.createObjectURL(o);o&&Q();const a=document.createElement("a");a.href=t,a.download="qrCode.png",document.body.appendChild(a),a.click(),document.body.removeChild(a)}catch(e){console.error("Failed to fetch QR code:",e),R(!0)}},createPrintable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H`),o=await e.blob(),t=URL.createObjectURL(o);o&&Q();const a=window.open("about:blank","_new"),r=a.document.createElement("img");r.src=t,r.onload=()=>{a.print(),a.close()},a.document.body.appendChild(r)}catch(e){console.error("Failed to fetch QR code: ",e),R(!0)}}}}(e);return o(w,Object.assign({},r))}};export{C as sqm_qr_code}
17
+ `,C=class{constructor(o){e(this,o),this.titleText="Share your QR code",this.viewCodeText="View QR code",this.downloadCodeText="Download",this.printCodeText="Print",this.errorHeaderText="There was an error loading your QR code",this.errorDescriptionText="Please refresh this page and try again",this.hideTitle=!1,this.alignment="center",r(this)}disconnectedCallback(){}render(){const e=u(this),r=g()?function(e){const[o,a]=t(!1);return h({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:()=>a(!0),hideDialog:()=>a(!1),titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:()=>{console.log("View QR Code clicked")},createDownloadable:async()=>{console.log("Download QR Code clicked")},createPrintable:async()=>{console.log("Print QR Code clicked")}},e.demoData||{},{arrayMerge:(e,o)=>o})}(e):function(e){var o;const r=i(),n=d(),g=c(),h=s(p),[u,w]=t(null),[C,R]=t(!1),[y,q]=t(!1),{data:E,loading:M}=l(v,{programId:r,engagementMedium:g},!(null==n?void 0:n.jwt)||void 0!==(null==h?void 0:h.shareLink)),[b]=m(f),k=null===(o=null==E?void 0:E.user)||void 0===o?void 0:o.shareLink,I=`${k}?qrCode`,Q=M||y;a((()=>{k&&(async()=>{q(!0);try{const e=await fetch(`${k}?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0`),o=await e.blob(),t=URL.createObjectURL(o);w(t)}catch(e){R(!0)}finally{q(!1)}})()}),[k]);const $=async()=>{b({eventMeta:{programId:r,id:null==n?void 0:n.id,accountId:null==n?void 0:n.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:g,shareMedium:"DIRECT"}}})};return{...e,loading:Q,qrLink:u,error:C,createDownloadable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=800&qrCodeImageFormat=png`),o=await e.blob(),t=URL.createObjectURL(o);o&&$();const a=document.createElement("a");a.href=t,a.download="qrCode.png",document.body.appendChild(a),a.click(),document.body.removeChild(a)}catch(e){console.error("Failed to fetch QR code:",e),R(!0)}},createPrintable:async()=>{try{const e=await fetch(`${I}&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H`),o=await e.blob(),t=URL.createObjectURL(o);o&&$();const a=window.open("about:blank","_new"),r=a.document.createElement("img");r.src=t,r.onload=()=>{a.print(),a.close()},a.document.body.appendChild(r)}catch(e){console.error("Failed to fetch QR code: ",e),R(!0)}}}}(e);return o(w,Object.assign({},r))}};export{C as sqm_qr_code}
@@ -0,0 +1 @@
1
+ System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(t){"use strict";var o,r,e;return{setters:[function(t){o=t.h},function(t){r=t.c},function(t){e=t.H}],execute:function(){t("C",s);var n="\n :host{\n display: block; \n width: 100%;\n }\n";var i={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};var l="\n sl-input::part(input){\n cursor: default;\n }\n";function s(t){var s=t.buttonStyle,a=s===void 0?"icon":s;var c={HostBlock:e,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:t.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":t.borderRadius+"px"||"var(--sqm-border-radius-normal)","--sl-input-background-color":t.backgroundColor||"var(--sqm-portal-background)","--sl-input-color":"var(--sqm-text)","--sl-input-border-color":"var(--sqm-border-color)","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:t.borderRadius+"px"||"var(--sqm-border-radius-normal)",background:t.backgroundColor||"var(--sqm-portal-background)",border:"var(--sqm-border-thickness) solid "+(t.borderColor||"var(--sqm-border-color)")},width:"100%"},icon:{"&::part(base)":{color:t.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}};var u=r(c);var d=u.toString();var p=!t.loading&&t.error;var b=p?t.inputPlaceholderText:t.copyString;var v=p||t.loading||t.disabled;var m=t.buttonStyle==="button-below"?"bottom":t.buttonStyle==="button-outside"?"top":"top-end";var x=o("sl-tooltip",{trigger:"manual",content:t.tooltiptext,placement:m,disabled:t.disabled,open:t.open,skidding:t.buttonStyle==="icon"?-5:0,slot:"suffix"},a==="icon"?o("sl-icon-button",{class:u.classes.icon,exportparts:"base: icon-button-base",onClick:function(){var o;return(o=t.onClick)===null||o===void 0?void 0:o.call(t)},name:"files",disabled:v}):o("sl-button",{exportparts:"base: "+(t.buttonType||"primary")+"button-base",onClick:function(){var o;return(o=t.onClick)===null||o===void 0?void 0:o.call(t)},size:"medium",style:{width:""+(a==="button-below"&&"100%")},disabled:v,type:"primary"},t.copyButtonLabel||"Copy"));return o("div",{class:u.classes.ContainerDiv},o("style",{type:"text/css"},d,n,i[t.textAlign],v&&l),o("div",{class:u.classes.containerStyle,style:{flexDirection:""+(a==="button-below"?"column":"row")}},o("sl-input",{class:u.classes.inputStyle+" "+(p?u.classes.inputErrorStyle:""),exportparts:"base: input-base, input: input-label",value:t.loading?"Loading...":b,readonly:true,disabled:v},a==="icon"&&x,p&&o("p",{slot:"help-text",class:u.classes.errorTextStyle},t.errorText)),(a==="button-outside"||a==="button-below")&&x),t.isCopied&&t.showNotificationText&&t.notificationText&&o("p",{part:"sqm-notification-text",class:u.classes.notificationTextStyle},t.notificationText))}}}}));
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var r,e=1,s=arguments.length;e<s;e++){r=arguments[e];for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))t[a]=r[a]}return t};return __assign.apply(this,arguments)};System.register(["./p-59b028db.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js"],(function(t){"use strict";var r,e,s,a,n,i,o,l;return{setters:[function(t){r=t.h},function(t){e=t.c},function(t){s=t.A;a=t.a;n=t.H;i=t.b;o=t.E},function(t){l=t.T}],execute:function(){t("B",g);var u={Wrapper:s,Column:a,HostBlock:n,":host":{margin:"0 auto",width:"100%"},ButtonsContainer:__assign(__assign({},i),{gap:"var(--sl-spacing-medium)","& > *":{margin:"0 !important"}}),ErrorStyle:o};var p="\nsqm-portal-register {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n\n:host{\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n";var c=e(u);var m=c.toString();function g(t){var e=t.states,s=t.content,a=t.callbacks;return r("div",{class:c.classes.Wrapper},r("style",{type:"text/css"},p,m),r(l,{type:"h3"},s.pageLabel),r("sl-form",{class:c.classes.Column,"onSl-submit":a.handleEmailSubmit,novalidate:true},e.error&&r("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},r("div",{part:"erroralert-text"},t.states.error)),r("sl-input",{exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:s.emailLabel||"Email",required:true,validationError:function(t){var r=t.value;if(!r){return s.requiredFieldErrorMessage}if(!r.includes("@")){return s.invalidEmailErrorMessage}}}),r("div",{class:c.classes.ButtonsContainer},r("sl-button",{submit:true,exportparts:"base: primarybutton-base",type:"primary",style:{margin:"0"}},s.submitLabel||"Register"),r("sl-menu-divider",{style:{margin:"0"}}),s.googleButton,s.secondaryButton)))}}}}));