@saasquatch/mint-components 1.15.0-98 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1016) hide show
  1. package/dist/cjs/ErrorView-b2fcf954.js +35 -0
  2. package/dist/cjs/{GenericTableView-a9845e80.js → GenericTableView-a9f4ba75.js} +8 -8
  3. package/dist/cjs/{ShadowViewAddon-1270d3b6.js → ShadowViewAddon-28865623.js} +1531 -1495
  4. package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
  5. package/dist/cjs/{email-registration-view-ace50780.js → email-registration-view-55b378dc.js} +3 -5
  6. package/dist/cjs/{global-191f2253.js → global-e31dc4f5.js} +10494 -10772
  7. package/dist/cjs/{index-a43a63b4.js → index-a29c60ef.js} +0 -4
  8. package/dist/cjs/{index.module-4f54e412.js → index.module-ee84433d.js} +191 -191
  9. package/dist/cjs/loader.cjs.js +5 -5
  10. package/dist/cjs/{luxon-949beaf2.js → luxon-2926d85f.js} +2 -2
  11. package/dist/cjs/mint-components.cjs.js +5 -5
  12. package/dist/cjs/{mixins-4761d472.js → mixins-f7e0377a.js} +6 -6
  13. package/dist/cjs/{mockRewardData-df37c8a3.js → mockRewardData-7815f10f.js} +1 -1
  14. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  15. package/dist/cjs/{re-render-d516138a.js → re-render-b324deab.js} +4 -4
  16. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +51 -0
  17. package/dist/cjs/sqm-asset-card.cjs.entry.js +45 -0
  18. package/dist/cjs/{sqm-banking-info-form_10.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +2614 -729
  19. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-8a2c8763.js} +3 -3
  20. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +834 -1274
  21. package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-ea3fa23b.js} +2 -2
  22. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  23. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  24. package/dist/cjs/sqm-email-verification.cjs.entry.js +28 -152
  25. package/dist/cjs/sqm-empty_4.cjs.entry.js +63 -58
  26. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  27. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  28. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  30. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  31. package/dist/cjs/sqm-invoice-table-view-5c74607f.js +2074 -0
  32. package/dist/cjs/sqm-lead-checkbox-field-view-34d94919.js +83 -0
  33. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +81 -0
  34. package/dist/cjs/sqm-lead-input-field-view-89308aab.js +51 -0
  35. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +88 -0
  36. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +10 -0
  37. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -7
  38. package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
  39. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  40. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +45 -0
  41. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -31
  42. package/dist/cjs/{sqm-navigation-sidebar-view-de90ef03.js → sqm-navigation-sidebar-view-17111896.js} +8 -18
  43. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +9 -25
  44. package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -97
  45. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  46. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  47. package/dist/cjs/{sqm-portal-container-view-07e4343f.js → sqm-portal-container-view-4f15143a.js} +2 -2
  48. package/dist/cjs/{sqm-portal-email-verification-view-87e083ca.js → sqm-portal-email-verification-view-7ebb426a.js} +4 -4
  49. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  50. package/dist/cjs/{sqm-portal-forgot-password-view-0a8d3243.js → sqm-portal-forgot-password-view-78f19ef9.js} +16 -24
  51. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +10 -39
  52. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  53. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  54. package/dist/cjs/{sqm-portal-login-view-bb50304c.js → sqm-portal-login-view-761a4d8e.js} +4 -4
  55. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  56. package/dist/cjs/{sqm-portal-profile-view-7ac7d3ac.js → sqm-portal-profile-view-33164798.js} +4 -4
  57. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  58. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  59. package/dist/cjs/{sqm-portal-registration-form-view-5a96c2f5.js → sqm-portal-registration-form-view-637a4bf4.js} +3 -3
  60. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  61. package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-fe602822.js} +3 -3
  62. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  63. package/dist/cjs/{sqm-portal-verify-email-view-1c4e781f.js → sqm-portal-verify-email-view-7b678f34.js} +3 -3
  64. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  65. package/dist/cjs/{sqm-qr-code-view-0c3b2f48.js → sqm-qr-code-view-15dfc0b6.js} +10 -10
  66. package/dist/cjs/sqm-qr-code.cjs.entry.js +14 -25
  67. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +49 -134
  68. package/dist/cjs/sqm-referred-registration.cjs.entry.js +178 -0
  69. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  70. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  71. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +40 -87
  72. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  73. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  74. package/dist/cjs/sqm-stencilbook.cjs.entry.js +14117 -15117
  75. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  76. package/dist/cjs/sqm-tabs.cjs.entry.js +13 -27
  77. package/dist/cjs/sqm-text-span-view-0aa82125.js +62 -0
  78. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  79. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -19
  80. package/dist/cjs/sqm-widget-verification.cjs.entry.js +13 -25
  81. package/dist/cjs/{dom-context-hooks.module-7fa676ae.js → stencil-hooks.module-3a336b0f.js} +18 -18
  82. package/dist/cjs/{useChildElements-966c9041.js → useChildElements-1b35d945.js} +5 -5
  83. package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-0537e28e.js} +4 -4
  84. package/dist/cjs/useLeadFormState-c83d2034.js +72 -0
  85. package/dist/cjs/{usePayoutStatus-3b34dab1.js → usePayoutStatus-d459ddde.js} +38 -14
  86. package/dist/cjs/{usePortalLogin-6aa864ef.js → usePortalLogin-63d896d1.js} +4 -4
  87. package/dist/cjs/{usePortalRegistrationForm-75b647fe.js → usePortalRegistrationForm-f25d89e7.js} +6 -6
  88. package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-82e8797b.js} +3 -3
  89. package/dist/cjs/{useReferralTable-90d4d6e9.js → useReferralTable-7c3f9600.js} +10 -10
  90. package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-7b820f0c.js} +6 -6
  91. package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-95a82767.js} +6 -6
  92. package/dist/cjs/{utilities-9a0c5e91.js → utilities-78f5e169.js} +4 -4
  93. package/dist/cjs/{utils-7cbd60cc.js → utils-6847bc06.js} +0 -5
  94. package/dist/collection/collection-manifest.json +5 -1
  95. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -0
  96. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -0
  97. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
  98. package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
  99. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +0 -13
  100. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -15
  101. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +4 -171
  102. package/dist/collection/components/sqm-big-stat/useBigStat.js +8 -127
  103. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +5 -14
  104. package/dist/collection/components/sqm-brand/sqm-brand.js +4 -12
  105. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -2
  106. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +11 -4
  107. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +0 -1
  108. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -4
  109. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  110. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +48 -145
  111. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +65 -3
  112. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -14
  113. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -62
  114. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
  115. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  116. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  117. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +16 -8
  118. package/dist/collection/components/sqm-form-message/sqm-form-message.css +11 -50
  119. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  120. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +0 -1
  121. package/dist/collection/components/sqm-hero/Hero.stories.js +0 -11
  122. package/dist/collection/components/sqm-hero/sqm-hero-view.js +6 -13
  123. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -30
  124. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +4 -4
  125. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +0 -80
  126. package/dist/collection/components/sqm-image/sqm-image.js +0 -1
  127. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -4
  128. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  129. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -2
  130. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +1 -2
  131. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -2
  132. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  133. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -6
  134. package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +44 -0
  135. package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +93 -0
  136. package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +62 -0
  137. package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +49 -0
  138. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +79 -0
  139. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +234 -0
  140. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +65 -0
  141. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +251 -0
  142. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +123 -0
  143. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +495 -0
  144. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +47 -0
  145. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +251 -0
  146. package/dist/collection/components/sqm-lead-form/useCheckboxField.js +10 -0
  147. package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +10 -0
  148. package/dist/collection/components/sqm-lead-form/useLeadForm.js +155 -0
  149. package/dist/collection/components/sqm-lead-form/useLeadFormState.js +10 -0
  150. package/dist/collection/components/sqm-lead-form/useLeadInputField.js +10 -0
  151. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -37
  152. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -60
  153. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +36 -202
  154. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  155. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  156. package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -1
  157. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -2
  158. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -28
  159. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -2
  160. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +0 -1
  161. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +7 -17
  162. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +5 -85
  163. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +7 -18
  164. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -233
  165. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +1 -9
  166. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  167. package/dist/collection/components/sqm-pagination/sqm-pagination.js +2 -43
  168. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  169. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +4 -8
  170. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -2
  171. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  172. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +8 -1
  173. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  174. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -1
  175. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  176. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +13 -21
  177. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -103
  178. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -41
  179. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -102
  180. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +1 -4
  181. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +5 -10
  182. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  183. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -2
  184. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +0 -1
  185. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  186. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +0 -1
  187. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +0 -1
  188. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +3 -1
  189. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +0 -1
  190. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -0
  191. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  192. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -2
  193. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -12
  194. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -77
  195. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -1
  196. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +7 -2
  197. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -1
  198. package/dist/collection/components/sqm-qr-code/useQRCode.js +1 -13
  199. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  200. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +31 -34
  201. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +10 -81
  202. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -3
  203. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -170
  204. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -6
  205. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  206. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -29
  207. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  208. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +22 -55
  209. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +7 -62
  210. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -2
  211. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -4
  212. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -9
  213. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +3 -6
  214. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -4
  215. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -5
  216. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +10 -3
  217. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  218. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +5 -31
  219. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  220. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +42 -39
  221. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +7 -50
  222. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
  223. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -6
  224. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +4 -5
  225. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +9 -58
  226. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -3
  227. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -3
  228. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -3
  229. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -3
  230. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +9 -11
  231. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -5
  232. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  233. package/dist/collection/components/sqm-route/sqm-route.js +0 -1
  234. package/dist/collection/components/sqm-router/sqm-router.js +0 -2
  235. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -1
  236. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -3
  237. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -23
  238. package/dist/collection/components/sqm-share-button/sqm-share-button.js +10 -57
  239. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -170
  240. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -13
  241. package/dist/collection/components/sqm-share-link/sqm-share-link.js +3 -172
  242. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +9 -21
  243. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -112
  244. package/dist/collection/components/sqm-stencilbook/Themes.js +33 -325
  245. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +107 -81
  246. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  247. package/dist/collection/components/sqm-tabs/Tabs.stories.js +0 -7
  248. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +2 -16
  249. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -30
  250. package/dist/collection/components/sqm-task-card/DetailsView.js +2 -8
  251. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +2 -3
  252. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +157 -139
  253. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -147
  254. package/dist/collection/components/sqm-task-card/useTaskCard.js +0 -10
  255. package/dist/collection/components/sqm-text/sqm-text.js +48 -101
  256. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +43 -44
  257. package/dist/collection/components/sqm-text-span/sqm-text-span.js +2 -52
  258. package/dist/collection/components/sqm-timeline/Timeline.stories.js +1 -8
  259. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  260. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -52
  261. package/dist/collection/components/sqm-timeline/sqm-timeline.js +1 -3
  262. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +0 -2
  263. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -12
  264. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  265. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +14 -138
  266. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +7 -39
  267. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -45
  268. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +26 -13
  269. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +69 -19
  270. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  271. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +5 -1
  272. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +4 -4
  273. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +76 -21
  274. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +5 -5
  275. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  276. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +71 -54
  277. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  278. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +6 -2
  279. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +27 -24
  280. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -26
  281. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  282. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +1 -0
  283. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +100 -19
  284. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +154 -5
  285. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +33 -9
  286. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +27 -3
  287. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +275 -63
  288. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +8 -3
  289. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +159 -109
  290. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +213 -110
  291. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +25 -12
  292. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  293. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  294. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +54 -167
  295. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  296. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +7 -3
  297. package/dist/collection/components/views/copy-text-view.js +38 -69
  298. package/dist/collection/components/views/email-registration-view.js +1 -3
  299. package/dist/collection/global/global.js +12 -27
  300. package/dist/collection/global/mixins.js +8 -8
  301. package/dist/collection/global/styles.js +99 -330
  302. package/dist/collection/global/styles.ts +100 -419
  303. package/dist/collection/stories/PortalTemplates.stories.js +30 -22
  304. package/dist/collection/tables/GenericTableView.js +6 -6
  305. package/dist/collection/utils/utils.js +0 -4
  306. package/dist/esm/ErrorView-48e2b969.js +33 -0
  307. package/dist/esm/{GenericTableView-e43d310f.js → GenericTableView-7b9087af.js} +8 -8
  308. package/dist/esm/{ShadowViewAddon-c99c9d12.js → ShadowViewAddon-f2176779.js} +1525 -1492
  309. package/dist/esm/copy-text-view-782137ba.js +94 -0
  310. package/dist/esm/{email-registration-view-1f587f8b.js → email-registration-view-a7818cf2.js} +3 -5
  311. package/dist/esm/{global-80edfef3.js → global-be1f9992.js} +8276 -8553
  312. package/dist/esm/{index-b3a06de8.js → index-91e7729f.js} +0 -4
  313. package/dist/esm/{index.module-38dad6c9.js → index.module-89a79f66.js} +153 -153
  314. package/dist/esm/loader.js +5 -5
  315. package/dist/esm/{luxon-bbf75a9d.js → luxon-8d51c92b.js} +1 -1
  316. package/dist/esm/mint-components.js +5 -5
  317. package/dist/esm/{mixins-f750863a.js → mixins-83f90fa1.js} +6 -6
  318. package/dist/esm/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  319. package/dist/esm/raisins-plop-target.entry.js +1 -1
  320. package/dist/esm/{re-render-9c90767d.js → re-render-cc945f38.js} +2 -2
  321. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +49 -0
  322. package/dist/esm/sqm-asset-card.entry.js +41 -0
  323. package/dist/esm/{sqm-banking-info-form_10.entry.js → sqm-banking-info-form_17.entry.js} +2454 -576
  324. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +3 -3
  325. package/dist/esm/sqm-big-stat_43.entry.js +742 -1182
  326. package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +2 -2
  327. package/dist/esm/sqm-close-button.entry.js +5 -5
  328. package/dist/esm/sqm-context-router.entry.js +4 -4
  329. package/dist/esm/sqm-email-verification.entry.js +21 -145
  330. package/dist/esm/sqm-empty_4.entry.js +60 -55
  331. package/dist/esm/sqm-form-message.entry.js +7 -7
  332. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  333. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  334. package/dist/esm/sqm-header-logo.entry.js +2 -2
  335. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  336. package/dist/esm/sqm-invoice-table-view-3491dd80.js +2058 -0
  337. package/dist/esm/sqm-lead-checkbox-field-view-a8c1c78e.js +81 -0
  338. package/dist/esm/sqm-lead-checkbox-field.entry.js +77 -0
  339. package/dist/esm/sqm-lead-input-field-view-4ede5d7f.js +49 -0
  340. package/dist/esm/sqm-lead-input-field.entry.js +84 -0
  341. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +8 -0
  342. package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
  343. package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  344. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  345. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +43 -0
  346. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -30
  347. package/dist/esm/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-9d802b78.js} +8 -18
  348. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -22
  349. package/dist/esm/sqm-pagination_3.entry.js +64 -91
  350. package/dist/esm/sqm-password-field.entry.js +6 -6
  351. package/dist/esm/sqm-popup-container.entry.js +4 -4
  352. package/dist/esm/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +2 -2
  353. package/dist/esm/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-35b4353b.js} +4 -4
  354. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  355. package/dist/esm/{sqm-portal-forgot-password-view-0e795cdd.js → sqm-portal-forgot-password-view-3d3182f1.js} +16 -24
  356. package/dist/esm/sqm-portal-forgot-password.entry.js +7 -36
  357. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  358. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  359. package/dist/esm/{sqm-portal-login-view-7670cd86.js → sqm-portal-login-view-7e49609a.js} +4 -4
  360. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  361. package/dist/esm/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-93003974.js} +4 -4
  362. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  363. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  364. package/dist/esm/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +3 -3
  365. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  366. package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +3 -3
  367. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  368. package/dist/esm/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +3 -3
  369. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  370. package/dist/esm/{sqm-qr-code-view-97124a66.js → sqm-qr-code-view-f1d0763b.js} +9 -9
  371. package/dist/esm/sqm-qr-code.entry.js +8 -19
  372. package/dist/esm/sqm-referral-table_11.entry.js +38 -123
  373. package/dist/esm/sqm-referred-registration.entry.js +174 -0
  374. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  375. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  376. package/dist/esm/sqm-rewards-table_9.entry.js +28 -75
  377. package/dist/esm/sqm-route.entry.js +1 -1
  378. package/dist/esm/sqm-scroll.entry.js +2 -2
  379. package/dist/esm/sqm-stencilbook.entry.js +14111 -15111
  380. package/dist/esm/sqm-tab.entry.js +4 -4
  381. package/dist/esm/sqm-tabs.entry.js +10 -24
  382. package/dist/esm/sqm-text-span-view-ca32495e.js +60 -0
  383. package/dist/esm/sqm-text-span.entry.js +6 -6
  384. package/dist/esm/sqm-widget-verification-controller.entry.js +6 -14
  385. package/dist/esm/sqm-widget-verification.entry.js +10 -22
  386. package/dist/esm/{dom-context-hooks.module-63370afd.js → stencil-hooks.module-4bc38af4.js} +13 -13
  387. package/dist/esm/{useChildElements-4e70ac0e.js → useChildElements-7945ae56.js} +2 -2
  388. package/dist/esm/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
  389. package/dist/esm/useLeadFormState-9016d812.js +68 -0
  390. package/dist/esm/{usePayoutStatus-7eeec61b.js → usePayoutStatus-4a7625b9.js} +35 -11
  391. package/dist/esm/{usePortalLogin-d0720c81.js → usePortalLogin-ef647a50.js} +3 -3
  392. package/dist/esm/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-4b35a357.js} +3 -3
  393. package/dist/esm/{useReferralCodes-311e6d72.js → useReferralCodes-8f75921a.js} +2 -2
  394. package/dist/esm/{useReferralTable-65a01a6a.js → useReferralTable-b3876ed6.js} +5 -5
  395. package/dist/esm/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-d6f33135.js} +2 -2
  396. package/dist/esm/{useVerificationEmail-f9413de9.js → useVerificationEmail-edc318cb.js} +2 -2
  397. package/dist/esm/{utilities-ad9c2893.js → utilities-5b0ca040.js} +2 -2
  398. package/dist/esm/{utils-03188de2.js → utils-334c1e34.js} +1 -5
  399. package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
  400. package/dist/esm-es5/GenericTableView-7b9087af.js +1 -0
  401. package/dist/esm-es5/ShadowViewAddon-f2176779.js +1 -0
  402. package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
  403. package/dist/esm-es5/email-registration-view-a7818cf2.js +1 -0
  404. package/dist/esm-es5/{global-80edfef3.js → global-be1f9992.js} +5 -5
  405. package/dist/esm-es5/{index-b3a06de8.js → index-91e7729f.js} +1 -1
  406. package/dist/esm-es5/index.module-89a79f66.js +1 -0
  407. package/dist/esm-es5/loader.js +1 -1
  408. package/dist/esm-es5/luxon-8d51c92b.js +1 -0
  409. package/dist/esm-es5/mint-components.js +1 -1
  410. package/dist/esm-es5/mixins-83f90fa1.js +1 -0
  411. package/dist/esm-es5/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  412. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  413. package/dist/esm-es5/re-render-cc945f38.js +1 -0
  414. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +1 -0
  415. package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
  416. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  417. package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
  418. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  419. package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +1 -1
  420. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  421. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  422. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  423. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  424. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  425. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  426. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  427. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  428. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  429. package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +1 -0
  430. package/dist/esm-es5/sqm-lead-checkbox-field-view-a8c1c78e.js +1 -0
  431. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -0
  432. package/dist/esm-es5/sqm-lead-input-field-view-4ede5d7f.js +1 -0
  433. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -0
  434. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
  435. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  436. package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  437. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  438. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +1 -0
  439. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  440. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +1 -0
  441. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  442. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  443. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  444. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  445. package/dist/esm-es5/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +1 -1
  446. package/dist/esm-es5/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  447. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  448. package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +1 -0
  449. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  450. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  451. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  452. package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
  453. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  454. package/dist/esm-es5/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-93003974.js} +1 -1
  455. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  456. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  457. package/dist/esm-es5/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -1
  458. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  459. package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
  460. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  461. package/dist/esm-es5/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
  462. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  463. package/dist/esm-es5/sqm-qr-code-view-f1d0763b.js +1 -0
  464. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  465. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  466. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -0
  467. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  468. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  469. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  470. package/dist/esm-es5/sqm-route.entry.js +1 -1
  471. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  472. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  473. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  474. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  475. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +1 -0
  476. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  477. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  478. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  479. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +53 -0
  480. package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
  481. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +1 -0
  482. package/dist/esm-es5/useLeadFormState-9016d812.js +1 -0
  483. package/dist/esm-es5/usePayoutStatus-4a7625b9.js +6 -0
  484. package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
  485. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +1 -0
  486. package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
  487. package/dist/esm-es5/useReferralTable-b3876ed6.js +1 -0
  488. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +1 -0
  489. package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
  490. package/dist/esm-es5/utilities-5b0ca040.js +1 -0
  491. package/dist/esm-es5/utils-334c1e34.js +1 -0
  492. package/dist/mint-components/global/styles.ts +100 -419
  493. package/dist/mint-components/mint-components.esm.js +1 -1
  494. package/dist/mint-components/mint-components.js +1 -1
  495. package/dist/mint-components/p-00df0cac.js +1 -0
  496. package/dist/mint-components/p-00ed4c2e.entry.js +1 -0
  497. package/dist/mint-components/p-01dd541f.system.js +1 -0
  498. package/dist/mint-components/p-0309fdfa.entry.js +1 -0
  499. package/dist/mint-components/p-04a6e457.entry.js +1 -0
  500. package/dist/mint-components/{p-f307b716.js → p-05f29f64.js} +1 -1
  501. package/dist/mint-components/p-0b4cac9f.system.entry.js +1 -0
  502. package/dist/mint-components/{p-1394d253.system.js → p-0d182dc1.system.js} +1 -1
  503. package/dist/mint-components/{p-8dc1cd0f.entry.js → p-0d2d0b6d.entry.js} +1 -1
  504. package/dist/mint-components/p-0d939b73.system.js +1 -0
  505. package/dist/mint-components/p-0ebab63e.system.js +1 -0
  506. package/dist/mint-components/{p-a6234a78.entry.js → p-10d17989.entry.js} +1 -1
  507. package/dist/mint-components/{p-a6f4fb03.system.js → p-127e66c2.system.js} +1 -1
  508. package/dist/mint-components/p-12bba567.entry.js +1 -0
  509. package/dist/mint-components/{p-3dc34570.system.js → p-13ed8586.system.js} +1 -1
  510. package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
  511. package/dist/mint-components/p-14a65f29.system.js +1 -0
  512. package/dist/mint-components/p-1513309d.entry.js +1 -0
  513. package/dist/mint-components/{p-0cba75e6.system.entry.js → p-164a9103.system.entry.js} +1 -1
  514. package/dist/mint-components/{p-910f56ca.system.entry.js → p-18425f38.system.entry.js} +1 -1
  515. package/dist/mint-components/{p-fb2976fc.system.entry.js → p-19bc3406.system.entry.js} +1 -1
  516. package/dist/mint-components/p-19ccb4ce.js +1 -0
  517. package/dist/mint-components/{p-b9bccc55.entry.js → p-1a6b7d2a.entry.js} +1 -1
  518. package/dist/mint-components/p-1b3ab15a.system.entry.js +1 -0
  519. package/dist/mint-components/p-1d704c40.system.js +1 -0
  520. package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
  521. package/dist/mint-components/p-21620f81.system.entry.js +1 -0
  522. package/dist/mint-components/p-229f797b.js +1 -0
  523. package/dist/mint-components/p-24db5c70.js +1 -0
  524. package/dist/mint-components/p-25ae959c.system.entry.js +1 -0
  525. package/dist/mint-components/{p-00791abc.js → p-266a8b4d.js} +1 -1
  526. package/dist/mint-components/p-267c8f8c.entry.js +144 -0
  527. package/dist/mint-components/p-275b4767.entry.js +1 -0
  528. package/dist/mint-components/{p-0b0f49ad.entry.js → p-284e4ed5.entry.js} +1 -1
  529. package/dist/mint-components/{p-711bc624.entry.js → p-2ae0e06a.entry.js} +1 -1
  530. package/dist/mint-components/p-2bbff88f.entry.js +1 -0
  531. package/dist/mint-components/{p-91014439.system.js → p-2d52e2d7.system.js} +1 -1
  532. package/dist/mint-components/p-2da21ba4.entry.js +1 -0
  533. package/dist/mint-components/p-2dca9e1a.system.js +1 -0
  534. package/dist/mint-components/{p-d5f1df29.entry.js → p-2f101bae.entry.js} +1 -1
  535. package/dist/mint-components/{p-485e2d9f.system.entry.js → p-301ddcaa.system.entry.js} +1 -1
  536. package/dist/mint-components/p-31015791.js +1 -0
  537. package/dist/mint-components/p-33c96e14.entry.js +16 -0
  538. package/dist/mint-components/{p-a45680fe.js → p-35b475bf.js} +1 -1
  539. package/dist/mint-components/{p-0d22c0e5.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  540. package/dist/mint-components/p-37996351.system.js +1 -0
  541. package/dist/mint-components/p-37a4452c.system.entry.js +1 -0
  542. package/dist/mint-components/p-380bfde1.entry.js +1 -0
  543. package/dist/mint-components/p-38e5c429.system.js +1 -0
  544. package/dist/mint-components/p-38fc919b.entry.js +1 -0
  545. package/dist/mint-components/p-3a62a7e2.system.js +1 -0
  546. package/dist/mint-components/{p-0e59a91e.js → p-3b2f1211.js} +8 -2
  547. package/dist/mint-components/p-3b90e01b.system.js +1 -0
  548. package/dist/mint-components/p-3db34d68.js +1 -0
  549. package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
  550. package/dist/mint-components/{p-862845d7.js → p-3f7b81b8.js} +2 -2
  551. package/dist/mint-components/p-420554af.system.entry.js +1 -0
  552. package/dist/mint-components/p-42187319.system.entry.js +1 -0
  553. package/dist/mint-components/p-4428294b.entry.js +1 -0
  554. package/dist/mint-components/{p-c3884e55.entry.js → p-44891949.entry.js} +1 -1
  555. package/dist/mint-components/p-4794641c.system.js +1 -0
  556. package/dist/mint-components/p-48135f99.system.js +53 -0
  557. package/dist/mint-components/p-48c69c2d.entry.js +1 -0
  558. package/dist/mint-components/p-492b70db.system.js +1 -0
  559. package/dist/mint-components/p-49932f12.system.js +1 -0
  560. package/dist/mint-components/{p-4204a6e3.entry.js → p-4b6dc0e5.entry.js} +1 -1
  561. package/dist/mint-components/{p-fb5be0c5.js → p-4e451f75.js} +1 -1
  562. package/dist/mint-components/{p-5ed49bf2.js → p-4e526a94.js} +1 -1
  563. package/dist/mint-components/p-4e5af50c.js +1 -0
  564. package/dist/mint-components/{p-ef8b70cd.system.entry.js → p-50c902ca.system.entry.js} +1 -1
  565. package/dist/mint-components/{p-82505f6e.system.js → p-527216de.system.js} +1 -1
  566. package/dist/mint-components/{p-9fb8b33a.system.js → p-5488fdd9.system.js} +1 -1
  567. package/dist/mint-components/p-5868dc11.entry.js +9 -0
  568. package/dist/mint-components/{p-578a27c8.system.js → p-59274a91.system.js} +1 -1
  569. package/dist/mint-components/{p-08700497.js → p-5bedb58c.js} +1 -1
  570. package/dist/mint-components/{p-ebb487d0.system.entry.js → p-5c28406d.system.entry.js} +1 -1
  571. package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
  572. package/dist/mint-components/p-6055eb4c.system.js +1 -0
  573. package/dist/mint-components/p-6122bf99.system.entry.js +1 -0
  574. package/dist/mint-components/p-626e9e84.js +1 -0
  575. package/dist/mint-components/p-6333265f.system.js +1 -0
  576. package/dist/mint-components/p-635d5ef2.system.js +1 -0
  577. package/dist/mint-components/{p-1d4a327c.js → p-63a75798.js} +1 -1
  578. package/dist/mint-components/p-6427e963.entry.js +1 -0
  579. package/dist/mint-components/p-65069b66.js +1248 -0
  580. package/dist/mint-components/p-653f963f.entry.js +13 -0
  581. package/dist/mint-components/p-65ba9e94.entry.js +1 -0
  582. package/dist/mint-components/{p-42b62299.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
  583. package/dist/mint-components/p-6b7a595f.system.js +1 -0
  584. package/dist/mint-components/p-6ba44ca9.js +1 -0
  585. package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
  586. package/dist/mint-components/{p-4d19270b.js → p-6d2f5a1d.js} +2 -2
  587. package/dist/mint-components/{p-7159c51c.system.js → p-6d9e52c7.system.js} +1 -1
  588. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  589. package/dist/mint-components/p-775f3ded.entry.js +1 -0
  590. package/dist/mint-components/p-7846937e.entry.js +13 -0
  591. package/dist/mint-components/{p-3eba9036.js → p-7a9290ba.js} +1 -1
  592. package/dist/mint-components/p-7ab21e4d.entry.js +1 -0
  593. package/dist/mint-components/{p-15012f59.system.js → p-7c2b9fe4.system.js} +1 -1
  594. package/dist/mint-components/{p-eea87fdc.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  595. package/dist/mint-components/p-7ec4ccd6.system.entry.js +1 -0
  596. package/dist/mint-components/{p-94f9fbf7.entry.js → p-7f80a9d7.entry.js} +1 -1
  597. package/dist/mint-components/{p-a148663a.system.js → p-8175e85f.system.js} +1 -1
  598. package/dist/mint-components/{p-ac2fdad8.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  599. package/dist/mint-components/p-837a0fdd.js +1 -0
  600. package/dist/mint-components/p-85671c3d.system.entry.js +1 -0
  601. package/dist/mint-components/p-8abfeff8.entry.js +1 -0
  602. package/dist/mint-components/p-8b584c46.system.entry.js +1 -0
  603. package/dist/mint-components/p-8c0b7881.system.entry.js +1 -0
  604. package/dist/mint-components/p-8c23d1b8.js +1 -0
  605. package/dist/mint-components/p-8d9d04b7.system.entry.js +1 -0
  606. package/dist/mint-components/{p-258f4e5e.system.entry.js → p-90fc6774.system.entry.js} +1 -1
  607. package/dist/mint-components/p-91521e9d.js +1 -0
  608. package/dist/mint-components/{p-ddf3c05e.js → p-91959fbe.js} +1 -1
  609. package/dist/mint-components/{p-68043f30.js → p-91ab3da1.js} +1 -1
  610. package/dist/mint-components/p-92816d1f.js +1 -0
  611. package/dist/mint-components/{p-da6fe95f.system.entry.js → p-9386ad84.system.entry.js} +1 -1
  612. package/dist/mint-components/{p-460155de.js → p-938f64d9.js} +1 -1
  613. package/dist/mint-components/p-94a876b9.js +1 -0
  614. package/dist/mint-components/p-95b88eb6.system.js +1 -0
  615. package/dist/mint-components/{p-c3dce602.system.entry.js → p-96431b4f.system.entry.js} +1 -1
  616. package/dist/mint-components/p-97d4d651.system.js +1 -0
  617. package/dist/mint-components/p-98698131.js +1 -0
  618. package/dist/mint-components/p-986d4c17.system.entry.js +1 -0
  619. package/dist/mint-components/{p-64997b59.system.js → p-99ad7d56.system.js} +1 -1
  620. package/dist/mint-components/p-9acb5038.js +1 -0
  621. package/dist/mint-components/{p-002e6205.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  622. package/dist/mint-components/{p-b3da317b.system.entry.js → p-9bfd9bed.system.entry.js} +1 -1
  623. package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
  624. package/dist/mint-components/{p-6951663b.js → p-9ec99ced.js} +1 -1
  625. package/dist/mint-components/{p-fa6fba34.system.js → p-9f22f58a.system.js} +2 -2
  626. package/dist/mint-components/{p-22c11f0e.entry.js → p-a2fde301.entry.js} +1 -1
  627. package/dist/mint-components/{p-d399162b.system.js → p-a71b9154.system.js} +1 -1
  628. package/dist/mint-components/{p-9580aac3.js → p-a9f4ddb1.js} +1 -1
  629. package/dist/mint-components/p-aad32fb6.system.js +1 -0
  630. package/dist/mint-components/{p-8e28333b.system.js → p-ae1ea5ac.system.js} +1 -1
  631. package/dist/mint-components/p-b207beeb.entry.js +1 -0
  632. package/dist/mint-components/{p-89b859c7.system.entry.js → p-b287833c.system.entry.js} +1 -1
  633. package/dist/mint-components/{p-6578ea31.system.js → p-b75bb6e3.system.js} +1 -1
  634. package/dist/mint-components/{p-7059ee40.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  635. package/dist/mint-components/p-b82e1935.system.entry.js +1 -0
  636. package/dist/mint-components/{p-a4e56204.js → p-bbcd824a.js} +1 -1
  637. package/dist/mint-components/{p-773ce89c.system.js → p-bdb7d451.system.js} +22 -22
  638. package/dist/mint-components/p-bfc7cfc0.system.js +1 -0
  639. package/dist/mint-components/p-c060f770.system.entry.js +1 -0
  640. package/dist/mint-components/{p-3787a4d6.js → p-c0f19490.js} +1 -1
  641. package/dist/mint-components/p-c1b074b6.js +394 -0
  642. package/dist/mint-components/{p-dbe29e53.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  643. package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
  644. package/dist/mint-components/p-c9b08184.entry.js +17 -0
  645. package/dist/mint-components/p-c9f1dde7.js +1 -0
  646. package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
  647. package/dist/mint-components/p-cbbfac66.entry.js +25 -0
  648. package/dist/mint-components/p-cd1d497f.system.js +1 -0
  649. package/dist/mint-components/{p-df37ef17.system.js → p-cd569259.system.js} +1 -1
  650. package/dist/mint-components/p-cd651f81.js +42 -0
  651. package/dist/mint-components/{p-9aadc253.entry.js → p-d07f3090.entry.js} +1 -1
  652. package/dist/mint-components/p-d66b9a61.entry.js +211 -0
  653. package/dist/mint-components/{p-b22b7891.js → p-d6831af5.js} +1 -1
  654. package/dist/mint-components/p-d78e7323.entry.js +273 -0
  655. package/dist/mint-components/{p-e27ff213.entry.js → p-da7708a7.entry.js} +1 -1
  656. package/dist/mint-components/{p-1c1f4ce7.system.js → p-dbc0e4f8.system.js} +1 -1
  657. package/dist/mint-components/p-dbcb5359.js +1 -0
  658. package/dist/mint-components/p-dcc81e90.entry.js +1 -0
  659. package/dist/mint-components/p-e07bc6c4.system.js +1 -0
  660. package/dist/mint-components/p-e5a5ae7f.system.entry.js +1 -0
  661. package/dist/mint-components/{p-b6911812.system.js → p-e5d0375e.system.js} +1 -1
  662. package/dist/mint-components/p-e6f50ffd.entry.js +1 -0
  663. package/dist/mint-components/p-e8e48982.js +1 -0
  664. package/dist/mint-components/{p-5e0af707.entry.js → p-e8ffcc68.entry.js} +2 -2
  665. package/dist/mint-components/{p-a2533860.system.entry.js → p-f0772618.system.entry.js} +1 -1
  666. package/dist/mint-components/p-f26aedcd.system.js +1 -0
  667. package/dist/mint-components/p-f2d8d3d3.system.entry.js +1 -0
  668. package/dist/mint-components/{p-4271f436.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  669. package/dist/mint-components/{p-22d20816.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
  670. package/dist/mint-components/p-f56bedd5.js +1 -0
  671. package/dist/mint-components/p-f708da7b.js +1 -0
  672. package/dist/mint-components/p-f7c99803.system.js +1 -0
  673. package/dist/mint-components/{p-07dc6d68.js → p-f940190a.js} +1 -1
  674. package/dist/mint-components/p-f98a4354.js +1 -0
  675. package/dist/mint-components/{p-7af4fba0.system.entry.js → p-fa37513e.system.entry.js} +1 -1
  676. package/dist/mint-components/{p-a7ee19dc.entry.js → p-faba3198.entry.js} +1 -1
  677. package/dist/mint-components/p-ff8b8067.entry.js +33 -0
  678. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -0
  679. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
  680. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
  681. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
  682. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +0 -2
  683. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
  684. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -47
  685. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -2
  686. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -1
  687. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +0 -2
  688. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +16 -43
  689. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +3 -2
  690. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -4
  691. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +0 -15
  692. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
  693. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +0 -1
  694. package/dist/types/components/sqm-hero/Hero.stories.d.ts +0 -1
  695. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +0 -1
  696. package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -6
  697. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
  698. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -20
  699. package/dist/types/components/sqm-image/sqm-image.d.ts +0 -1
  700. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -2
  701. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +0 -1
  702. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -1
  703. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +0 -1
  704. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +0 -1
  705. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +0 -1
  706. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -3
  707. package/dist/types/components/sqm-lead-form/LeadCheckboxField.stories.d.ts +28 -0
  708. package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +10 -0
  709. package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +10 -0
  710. package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +8 -0
  711. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field-view.d.ts +15 -0
  712. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +46 -0
  713. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +17 -0
  714. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +49 -0
  715. package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +36 -0
  716. package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +93 -0
  717. package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +15 -0
  718. package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +51 -0
  719. package/dist/types/components/sqm-lead-form/useCheckboxField.d.ts +6 -0
  720. package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +6 -0
  721. package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +28 -0
  722. package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +19 -0
  723. package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +6 -0
  724. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
  725. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -6
  726. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +11 -53
  727. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -6
  728. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -1
  729. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +0 -1
  730. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +1 -1
  731. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +0 -1
  732. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +0 -1
  733. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +0 -16
  734. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +0 -8
  735. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +0 -57
  736. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -1
  737. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +2 -9
  738. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  739. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -2
  740. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +0 -1
  741. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -1
  742. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -5
  743. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -15
  744. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +0 -3
  745. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +0 -19
  746. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +1 -2
  747. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
  748. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -1
  749. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +0 -1
  750. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +0 -1
  751. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +0 -1
  752. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +1 -0
  753. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -0
  754. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -2
  755. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +0 -3
  756. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -20
  757. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +0 -1
  758. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -1
  759. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -5
  760. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -25
  761. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -1
  762. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -43
  763. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -1
  764. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -1
  765. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -7
  766. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +0 -1
  767. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -1
  768. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +0 -1
  769. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -1
  770. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -1
  771. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -2
  772. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -1
  773. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -1
  774. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -4
  775. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -2
  776. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +437 -457
  777. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -10
  778. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -1
  779. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
  780. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -1
  781. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -2
  782. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +0 -1
  783. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -2
  784. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -2
  785. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
  786. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -2
  787. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +3 -4
  788. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +0 -1
  789. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +0 -1
  790. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -3
  791. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  792. package/dist/types/components/sqm-route/sqm-route.d.ts +0 -1
  793. package/dist/types/components/sqm-router/sqm-router.d.ts +0 -2
  794. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -1
  795. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  796. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +1 -2
  797. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -19
  798. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +0 -43
  799. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -1
  800. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -44
  801. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -3
  802. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +0 -25
  803. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  804. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +0 -1
  805. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +0 -1
  806. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -10
  807. package/dist/types/components/sqm-task-card/DetailsView.d.ts +0 -6
  808. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -5
  809. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +4 -33
  810. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +0 -9
  811. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -13
  812. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +2 -4
  813. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -14
  814. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +0 -1
  815. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -2
  816. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -14
  817. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -3
  818. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +0 -2
  819. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +2 -5
  820. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +2 -6
  821. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +2 -0
  822. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  823. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  824. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -4
  825. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
  826. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +8 -1
  827. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +24 -1
  828. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +9 -2
  829. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +51 -9
  830. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  831. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +10 -3
  832. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +36 -17
  833. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  834. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  835. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  836. package/dist/types/components/views/copy-text-view.d.ts +0 -5
  837. package/dist/types/components.d.ts +729 -1243
  838. package/dist/types/global/global.d.ts +2 -2
  839. package/dist/types/global/mixins.d.ts +12 -12
  840. package/dist/types/global/styles.d.ts +2 -10
  841. package/dist/types/saasquatch.d.ts +7 -143
  842. package/dist/types/utils/utils.d.ts +0 -1
  843. package/docs/docs.docx +0 -0
  844. package/docs/raisins.json +1 -1
  845. package/grapesjs/grapesjs.js +1 -1
  846. package/package.json +2 -3
  847. package/dist/cjs/IndirectTaxDetailsView-cf888c7b.js +0 -646
  848. package/dist/cjs/copy-text-view-97ae8a48.js +0 -127
  849. package/dist/cjs/data-d4339c2e.js +0 -137
  850. package/dist/cjs/parseStates-d1effc19.js +0 -16
  851. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -352
  852. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
  853. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +0 -10
  854. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +0 -56
  855. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1254
  856. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +0 -63
  857. package/dist/cjs/utils-e3305bd8.js +0 -105
  858. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +0 -198
  859. package/dist/collection/components/sqm-text/Text.stories.js +0 -12
  860. package/dist/collection/insertfont.js +0 -18
  861. package/dist/collection/utils/parseStates.js +0 -12
  862. package/dist/esm/IndirectTaxDetailsView-084314d5.js +0 -639
  863. package/dist/esm/copy-text-view-ab2fda20.js +0 -125
  864. package/dist/esm/data-ee3ae298.js +0 -121
  865. package/dist/esm/parseStates-ed75e224.js +0 -14
  866. package/dist/esm/sqm-code-verification.entry.js +0 -348
  867. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
  868. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +0 -8
  869. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +0 -54
  870. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1250
  871. package/dist/esm/sqm-text-span-view-4c17b8c9.js +0 -61
  872. package/dist/esm/utils-27b2ed4b.js +0 -97
  873. package/dist/esm-es5/GenericTableView-e43d310f.js +0 -1
  874. package/dist/esm-es5/IndirectTaxDetailsView-084314d5.js +0 -1
  875. package/dist/esm-es5/ShadowViewAddon-c99c9d12.js +0 -1
  876. package/dist/esm-es5/copy-text-view-ab2fda20.js +0 -1
  877. package/dist/esm-es5/data-ee3ae298.js +0 -1
  878. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +0 -53
  879. package/dist/esm-es5/email-registration-view-1f587f8b.js +0 -1
  880. package/dist/esm-es5/index.module-38dad6c9.js +0 -1
  881. package/dist/esm-es5/luxon-bbf75a9d.js +0 -1
  882. package/dist/esm-es5/mixins-f750863a.js +0 -1
  883. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  884. package/dist/esm-es5/re-render-9c90767d.js +0 -1
  885. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
  886. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  887. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
  888. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +0 -1
  889. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +0 -1
  890. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +0 -1
  891. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +0 -1
  892. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +0 -1
  893. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +0 -1
  894. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  895. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +0 -1
  896. package/dist/esm-es5/useChildElements-4e70ac0e.js +0 -1
  897. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +0 -1
  898. package/dist/esm-es5/usePayoutStatus-7eeec61b.js +0 -6
  899. package/dist/esm-es5/usePortalLogin-d0720c81.js +0 -1
  900. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +0 -1
  901. package/dist/esm-es5/useReferralCodes-311e6d72.js +0 -1
  902. package/dist/esm-es5/useReferralTable-65a01a6a.js +0 -1
  903. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +0 -1
  904. package/dist/esm-es5/useVerificationEmail-f9413de9.js +0 -1
  905. package/dist/esm-es5/utilities-ad9c2893.js +0 -1
  906. package/dist/esm-es5/utils-03188de2.js +0 -1
  907. package/dist/esm-es5/utils-27b2ed4b.js +0 -1
  908. package/dist/mint-components/p-000c91b1.js +0 -1
  909. package/dist/mint-components/p-00378aec.entry.js +0 -144
  910. package/dist/mint-components/p-05650cb6.entry.js +0 -1
  911. package/dist/mint-components/p-0935f9b7.system.js +0 -1
  912. package/dist/mint-components/p-09631d19.entry.js +0 -93
  913. package/dist/mint-components/p-0bb21f5b.system.entry.js +0 -1
  914. package/dist/mint-components/p-0e532b53.entry.js +0 -1
  915. package/dist/mint-components/p-0e66f410.system.entry.js +0 -1
  916. package/dist/mint-components/p-0ea61502.system.js +0 -1
  917. package/dist/mint-components/p-100c878b.system.entry.js +0 -1
  918. package/dist/mint-components/p-115dfc03.system.js +0 -1
  919. package/dist/mint-components/p-1337f47c.entry.js +0 -1
  920. package/dist/mint-components/p-1363c4ab.system.js +0 -1
  921. package/dist/mint-components/p-13f3a647.js +0 -1
  922. package/dist/mint-components/p-14128c84.system.entry.js +0 -1
  923. package/dist/mint-components/p-15bfd7e2.system.js +0 -1
  924. package/dist/mint-components/p-19f41a8e.js +0 -1
  925. package/dist/mint-components/p-1a278658.entry.js +0 -1
  926. package/dist/mint-components/p-1cd0e1e9.system.js +0 -1
  927. package/dist/mint-components/p-1f511d5d.entry.js +0 -25
  928. package/dist/mint-components/p-204861a6.js +0 -1
  929. package/dist/mint-components/p-209ea185.js +0 -1
  930. package/dist/mint-components/p-21e3cac4.js +0 -1
  931. package/dist/mint-components/p-2403c6e1.system.js +0 -1
  932. package/dist/mint-components/p-240bec23.js +0 -1
  933. package/dist/mint-components/p-29c72c11.js +0 -448
  934. package/dist/mint-components/p-38a03a10.system.js +0 -1
  935. package/dist/mint-components/p-3cb249c3.js +0 -1
  936. package/dist/mint-components/p-3d1b91a1.system.entry.js +0 -1
  937. package/dist/mint-components/p-3d99fa43.entry.js +0 -1
  938. package/dist/mint-components/p-40c01a5a.system.js +0 -1
  939. package/dist/mint-components/p-42da8239.system.js +0 -1
  940. package/dist/mint-components/p-433ca566.system.entry.js +0 -1
  941. package/dist/mint-components/p-4575393a.entry.js +0 -13
  942. package/dist/mint-components/p-49b20dae.js +0 -1
  943. package/dist/mint-components/p-4f5329a2.system.js +0 -53
  944. package/dist/mint-components/p-587115cb.system.entry.js +0 -1
  945. package/dist/mint-components/p-59b028db.system.js +0 -1
  946. package/dist/mint-components/p-5ff2da11.js +0 -1
  947. package/dist/mint-components/p-63e29387.js +0 -42
  948. package/dist/mint-components/p-672d144e.entry.js +0 -1
  949. package/dist/mint-components/p-67ad2252.system.js +0 -1
  950. package/dist/mint-components/p-692bacf3.js +0 -1
  951. package/dist/mint-components/p-6ad674c2.js +0 -103
  952. package/dist/mint-components/p-6b076bae.system.entry.js +0 -1
  953. package/dist/mint-components/p-6e069052.entry.js +0 -1
  954. package/dist/mint-components/p-71271fbd.system.js +0 -1
  955. package/dist/mint-components/p-7270fb59.entry.js +0 -1
  956. package/dist/mint-components/p-7970e73a.js +0 -1
  957. package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
  958. package/dist/mint-components/p-7fcc2a75.system.entry.js +0 -1
  959. package/dist/mint-components/p-84e1d633.system.entry.js +0 -1
  960. package/dist/mint-components/p-8543a70f.system.entry.js +0 -1
  961. package/dist/mint-components/p-8a6494c7.system.js +0 -1
  962. package/dist/mint-components/p-8caef004.js +0 -1
  963. package/dist/mint-components/p-8e2bead4.js +0 -1
  964. package/dist/mint-components/p-9049b387.entry.js +0 -1
  965. package/dist/mint-components/p-9374b5bb.system.entry.js +0 -1
  966. package/dist/mint-components/p-9d29a0ff.system.entry.js +0 -1
  967. package/dist/mint-components/p-9dbfdb41.system.entry.js +0 -1
  968. package/dist/mint-components/p-9e297104.entry.js +0 -1
  969. package/dist/mint-components/p-9f82e69d.entry.js +0 -1
  970. package/dist/mint-components/p-a5c9ce6c.entry.js +0 -1
  971. package/dist/mint-components/p-a89baf7b.system.js +0 -1
  972. package/dist/mint-components/p-a92d6c32.entry.js +0 -258
  973. package/dist/mint-components/p-abd33116.system.entry.js +0 -1
  974. package/dist/mint-components/p-ad174af6.system.entry.js +0 -1
  975. package/dist/mint-components/p-ad586adc.system.entry.js +0 -1
  976. package/dist/mint-components/p-b065215a.entry.js +0 -1
  977. package/dist/mint-components/p-bad50dc1.entry.js +0 -1
  978. package/dist/mint-components/p-bb627d95.entry.js +0 -17
  979. package/dist/mint-components/p-be88596c.system.js +0 -1
  980. package/dist/mint-components/p-c1629004.entry.js +0 -1
  981. package/dist/mint-components/p-c2c59452.system.js +0 -1
  982. package/dist/mint-components/p-c4886223.entry.js +0 -1
  983. package/dist/mint-components/p-c7965639.entry.js +0 -1
  984. package/dist/mint-components/p-c79bb1c6.entry.js +0 -16
  985. package/dist/mint-components/p-c7c11325.js +0 -1
  986. package/dist/mint-components/p-cab1f502.js +0 -1
  987. package/dist/mint-components/p-d2e2e10f.js +0 -1233
  988. package/dist/mint-components/p-d785a297.system.entry.js +0 -1
  989. package/dist/mint-components/p-d821418e.system.js +0 -1
  990. package/dist/mint-components/p-d8c5b80a.system.js +0 -1
  991. package/dist/mint-components/p-da3ffd4e.system.entry.js +0 -1
  992. package/dist/mint-components/p-e425b7a1.entry.js +0 -13
  993. package/dist/mint-components/p-e4e3ddb6.system.js +0 -1
  994. package/dist/mint-components/p-e539fed3.entry.js +0 -1
  995. package/dist/mint-components/p-e57d61af.system.js +0 -1
  996. package/dist/mint-components/p-e64fbb70.js +0 -1
  997. package/dist/mint-components/p-e9d0caf7.entry.js +0 -11
  998. package/dist/mint-components/p-eaeddfe2.system.js +0 -1
  999. package/dist/mint-components/p-f0e0d0b9.system.entry.js +0 -1
  1000. package/dist/mint-components/p-f0ebccea.system.entry.js +0 -1
  1001. package/dist/mint-components/p-f1dc581f.js +0 -1
  1002. package/dist/mint-components/p-f45221d6.system.js +0 -1
  1003. package/dist/mint-components/p-f4dc053e.entry.js +0 -33
  1004. package/dist/mint-components/p-f51e41dd.system.entry.js +0 -1
  1005. package/dist/mint-components/p-f6baa0c9.system.js +0 -1
  1006. package/dist/mint-components/p-f9713e0f.entry.js +0 -9
  1007. package/dist/mint-components/p-f9c7248e.js +0 -1
  1008. package/dist/mint-components/p-fb0513e7.system.entry.js +0 -1
  1009. package/dist/mint-components/p-fb77f662.entry.js +0 -1
  1010. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -9
  1011. package/dist/types/components/sqm-text/Text.stories.d.ts +0 -6
  1012. package/dist/types/insertfont.d.ts +0 -1
  1013. package/dist/types/utils/parseStates.d.ts +0 -1
  1014. package/shoelace/assets/icons/twitter-x.svg +0 -4
  1015. /package/dist/collection/components/tax-and-cash/{data.js → sqm-tax-and-cash/data.js} +0 -0
  1016. /package/dist/types/components/tax-and-cash/{data.d.ts → sqm-tax-and-cash/data.d.ts} +0 -0
@@ -1,22 +1,142 @@
1
- import { h, r as registerInstance, c as Host, g as getElement } from './index-b3a06de8.js';
2
- import { i as intl } from './global-80edfef3.js';
3
- import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-63370afd.js';
4
- import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, q as En, u as useCallback, R as Rn } from './index.module-38dad6c9.js';
1
+ import { h, r as registerInstance, c as Host, g as getElement } from './index-91e7729f.js';
2
+ import { m as useRef, k as useState, f as useEffect, n as h$1, l, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-be1f9992.js';
4
+ import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, q as En, u as useCallback, R as Rn, M as Mn, I as In, S as Sn, w as wn } from './index.module-89a79f66.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
- import { g as getProps, c as capitalizeFirstLetter } from './utils-03188de2.js';
7
+ import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import './mixins-f750863a.js';
10
- import { G as GenericTableView } from './GenericTableView-e43d310f.js';
11
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-9c90767d.js';
12
- import { u as useChildElements } from './useChildElements-4e70ac0e.js';
13
- import { l as luxon } from './luxon-bbf75a9d.js';
14
- import { g as generateUserError } from './useReferralTable-65a01a6a.js';
15
- import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-084314d5.js';
16
- import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-27b2ed4b.js';
17
- import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-ee3ae298.js';
18
- import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
19
- import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-7eeec61b.js';
9
+ import { E as ErrorStyles } from './mixins-83f90fa1.js';
10
+ import { G as GenericTableView } from './GenericTableView-7b9087af.js';
11
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-cc945f38.js';
12
+ import { u as useChildElements } from './useChildElements-7945ae56.js';
13
+ import { l as luxon } from './luxon-8d51c92b.js';
14
+ import { g as generateUserError } from './useReferralTable-b3876ed6.js';
15
+ import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
16
+ import { E as ErrorView } from './ErrorView-48e2b969.js';
17
+ import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-3491dd80.js';
18
+ import { e as extractProps } from './extractProps-ae1afbb3.js';
19
+ import { b as VERIFICATION_EVENT_KEY, V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
20
+ import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-4a7625b9.js';
21
+ import { u as useVerificationEmail } from './useVerificationEmail-edc318cb.js';
22
+
23
+ const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
24
+ const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
25
+ const USER_QUERY_NAMESPACE = "sq:user-info-query";
26
+ const USER_FORM_CONTEXT_NAMESPACE = "sq:user-form-context";
27
+ const FINANCE_NETWORK_SETTINGS_NAMESPACE = "sq:finance-network-settings";
28
+ const COUNTRIES_NAMESPACE = "sq:countries:list";
29
+ const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
30
+ const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
31
+ const CURRENCIES_NAMESPACE = "sq:currencies:list";
32
+ const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
33
+ const GET_USER = dist.gql `
34
+ query getUserTaxInfo {
35
+ user: viewer {
36
+ ... on User {
37
+ id
38
+ firstName
39
+ lastName
40
+ email
41
+ countryCode
42
+ customFields
43
+ managedIdentity {
44
+ uid
45
+ email
46
+ emailVerified
47
+ }
48
+ impactConnection {
49
+ connected
50
+ user {
51
+ firstName
52
+ lastName
53
+ }
54
+ publisher {
55
+ id
56
+ brandedSignup
57
+ countryCode
58
+ currency
59
+ billingAddress
60
+ billingCity
61
+ billingState
62
+ billingCountryCode
63
+ billingPostalCode
64
+ phoneNumberCountryCode
65
+ phoneNumber
66
+ taxInformation {
67
+ indirectTaxId
68
+ indirectTaxCountryCode
69
+ indirectTaxRegion
70
+ additionalTaxId
71
+ withholdingTaxId
72
+ withholdingTaxCountryCode
73
+ }
74
+ requiredTaxDocumentType
75
+ currentTaxDocument {
76
+ status
77
+ type
78
+ dateCreated
79
+ }
80
+ withdrawalSettings {
81
+ paymentMethod
82
+ paypalEmailAddress
83
+ bankCountry
84
+ bankAccountNumber
85
+ paymentSchedulingType
86
+ paymentThreshold
87
+ paymentDay
88
+ }
89
+ payoutsAccount {
90
+ hold
91
+ holdReasons
92
+ balance
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ `;
100
+ const GET_COUNTRIES = dist.gql `
101
+ query getCountries {
102
+ impactPayoutCountries(limit: 1000) {
103
+ data {
104
+ countryCode
105
+ displayName
106
+ }
107
+ }
108
+ }
109
+ `;
110
+ const GET_CURRENCIES = dist.gql `
111
+ query currencies($locale: RSLocale) {
112
+ currencies(limit: 300) {
113
+ data {
114
+ displayName(locale: $locale)
115
+ currencyCode
116
+ }
117
+ }
118
+ }
119
+ `;
120
+ const GET_FINANCE_NETWORK_SETTINGS = dist.gql `
121
+ query impactFinanceNetworkSettings(
122
+ $filter: ImpactFinanceNetworkSettingsFilterInput
123
+ ) {
124
+ impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
125
+ data {
126
+ countryCode
127
+ currency
128
+ defaultFinancePaymentMethodId
129
+ thresholdOptions
130
+ withdrawalSettingId
131
+ internationalEftFee
132
+ foreignFxFee
133
+ defaultFxFee
134
+ }
135
+ totalCount
136
+ }
137
+ }
138
+ `;
139
+ const FORM_STEPS = 4;
20
140
 
21
141
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
22
142
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
@@ -560,20 +680,45 @@ const style = {
560
680
  gap: "8px",
561
681
  },
562
682
  ErrorText: {
563
- color: "var(--sqm-danger-color-icon)",
683
+ color: "var(--sl-color-danger-500)",
564
684
  marginTop: "10px",
565
685
  },
566
686
  PageDescriptionText: {
567
- color: "var(--sqm-text-subdued)",
687
+ color: "var(--sl-color-neutral-500)",
568
688
  fontSize: "var(--sl-font-size-medium)",
569
689
  },
570
690
  DescriptionText: {
571
- color: "var(--sqm-text-subdued)",
691
+ color: "var(--sl-color-neutral-500)",
692
+ },
693
+ SecondaryBtn: {
694
+ "&::part(base)": {
695
+ color: "var(--sl-color-gray-800) !important",
696
+ },
697
+ },
698
+ AlertContainer: {
699
+ "&::part(base)": {
700
+ backgroundColor: "var(--sl-color-red-100)",
701
+ borderTop: "none",
702
+ padding: "0 16px",
703
+ },
704
+ "& sl-icon::part(base)": {
705
+ color: "var(--sl-color-danger-500)",
706
+ },
572
707
  },
573
708
  RadioContainer: {
574
709
  display: "flex",
575
710
  flexDirection: "column",
576
711
  },
712
+ PartnerAlertContainer: {
713
+ "&::part(base)": {
714
+ backgroundColor: "var(--sl-color-sky-100)",
715
+ borderTop: "none",
716
+ padding: "0 16px",
717
+ },
718
+ "& sl-icon::part(base)": {
719
+ color: "var(--sl-color-blue-500)",
720
+ },
721
+ },
577
722
  Checkbox: {
578
723
  "&::part(control)": {
579
724
  borderRadius: "50% !important",
@@ -585,8 +730,8 @@ const style = {
585
730
  InputContainer: {
586
731
  padding: "16px",
587
732
  margin: "16px 0px 16px 0px",
588
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
589
- borderBottom: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
733
+ borderTop: "1px solid var(--sl-color-gray-300)",
734
+ borderBottom: "1px solid var(--sl-color-gray-300)",
590
735
  display: "flex",
591
736
  flexDirection: "column",
592
737
  width: "100%",
@@ -608,20 +753,37 @@ const style = {
608
753
  width: "16px",
609
754
  height: "16px",
610
755
  borderRadius: "50%",
611
- background: "var(--sqm-skeleton-background)",
756
+ background: "var(--sl-color-gray-200)",
612
757
  },
613
758
  SmallSkeleton: {
614
759
  width: "100px",
615
760
  height: "16px",
616
761
  borderRadius: "50px",
617
- background: "var(--sqm-skeleton-background)",
762
+ background: "var(--sl-color-gray-200)",
618
763
  },
619
764
  LargeSkeleton: {
620
765
  width: "100%",
621
766
  maxWidth: "320px",
622
767
  height: "40px",
623
768
  borderRadius: "50px",
624
- background: "var(--sqm-skeleton-background)",
769
+ background: "var(--sl-color-gray-200)",
770
+ },
771
+ InfoAlert: {
772
+ "&::part(base)": {
773
+ backgroundColor: "transparent",
774
+ borderTop: "none",
775
+ border: "none",
776
+ },
777
+ "&::part(message)": {
778
+ display: "flex",
779
+ alignItems: "center",
780
+ justifyContent: "flex-start",
781
+ padding: "10px",
782
+ height: "max-content",
783
+ },
784
+ "& sl-icon::part(base)": {
785
+ color: "var(--sl-color-yellow-500)",
786
+ },
625
787
  },
626
788
  InfoWarningIcon: {
627
789
  height: "26px",
@@ -667,16 +829,20 @@ const vanillaStyle = `
667
829
  font-weight: 600
668
830
  }
669
831
 
832
+ p {
833
+ line-height: 18px;
834
+ color: var(--sl-color-gray-800);
835
+ font-size: var(--sl-font-size-small);
836
+ }
837
+
670
838
  /* this class is dynamically applied in controller */
671
839
  .error-input::part(base) {
672
- --sqm-input-border-color: var(--sqm-danger-color-border);
673
- --sl-input-border-color: var(--sqm-danger-color-border);
674
- --sl-input-border-color-hover: var(--sqm-danger-color-border);
675
- --sl-input-border-color-focus: var(--sqm-danger-color-background);
840
+ border: 1px solid var(--sl-color-danger-500);
841
+ border-radius: var(--sl-input-border-radius-medium);
676
842
  }
677
843
 
678
844
  .error-input::part(help-text) {
679
- color: var(--sqm-danger-color-text);
845
+ color: var(--sl-color-danger-500) !important;
680
846
  }
681
847
 
682
848
  `;
@@ -728,16 +894,20 @@ const BankingInfoFormView = (props) => {
728
894
  }, { step: states.step, count: FORM_STEPS }))),
729
895
  h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
730
896
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
731
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
732
- h("p", { part: "alert-title" }, text.error.generalTitle),
897
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
898
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
899
+ h("strong", null, text.error.generalTitle),
900
+ h("br", null),
733
901
  intl.formatMessage({
734
902
  id: "generalDescription",
735
903
  defaultMessage: text.error.generalDescription,
736
904
  }, {
737
905
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
738
906
  }))),
739
- states.isPartner && !states.hideSteps && (h("sqm-form-message", { type: "info" },
740
- h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
907
+ states.isPartner && !states.hideSteps && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
908
+ h("sl-icon", { slot: "icon", name: "info-circle" }),
909
+ h("strong", null, text.isPartnerAlertHeader),
910
+ h("br", null),
741
911
  intl.formatMessage({
742
912
  id: "isPartnerAlertDescription",
743
913
  defaultMessage: text.isPartnerAlertDescription,
@@ -778,7 +948,7 @@ const BankingInfoFormView = (props) => {
778
948
  h("sl-button", Object.assign({ type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading }, (states.hideSteps
779
949
  ? { onClick: callbacks.onModalOpen }
780
950
  : { submit: "submit" }), { exportparts: "base: primarybutton-base" }), text.continueButton),
781
- !states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
951
+ !states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
782
952
  };
783
953
 
784
954
  // Hardcoded in Impact backend
@@ -900,6 +1070,10 @@ function useBankingInfoForm(props) {
900
1070
  const paymentMethodChecked = !hasPayPal
901
1071
  ? "toBankAccount"
902
1072
  : _paymentMethodChecked;
1073
+ useEffect(() => {
1074
+ // reset redirect hash
1075
+ window.location.hash = "";
1076
+ }, []);
903
1077
  useEffect(() => {
904
1078
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
905
1079
  if (!userData)
@@ -1655,6 +1829,331 @@ function useDemoBankingInfoForm(props) {
1655
1829
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1656
1830
  }
1657
1831
 
1832
+ const style$1 = {
1833
+ Wrapper: {
1834
+ display: "flex",
1835
+ flexDirection: "column",
1836
+ gap: "var(--sl-spacing-medium)",
1837
+ maxWidth: "550px",
1838
+ },
1839
+ HeaderContainer: {
1840
+ display: "flex",
1841
+ flexDirection: "column",
1842
+ },
1843
+ InputsContainer: {
1844
+ display: "flex",
1845
+ gap: "var(--sl-spacing-medium)",
1846
+ position: "relative",
1847
+ flexDirection: "column",
1848
+ },
1849
+ CodeInputContainer: {
1850
+ display: "flex",
1851
+ gap: "var(--sl-spacing-medium)",
1852
+ },
1853
+ CodeInput: {
1854
+ maxWidth: "40px",
1855
+ "&::part(input)": {
1856
+ margin: "0",
1857
+ padding: "0 var(--sl-input-spacing-small)",
1858
+ fontSize: "var(--sl-font-size-large)",
1859
+ },
1860
+ },
1861
+ CodeInputError: {
1862
+ ...ErrorStyles,
1863
+ maxWidth: "40px",
1864
+ "&::part(input)": {
1865
+ margin: "0",
1866
+ padding: "0 var(--sl-input-spacing-small)",
1867
+ fontSize: "var(--sl-font-size-large)",
1868
+ },
1869
+ },
1870
+ ErrorText: {
1871
+ color: "var(--sl-color-danger-500)",
1872
+ fontSize: "var(--sl-font-size-small)",
1873
+ margin: "0",
1874
+ },
1875
+ ContinueButton: {
1876
+ width: "100%",
1877
+ maxWidth: "100px",
1878
+ },
1879
+ FooterContainer: {
1880
+ display: "flex",
1881
+ flexDirection: "column",
1882
+ },
1883
+ SkeletonOne: {
1884
+ width: "50%",
1885
+ height: "16px",
1886
+ },
1887
+ SkeletonTwo: {
1888
+ width: "30%",
1889
+ height: "34px",
1890
+ },
1891
+ SkeletonThree: {
1892
+ width: "15%",
1893
+ height: "24px",
1894
+ },
1895
+ };
1896
+ const vanillaStyle$1 = `
1897
+ :host {
1898
+ display: block;
1899
+ }
1900
+ :host([hidden]): {
1901
+ display: none;
1902
+ }
1903
+
1904
+
1905
+ `;
1906
+ const sheet$1 = createStyleSheet(style$1);
1907
+ const styleString$1 = sheet$1.toString();
1908
+ function WidgetCodeVerificationView(props) {
1909
+ const { states, refs, callbacks, text } = props;
1910
+ const resendCodeText = intl.formatMessage({
1911
+ id: "resendCodeText",
1912
+ defaultMessage: text.resendCodeText,
1913
+ }, {
1914
+ resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
1915
+ e.preventDefault();
1916
+ callbacks.resendEmail();
1917
+ } }, text.resendCodeLabel)),
1918
+ });
1919
+ const codeResentSuccessfully = intl.formatMessage({
1920
+ id: "codeResentSuccessfully",
1921
+ defaultMessage: text.codeResentSuccessfullyText,
1922
+ }, {
1923
+ email: states.email,
1924
+ });
1925
+ const inputClass = states.verifyFailed
1926
+ ? sheet$1.classes.CodeInputError
1927
+ : sheet$1.classes.CodeInput;
1928
+ return (h("div", { part: "sqm-base" },
1929
+ h("style", { type: "text/css" },
1930
+ vanillaStyle$1,
1931
+ styleString$1),
1932
+ h("div", { class: sheet$1.classes.Wrapper },
1933
+ h("div", { class: sheet$1.classes.HeaderContainer },
1934
+ h(TextSpanView, { type: "p" }, intl.formatMessage({
1935
+ id: `emailHeaderText`,
1936
+ defaultMessage: states.verifyFailed
1937
+ ? text.reverifyCodeHeaderText
1938
+ : text.verifyCodeHeaderText,
1939
+ }, { email: states.email }))),
1940
+ states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
1941
+ h("b", null, codeResentSuccessfully))),
1942
+ h("div", { class: sheet$1.classes.InputsContainer },
1943
+ h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
1944
+ h("sl-input", { class: inputClass, name: "code" }),
1945
+ h("sl-input", { class: inputClass, name: "code" }),
1946
+ h("sl-input", { class: inputClass, name: "code" }),
1947
+ h("sl-input", { class: inputClass, name: "code" }),
1948
+ h("sl-input", { class: inputClass, name: "code" }),
1949
+ h("sl-input", { class: inputClass, name: "code" })),
1950
+ states.verifyFailed && (h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
1951
+ h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
1952
+ h("div", { class: sheet$1.classes.FooterContainer },
1953
+ h(TextSpanView, { type: "p" }, resendCodeText)))));
1954
+ }
1955
+
1956
+ const VerifyEmailWithCodeMutation = dist.gql `
1957
+ mutation submitImpactPublisherEmail2FACode(
1958
+ $user: UserIdInput!
1959
+ $code: String!
1960
+ ) {
1961
+ submitImpactPublisherEmail2FACode(user: $user, code: $code) {
1962
+ verifiedEmail
1963
+ accessKey
1964
+ }
1965
+ }
1966
+ `;
1967
+ function useWidgetCodeVerification(props) {
1968
+ const host = l();
1969
+ const [_, setShowCode] = Pn(SHOW_CODE_NAMESPACE);
1970
+ const email = Fn(VERIFICATION_EMAIL_NAMESPACE);
1971
+ const [emailSent, setEmailSent] = useState(false);
1972
+ const [emailResent, setEmailResent] = useState(false);
1973
+ const [codeRef, setCodeRef] = useState(null);
1974
+ const [validationError, setValidationError] = useState(false);
1975
+ const [emailError, setEmailError] = useState(false);
1976
+ const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
1977
+ useEffect(() => {
1978
+ if (!codeRef)
1979
+ return;
1980
+ const slInputs = codeRef.querySelectorAll("sl-input");
1981
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1982
+ codeElements.forEach((element, idx) => {
1983
+ element.addEventListener("focus", (e) => {
1984
+ e.target.select();
1985
+ });
1986
+ element.addEventListener("keydown", (e) => {
1987
+ if (e.key === "Backspace" && e.target.value === "") {
1988
+ codeElements[Math.max(0, idx - 1)].focus();
1989
+ }
1990
+ });
1991
+ element.addEventListener("input", (e) => {
1992
+ const input = e.data;
1993
+ if (!input)
1994
+ return;
1995
+ if (idx === codeElements.length - 1) {
1996
+ e.target.value = input.slice(0, 1);
1997
+ return;
1998
+ }
1999
+ if (input.length > 1) {
2000
+ const rest = input.slice(1);
2001
+ e.target.value = input.slice(0, 1);
2002
+ codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
2003
+ inputType: "insertFromPaste",
2004
+ data: rest,
2005
+ }));
2006
+ }
2007
+ codeElements[idx + 1].focus();
2008
+ });
2009
+ });
2010
+ }, [codeRef]);
2011
+ const reset = () => {
2012
+ setShowCode(false);
2013
+ setValidationError(false);
2014
+ };
2015
+ const resendEmail = async () => {
2016
+ // UI should only allow this to be called if initialized, but checking just in case
2017
+ if (!initialized)
2018
+ return;
2019
+ const result = await sendEmail();
2020
+ if (!result) {
2021
+ setEmailError(true);
2022
+ return;
2023
+ }
2024
+ if (emailSent)
2025
+ setEmailResent(true);
2026
+ setEmailSent(true);
2027
+ };
2028
+ const submitCode = async () => {
2029
+ const slInputs = codeRef.querySelectorAll("sl-input");
2030
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
2031
+ if (codeElements.find((el) => !el.value)) {
2032
+ setValidationError(true);
2033
+ return;
2034
+ }
2035
+ let code = "";
2036
+ codeElements.forEach((element) => {
2037
+ code = `${code}${element.value}`;
2038
+ });
2039
+ // UI should only allow this to be called if initialized, but checking just in case
2040
+ if (!initialized)
2041
+ return;
2042
+ setValidationError(false);
2043
+ const res = await verifyEmail(code);
2044
+ if (res === null || res === void 0 ? void 0 : res.success) {
2045
+ props.onVerification(res.accessKey);
2046
+ reset();
2047
+ }
2048
+ else {
2049
+ setValidationError(true);
2050
+ }
2051
+ };
2052
+ useEffect(() => {
2053
+ // Wait for mutations to be determined from user lookup
2054
+ if (!initialized)
2055
+ return;
2056
+ // email should already exist if user has completed email-verification
2057
+ if (!email)
2058
+ resendEmail();
2059
+ else
2060
+ setEmailSent(true);
2061
+ }, [initialized]);
2062
+ return {
2063
+ refs: {
2064
+ codeWrapperRef: setCodeRef,
2065
+ },
2066
+ states: {
2067
+ email: verificationEmail,
2068
+ emailResent,
2069
+ resendError: sendErrors || verifyErrors,
2070
+ initialiseLoading: !initialized,
2071
+ loading: sendLoading || verifyLoading,
2072
+ verifyFailed: !!validationError,
2073
+ },
2074
+ callbacks: {
2075
+ resendEmail,
2076
+ submitCode,
2077
+ },
2078
+ text: props.getTextProps(),
2079
+ };
2080
+ }
2081
+
2082
+ const WidgetCodeVerification = class {
2083
+ constructor(hostRef) {
2084
+ registerInstance(this, hostRef);
2085
+ /**
2086
+ * @uiName Verify code widget header text
2087
+ */
2088
+ this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2089
+ /**
2090
+ * @uiName Reverify code widget header text
2091
+ */
2092
+ this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2093
+ /**
2094
+ * Text displayed under verify button
2095
+ * @uiName Resend code text
2096
+ */
2097
+ this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
2098
+ /**
2099
+ * The link that appears in the resend code link
2100
+ * @uiName Resend code label
2101
+ */
2102
+ this.resendCodeLabel = "Resend code";
2103
+ /**
2104
+ * Link text displayed under verify button
2105
+ * @uiName Resend code text
2106
+ */
2107
+ this.codeResentSuccessfullyText = "Another code has been sent to {email}";
2108
+ /**
2109
+ * Error text displayed under verification input
2110
+ * @uiName Invalid code text
2111
+ */
2112
+ this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
2113
+ /**
2114
+ * @uiName Verify code button text
2115
+ */
2116
+ this.verifyText = "Verify";
2117
+ /**
2118
+ * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
2119
+ * @uiName Network error message
2120
+ */
2121
+ this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
2122
+ h$1(this);
2123
+ }
2124
+ disconnectedCallback() { }
2125
+ getTextProps() {
2126
+ return getProps(this);
2127
+ }
2128
+ render() {
2129
+ const props = isDemo()
2130
+ ? useDemoWidgetCodeVerification(this)
2131
+ : useWidgetCodeVerification(this);
2132
+ return h(WidgetCodeVerificationView, Object.assign({}, props));
2133
+ }
2134
+ };
2135
+ function useDemoWidgetCodeVerification(props) {
2136
+ const [emailResent, setEmailResent] = useState(false);
2137
+ const setVerifiedContext = En(VERIFICATION_PARENT_NAMESPACE);
2138
+ return cjs({
2139
+ states: {
2140
+ loading: false,
2141
+ email: "test@example.com",
2142
+ emailResent,
2143
+ resendError: false,
2144
+ verifyFailed: false,
2145
+ },
2146
+ refs: {
2147
+ codeWrapperRef: () => { },
2148
+ },
2149
+ callbacks: {
2150
+ resendEmail: async () => setEmailResent(true),
2151
+ submitCode: async () => setVerifiedContext(true),
2152
+ },
2153
+ text: props.getTextProps(),
2154
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
2155
+ }
2156
+
1658
2157
  const GET_TAX_DOCUMENT = dist.gql `
1659
2158
  mutation createImpactPublisherTaxDocument(
1660
2159
  $vars: CreateImpactPublisherTaxDocumentInput!
@@ -1816,7 +2315,7 @@ function getDocumentType(p) {
1816
2315
  return undefined;
1817
2316
  }
1818
2317
 
1819
- const style$1 = {
2318
+ const style$2 = {
1820
2319
  DocusignStatusContainer: {
1821
2320
  width: "100%",
1822
2321
  minHeight: "600px",
@@ -1828,7 +2327,7 @@ const style$1 = {
1828
2327
  gap: "10px",
1829
2328
  margin: "auto",
1830
2329
  textAlign: "center",
1831
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
2330
+ border: "1px solid var(--sl-color-gray-200)",
1832
2331
  justifyContent: "center",
1833
2332
  },
1834
2333
  MessageContainer: {
@@ -1843,47 +2342,47 @@ const style$1 = {
1843
2342
  },
1844
2343
  },
1845
2344
  };
1846
- const sheet$1 = createStyleSheet(style$1);
1847
- const styleString$1 = sheet$1.toString();
2345
+ const sheet$2 = createStyleSheet(style$2);
2346
+ const styleString$2 = sheet$2.toString();
1848
2347
  const DocusignExpiredView = (props) => {
1849
- const { classes } = sheet$1;
2348
+ const { classes } = sheet$2;
1850
2349
  const { text } = props;
1851
2350
  return (h("div", null,
1852
- h("style", { type: "text/css" }, styleString$1),
2351
+ h("style", { type: "text/css" }, styleString$2),
1853
2352
  h("div", { class: classes.DocusignStatusContainer },
1854
2353
  h("sl-icon", { style: {
1855
2354
  width: "50px",
1856
2355
  height: "50px",
1857
- color: "var(--sqm-text)",
2356
+ color: "var(--sl-color-neutral-500)",
1858
2357
  }, name: "clock" }),
1859
2358
  h("div", { class: classes.MessageContainer },
1860
2359
  h("p", { style: { margin: "0" } }, text.docusignExpired)),
1861
2360
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1862
2361
  };
1863
2362
  const DocusignErrorView = (props) => {
1864
- const { classes } = sheet$1;
2363
+ const { classes } = sheet$2;
1865
2364
  const { text } = props;
1866
2365
  return (h("div", null,
1867
- h("style", { type: "text/css" }, styleString$1),
2366
+ h("style", { type: "text/css" }, styleString$2),
1868
2367
  h("div", { class: classes.DocusignStatusContainer },
1869
2368
  h("sl-icon", { style: {
1870
2369
  width: "50px",
1871
2370
  height: "50px",
1872
- color: "var(--sqm-text)",
2371
+ color: "var(--sl-color-gray-500)",
1873
2372
  }, name: "exclamation-octagon" }),
1874
2373
  h("div", { class: classes.MessageContainer },
1875
2374
  h("p", { style: { margin: "0" } }, text.docusignError)),
1876
2375
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1877
2376
  };
1878
2377
  const DocusignLoadingView = () => {
1879
- const { classes } = sheet$1;
2378
+ const { classes } = sheet$2;
1880
2379
  return (h("div", null,
1881
- h("style", { type: "text/css" }, styleString$1),
2380
+ h("style", { type: "text/css" }, styleString$2),
1882
2381
  h("div", { class: classes.DocusignStatusContainer },
1883
2382
  h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
1884
2383
  };
1885
2384
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
1886
- const { classes } = sheet$1;
2385
+ const { classes } = sheet$2;
1887
2386
  const [iFrameHeight, setiFrameHeight] = useState("100%");
1888
2387
  const allowedDomains = [
1889
2388
  "referralsaasquatch.com",
@@ -1897,7 +2396,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1897
2396
  if (typeof e.data === "number") {
1898
2397
  setiFrameHeight(e.data + "px");
1899
2398
  }
1900
- if (e.data === "Complyexchange Thank you page Load") {
2399
+ if (e.data === "Complyexchange Thank you page Load" && !states.loading) {
1901
2400
  callbacks.completeDocument();
1902
2401
  }
1903
2402
  }, []);
@@ -1916,12 +2415,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1916
2415
  return h(DocusignExpiredView, { text: text });
1917
2416
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
1918
2417
  return (h("div", { style: { height: iFrameHeight } },
1919
- h("style", { type: "text/css" }, styleString$1),
2418
+ h("style", { type: "text/css" }, styleString$2),
1920
2419
  h("div", { class: classes.IFrameContainer },
1921
2420
  h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
1922
2421
  };
1923
2422
 
1924
- const style$2 = {
2423
+ const style$3 = {
1925
2424
  ModalTitleContainer: {
1926
2425
  display: "flex",
1927
2426
  gap: "var(--sl-spacing-small)",
@@ -1958,7 +2457,7 @@ const style$2 = {
1958
2457
  gap: "8px",
1959
2458
  },
1960
2459
  ErrorText: {
1961
- color: "var(--sqm-danger-color-icon)",
2460
+ color: "var(--sl-color-danger-500)",
1962
2461
  marginTop: "10px",
1963
2462
  },
1964
2463
  DescriptionText: {
@@ -1967,6 +2466,44 @@ const style$2 = {
1967
2466
  BoldText: {
1968
2467
  fontWeight: "bold",
1969
2468
  },
2469
+ SecondaryBtn: {
2470
+ "&::part(base)": {
2471
+ color: "var(--sl-color-gray-800) !important",
2472
+ },
2473
+ "&::part(label)": {
2474
+ padding: "0px",
2475
+ margin: "0px",
2476
+ },
2477
+ },
2478
+ ErrorAlertContainer: {
2479
+ "&::part(base)": {
2480
+ backgroundColor: "var(--sl-color-red-100)",
2481
+ borderTop: "none",
2482
+ padding: "0 16px",
2483
+ },
2484
+ "& sl-icon::part(base)": {
2485
+ color: "var(--sl-color-danger-500)",
2486
+ },
2487
+ },
2488
+ InfoAlert: {
2489
+ "&::part(base)": {
2490
+ backgroundColor: "transparent",
2491
+ borderTop: "none",
2492
+ padding: "0px",
2493
+ marginBottom: "16px",
2494
+ border: "none",
2495
+ },
2496
+ "&::part(message)": {
2497
+ display: "flex",
2498
+ alignItems: "center",
2499
+ justifyContent: "flex-start",
2500
+ padding: "10px",
2501
+ height: "max-content",
2502
+ },
2503
+ "& sl-icon::part(base)": {
2504
+ color: "var(--sl-color-sky-500)",
2505
+ },
2506
+ },
1970
2507
  Container: {
1971
2508
  width: "100%",
1972
2509
  display: "flex",
@@ -1974,6 +2511,16 @@ const style$2 = {
1974
2511
  flexDirection: "column",
1975
2512
  gap: "16px",
1976
2513
  },
2514
+ Link: {
2515
+ color: "var(--sl-color-sky-500)",
2516
+ textDecoration: "none",
2517
+ "&:visited": {
2518
+ color: "var(--sl-color-sky-500)",
2519
+ },
2520
+ "&:hover": {
2521
+ textDecoration: "underline",
2522
+ },
2523
+ },
1977
2524
  CheckboxWrapper: {
1978
2525
  display: "flex",
1979
2526
  justifyContent: "flex-start",
@@ -1987,7 +2534,7 @@ const style$2 = {
1987
2534
  fontSize: "var(--sl-font-size-small)",
1988
2535
  },
1989
2536
  PageDescriptionText: {
1990
- color: "var(--sqm-text-subdued)",
2537
+ color: "var(--sl-color-neutral-500)",
1991
2538
  fontSize: "var(--sl-font-size-medium)",
1992
2539
  },
1993
2540
  Dialog: {
@@ -2013,38 +2560,41 @@ const style$2 = {
2013
2560
  },
2014
2561
  DialogButton: { margin: "auto", width: "100%" },
2015
2562
  };
2016
- const sheet$2 = createStyleSheet(style$2);
2017
- const styleString$2 = sheet$2.toString();
2018
- const vanillaStyle$1 = `
2019
- :host{
2020
- display: block;
2021
- }
2022
-
2023
- * {
2024
- margin: 0;
2025
- padding: 0;
2026
- box-sizing: border-box;
2027
- }
2563
+ const sheet$3 = createStyleSheet(style$3);
2564
+ const styleString$3 = sheet$3.toString();
2565
+ const vanillaStyle$2 = `
2566
+ :host{
2567
+ display: block;
2568
+ }
2569
+ * {
2570
+ margin: 0;
2571
+ padding: 0;
2572
+ box-sizing: border-box;
2573
+ }
2028
2574
 
2029
- a {
2030
- color: inherit;
2031
- text-decoration: underline;
2032
- cursor: pointer;
2033
- }
2575
+ p {
2576
+ line-height: 18px;
2577
+ color: var(--sl-color-gray-800);
2578
+ font-size: var(--sl-font-size-small);
2579
+ }
2580
+
2581
+ a {
2582
+ cursor: pointer;
2583
+ }
2034
2584
 
2035
2585
 
2036
2586
  `;
2037
2587
  const DocusignFormView = (props) => {
2038
2588
  var _a;
2039
2589
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2040
- const { classes } = sheet$2;
2590
+ const { classes } = sheet$3;
2041
2591
  return (h("div", { class: classes.Container },
2042
2592
  h("style", { type: "text/css" },
2043
- styleString$2,
2044
- vanillaStyle$1),
2045
- h("sl-dialog", { class: sheet$2.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2593
+ styleString$3,
2594
+ vanillaStyle$2),
2595
+ h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2046
2596
  h("div", { class: classes.ModalTitleContainer, slot: "label" },
2047
- h("sl-icon", { name: "info-circle", style: { color: "var(--sqm-informative-color-icon)" } }),
2597
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
2048
2598
  h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
2049
2599
  h("p", null, intl.formatMessage({
2050
2600
  id: "modalText",
@@ -2052,7 +2602,7 @@ const DocusignFormView = (props) => {
2052
2602
  }, {
2053
2603
  br: h("br", null),
2054
2604
  })),
2055
- h("sl-button", { slot: "footer", type: "primary", class: sheet$2.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2605
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2056
2606
  h("div", { class: classes.TextContainer },
2057
2607
  h("div", null,
2058
2608
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -2062,16 +2612,20 @@ const DocusignFormView = (props) => {
2062
2612
  h("h3", null, text.taxForm),
2063
2613
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2064
2614
  states.loadingError && (h("div", null,
2065
- h("sqm-form-message", { type: "error" },
2066
- h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
2615
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
2616
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2617
+ h("strong", null, text.error.loadingErrorAlertHeader),
2618
+ h("br", null),
2067
2619
  intl.formatMessage({
2068
2620
  id: "loadingErrorAlertDescription",
2069
2621
  defaultMessage: text.error.loadingErrorAlertDescription,
2070
2622
  }, {
2071
2623
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2072
2624
  })))),
2073
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
2074
- h("p", { part: "alert-title" }, text.error.generalTitle),
2625
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
2626
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2627
+ h("strong", null, text.error.generalTitle),
2628
+ h("br", null),
2075
2629
  intl.formatMessage({
2076
2630
  id: "generalDescription",
2077
2631
  defaultMessage: text.error.generalDescription,
@@ -2131,7 +2685,7 @@ const DocusignForm = class {
2131
2685
  * @uiName W-8 BEN-E tax form description
2132
2686
  * @uiWidget textArea
2133
2687
  */
2134
- this.taxFormDescriptionBusinessEntity = "Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";
2688
+ this.taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
2135
2689
  /**
2136
2690
  * This appears inside the Docusign frame.
2137
2691
  * @uiName Docusign session expired messag
@@ -2255,7 +2809,7 @@ function useDocusignFormDemo(props) {
2255
2809
  return cjs({
2256
2810
  text: props.getTextProps(),
2257
2811
  states: {
2258
- step: "3",
2812
+ step: "4",
2259
2813
  disabled: false,
2260
2814
  submitDisabled: false,
2261
2815
  loading: false,
@@ -2291,7 +2845,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2291
2845
  return (h("div", { style: {
2292
2846
  width: "100%",
2293
2847
  height: "600px",
2294
- background: "inherit",
2848
+ background: "#fafafa",
2295
2849
  display: "flex",
2296
2850
  justifyContent: "center",
2297
2851
  alignItems: "center",
@@ -2303,7 +2857,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2303
2857
  } }, h("span", null, "Placeholder for docusign iframe"), h("div", { style: { display: "flex", gap: "8px" } }, h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2304
2858
  };
2305
2859
 
2306
- const style$3 = {
2860
+ const style$4 = {
2307
2861
  FormWrapper: {
2308
2862
  display: "flex",
2309
2863
  justifyContent: "flex-start",
@@ -2315,7 +2869,6 @@ const style$3 = {
2315
2869
  justifyContent: "flex-start",
2316
2870
  flexDirection: "column",
2317
2871
  gap: "var(--sl-spacing-medium)",
2318
- marginBottom: "16px",
2319
2872
  "& sl-radio::part(base)": {
2320
2873
  alignItems: "start",
2321
2874
  },
@@ -2356,76 +2909,86 @@ const style$3 = {
2356
2909
  marginTop: "10px",
2357
2910
  },
2358
2911
  DescriptionText: {
2359
- color: "var(--sqm-text-subdued)",
2912
+ color: "var(--sl-color-neutral-500)",
2360
2913
  },
2361
- InfoWarningIcon: {
2362
- height: "26px",
2363
- width: "26px",
2914
+ SecondaryBtn: {
2915
+ "&::part(base)": {
2916
+ color: "var(--sl-color-gray-800) !important",
2917
+ },
2364
2918
  },
2365
- PageDescriptionText: {
2366
- color: "var(--sqm-text-subdued)",
2367
- fontSize: "var(--sl-font-size-medium)",
2368
- marginBottom: "var(--sl-spacing-small)",
2919
+ AlertContainer: {
2920
+ "&::part(base)": {
2921
+ backgroundColor: "var(--sl-color-red-100)",
2922
+ borderTop: "none",
2923
+ padding: "0 16px",
2924
+ },
2925
+ "& sl-icon::part(base)": {
2926
+ color: "var(--sl-color-danger-500)",
2927
+ },
2369
2928
  },
2370
- PrimaryButton: {
2929
+ PartnerAlertContainer: {
2371
2930
  "&::part(base)": {
2372
- background: "var(--sqm-primary-button-background)",
2373
- color: "var(--sqm-primary-button-color)",
2374
- borderColor: "var(--sqm-primary-button-color-border)",
2375
- borderRadius: "var(--sqm-primary-button-radius)",
2931
+ backgroundColor: "var(--sl-color-sky-100)",
2932
+ borderTop: "none",
2933
+ padding: "0 16px",
2376
2934
  },
2377
- "&::part(base):hover": {
2378
- background: "var(--sqm-primary-button-background-hover)",
2935
+ "& sl-icon::part(base)": {
2936
+ color: "var(--sl-color-blue-500)",
2379
2937
  },
2380
2938
  },
2381
- SecondaryButton: {
2939
+ InfoAlert: {
2940
+ marginTop: "var(--sl-spacing-large)",
2382
2941
  "&::part(base)": {
2383
- background: "var(--sqm-secondary-button-background)",
2384
- color: "var(--sqm-secondary-button-color)",
2385
- borderColor: "var(--sqm-secondary-button-color-border)",
2386
- borderRadius: "var(--sqm-secondary-button-radius)",
2387
- width: "max-content",
2388
- display: "flex",
2389
- margin: "auto",
2942
+ backgroundColor: "transparent",
2943
+ borderTop: "none",
2944
+ padding: "0px",
2945
+ border: "none",
2946
+ },
2947
+ "&::part(message)": {
2948
+ alignItems: "center",
2949
+ padding: "var(--sl-spacing-small)",
2950
+ whiteSpace: "nowrap",
2390
2951
  },
2391
- "&::part(base):hover": {
2392
- color: "var(--sqm-text)",
2393
- background: "var(--sqm-secondary-button-background-hover)",
2952
+ "& sl-icon::part(base)": {
2953
+ color: "var(--sl-color-yellow-500)",
2394
2954
  },
2395
2955
  },
2956
+ InfoWarningIcon: {
2957
+ height: "26px",
2958
+ width: "26px",
2959
+ },
2960
+ PageDescriptionText: {
2961
+ color: "var(--sl-color-neutral-500)",
2962
+ fontSize: "var(--sl-font-size-medium)",
2963
+ marginBottom: "var(--sl-spacing-small)",
2964
+ },
2396
2965
  };
2397
- const sheet$3 = createStyleSheet(style$3);
2398
- const styleString$3 = sheet$3.toString();
2399
- const vanillaStyle$2 = `
2966
+ const sheet$4 = createStyleSheet(style$4);
2967
+ const styleString$4 = sheet$4.toString();
2968
+ const vanillaStyle$3 = `
2400
2969
  :host{
2401
2970
  display: block;
2402
2971
  }
2403
-
2404
- hr {
2405
- border: var(--sqm-border-thickness, 1px) solid var(--sqm-border-color);
2406
- }
2407
-
2408
- a {
2409
- color: inherit;
2410
- text-decoration: underline;
2411
- cursor: pointer;
2412
- }
2413
-
2414
2972
  * {
2415
2973
  margin: 0;
2416
2974
  padding: 0;
2417
2975
  box-sizing: border-box;
2418
2976
  }
2419
2977
 
2978
+ p {
2979
+ line-height: 18px;
2980
+ color: var(--sl-color-gray-800);
2981
+ font-size: var(--sl-font-size-small);
2982
+ }
2420
2983
  `;
2421
2984
  const IndirectTaxFormView = (props) => {
2422
2985
  var _a;
2423
2986
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2424
- const { classes } = sheet$3;
2987
+ const { classes } = sheet$4;
2425
2988
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2426
2989
  h("style", { type: "text/css" },
2427
- styleString$3,
2428
- vanillaStyle$2),
2990
+ styleString$4,
2991
+ vanillaStyle$3),
2429
2992
  h("div", { class: classes.TextContainer },
2430
2993
  h("div", null,
2431
2994
  !states.hideSteps && (h("p", null,
@@ -2438,24 +3001,30 @@ const IndirectTaxFormView = (props) => {
2438
3001
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2439
3002
  h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2440
3003
  states.loadingError && (h("div", null,
2441
- h("sqm-form-message", { type: "error" },
2442
- h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
3004
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
3005
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3006
+ h("strong", null, text.error.loadingErrorAlertHeader),
3007
+ h("br", null),
2443
3008
  intl.formatMessage({
2444
3009
  id: "loadingErrorAlertDescription",
2445
3010
  defaultMessage: text.error.loadingErrorAlertDescription,
2446
3011
  }, {
2447
3012
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2448
3013
  })))),
2449
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
2450
- h("p", { part: "alert-title" }, text.error.generalTitle),
3014
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
3015
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3016
+ h("strong", null, text.error.generalTitle),
3017
+ h("br", null),
2451
3018
  intl.formatMessage({
2452
3019
  id: "generalDescription",
2453
3020
  defaultMessage: text.error.generalDescription,
2454
3021
  }, {
2455
3022
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2456
3023
  }))),
2457
- states.isPartner && (h("sqm-form-message", { type: "info" },
2458
- h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
3024
+ states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
3025
+ h("sl-icon", { slot: "icon", name: "info-circle" }),
3026
+ h("strong", null, text.isPartnerAlertHeader),
3027
+ h("br", null),
2459
3028
  intl.formatMessage({
2460
3029
  id: "isPartnerAlertDescription",
2461
3030
  defaultMessage: text.isPartnerAlertDescription,
@@ -2476,15 +3045,17 @@ const IndirectTaxFormView = (props) => {
2476
3045
  text.otherRegion,
2477
3046
  h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2478
3047
  slots.registeredInDifferentCountryDetailsSlot)),
2479
- h("sqm-form-message", { type: "info" }, intl.formatMessage({
2480
- id: "cannotChangeInfoAlert",
2481
- defaultMessage: text.cannotChangeInfoAlert,
2482
- }, {
2483
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2484
- })),
3048
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
3049
+ h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
3050
+ intl.formatMessage({
3051
+ id: "cannotChangeInfoAlert",
3052
+ defaultMessage: text.cannotChangeInfoAlert,
3053
+ }, {
3054
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3055
+ })),
2485
3056
  h("div", { class: classes.BtnContainer },
2486
- h("sl-button", { class: classes.PrimaryButton, type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2487
- h("sl-button", { class: classes.SecondaryButton, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
3057
+ h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
3058
+ h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2488
3059
  };
2489
3060
 
2490
3061
  const CONNECT_PARTNER = dist.gql `
@@ -2543,6 +3114,10 @@ function useIndirectTaxForm(props) {
2543
3114
  const [filteredCountries, setFilteredCountries] = useState(_countries || []);
2544
3115
  const [option, setOption] = useState("notRegistered");
2545
3116
  const publisher = (_c = (_b = userData === null || userData === void 0 ? void 0 : userData.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher;
3117
+ useEffect(() => {
3118
+ // reset redirect hash
3119
+ window.location.hash = "";
3120
+ }, []);
2546
3121
  useEffect(() => {
2547
3122
  var _a;
2548
3123
  if (!((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxCountryCode))
@@ -2929,7 +3504,7 @@ const IndirectTaxForm = class {
2929
3504
  };
2930
3505
  function useDemoIndirectTaxForm(props) {
2931
3506
  const setStep = En(TAX_CONTEXT_NAMESPACE);
2932
- const [option, setOption] = useState("otherRegion");
3507
+ const [option, setOption] = useState(null);
2933
3508
  const [demoFormState, setDemoFormState] = useState({});
2934
3509
  return cjs({
2935
3510
  states: {
@@ -3010,26 +3585,6 @@ function useDemoIndirectTaxForm(props) {
3010
3585
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
3011
3586
  }
3012
3587
 
3013
- const mockInvoiceData = (count = 4) => {
3014
- const data = [...Array(count)].map(() => getMockData());
3015
- return { data };
3016
- };
3017
- const getMockData = () => {
3018
- const today = luxon.DateTime.now();
3019
- const invoiceId = Math.random().toString(36).slice(2, 12);
3020
- const earnings = Math.floor(Math.random() * 100) + 1;
3021
- const indirectTax = Math.round(earnings * 0.2);
3022
- return {
3023
- downloadUrl: "https://example.com",
3024
- dateCreated: today.toMillis(),
3025
- invoiceId,
3026
- program: "my-program",
3027
- earnings: `$${earnings}.00`,
3028
- indirectTax: `$${indirectTax}.00`,
3029
- netEarnings: `$${earnings - indirectTax}.00`,
3030
- };
3031
- };
3032
-
3033
3588
  const debug = browser("sq:useInvoiceTable");
3034
3589
  const CSS_NAMESPACE = "sqm-invoice-table";
3035
3590
  const GET_INVOICES = dist.gql `
@@ -3178,6 +3733,26 @@ async function tryMethod(c, callback) {
3178
3733
  }
3179
3734
  }
3180
3735
 
3736
+ const mockInvoiceData = (count = 4) => {
3737
+ const data = [...Array(count)].map(() => getMockData());
3738
+ return { data };
3739
+ };
3740
+ const getMockData = () => {
3741
+ const today = luxon.DateTime.now();
3742
+ const invoiceId = Math.random().toString(36).slice(2, 12);
3743
+ const earnings = Math.floor(Math.random() * 100) + 1;
3744
+ const indirectTax = Math.round(earnings * 0.2);
3745
+ return {
3746
+ downloadUrl: "https://example.com",
3747
+ dateCreated: today.toMillis(),
3748
+ invoiceId,
3749
+ program: "my-program",
3750
+ earnings: `$${earnings}.00`,
3751
+ indirectTax: `$${indirectTax}.00`,
3752
+ netEarnings: `$${earnings - indirectTax}.00`,
3753
+ };
3754
+ };
3755
+
3181
3756
  const InvoiceTable = class {
3182
3757
  constructor(hostRef) {
3183
3758
  registerInstance(this, hostRef);
@@ -3323,6 +3898,18 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3323
3898
  return demoProps;
3324
3899
  }
3325
3900
 
3901
+ const InvoiceTableDataCell = class {
3902
+ constructor(hostRef) {
3903
+ registerInstance(this, hostRef);
3904
+ this.ignored = true;
3905
+ h$1(this);
3906
+ }
3907
+ disconnectedCallback() { }
3908
+ render() {
3909
+ return this.data;
3910
+ }
3911
+ };
3912
+
3326
3913
  const InvoiceTableDataColumn = class {
3327
3914
  constructor(hostRef) {
3328
3915
  registerInstance(this, hostRef);
@@ -3341,6 +3928,23 @@ const InvoiceTableDataColumn = class {
3341
3928
  }
3342
3929
  };
3343
3930
 
3931
+ const RewardTableDateCell = class {
3932
+ constructor(hostRef) {
3933
+ registerInstance(this, hostRef);
3934
+ this.ignored = true;
3935
+ this.locale = "en";
3936
+ h$1(this);
3937
+ }
3938
+ disconnectedCallback() { }
3939
+ render() {
3940
+ var _a, _b;
3941
+ const date = !this.date
3942
+ ? "-"
3943
+ : (_b = (_a = luxon.DateTime.fromMillis(this.date)) === null || _a === void 0 ? void 0 : _a.setLocale(luxonLocale(this.locale))) === null || _b === void 0 ? void 0 : _b.toLocaleString(luxon.DateTime.DATE_MED);
3944
+ return date;
3945
+ }
3946
+ };
3947
+
3344
3948
  const InvoiceTableDateColumn = class {
3345
3949
  constructor(hostRef) {
3346
3950
  registerInstance(this, hostRef);
@@ -3359,6 +3963,21 @@ const InvoiceTableDateColumn = class {
3359
3963
  }
3360
3964
  };
3361
3965
 
3966
+ const InvoiceTableDownloadCell = class {
3967
+ constructor(hostRef) {
3968
+ registerInstance(this, hostRef);
3969
+ this.ignored = true;
3970
+ h$1(this);
3971
+ }
3972
+ disconnectedCallback() { }
3973
+ render() {
3974
+ const vanillaStyle = `svg:hover, svg:hover * {
3975
+ cursor: pointer;
3976
+ }`;
3977
+ return (h(Host, null, h("style", null, vanillaStyle), !!this.downloadUrl && (h("a", { href: this.downloadUrl, target: "_blank" }, h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("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: "#717179" }), h("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: "#717179" }))))));
3978
+ }
3979
+ };
3980
+
3362
3981
  const InvoiceTableGenericColumn = class {
3363
3982
  constructor(hostRef) {
3364
3983
  registerInstance(this, hostRef);
@@ -3381,17 +4000,17 @@ const PayPalIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width:
3381
4000
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3382
4001
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3383
4002
 
3384
- const style$4 = {
4003
+ const style$5 = {
3385
4004
  CardContainer: {
3386
4005
  display: "grid",
3387
4006
  gridTemplateColumns: "1fr",
3388
4007
  gridGap: "var(--sl-spacing-large)",
3389
- background: "inherit",
4008
+ background: "var(--sl-color-neutral-0)",
3390
4009
  boxShadow: "0px 2px 4px rgba(28, 28, 33, 0.12)",
3391
- borderRadius: "var(--sqm-border-radius-normal)",
4010
+ borderRadius: "4px",
3392
4011
  padding: "var(--sl-spacing-large)",
3393
4012
  minHeight: "150px",
3394
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4013
+ border: "1px solid var(--sl-color-gray-200)",
3395
4014
  maxWidth: "450px",
3396
4015
  },
3397
4016
  StatusContainer: {
@@ -3401,7 +4020,7 @@ const style$4 = {
3401
4020
  },
3402
4021
  MainCurrencyLabel: {
3403
4022
  fontWeight: "var(--sl-font-weight-normal)",
3404
- color: "var(--sqm-text-subdued)",
4023
+ color: "var(--sl-color-gray-500)",
3405
4024
  },
3406
4025
  MainCurrency: {
3407
4026
  margin: 0,
@@ -3410,12 +4029,12 @@ const style$4 = {
3410
4029
  },
3411
4030
  SubduedRegularText: {
3412
4031
  fontSize: "var(--sl-font-size-small)",
3413
- color: "var(--sqm-text-subdued)",
4032
+ color: "var(--sl-color-gray-500)",
3414
4033
  margin: 0,
3415
4034
  width: "auto",
3416
4035
  },
3417
4036
  PaypalEmail: {
3418
- borderRight: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4037
+ borderRight: "1px solid var(--sl-color-gray-200)",
3419
4038
  paddingRight: "var(--sl-spacing-small)",
3420
4039
  "@media (max-width: 499px)": {
3421
4040
  borderRight: "none",
@@ -3423,7 +4042,7 @@ const style$4 = {
3423
4042
  },
3424
4043
  },
3425
4044
  PaypalDetailsContainer: {
3426
- color: "var(--sqm-text-subdued)",
4045
+ color: "var(--sl-color-gray-500)",
3427
4046
  display: "flex",
3428
4047
  gap: "var(--sl-spacing-small)",
3429
4048
  justifyContent: "flex-start",
@@ -3444,7 +4063,7 @@ const style$4 = {
3444
4063
  },
3445
4064
  },
3446
4065
  AccountDetailsContainer: {
3447
- color: "var(--sqm-text-subdued)",
4066
+ color: "var(--sl-color-gray-500)",
3448
4067
  display: "flex",
3449
4068
  gap: "var(--sl-spacing-small)",
3450
4069
  justifyContent: "flex-start",
@@ -3457,7 +4076,7 @@ const style$4 = {
3457
4076
  gap: "var(--sl-spacing-xx-small) var(--sl-spacing-small)",
3458
4077
  paddingTop: "var(--sq-spacing-xx-small)",
3459
4078
  "& > :not(:last-child)": {
3460
- borderRight: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4079
+ borderRight: "1px solid var(--sl-color-gray-200)",
3461
4080
  },
3462
4081
  "& > :nth-child(3)": {
3463
4082
  border: "none",
@@ -3474,7 +4093,7 @@ const style$4 = {
3474
4093
  },
3475
4094
  W9Container: {
3476
4095
  paddingTop: "var(--sl-spacing-large)",
3477
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4096
+ borderTop: "1px solid var(--sl-color-gray-200)",
3478
4097
  },
3479
4098
  SkeletonOne: {
3480
4099
  width: "25%",
@@ -3488,22 +4107,26 @@ const style$4 = {
3488
4107
  width: "50%",
3489
4108
  height: "34px",
3490
4109
  },
3491
- SuccessBadge: {
4110
+ Alert: {
3492
4111
  "&::part(base)": {
3493
- textAlign: "center",
3494
- whiteSpace: "pre-line",
3495
- background: "var(--sqm-success-color-icon)",
3496
- color: "var(--sl-color-white)",
4112
+ backgroundColor: "var(--sl-color-warning-100)",
4113
+ border: "1px solid var(--sl-color-warning-200)",
4114
+ padding: "0 16px",
3497
4115
  },
3498
- },
3499
- PrimaryBadge: {
3500
- "&::part(base)": {
3501
- textAlign: "center",
3502
- whiteSpace: "pre-line",
3503
- background: "var(--sqm-informative-color-icon)",
3504
- color: "var(--sl-color-white)",
4116
+ "& sl-icon": {
4117
+ margin: 0,
4118
+ },
4119
+ "& sl-icon::part(base)": {
4120
+ color: "var(--sl-color-warning-500)",
4121
+ margin: 0,
3505
4122
  },
3506
4123
  },
4124
+ AlertContent: {
4125
+ display: "flex",
4126
+ alignItems: "flex-start",
4127
+ justifyContent: "flex-start",
4128
+ flexDirection: "column",
4129
+ },
3507
4130
  Container: {
3508
4131
  display: "flex",
3509
4132
  flexDirection: "column",
@@ -3511,7 +4134,7 @@ const style$4 = {
3511
4134
  },
3512
4135
  };
3513
4136
  function PayoutDetailsCardView(props) {
3514
- const sheet = createStyleSheet(style$4);
4137
+ const sheet = createStyleSheet(style$5);
3515
4138
  const styleString = sheet.toString();
3516
4139
  const { classes } = sheet;
3517
4140
  const { states, text } = props;
@@ -3525,14 +4148,13 @@ function PayoutDetailsCardView(props) {
3525
4148
  };
3526
4149
  const renderStatusBadge = (status, statusBadgeText) => {
3527
4150
  const badgeType = status === "nextPayout" ? "success" : "primary";
3528
- const badgeClass = badgeType === "success" ? classes.SuccessBadge : classes.PrimaryBadge;
3529
4151
  const statusText = intl.formatMessage({
3530
4152
  id: "badgeText",
3531
4153
  defaultMessage: statusBadgeText,
3532
4154
  }, {
3533
4155
  badgeText: status,
3534
4156
  });
3535
- return (h("sl-badge", { pill: true, class: badgeClass }, statusText));
4157
+ return (h("sl-badge", { pill: true, type: badgeType }, statusText));
3536
4158
  };
3537
4159
  const thresholdText = intl.formatMessage({
3538
4160
  id: "thresholdText",
@@ -3623,83 +4245,1410 @@ const PayoutDetailsCard = class {
3623
4245
  constructor(hostRef) {
3624
4246
  registerInstance(this, hostRef);
3625
4247
  /**
3626
- * Badge text indicating payout status
3627
- * @uiName Payout badge status text
4248
+ * Badge text indicating payout status
4249
+ * @uiName Payout badge status text
4250
+ */
4251
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
4252
+ /**
4253
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
4254
+ * @uiName Payout schedule by threshold text
4255
+ */
4256
+ this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
4257
+ /**
4258
+ * Shown before the participant’s bank account information.
4259
+ * @uiName Bank account field label
4260
+ */
4261
+ this.accountText = "Account";
4262
+ /**
4263
+ * Text displayed for existing publishers that do not have saved banking information.
4264
+ * @uiName Payout missing information subtext
4265
+ */
4266
+ this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
4267
+ h$1(this);
4268
+ }
4269
+ disconnectedCallback() { }
4270
+ getTextProps() {
4271
+ const props = getProps(this);
4272
+ return {
4273
+ ...props,
4274
+ };
4275
+ }
4276
+ render() {
4277
+ const props = isDemo()
4278
+ ? useDemoPayoutDetailsCard(this)
4279
+ : usePayoutDetailsCard(this);
4280
+ return (h(Host, null, h(PayoutDetailsCardView, { text: props.text, states: props.states })));
4281
+ }
4282
+ };
4283
+ function useDemoPayoutDetailsCard(props) {
4284
+ return cjs({
4285
+ states: {
4286
+ loading: false,
4287
+ error: false,
4288
+ thresholdBalance: "$50",
4289
+ mainCurrency: { currencyText: "USD", amountText: "100.00" },
4290
+ badgeStatus: "nextPayout",
4291
+ payoutType: "BANK_TRANSFER",
4292
+ nextPayoutDate: "March 14, 2024",
4293
+ paypalEmailAddress: "joesmith@example.com",
4294
+ otherCurrencies: false,
4295
+ hasW9Pending: false,
4296
+ hasDatePending: true,
4297
+ cardNumberPreview: "XX2381",
4298
+ balance: "20.00 USD",
4299
+ },
4300
+ text: props.getTextProps(),
4301
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
4302
+ }
4303
+
4304
+ const TableCell = class {
4305
+ constructor(hostRef) {
4306
+ registerInstance(this, hostRef);
4307
+ /** @uiName Column span */
4308
+ this.colspan = 1;
4309
+ /** @uiName Padding */
4310
+ this.padding = "15px 10px";
4311
+ }
4312
+ render() {
4313
+ return (h(Host, { style: { display: "contents" } }, h("td", { colSpan: this.colspan, style: { padding: this.padding } }, h("slot", null))));
4314
+ }
4315
+ };
4316
+
4317
+ const TableRow = class {
4318
+ constructor(hostRef) {
4319
+ registerInstance(this, hostRef);
4320
+ /**
4321
+ * @uiName Border
4322
+ */
4323
+ this.border = "1px solid #EAEAEA";
4324
+ }
4325
+ render() {
4326
+ return (h(Host, { style: { display: "contents" } }, h("tr", { style: { border: this.border } }, h("slot", null))));
4327
+ }
4328
+ };
4329
+
4330
+ function getCurrentStep(user) {
4331
+ var _a, _b;
4332
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
4333
+ return "/1";
4334
+ }
4335
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
4336
+ // If they do have a required document, look at current document
4337
+ if (requiredTaxDocumentType && !currentTaxDocument) {
4338
+ // Specific to custom CASH setting,
4339
+ if (payoutsAccount.hold &&
4340
+ payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
4341
+ return "/dashboard";
4342
+ return "/3";
4343
+ }
4344
+ if (!withdrawalSettings && brandedSignup)
4345
+ return "/4";
4346
+ return "/dashboard";
4347
+ }
4348
+ function useTaxAndCash() {
4349
+ var _a, _b, _c, _d, _e;
4350
+ const host = _();
4351
+ const user = J();
4352
+ const locale = L();
4353
+ // State for current step of form
4354
+ const [step, setStep] = In({
4355
+ namespace: TAX_CONTEXT_NAMESPACE,
4356
+ initialValue: "/loading",
4357
+ });
4358
+ // State for when to hide steps, or override certain actions
4359
+ const [context, _setContext] = In({
4360
+ namespace: TAX_FORM_CONTEXT_NAMESPACE,
4361
+ initialValue: {},
4362
+ });
4363
+ // State to carry user form information into step 2
4364
+ const [userFormContext, _setUserFormContext] = In({
4365
+ namespace: USER_FORM_CONTEXT_NAMESPACE,
4366
+ initialValue: {
4367
+ firstName: undefined,
4368
+ lastName: undefined,
4369
+ email: undefined,
4370
+ countryCode: undefined,
4371
+ currency: undefined,
4372
+ },
4373
+ });
4374
+ const [_currenciesContext, setCurrenciesContext] = In({
4375
+ namespace: CURRENCIES_NAMESPACE,
4376
+ initialValue: [],
4377
+ });
4378
+ const [_countriesContext, _setCountriesContext] = In({
4379
+ namespace: COUNTRIES_NAMESPACE,
4380
+ initialValue: [],
4381
+ });
4382
+ const [_sortedCountriesContext, setSortedCountriesContext] = In({
4383
+ namespace: SORTED_COUNTRIES_NAMESPACE,
4384
+ initialValue: [],
4385
+ });
4386
+ const { data, errors } = Sn({
4387
+ namespace: USER_QUERY_NAMESPACE,
4388
+ query: GET_USER,
4389
+ skip: !user,
4390
+ options: {
4391
+ batch: false,
4392
+ },
4393
+ });
4394
+ const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
4395
+ userFormContext.countryCode;
4396
+ Sn({
4397
+ namespace: COUNTRIES_QUERY_NAMESPACE,
4398
+ query: GET_COUNTRIES,
4399
+ skip: !user,
4400
+ });
4401
+ const { data: financeNetworkData, refetch } = Sn({
4402
+ namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
4403
+ query: GET_FINANCE_NETWORK_SETTINGS,
4404
+ skip: !user,
4405
+ variables: {
4406
+ filter: getFinanceNetworkFilter(),
4407
+ },
4408
+ });
4409
+ const { data: currenciesData } = Sn({
4410
+ namespace: CURRENCIES_QUERY_NAMESPACE,
4411
+ query: GET_CURRENCIES,
4412
+ skip: !user,
4413
+ variables: {
4414
+ locale,
4415
+ },
4416
+ });
4417
+ const supportedCurrencies = useMemo(() => {
4418
+ var _a, _b;
4419
+ // Filter out any currencies not supported by finance network settings
4420
+ const allValidCurrencies = (_b = (_a = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.reduce((agg, settings) => {
4421
+ var _a, _b;
4422
+ const currency = (_b = (_a = currenciesData === null || currenciesData === void 0 ? void 0 : currenciesData.currencies) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find((currency) => currency.currencyCode === settings.currency);
4423
+ // Currency not in supported list
4424
+ if (!currency)
4425
+ return agg;
4426
+ // Currency already added to list
4427
+ if (agg.find((currency) => currency.currencyCode === settings.currency))
4428
+ return agg;
4429
+ // Currency not supported by selected country
4430
+ if (userFormContext.countryCode &&
4431
+ settings.countryCode !== countryCode)
4432
+ return agg;
4433
+ return [...agg, currency];
4434
+ }, []);
4435
+ return allValidCurrencies;
4436
+ }, [financeNetworkData, countryCode]);
4437
+ const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
4438
+ const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
4439
+ const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
4440
+ // filter out any duplicate countries and null countryCode
4441
+ const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
4442
+ const _topCountries = ["CA", "GB", "US"];
4443
+ const sortedCountries = useMemo(() => Array.from(availableCountries)
4444
+ .map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
4445
+ .sort(sortByName)
4446
+ .reduce((prev, countryObj) => {
4447
+ if (_topCountries.includes(countryObj.countryCode))
4448
+ return [countryObj, ...prev];
4449
+ return [...prev, countryObj];
4450
+ }, []), [availableCountries]);
4451
+ useEffect(() => {
4452
+ if (sortedCountries)
4453
+ setSortedCountriesContext(sortedCountries);
4454
+ }, [sortedCountries]);
4455
+ useEffect(() => {
4456
+ if (supportedCurrencies)
4457
+ setCurrenciesContext(supportedCurrencies);
4458
+ }, [supportedCurrencies]);
4459
+ useEffect(() => {
4460
+ if (errors) {
4461
+ setStep("/error");
4462
+ return;
4463
+ }
4464
+ if (!host || !user)
4465
+ return;
4466
+ if (data) {
4467
+ const user = data === null || data === void 0 ? void 0 : data.user;
4468
+ if (!user || step !== "/loading")
4469
+ return;
4470
+ const currentStep = getCurrentStep(user);
4471
+ setStep(currentStep);
4472
+ }
4473
+ }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
4474
+ function getFinanceNetworkFilter() {
4475
+ var _a, _b, _c;
4476
+ if (step === "/1")
4477
+ return {};
4478
+ if (step === "/4")
4479
+ return { currency_eq: (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency };
4480
+ if (countryCode)
4481
+ return {
4482
+ countryCode_eq: countryCode,
4483
+ };
4484
+ return {};
4485
+ }
4486
+ return {
4487
+ step,
4488
+ setStep,
4489
+ context,
4490
+ namespace: Mn(TAX_CONTEXT_NAMESPACE),
4491
+ loading: step === "/loading",
4492
+ };
4493
+ }
4494
+
4495
+ const TaxAndCashMonolith = class {
4496
+ constructor(hostRef) {
4497
+ registerInstance(this, hostRef);
4498
+ /*---------------------------------------------------------------------------------
4499
+ !IMPORTANT!: Make sure to also change the prop names in the respective component
4500
+ -----------------------------------------------------------------------------------*/
4501
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4502
+ STEP 1 PROPS:
4503
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4504
+ /**
4505
+ * @uiName First name field label
4506
+ * @uiGroup Step 1 Properties
4507
+ */
4508
+ this.step1_firstName = "First name";
4509
+ /**
4510
+ * @uiName Last name field label
4511
+ * @uiGroup Step 1 Properties
4512
+ */
4513
+ this.step1_lastName = "Last name";
4514
+ /**
4515
+ * @uiName Email field label
4516
+ * @uiGroup Step 1 Properties
4517
+ */
4518
+ this.step1_email = "Email";
4519
+ /**
4520
+ * @uiName Country field label
4521
+ * @uiGroup Step 1 Properties
4522
+ */
4523
+ this.step1_country = "Country";
4524
+ /**
4525
+ * @uiName Phone number field label
4526
+ * @uiGroup Step 1 Properties
4527
+ */
4528
+ this.step1_phoneNumber = "Phone number";
4529
+ /**
4530
+ * @uiName Address field label
4531
+ * @uiGroup Step 1 Properties
4532
+ */
4533
+ this.step1_address = "Address";
4534
+ /**
4535
+ * @uiName City field label
4536
+ * @uiGroup Step 1 Properties
4537
+ */
4538
+ this.step1_city = "City";
4539
+ /**
4540
+ * @uiName State field label for states
4541
+ * @uiGroup Step 1 Properties
4542
+ */
4543
+ this.step1_state = "State";
4544
+ /**
4545
+ * @uiName State field label for provinces
4546
+ * @uiGroup Step 1 Properties
4547
+ */
4548
+ this.step1_province = "Province";
4549
+ /**
4550
+ * @uiName State field label for regions
4551
+ * @uiGroup Step 1 Properties
4552
+ */
4553
+ this.step1_region = "Region";
4554
+ /**
4555
+ * @uiName Postal code field label
4556
+ * @uiGroup Step 1 Properties
4557
+ */
4558
+ this.step1_postalCode = "Postal code";
4559
+ /**
4560
+ * @uiName Currency field label
4561
+ * @uiGroup Step 1 Properties
4562
+ */
4563
+ this.step1_currency = "Currency";
4564
+ /**
4565
+ * @uiName Currency field help text
4566
+ * @uiGroup Step 1 Properties
4567
+ */
4568
+ this.step1_currencyHelpText = "Choose your preferred payout currency";
4569
+ /**
4570
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
4571
+ * @uiName Terms and conditions checkbox
4572
+ * @uiGroup Step 1 Properties
4573
+ */
4574
+ this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
4575
+ /**
4576
+ * @uiName Step 1 title
4577
+ * @uiGroup Step 1 Properties
4578
+ */
4579
+ this.step1_personalInformation = "Personal Information";
4580
+ /**
4581
+ * The link text that appears in the terms and conditions checkbox
4582
+ * @uiName Terms and conditions text
4583
+ * @uiGroup Step 1 Properties
4584
+ * @uiWidget textArea
4585
+ */
4586
+ this.step1_termsAndConditionsLabel = "terms and conditions";
4587
+ /**
4588
+ * The link that appears in the terms and conditions checkbox
4589
+ * @uiName Terms and conditions link
4590
+ * @uiGroup Step 1 Properties
4591
+ */
4592
+ this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
4593
+ /**
4594
+ * Placeholder text displayed in the currency search dropdown
4595
+ * @uiName Currency field placeholder text
4596
+ * @uiGroup Step 1 Properties
4597
+ */
4598
+ this.step1_searchForCurrencyText = "Search for currency..";
4599
+ /**
4600
+
4601
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4602
+ STEP 2 PROPS:
4603
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4604
+ /**
4605
+ * @uiName Step 2 title
4606
+ * @uiGroup Step 2 Properties
4607
+ */
4608
+ this.step2_indirectTax = "Indirect Tax";
4609
+ /**
4610
+ * Displayed under the title of this step.
4611
+ * @uiName Step 2 description
4612
+ * @uiGroup Step 2 Properties
4613
+ * @uiWidget textArea
4614
+ */
4615
+ 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.";
4616
+ /**
4617
+ * Displayed with indirect tax registration options.
4618
+ * @uiName Indirect tax details section title
4619
+ * @uiGroup Step 2 Properties
4620
+ */
4621
+ this.step2_indirectTaxDetails = "Indirect tax details";
4622
+ /**
4623
+ * @uiName Registered for indirect tax option
4624
+ * @uiGroup Step 2 Properties
4625
+ * @uiWidget textArea
4626
+ *
4627
+ */
4628
+ this.step2_otherRegion = "Registered for indirect tax";
4629
+ /**
4630
+ * Selecting this option will display fields to enter indirect tax details.
4631
+ * @uiName Registered for indirect tax option description
4632
+ * @uiGroup Step 2 Properties
4633
+ */
4634
+ this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
4635
+ /**
4636
+ * @uiName Not registered for indirect tax option
4637
+ * @uiGroup Step 2 Properties
4638
+ * @uiWidget textArea
4639
+ */
4640
+ this.step2_notRegistered = "Not registered for indirect tax";
4641
+ /**
4642
+ * Participants based in the US are considered not registered.
4643
+ * @uiName Not registered for indirect tax option description
4644
+ * @uiGroup Step 2 Properties
4645
+ */
4646
+ this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
4647
+ /**
4648
+ * @uiName Region of indirect tax field label
4649
+ * @uiGroup Step 2 Properties
4650
+ */
4651
+ this.step2_selectedRegion = "Country / region of indirect tax";
4652
+ /**
4653
+ * @uiName Indirect tax number field label
4654
+ * @uiGroup Step 2 Properties
4655
+ */
4656
+ this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
4657
+ /**
4658
+ * @uiName Province field label
4659
+ * @uiGroup Step 2 Properties
4660
+ */
4661
+ this.step2_province = "Province";
4662
+ /**
4663
+ * @uiName Missing indirect tax number error message
4664
+ * @uiGroup Step 2 Properties
4665
+ */
4666
+ 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";
4667
+ /**
4668
+ * Displayed to participants registered for QST.
4669
+ * @uiName QST number field label
4670
+ * @uiGroup Step 2 Properties
4671
+ */
4672
+ this.step2_qstNumber = "QST number";
4673
+ /**
4674
+ * Displayed to participants registered for indirect tax in Quebec, Canada.
4675
+ * @uiName QST tax checkbox
4676
+ * @uiGroup Step 2 Properties
4677
+ */
4678
+ this.step2_isRegisteredQST = "I am registered for QST Tax";
4679
+ /**
4680
+ * Displayed to participants registered for indirect tax in Spain.
4681
+ * @uiName Spain income tax checkbox
4682
+ * @uiGroup Step 2 Properties
4683
+ * @uiWidget textArea
4684
+ */
4685
+ 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.";
4686
+ /**
4687
+ * Displayed to participants registered in Spain.
4688
+ * @uiName Sub-region of indirect tax field label
4689
+ * @uiGroup Step 2 Properties
4690
+ */
4691
+ this.step2_subRegion = "Sub-region";
4692
+ /**
4693
+ * @uiName Income tax field label
4694
+ * @uiGroup Step 2 Properties
4695
+ */
4696
+ this.step2_subRegionTaxNumberLabel = "Income Tax Number";
4697
+ /**
4698
+ * Communicate that after this step, only Support can change personal and indirect tax information.
4699
+ * @uiName Submission confirmation alert
4700
+ * @uiGroup Step 2 Properties
4701
+ * @uiWidget textArea
4702
+ */
4703
+ 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.";
4704
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4705
+ STEP 3 PROPS:
4706
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4707
+ /**
4708
+ * @uiName Step 3 title
4709
+ * @uiGroup Step 3 Properties
4710
+ */
4711
+ this.step3_taxForm = "Tax form";
4712
+ /**
4713
+ * Display the type of tax form that the participant must submit.
4714
+ * @uiName Tax form name
4715
+ * @uiGroup Step 3 Properties
4716
+ */
4717
+ this.step3_taxFormLabel = "{documentType} Tax Form";
4718
+ /**
4719
+ * @uiName Participant type field label
4720
+ * @uiGroup Step 3 Properties
4721
+ */
4722
+ this.step3_participantType = "Participant type";
4723
+ /**
4724
+ * An option for the participant type field. Used to determine which W-8 form is required.
4725
+ * @uiName Business representative participant type label
4726
+ * @uiGroup Step 3 Properties
4727
+ */
4728
+ this.step3_businessEntity = "I represent a business";
4729
+ /**
4730
+ * An option for the participant type field. Used to determine which W-8 form is required.
4731
+ * @uiName Individual participant type label
4732
+ * @uiGroup Step 3 Properties
4733
+ */
4734
+ this.step3_individualParticipant = "I am an individual participant";
4735
+ /**
4736
+ * Displayed at the top of the page to participants based in the US.
4737
+ * @uiName W-9 tax form description
4738
+ * @uiGroup Step 3 Properties
4739
+ * @uiWidget textArea
4740
+ */
4741
+ this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
4742
+ /**
4743
+ * Displayed at the top of the page to individuals joining a US program who reside outside the country.
4744
+ * @uiName W-8 BEN tax form description
4745
+ * @uiGroup Step 3 Properties
4746
+ * @uiWidget textArea
4747
+ */
4748
+ this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
4749
+ /**
4750
+ * Displayed at the top of the page to participants representing a business.
4751
+ * @uiName W-8 BEN-E tax form description
4752
+ * @uiGroup Step 3 Properties
4753
+ * @uiWidget textArea
4754
+ */
4755
+ this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
4756
+ /**
4757
+ * This appears inside the Docusign frame.
4758
+ * @uiName Docusign session expired message
4759
+ * @uiGroup Step 3 Properties
4760
+ * @uiWidget textArea
4761
+ */
4762
+ 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.";
4763
+ /**
4764
+ * Remind participants their session will time out after 20 minutes of inactivity.
4765
+ * @uiName Docusign timed session message
4766
+ * @uiGroup Step 3 Properties
4767
+ * @uiWidget textArea
4768
+ */
4769
+ this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
4770
+ /**
4771
+ * This appears inside the Docusign frame.
4772
+ * @uiName Docusign form error message
4773
+ * @uiGroup Step 3 Properties
4774
+ * @uiWidget textArea
4775
+ */
4776
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
4777
+ /**
4778
+ * @uiName Refresh page button label
4779
+ * @uiGroup Step 3 Properties
4780
+ */
4781
+ this.step3_refreshButton = "Refresh Page";
4782
+ /**
4783
+ * @uiName Exit button text
4784
+ * @uiGroup Step 3 Properties
4785
+ */
4786
+ this.step3_exitButton = "Exit";
4787
+ /**
4788
+ * @uiName Information modal title
4789
+ * @uiGroup Step 3 Properties
4790
+ */
4791
+ this.step3_modalTitle = "Important Note";
4792
+ /**
4793
+ * @uiName Information modal description text
4794
+ * @uiGroup Step 3 Properties
4795
+ */
4796
+ 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.";
4797
+ /**
4798
+ * @uiName Information modal button text
4799
+ * @uiGroup Step 3 Properties
4800
+ */
4801
+ this.step3_modalButtonText = "I understand";
4802
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4803
+ STEP 4 PROPS:
4804
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4805
+ /**
4806
+ * @uiName Step 4 title
4807
+ * @uiGroup Step 4 Properties
4808
+ */
4809
+ this.step4_taxAndPayouts = "Payouts";
4810
+ /**
4811
+ * @uiName Direct to bank payout option
4812
+ * @uiGroup Step 4 Properties
4813
+ */
4814
+ this.step4_directlyToBankAccount = "Directly to my bank account";
4815
+ /**
4816
+ * @uiName PayPal payout option
4817
+ * @uiGroup Step 4 Properties
4818
+ */
4819
+ this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
4820
+ /**
4821
+ * @uiName Threshold balance payment schedule option
4822
+ * @uiGroup Step 4 Properties
4823
+ */
4824
+ this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
4825
+ /**
4826
+ * @uiName Fixed day payment schedule option
4827
+ * @uiGroup Step 4 Properties
4828
+ */
4829
+ this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
4830
+ /**
4831
+ * Let the participant choose what day of the month they’ll get paid
4832
+ * @uiName Payment day field label
4833
+ * @uiGroup Step 4 Properties
4834
+ */
4835
+ this.step4_paymentDaySelectLabel = "Payment Day";
4836
+ /**
4837
+ * Participant use this field to select the balance at which they want to be paid
4838
+ * @uiName Payment threshold field label
4839
+ * @uiGroup Step 4 Properties
4840
+ */
4841
+ this.step4_paymentThresholdSelectLabel = "Payment threshold";
4842
+ /**
4843
+ * One of two payment day options
4844
+ * @uiName First of month payday option
4845
+ * @uiGroup Step 4 Properties
4846
+ */
4847
+ this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
4848
+ /**
4849
+ * One of two payment day options
4850
+ * @uiName Fifteenth of month payday option
4851
+ * @uiGroup Step 4 Properties
4852
+ */
4853
+ this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
4854
+ /**
4855
+ * @uiName Payment method section header
4856
+ * @uiGroup Step 4 Properties
4857
+ */
4858
+ this.step4_paymentMethod = "Payment method";
4859
+ /**
4860
+ * @uiName Payment schedule section header
4861
+ * @uiGroup Step 4 Properties
4862
+ */
4863
+ this.step4_paymentSchedule = "Payment schedule";
4864
+ /**
4865
+ * @uiName Payment method section description
4866
+ * @uiGroup Step 4 Properties
4867
+ */
4868
+ this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
4869
+ /**
4870
+ * Displayed to participants who choose PayPal as their payout method
4871
+ * @uiName PayPal email field label
4872
+ * @uiGroup Step 4 Properties
4873
+ */
4874
+ this.step4_payPalInputLabel = "PayPal email";
4875
+ /**
4876
+ * @uiName Bank country field label
4877
+ * @uiGroup Step 4 Properties
4878
+ */
4879
+ this.step4_bankLocationLabel = "Bank country location";
4880
+ /**
4881
+ * @uiName Beneficiary account field label
4882
+ * @uiGroup Step 4 Properties
4883
+ */
4884
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
4885
+ /**
4886
+ * @uiName Beneficiary account field description
4887
+ * @uiGroup Step 4 Properties
4888
+ */
4889
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
4890
+ /**
4891
+ * @uiName Bank account type field label
4892
+ * @uiGroup Step 4 Properties
4893
+ */
4894
+ this.step4_bankAccountTypeLabel = "Bank account type";
4895
+ /**
4896
+ * @uiName Checking account option
4897
+ * @uiGroup Step 4 Properties
4898
+ */
4899
+ this.step4_checkingSelectItemLabel = "Checking";
4900
+ /**
4901
+ * Label text for the savings account type select item
4902
+ * @uiName Savings account options
4903
+ * @uiGroup Step 4 Properties
4904
+ */
4905
+ this.step4_savingsSelectItemLabel = "Savings";
4906
+ /**
4907
+ * @uiName Bank account number field label
4908
+ * @uiGroup Step 4 Properties
4909
+ */
4910
+ this.step4_bankAccountNumberLabel = "Bank account number";
4911
+ /**
4912
+ * @uiName IBAN field label
4913
+ * @uiGroup Step 4 Properties
4914
+ */
4915
+ this.step4_ibanLabel = "IBAN";
4916
+ /**
4917
+ * @uiName SWIFT code field label
4918
+ * @uiGroup Step 4 Properties
4919
+ */
4920
+ this.step4_swiftCodeLabel = "SWIFT code";
4921
+ /**
4922
+ * @uiName Routing code field label
4923
+ * @uiGroup Step 4 Properties
4924
+ */
4925
+ 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} }";
4926
+ /**
4927
+ * @uiName Bank name field label
4928
+ * @uiGroup Step 4 Properties
4929
+ */
4930
+ this.step4_bankNameLabel = "Bank name";
4931
+ /**
4932
+ * @uiName Classification entity field label
4933
+ * @uiGroup Step 4 Properties
4934
+ */
4935
+ this.step4_classificationEntityLabel = "Classification entity";
4936
+ /**
4937
+ * One of three options listed for the classification field
4938
+ * @uiName Business classification option
4939
+ * @uiGroup Step 4 Properties
4940
+ */
4941
+ this.step4_businessSelectItemLabel = "Business";
4942
+ /**
4943
+ * One of three options listed for the classification field
4944
+ * @uiName Individual classification option
4945
+ * @uiGroup Step 4 Properties
4946
+ */
4947
+ this.step4_individualSelectItemLabel = "Individual";
4948
+ /**
4949
+ * One of three options listed for the classification field
4950
+ * @uiName Foreign classification option
4951
+ * @uiGroup Step 4 Properties
4952
+ */
4953
+ this.step4_foreignSelectItemLabel = "Foreign";
4954
+ /**
4955
+ * @uiName Classification CPF field label
4956
+ * @uiGroup Step 4 Properties
4957
+ */
4958
+ this.step4_classificationCPFLabel = "Classification CPF";
4959
+ /**
4960
+ * @uiName Patronymic name field label
4961
+ * @uiGroup Step 4 Properties
4962
+ */
4963
+ this.step4_patronymicNameLabel = "Patronymic name";
4964
+ /**
4965
+ * @uiName VO code field label
4966
+ * @uiGroup Step 4 Properties
4967
+ */
4968
+ this.step4_voCodeLabel = "VO code";
4969
+ /**
4970
+ * @uiName Agency code field label
4971
+ * @uiGroup Step 4 Properties
4972
+ */
4973
+ this.step4_agencyCodeLabel = "Agency code";
4974
+ /**
4975
+ * @uiName Branch code field label
4976
+ * @uiGroup Step 4 Properties
4977
+ */
4978
+ this.step4_branchCodeLabel = "Branch code";
4979
+ /**
4980
+ * Label text for the classification input field
4981
+ * @uiName Classification field label
4982
+ * @uiGroup Step 4 Properties
4983
+ */
4984
+ this.step4_classificationLabel = "Classification";
4985
+ /**
4986
+ * @uiName Taxpayer ID field label
4987
+ * @uiGroup Step 4 Properties
4988
+ */
4989
+ this.step4_taxPayerIdLabel = "Beneficiary INN";
4990
+ /**
4991
+ * @uiName Bank address field label
4992
+ * @uiGroup Step 4 Properties
4993
+ */
4994
+ this.step4_bankAddressLabel = "Bank address";
4995
+ /**
4996
+ * @uiName Bank city field label
4997
+ * @uiGroup Step 4 Properties
4998
+ */
4999
+ this.step4_bankCityLabel = "Bank city";
5000
+ /**
5001
+ * @uiName Bank province/state field label
5002
+ * @uiGroup Step 4 Properties
5003
+ */
5004
+ this.step4_bankStateLabel = "Bank Province / State";
5005
+ /**
5006
+ * @uiName Bank postal code field label
5007
+ * @uiGroup Step 4 Properties
5008
+ */
5009
+ this.step4_bankPostalCodeLabel = "Bank postal code";
5010
+ /**
5011
+ * Default payment method to the participants’ bank account.
5012
+ * @uiName EFT withdrawal payment method
5013
+ * @uiGroup Step 4 Properties
5014
+ */
5015
+ this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
5016
+ /**
5017
+ * @uiName FX Wire Processing fee text
5018
+ * @uiGroup Step 4 Properties
5019
+ */
5020
+ this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
5021
+ /**
5022
+ * @uiName Text for verify email dialog
5023
+ * @uiGroup Step 4 Properties
5024
+ */
5025
+ this.step4_verifyEmailHeaderText = "Verify your email";
5026
+ /**
5027
+ * @uiName Verify code widget header text
5028
+ * @uiGroup Step 4 Properties
5029
+ */
5030
+ this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
5031
+ /**
5032
+ * @uiName Information modal title
5033
+ * @uiGroup Step 4 Properties
5034
+ */
5035
+ this.step4_modalTitle = "Important Note";
5036
+ /**
5037
+ * @uiName Information modal description text
5038
+ * @uiGroup Step 4 Properties
5039
+ */
5040
+ 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.";
5041
+ /**
5042
+ * @uiName Information modal button text
5043
+ * @uiGroup Step 4 Properties
5044
+ */
5045
+ this.step4_modalButtonText = "I understand, update my information";
5046
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5047
+ DASHBOARD PROPS:
5048
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5049
+ /**
5050
+ * @uiName Active tax form badge label
5051
+ * @uiGroup Dashboard Properties
5052
+ */
5053
+ this.dashboard_statusTextActive = "Active";
5054
+ /**
5055
+ * @uiName Invalid tax form badge label
5056
+ * @uiGroup Dashboard Properties
5057
+ */
5058
+ this.dashboard_statusTextNotActive = "Invalid Tax Form";
5059
+ /**
5060
+ * Displayed when the participant submitted their form but it is awaiting review.
5061
+ *
5062
+ * @uiName Not verified tax form badge label
5063
+ * @uiGroup Dashboard Properties
5064
+ */
5065
+ this.dashboard_statusTextNotVerified = "Not Verified";
5066
+ /**
5067
+ * Displayed when the participant has not submitted their required tax form.
5068
+ *
5069
+ * @uiName Required tax form badge label
5070
+ */
5071
+ this.dashboard_statusTextRequired = "Required";
5072
+ /**
5073
+ * Additional text displayed next to the tax form's status badge
5074
+ *
5075
+ * @uiName Required tax form description
5076
+ */
5077
+ this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
5078
+ /**
5079
+ * Additional text displayed next to the tax form's status badge
5080
+ *
5081
+ * @uiName Active W-9 description
5082
+ * @uiGroup Dashboard Properties
5083
+ */
5084
+ this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
5085
+ /**
5086
+ * Additional text displayed next to the tax form's status badge.
5087
+ *
5088
+ * @uiName Active W-8 description
5089
+ * @uiGroup Dashboard Properties
5090
+ */
5091
+ this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
5092
+ /**
5093
+ * Additional text displayed next to the tax form's status badge.
5094
+ *
5095
+ * @uiName Tax form in review description
5096
+ * @uiGroup Dashboard Properties
5097
+ */
5098
+ this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
5099
+ /**
5100
+ * Part of the alert displayed at the top of the page.
5101
+ *
5102
+ * @uiName Inactive W-9 error message title
5103
+ * @uiGroup Dashboard Properties
5104
+ * @uiWidget textArea
5105
+ */
5106
+ this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
5107
+ /**
5108
+ * Part of the alert displayed at the top of the page.
5109
+ *
5110
+ * @uiName Inactive W-8 error message title
5111
+ * @uiGroup Dashboard Properties
5112
+ * @uiWidget textArea
5113
+ */
5114
+ this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
5115
+ /**
5116
+ * Part of the alert displayed at the top of the page.
5117
+ *
5118
+ * @uiName Inactive W-9 error message description
5119
+ * @uiGroup Dashboard Properties
5120
+ * @uiWidget textArea
5121
+ */
5122
+ this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
5123
+ /**
5124
+ * Part of the alert displayed at the top of the page.
5125
+ *
5126
+ * @uiName Inactive W-8 error message description
5127
+ * @uiGroup Dashboard Properties
5128
+ */
5129
+ 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.";
5130
+ /**
5131
+ * Additional text displayed next to the tax form's status badge.
5132
+ *
5133
+ * @uiName Invalid tax form description
5134
+ * @uiGroup Dashboard Properties
5135
+ * @uiWidget textArea
5136
+ */
5137
+ this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
5138
+ /**
5139
+ * @uiName Payout information section header
5140
+ * @uiGroup Dashboard Properties
5141
+ */
5142
+ this.dashboard_bankingInformationSectionHeader = "Payout Information";
5143
+ /**
5144
+ * @uiName Tax document section header
5145
+ * @uiGroup Dashboard Properties
5146
+ */
5147
+ this.dashboard_taxDocumentSectionHeader = "Tax documents";
5148
+ /**
5149
+ * Displayed under the tax document section header.
5150
+ *
5151
+ * @uiName Tax documents section description
5152
+ * @uiGroup Dashboard Properties
5153
+ */
5154
+ this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
5155
+ /**
5156
+ * No other statuses or badges will be displayed in the tax form section in this case.
5157
+ *
5158
+ * @uiName Tax form not required text
5159
+ * @uiGroup Dashboard Properties
5160
+ * @uiWidget textArea
5161
+ */
5162
+ 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.";
5163
+ /**
5164
+ *
5165
+ * @uiName Indirect tax section header
5166
+ * @uiGroup Dashboard Properties
5167
+ */
5168
+ this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
5169
+ /**
5170
+ * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
5171
+ *
5172
+ * @uiName Canadian province of indirect tax
5173
+ * @uiGroup Dashboard Properties
5174
+ */
5175
+ this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
5176
+ /**
5177
+ * If the participant is registered for indirect tax, display the country they’re registered in.
5178
+ *
5179
+ * @uiName Indirect tax country
5180
+ * @uiGroup Dashboard Properties
5181
+ */
5182
+ this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
5183
+ /**
5184
+ * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
5185
+ *
5186
+ * @uiName Spanish region of indirect tax
5187
+ * @uiGroup Dashboard Properties
5188
+ */
5189
+ this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
5190
+ /**
5191
+ * @uiName Indirect tax tooltip
5192
+ * @uiGroup Dashboard Properties
5193
+ * @uiWidget textArea
5194
+ */
5195
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
5196
+ /**
5197
+ * Displayed to participants who have submitted their indirect tax information.
5198
+ *
5199
+ * @uiName Indirect tax details
5200
+ * @uiGroup Dashboard Properties
5201
+ */
5202
+ this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
5203
+ /**
5204
+ * @uiName Submit new tax form button label
5205
+ * @uiGroup Dashboard Properties
5206
+ */
5207
+ this.dashboard_newFormButton = "Submit new form";
5208
+ /**
5209
+ * @uiName Edit payment info button label
5210
+ * @uiGroup Dashboard Properties
5211
+ */
5212
+ this.dashboard_editPaymentInformationButton = "Edit Payout Information";
5213
+ /**
5214
+ * @uiName Not registered for indirect tax text
5215
+ * @uiGroup Dashboard Properties
5216
+ * @uiWidget textArea
5217
+ */
5218
+ 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.";
5219
+ /**
5220
+ * Displayed to participants registered in Quebec, Canada.
5221
+ * @uiName QST indirect tax details
5222
+ * @uiGroup Dashboard Properties
5223
+ */
5224
+ this.dashboard_qstNumber = "QST number: {qstNumber}";
5225
+ /**
5226
+ * @uiName Spain sub-region indirect tax number
5227
+ * @uiGroup Dashboard Properties
5228
+ */
5229
+ this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
5230
+ /**
5231
+ * @uiName Payout status badge
5232
+ * @uiGroup Dashboard Properties
5233
+ */
5234
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
5235
+ /**
5236
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
5237
+ * @uiName Payout schedule by threshold text
5238
+ * @uiGroup Dashboard Properties
5239
+ */
5240
+ this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
5241
+ /**
5242
+ * Shown before the participant’s bank account information.
5243
+ * @uiName Bank account field label
5244
+ * @uiGroup Dashboard Properties
5245
+ */
5246
+ this.dashboard_accountText = "Account";
5247
+ /**
5248
+ * Part of the Invoice table displayed at the bottom of the page.
5249
+ * @uiName Invoice number column title
5250
+ * @uiGroup Dashboard Properties
5251
+ */
5252
+ this.dashboard_invoiceColumnTitle = "Invoice";
5253
+ /**
5254
+ * Part of the Invoice table displayed at the bottom of the page.
5255
+ * @uiName Date column title
5256
+ * @uiGroup Dashboard Properties
5257
+ */
5258
+ this.dashboard_dateColumnTitle = "Date";
5259
+ /**
5260
+ * Part of the Invoice table displayed at the bottom of the page.
5261
+ * @uiName Earnings column title
5262
+ * @uiGroup Dashboard Properties
5263
+ */
5264
+ this.dashboard_earningsColumnTitle = "Earnings";
5265
+ /**
5266
+ * Part of the Invoice table displayed at the bottom of the page.
5267
+ * @uiName Indirect tax column title
5268
+ * @uiGroup Dashboard Properties
5269
+ */
5270
+ this.dashboard_indirectTaxColumnTitle = "Indirect tax";
5271
+ /**
5272
+ * Displayed under the payout details card.
5273
+ * @uiName Payout from impact text
5274
+ * @uiGroup Dashboard Properties
5275
+ * @uiWidget textArea
5276
+ */
5277
+ this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
5278
+ /**
5279
+ * Part of the Invoice table displayed at the bottom of the page.
5280
+ * @uiName Earnings after tax column title
5281
+ * @uiGroup Dashboard Properties
5282
+ */
5283
+ this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
5284
+ /**
5285
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5286
+ * @uiName Payout error message title
5287
+ * @uiGroup Dashboard Properties
5288
+ * @uiWidget textArea
5289
+ */
5290
+ this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
5291
+ /**
5292
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5293
+ * @uiName Payout error message description
5294
+ * @uiGroup Dashboard Properties
5295
+ * @uiWidget textArea
5296
+ */
5297
+ this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
5298
+ /**
5299
+ * Text displayed for existing publishers that do not have saved banking information.
5300
+ * @uiName Payout missing information subtext
5301
+ * @uiGroup Dashboard Properties
5302
+ */
5303
+ this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
5304
+ /**
5305
+ * @uiName Invoice table description
5306
+ * @uiGroup Dashboard Properties
5307
+ */
5308
+ this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
5309
+ /**
5310
+ * @uiName Invoice table previous page button label
5311
+ * @uiGroup Dashboard Properties
5312
+ */
5313
+ this.dashboard_invoicePrevLabel = "Prev";
5314
+ /**
5315
+ * @uiName Invoice table next page button label
5316
+ * @uiGroup Dashboard Properties
5317
+ */
5318
+ this.dashboard_invoiceMoreLabel = "Next";
5319
+ /**
5320
+ * @uiName Invoice table title
5321
+ * @uiGroup Dashboard Properties
5322
+ */
5323
+ this.dashboard_invoiceHeader = "Invoices";
5324
+ /**
5325
+ * @uiName Empty invoice table header
5326
+ * @uiGroup Dashboard Properties
5327
+ */
5328
+ this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
5329
+ /**
5330
+ * @uiName Empty invoice table description
5331
+ * @uiGroup Dashboard Properties
5332
+ */
5333
+ this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
5334
+ /**
5335
+ * @uiName Replace tax form modal header
5336
+ * @uiGroup Dashboard Properties
5337
+ */
5338
+ this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
5339
+ /**
5340
+ * @uiName Replace tax form modal body text
5341
+ * @uiGroup Dashboard Properties
5342
+ * @uiWidget textArea
5343
+ */
5344
+ 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.";
5345
+ /**
5346
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5347
+ * @uiName Verification required alert message title
5348
+ * @uiGroup Dashboard Properties
5349
+ * @uiWidget textArea
5350
+ */
5351
+ this.dashboard_verificationRequiredHeader = "Verify your identity";
5352
+ /**
5353
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
5354
+ * @uiName Verification required alert message description
5355
+ * @uiGroup Dashboard Properties
5356
+ * @uiWidget textArea
5357
+ */
5358
+ 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}.";
5359
+ /**
5360
+ * @uiName Verification required internal alert header
5361
+ * @uiGroup Dashboard Properties
5362
+ * @uiWidget textArea
5363
+ */
5364
+ this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
5365
+ /**
5366
+ * @uiName Verification required internal alert description
5367
+ * @uiGroup Dashboard Properties
5368
+ * @uiWidget textArea
5369
+ */
5370
+ 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}.";
5371
+ /**
5372
+ * @uiName Verification review internal alert header
5373
+ * @uiGroup Dashboard Properties
5374
+ * @uiWidget textArea
5375
+ */
5376
+ this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
5377
+ /**
5378
+ * @uiName Verification review internal alert description
5379
+ * @uiGroup Dashboard Properties
5380
+ * @uiWidget textArea
5381
+ */
5382
+ 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}.";
5383
+ /**
5384
+ * @uiName Verification failed internal alert header
5385
+ * @uiGroup Dashboard Properties
5386
+ * @uiWidget textArea
5387
+ */
5388
+ this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
5389
+ /**
5390
+ * @uiName Verification failed internal alert description
5391
+ * @uiGroup Dashboard Properties
5392
+ * @uiWidget textArea
5393
+ */
5394
+ 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}.";
5395
+ /**
5396
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5397
+ * @uiName Verification required alert button text
5398
+ * @uiGroup Dashboard Properties
5399
+ * @uiWidget textArea
5400
+ */
5401
+ this.dashboard_verificationRequiredButtonText = "Start Verification";
5402
+ /**
5403
+ * @uiName W-9 payment threshold alert header
5404
+ * @uiGroup Dashboard Properties
5405
+ * @uiWidget textArea
5406
+ */
5407
+ this.dashboard_w9RequiredHeader = "Your next payout is on hold";
5408
+ /**
5409
+ * @uiName W-9 payment threshold alert description
5410
+ * @uiGroup Dashboard Properties
5411
+ * @uiWidget textArea
5412
+ */
5413
+ this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
5414
+ /**
5415
+ * @uiName Account review alert header
5416
+ */
5417
+ this.dashboard_accountReviewHeader = "Your account is under review";
5418
+ /**
5419
+ * @uiName Account review alert description
5420
+ */
5421
+ this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
5422
+ /**
5423
+ * @uiName Terms and Conditions text
5424
+ * @uiGroup Dashboard Properties
5425
+ */
5426
+ this.dashboard_termsAndConditions = "Terms and Conditions";
5427
+ /**
5428
+ * @uiName W-9 payment threshold alert button text
5429
+ * @uiGroup Dashboard Properties
5430
+ * @uiWidget textArea
5431
+ */
5432
+ this.dashboard_w9RequiredButtonText = "Submit W-9";
5433
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5434
+ GENERAL PROPS:
5435
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5436
+ /**
5437
+ * @uiName Setup progress
5438
+ * @uiGroup General Form Properties
5439
+ */
5440
+ this.formStep = "Step {step} of {count}";
5441
+ /**
5442
+ * Part of the alert displayed at the top of the page.
5443
+ * @uiName Form submission error message title
5444
+ * @uiGroup General Form Properties
5445
+ * @uiWidget textArea
5446
+ */
5447
+ this.generalErrorTitle = "There was a problem submitting your information";
5448
+ /**
5449
+ * Part of the alert displayed at the top of the page.
5450
+ * @uiName Form submission error message description
5451
+ * @uiGroup General Form Properties
5452
+ * @uiWidget textArea
5453
+ */
5454
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
5455
+ /**
5456
+ * Displayed under a field that is missing required information.
5457
+ * @uiName Empty form field error message
5458
+ * @uiGroup General Form Properties
5459
+ */
5460
+ this.fieldRequiredError = "{fieldName} is required";
5461
+ /**
5462
+ * Displayed under a field that includes invalid characters (non-ASCII).
5463
+ * @uiName Invalid character error message
5464
+ * @uiGroup General Form Properties
5465
+ */
5466
+ this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
5467
+ /**
5468
+ * Displayed under a field when it has an invalid entry.
5469
+ * @uiName Form field error message
5470
+ * @uiGroup General Form Properties
5471
+ */
5472
+ this.fieldInvalidError = "{fieldName} is invalid";
5473
+ /**
5474
+ * @uiName Continue button label
5475
+ * @uiGroup General Form Properties
5476
+ */
5477
+ this.continueButton = "Continue";
5478
+ /**
5479
+ * @uiName Back button label
5480
+ * @uiGroup General Form Properties
5481
+ */
5482
+ this.backButton = "Back";
5483
+ /**
5484
+ * @uiName Cancel button label
5485
+ * @uiGroup General Form Properties
5486
+ */
5487
+ this.cancelButton = "Cancel";
5488
+ /**
5489
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5490
+ * @uiName Participant is a partner alert title
5491
+ * @uiGroup General Form Properties
5492
+ * @uiWidget textArea
5493
+ */
5494
+ this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
5495
+ /**
5496
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5497
+ * @uiName Participant is a partner alert description
5498
+ * @uiGroup General Form Properties
5499
+ * @uiWidget textArea
5500
+ */
5501
+ 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.";
5502
+ /**
5503
+ * Placeholder text displayed in the country search dropdown
5504
+ * @uiName Country field placeholder text
5505
+ * @uiGroup General Form Properties
3628
5506
  */
3629
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
5507
+ this.searchForCountryText = "Search for country..";
3630
5508
  /**
3631
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
3632
- * @uiName Payout schedule by threshold text
5509
+ * Part of the alert displayed at the top of the page.
5510
+ * @uiName Page load error message title
5511
+ * @uiGroup General Form Properties
5512
+ * @uiWidget textArea
3633
5513
  */
3634
- this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
5514
+ this.loadingErrorAlertHeader = "There was a problem loading your form";
3635
5515
  /**
3636
- * Shown before the participant’s bank account information.
3637
- * @uiName Bank account field label
5516
+ * Part of the alert displayed at the top of the page.
5517
+ * @uiName Page load error message description
5518
+ * @uiGroup General Form Properties
5519
+ * @uiWidget textArea
3638
5520
  */
3639
- this.accountText = "Account";
5521
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
3640
5522
  /**
3641
- * Text displayed for existing publishers that do not have saved banking information.
3642
- * @uiName Payout missing information subtext
5523
+ * Displayed at the top of the page on all set up steps.
5524
+ * @uiName Page description
5525
+ * @uiGroup General Form Properties
3643
5526
  */
3644
- this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
5527
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
5528
+ /**
5529
+ * Link text for contacting support team
5530
+ * @uiName Suport link text
5531
+ * @uiGroup General Form Properties
5532
+ */
5533
+ this.supportLink = "support team";
3645
5534
  /**
3646
- * @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
5535
+ * Link text for Terms and Conditions
5536
+ * @uiName Terms and Conditions text
5537
+ * @uiGroup General Form Properties
3647
5538
  */
3648
- this.stateController = "{}";
5539
+ this.termsAndConditions = "Terms and Conditions";
3649
5540
  h$1(this);
3650
5541
  }
3651
5542
  disconnectedCallback() { }
3652
- getTextProps() {
5543
+ // this field is required prop
5544
+ getGeneralStepTextProps(prefix) {
3653
5545
  const props = getProps(this);
3654
5546
  return {
3655
- ...props,
5547
+ ...extractProps(props, prefix),
5548
+ generalErrorTitle: props.generalErrorTitle,
5549
+ generalErrorDescription: props.generalErrorDescription,
5550
+ fieldRequiredError: props.fieldRequiredError,
5551
+ invalidCharacterError: props.invalidCharacterError,
5552
+ fieldInvalidError: props.fieldInvalidError,
5553
+ continueButton: props.continueButton,
5554
+ backButton: props.backButton,
5555
+ cancelButton: props.cancelButton,
5556
+ isPartnerAlertHeader: props.isPartnerAlertHeader,
5557
+ isPartnerAlertDescription: props.isPartnerAlertDescription,
5558
+ loadingErrorAlertHeader: props.loadingErrorAlertHeader,
5559
+ loadingErrorAlertDescription: props.loadingErrorAlertDescription,
5560
+ taxAndPayoutsDescription: props.taxAndPayoutsDescription,
5561
+ searchForCountryText: props.searchForCountryText,
5562
+ formStep: props.formStep,
5563
+ supportLink: props.supportLink,
3656
5564
  };
3657
5565
  }
3658
5566
  render() {
3659
- const props = isDemo()
3660
- ? useDemoPayoutDetailsCard(this)
3661
- : usePayoutDetailsCard(this);
3662
- return (h(Host, null, h(PayoutDetailsCardView, { text: props.text, states: props.states })));
5567
+ var _a, _b;
5568
+ const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
5569
+ // @ts-ignore
5570
+ if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
5571
+ const textProps = getProps(this);
5572
+ return (h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
5573
+ if (prop === "demoData")
5574
+ return;
5575
+ return (h("div", null, h("b", null, prop, ":"), " ", this[prop], h("hr", null)));
5576
+ })));
5577
+ }
5578
+ switch (props.step) {
5579
+ case "/1":
5580
+ return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
5581
+ case "/2":
5582
+ return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
5583
+ case "/3":
5584
+ return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
5585
+ case "/4":
5586
+ return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
5587
+ case "/dashboard":
5588
+ return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
5589
+ case "/error":
5590
+ return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
5591
+ }
5592
+ return h(LoadingView, null);
3663
5593
  }
3664
5594
  };
3665
- function useDemoPayoutDetailsCard(props) {
5595
+ function useDemoTaxAndCash(props) {
5596
+ const [step, setStep] = In({
5597
+ namespace: TAX_CONTEXT_NAMESPACE,
5598
+ initialValue: "/1",
5599
+ });
3666
5600
  return cjs({
3667
- states: {
3668
- loading: false,
3669
- error: false,
3670
- thresholdBalance: "$50",
3671
- mainCurrency: { currencyText: "USD", amountText: "100.00" },
3672
- badgeStatus: "nextPayout",
3673
- payoutType: "BANK_TRANSFER",
3674
- nextPayoutDate: "March 14, 2024",
3675
- paypalEmailAddress: "joesmith@example.com",
3676
- otherCurrencies: false,
3677
- hasW9Pending: false,
3678
- hasDatePending: true,
3679
- cardNumberPreview: "XX2381",
3680
- balance: "20.00 USD",
3681
- },
3682
- text: props.getTextProps(),
5601
+ step,
5602
+ setStep,
3683
5603
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
3684
5604
  }
3685
5605
 
3686
- const style$5 = {
3687
- DangerBadge: {
5606
+ const style$6 = {
5607
+ ErrorAlertContainer: {
5608
+ "&::part(base)": {
5609
+ backgroundColor: "var(--sl-color-red-100)",
5610
+ borderTop: "none",
5611
+ },
5612
+ "& sl-icon::part(base)": {
5613
+ color: "var(--sl-color-danger-500)",
5614
+ },
5615
+ },
5616
+ WarningAlertContainer: {
5617
+ "&::part(base)": {
5618
+ backgroundColor: "var(--sl-color-yellow-100)",
5619
+ borderTop: "none",
5620
+ maxWidth: "600px",
5621
+ },
5622
+ "& sl-icon::part(base)": {
5623
+ color: "var(--sl-color-warning-500)",
5624
+ },
5625
+ },
5626
+ WarningHoldAlertContainer: {
5627
+ marginLeft: "-20px",
3688
5628
  "&::part(base)": {
3689
- backgroundColor: "var(--sqm-danger-color-icon)",
3690
- color: "var(--sl-color-white)",
5629
+ maxWidth: "850px",
5630
+ border: "none",
5631
+ backgroundColor: "transparent",
5632
+ },
5633
+ "& sl-icon::part(base)": {
5634
+ color: "var(--sl-color-warning-500)",
3691
5635
  },
3692
5636
  },
3693
- SuccessBadge: {
5637
+ ErrorHoldAlertContainer: {
5638
+ marginLeft: "-20px",
3694
5639
  "&::part(base)": {
3695
- backgroundColor: "var(--sqm-success-color-icon)",
3696
- color: "var(--sl-color-white)",
5640
+ maxWidth: "850px",
5641
+ border: "none",
5642
+ backgroundColor: "transparent",
5643
+ },
5644
+ "& sl-icon::part(base)": {
5645
+ color: "var(--sl-color-danger-500)",
3697
5646
  },
3698
5647
  },
3699
- WarningBadge: {
5648
+ ExpiringSoonAlertContainer: {
3700
5649
  "&::part(base)": {
3701
- backgroundColor: "var(--sqm-warning-color-icon)",
3702
- color: "var(--sl-color-white)",
5650
+ backgroundColor: "var(--sl-color-yellow-100)",
5651
+ borderTop: "none",
3703
5652
  },
3704
5653
  },
3705
5654
  BankingInformationContainer: {
@@ -3707,7 +5656,7 @@ const style$5 = {
3707
5656
  },
3708
5657
  IndirectTaxPreviewContainer: {
3709
5658
  marginTop: "var(--sl-spacing-x-large)",
3710
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
5659
+ borderTop: "1px solid var(--sl-color-neutral-200)",
3711
5660
  },
3712
5661
  IndirectTaxPreviewHeaderContainer: {
3713
5662
  marginTop: "var(--sl-spacing-large)",
@@ -3716,7 +5665,7 @@ const style$5 = {
3716
5665
  display: "flex",
3717
5666
  gap: "var(--sl-spacing-x-small)",
3718
5667
  "&::part(base)": {
3719
- color: "var(--sqm-success-color-text)",
5668
+ color: "var(--sl-color-green-500)",
3720
5669
  },
3721
5670
  },
3722
5671
  IndirectTaxPreviewDetails: {
@@ -3730,11 +5679,11 @@ const style$5 = {
3730
5679
  marginTop: "var(--sl-spacing-medium)",
3731
5680
  },
3732
5681
  NotRegisteredIndirectTaxText: {
3733
- color: "var(--sqm-text-subdued)",
5682
+ color: "var(--sl-color-gray-500)",
3734
5683
  },
3735
5684
  TaxDocumentsContainer: {
3736
5685
  marginTop: "var(--sl-spacing-xx-large)",
3737
- borderTop: "1px solid var(--sqm-border-color)",
5686
+ borderTop: "1px solid var(--sl-color-neutral-200)",
3738
5687
  },
3739
5688
  TaxDocumentsSectionHeaderContainer: {
3740
5689
  marginTop: "var(--sl-spacing-x-large)",
@@ -3751,7 +5700,7 @@ const style$5 = {
3751
5700
  "& p": {
3752
5701
  margin: "0",
3753
5702
  paddingTop: "2px",
3754
- color: "var(--sqm-text-subdued)",
5703
+ color: "var(--sl-color-gray-500)",
3755
5704
  },
3756
5705
  },
3757
5706
  StatusAlert: {
@@ -3786,7 +5735,7 @@ const style$5 = {
3786
5735
  },
3787
5736
  TaxDocSubtext: {
3788
5737
  margin: "0",
3789
- color: "var(--sqm-text-subdued)",
5738
+ color: "var(--sl-color-neutral-500)",
3790
5739
  lineHeight: "var(--sl-spacing-medium)",
3791
5740
  fontSize: "var(--sl-font-size-small)",
3792
5741
  marginLeft: "1px",
@@ -3807,66 +5756,28 @@ const style$5 = {
3807
5756
  gap: "6px",
3808
5757
  },
3809
5758
  DescriptionText: {
3810
- color: "var(--sqm-text-subdued)",
5759
+ color: "var(--sl-color-gray-500)",
3811
5760
  fontSize: "var(--sl-font-size-x-small)",
3812
5761
  marginBottom: "none",
3813
5762
  maxWidth: "492px",
3814
5763
  },
3815
5764
  PageDescriptionText: {
3816
- color: "var(--sqm-text-subdued)",
5765
+ color: "var(--sl-color-neutral-500)",
3817
5766
  fontSize: "var(--sl-font-size-medium)",
3818
5767
  marginTop: "0",
3819
5768
  },
3820
- WarningButton: {
3821
- "&::part(base)": {
3822
- marginTop: "20px",
3823
- borderColor: "var(--sqm-warning-color-border)",
3824
- color: "var(--sqm-warning-color-text)",
3825
- background: "var(--sqm-warning-color-background)",
3826
- "&:hover": {
3827
- background: "var(--sqm-warning-color-icon)",
3828
- },
3829
- },
3830
- },
3831
- ErrorButton: {
3832
- "&::part(base)": {
3833
- marginTop: "20px",
3834
- borderColor: "var(--sqm-danger-color-border)",
3835
- color: "var(--sqm-danger-color-text)",
3836
- background: "var(--sqm-danger-color-background)",
3837
- "&:hover": {
3838
- background: "var(--sqm-danger-color-icon)",
3839
- },
3840
- },
3841
- },
3842
- SuccessButton: {
3843
- "&::part(base)": {
3844
- marginTop: "20px",
3845
- borderColor: "var(--sqm-success-color-border)",
3846
- color: "var(--sqm-success-color-text)",
3847
- background: "var(--sqm-success-color-background)",
3848
- "&:hover": {
3849
- background: "var(--sqm-success-color-icon)",
3850
- },
3851
- },
3852
- },
3853
5769
  Dialog: {
3854
5770
  "&::part(panel)": {
3855
5771
  maxWidth: "420px",
3856
5772
  },
3857
- "&::part(header)": {
3858
- display: "flex",
3859
- alignItems: "center",
3860
- justifyContent: "center",
3861
- paddingTop: "var(--sl-spacing-large)",
3862
- },
3863
5773
  "&::part(close-button)": {
3864
5774
  marginBottom: "var(--sl-spacing-xx-large)",
3865
5775
  },
3866
5776
  "&::part(title)": {
3867
- fontSize: "var(--sl-font-size-large)",
5777
+ fontSize: "var(--sl-font-size-x-large)",
3868
5778
  fontWeight: "600",
3869
- padding: "0px var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
5779
+ marginTop: "var(--sl-spacing-xxx-large)",
5780
+ padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
3870
5781
  },
3871
5782
  "&::part(body)": {
3872
5783
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -3883,23 +5794,44 @@ const style$5 = {
3883
5794
  },
3884
5795
  DialogButton: { margin: "auto", width: "100%" },
3885
5796
  };
3886
- const vanillaStyle$3 = `
3887
- * {
3888
- font-family: var(--sqm-primary-font);
3889
- }
3890
- a {
3891
- color: inherit;
3892
- text-decoration: underline;
3893
- cursor: pointer;
3894
- }
3895
- `;
3896
- const sheet$4 = createStyleSheet(style$5);
3897
- const styleString$4 = sheet$4.toString();
5797
+ const sheet$5 = createStyleSheet(style$6);
5798
+ const styleString$5 = sheet$5.toString();
3898
5799
  const TaxAndCashDashboardView = (props) => {
3899
5800
  var _a;
3900
5801
  const { states, text, callbacks, slots } = props;
3901
5802
  function getAlert(status) {
3902
5803
  switch (status) {
5804
+ case "OVER_W9_THRESHOLD":
5805
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY_DEFER_W9") {
5806
+ return {
5807
+ header: text.w9RequiredHeader,
5808
+ description: intl.formatMessage({
5809
+ id: "w9RequiredDescription",
5810
+ defaultMessage: text.w9RequiredDescription,
5811
+ }, {
5812
+ termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
5813
+ }),
5814
+ button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
5815
+ alertType: "info",
5816
+ icon: "info-circle",
5817
+ class: sheet$5.classes.WarningHoldAlertContainer,
5818
+ };
5819
+ }
5820
+ else {
5821
+ return {
5822
+ header: text.payoutHoldAlertHeader,
5823
+ description: intl.formatMessage({
5824
+ id: "payoutHoldAlertDescription",
5825
+ defaultMessage: text.payoutHoldAlertDescription,
5826
+ }, {
5827
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5828
+ }),
5829
+ buttonText: null,
5830
+ alertType: "warning",
5831
+ icon: "exclamation-triangle",
5832
+ class: sheet$5.classes.WarningHoldAlertContainer,
5833
+ };
5834
+ }
3903
5835
  case "VERIFICATION:REQUIRED":
3904
5836
  return {
3905
5837
  header: text.verificationRequiredHeader,
@@ -3911,6 +5843,8 @@ const TaxAndCashDashboardView = (props) => {
3911
5843
  }),
3912
5844
  buttonText: text.verificationRequiredButtonText,
3913
5845
  alertType: "warning",
5846
+ icon: "exclamation-triangle",
5847
+ class: sheet$5.classes.WarningHoldAlertContainer,
3914
5848
  };
3915
5849
  case "VERIFICATION:INTERNAL":
3916
5850
  return {
@@ -3922,6 +5856,8 @@ const TaxAndCashDashboardView = (props) => {
3922
5856
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3923
5857
  }),
3924
5858
  alertType: "warning",
5859
+ icon: "exclamation-triangle",
5860
+ class: sheet$5.classes.WarningHoldAlertContainer,
3925
5861
  };
3926
5862
  case "VERIFICATION:REVIEW":
3927
5863
  return {
@@ -3933,6 +5869,8 @@ const TaxAndCashDashboardView = (props) => {
3933
5869
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3934
5870
  }),
3935
5871
  alertType: "warning",
5872
+ icon: "exclamation-triangle",
5873
+ class: sheet$5.classes.WarningHoldAlertContainer,
3936
5874
  };
3937
5875
  case "VERIFICATION:FAILED":
3938
5876
  return {
@@ -3943,7 +5881,23 @@ const TaxAndCashDashboardView = (props) => {
3943
5881
  }, {
3944
5882
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3945
5883
  }),
3946
- alertType: "error",
5884
+ alertType: "critical",
5885
+ icon: "exclamation-octagon",
5886
+ class: sheet$5.classes.ErrorHoldAlertContainer,
5887
+ };
5888
+ case "ACCOUNT_REVIEW":
5889
+ return {
5890
+ header: text.accountReviewHeader,
5891
+ description: intl.formatMessage({
5892
+ id: "accountReviewDescription",
5893
+ defaultMessage: text.accountReviewDescription,
5894
+ }, {
5895
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5896
+ }),
5897
+ buttonText: null,
5898
+ alertType: "warning",
5899
+ icon: "exclamation-triangle",
5900
+ class: sheet$5.classes.WarningHoldAlertContainer,
3947
5901
  };
3948
5902
  case "HOLD":
3949
5903
  return {
@@ -3956,22 +5910,24 @@ const TaxAndCashDashboardView = (props) => {
3956
5910
  }),
3957
5911
  buttonText: null,
3958
5912
  alertType: "warning",
5913
+ icon: "exclamation-triangle",
5914
+ class: sheet$5.classes.WarningHoldAlertContainer,
3959
5915
  };
3960
5916
  default:
3961
5917
  return;
3962
5918
  }
3963
5919
  }
3964
5920
  const statusMap = {
3965
- NOT_VERIFIED: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3966
- h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
5921
+ NOT_VERIFIED: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5922
+ h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
3967
5923
  h("p", null, intl.formatMessage({
3968
5924
  id: `badgeTextAwaitingReview`,
3969
5925
  defaultMessage: text.badgeTextAwaitingReview,
3970
5926
  }, {
3971
5927
  dateSubmitted: states.dateSubmitted,
3972
5928
  })))),
3973
- ACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3974
- h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
5929
+ ACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5930
+ h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
3975
5931
  h("p", null, intl.formatMessage({
3976
5932
  id: `badgeTextSubmittedOn`,
3977
5933
  defaultMessage: states.documentType === "W9"
@@ -3980,13 +5936,22 @@ const TaxAndCashDashboardView = (props) => {
3980
5936
  }, {
3981
5937
  dateSubmitted: states.dateSubmitted,
3982
5938
  })))),
3983
- INACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3984
- h("sl-badge", { class: sheet$4.classes.DangerBadge, type: "danger", pill: true }, text.statusTextNotActive),
5939
+ INACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5940
+ h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
3985
5941
  h("p", null, text.invalidForm))),
5942
+ undefined: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5943
+ h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
5944
+ h("p", null, intl.formatMessage({
5945
+ id: `requiredTaxForm`,
5946
+ defaultMessage: text.requiredTaxForm,
5947
+ }, {
5948
+ taxFormType: states.documentType,
5949
+ })))),
3986
5950
  };
3987
5951
  const alertMap = {
3988
- INACTIVE: (h("sqm-form-message", { type: "error" },
3989
- h("p", { part: "alert-title" }, intl.formatMessage({
5952
+ INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5953
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5954
+ h("strong", null, intl.formatMessage({
3990
5955
  id: `taxAlertHeaderNotActive`,
3991
5956
  defaultMessage: states.documentType === "W9"
3992
5957
  ? text.taxAlertHeaderNotActiveW9
@@ -3994,6 +5959,7 @@ const TaxAndCashDashboardView = (props) => {
3994
5959
  }, {
3995
5960
  documentType: states.documentTypeString,
3996
5961
  })),
5962
+ h("br", null),
3997
5963
  intl.formatMessage({
3998
5964
  id: `taxAlertMessage`,
3999
5965
  defaultMessage: states.documentType === "W9"
@@ -4031,74 +5997,79 @@ const TaxAndCashDashboardView = (props) => {
4031
5997
  });
4032
5998
  }
4033
5999
  };
4034
- const alert = getAlert(states.payoutStatus);
6000
+ const alertInfo = getAlert(states.payoutStatus);
4035
6001
  return (h("div", null,
4036
6002
  h("div", null,
4037
- h("style", { type: "text/css" }, styleString$4),
4038
- h("style", { type: "text/css" }, vanillaStyle$3),
4039
- states.loadingError && (h("sqm-form-message", { type: "error" },
4040
- h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
4041
- intl.formatMessage({
4042
- id: "loadingErrorAlertDescription",
4043
- defaultMessage: text.error.loadingErrorAlertDescription,
4044
- }, {
4045
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4046
- }))),
4047
- ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
4048
- h("p", { part: "alert-title" }, text.error.generalTitle),
6003
+ h("style", { type: "text/css" }, styleString$5),
6004
+ states.loadingError && (h("div", null,
6005
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
6006
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6007
+ h("strong", null, text.error.loadingErrorAlertHeader),
6008
+ h("br", null),
6009
+ intl.formatMessage({
6010
+ id: "loadingErrorAlertDescription",
6011
+ defaultMessage: text.error.loadingErrorAlertDescription,
6012
+ }, {
6013
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
6014
+ })))),
6015
+ ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
6016
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
6017
+ h("strong", null, text.error.generalTitle),
6018
+ h("br", null),
4049
6019
  intl.formatMessage({
4050
6020
  id: "generalDescription",
4051
6021
  defaultMessage: text.error.generalDescription,
4052
6022
  }, {
4053
6023
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4054
6024
  }))),
4055
- alert && (h("sqm-form-message", { type: alert.alertType },
4056
- h("p", { part: "alert-title" }, alert.header),
4057
- h("p", { part: "alert-description" }, alert.description),
4058
- alert.buttonText && (h("sl-button", { class: sheet$4.classes[`${capitalizeFirstLetter(alert.alertType)}Button`], loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alert.buttonText)))),
4059
- h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
6025
+ alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
6026
+ h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
6027
+ h("strong", null, alertInfo.header),
6028
+ h("p", { style: { margin: "0" } }, alertInfo.description),
6029
+ alertInfo.buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
6030
+ alertInfo.button ? (alertInfo.button) : (h("div", { style: { display: "none" } })))),
6031
+ h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
4060
6032
  h("p", null, text.replaceTaxFormModalBodyText),
4061
- h("sl-button", { slot: "footer", type: "primary", exportparts: "base: primarybutton-base", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
4062
- h("sl-button", { slot: "footer", type: "secondary", exportparts: "base: secondarybutton-base", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
6033
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
6034
+ h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
4063
6035
  states.status === "INACTIVE" && alertMap[states.status],
4064
6036
  h("div", null,
4065
6037
  h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
4066
- h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
4067
- h("div", { class: sheet$4.classes.BankingInformationContainer },
6038
+ h("div", { class: sheet$5.classes.BankingInformationContainer },
4068
6039
  slots.payoutDetailsCardSlot,
4069
- !states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
4070
- states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4071
- h("div", { class: sheet$4.classes.TaxDocumentsContainer },
4072
- h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4073
- h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4074
- h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null, states.noFormNeeded ? (h("div", null,
4075
- h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
4076
- h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (h("div", null,
4077
- h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
4078
- h("div", { class: sheet$4.classes.StatusContainer },
4079
- h("h3", null, intl.formatMessage({
4080
- id: "section-subheader",
4081
- defaultMessage: text.taxDocumentSectionSubHeader,
4082
- }, {
4083
- documentType: states.documentTypeString,
4084
- })),
4085
- h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
4086
- states.status !== "NOT_VERIFIED" && (h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "primary", exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
4087
- h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4088
- h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4089
- h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null,
4090
- h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
6040
+ !states.loading && (h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
6041
+ states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
6042
+ (!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$5.classes.TaxDocumentsContainer },
6043
+ h("div", null, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
6044
+ h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
6045
+ h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
6046
+ h("div", null,
6047
+ h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
6048
+ h("div", { class: sheet$5.classes.StatusContainer },
6049
+ h("h3", null, intl.formatMessage({
6050
+ id: "section-subheader",
6051
+ defaultMessage: text.taxDocumentSectionSubHeader,
6052
+ }, {
6053
+ documentType: states.documentTypeString || "W-9",
6054
+ })),
6055
+ h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
6056
+ states.noFormNeeded &&
6057
+ states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
6058
+ h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
6059
+ h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
6060
+ h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
6061
+ h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
4091
6062
  text.indirectTaxInfoSectionHeader,
4092
- h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
4093
- h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
4094
- h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
4095
- h("span", null, states.notRegistered ? (h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
6063
+ h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
6064
+ h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
6065
+ h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
6066
+ h("span", null, states.notRegistered ? (h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
4096
6067
  id: "notRegisteredForTax",
4097
6068
  defaultMessage: text.notRegisteredForTax,
4098
6069
  }, {
4099
6070
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4100
6071
  }))) : (getIndirectTaxRegisteredIn())),
4101
- !states.notRegistered && (h("div", { class: sheet$4.classes.TaxNumberContainer },
6072
+ !states.notRegistered && (h("div", { class: sheet$5.classes.TaxNumberContainer },
4102
6073
  h("span", null, intl.formatMessage({
4103
6074
  id: `indirectTaxDetails`,
4104
6075
  defaultMessage: text.indirectTaxDetails,
@@ -4121,7 +6092,7 @@ const TaxAndCashDashboardView = (props) => {
4121
6092
  }, {
4122
6093
  subRegionTaxNumber: states.subRegionTaxNumber,
4123
6094
  })))),
4124
- !states.notRegistered && (h("div", { class: sheet$4.classes.InvoiceTableContainer },
6095
+ !states.notRegistered && (h("div", { class: sheet$5.classes.InvoiceTableContainer },
4125
6096
  h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
4126
6097
  h("sqm-invoice-table-download-column", null),
4127
6098
  h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
@@ -4131,6 +6102,13 @@ const TaxAndCashDashboardView = (props) => {
4131
6102
  h("sqm-invoice-table-data-column", { "column-title": text.earningsAfterTaxColumnTitle, property: "netEarnings" })))))))))));
4132
6103
  };
4133
6104
 
6105
+ const GET_TAX_SETTING = dist.gql `
6106
+ query getTenantSettings {
6107
+ tenantSettings {
6108
+ enforceUsTaxCompliance
6109
+ }
6110
+ }
6111
+ `;
4134
6112
  function getCountryName(countryCode, locale) {
4135
6113
  if (!countryCode)
4136
6114
  return undefined;
@@ -4166,15 +6144,18 @@ function getIndirectTaxType(taxInformation) {
4166
6144
  return "Indirect Tax";
4167
6145
  }
4168
6146
  const useTaxAndCashDashboard = (props) => {
4169
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
6147
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
4170
6148
  const setStep = En(TAX_CONTEXT_NAMESPACE);
4171
6149
  const setContext = En(TAX_FORM_CONTEXT_NAMESPACE);
4172
6150
  const [showDialog, setShowDialog] = useState(false);
4173
6151
  const { render, loading: veriffLoading, errors: veriffErrors, } = useVeriffApp();
6152
+ const { data: taxSettingRes } = wn(GET_TAX_SETTING, {});
4174
6153
  const locale = L();
4175
6154
  useEffect(() => {
4176
6155
  // Clear override context once on submitted
4177
6156
  setContext({});
6157
+ if (window.location.hash)
6158
+ setStep(`/${window.location.hash.replace("#", "")}`);
4178
6159
  }, []);
4179
6160
  const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);
4180
6161
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
@@ -4209,30 +6190,32 @@ const useTaxAndCashDashboard = (props) => {
4209
6190
  window.removeEventListener(VERIFF_COMPLETE_EVENT_KEY, cb);
4210
6191
  };
4211
6192
  }, []);
6193
+ const enforceUsTaxComplianceOption = (_e = taxSettingRes === null || taxSettingRes === void 0 ? void 0 : taxSettingRes.tenantSettings) === null || _e === void 0 ? void 0 : _e.enforceUsTaxCompliance;
4212
6194
  return {
4213
6195
  states: {
4214
6196
  dateSubmitted,
4215
6197
  documentType,
4216
6198
  canEditPayoutInfo: publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup,
4217
6199
  documentTypeString: taxTypeToName(documentType),
4218
- status: (_e = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _e === void 0 ? void 0 : _e.status,
4219
- subRegion: getSubRegionName((_f = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _f === void 0 ? void 0 : _f.indirectTaxRegion),
4220
- subRegionTaxNumber: (_g = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _g === void 0 ? void 0 : _g.withholdingTaxId,
4221
- qstNumber: (_h = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _h === void 0 ? void 0 : _h.additionalTaxId,
6200
+ status: (_f = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _f === void 0 ? void 0 : _f.status,
6201
+ subRegion: getSubRegionName((_g = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _g === void 0 ? void 0 : _g.indirectTaxRegion),
6202
+ subRegionTaxNumber: (_h = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _h === void 0 ? void 0 : _h.withholdingTaxId,
6203
+ qstNumber: (_j = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _j === void 0 ? void 0 : _j.additionalTaxId,
4222
6204
  indirectTaxType: getIndirectTaxType(publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation),
4223
- indirectTaxNumber: (_j = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _j === void 0 ? void 0 : _j.indirectTaxId,
6205
+ indirectTaxNumber: (_k = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _k === void 0 ? void 0 : _k.indirectTaxId,
4224
6206
  isBusinessEntity: (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) === "W8BENE",
4225
6207
  province: provinceName,
4226
- country: getCountryName((_k = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _k === void 0 ? void 0 : _k.indirectTaxCountryCode, locale),
4227
- notRegistered: !((_l = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _l === void 0 ? void 0 : _l.indirectTaxId),
6208
+ country: getCountryName((_l = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _l === void 0 ? void 0 : _l.indirectTaxCountryCode, locale),
6209
+ notRegistered: !((_m = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _m === void 0 ? void 0 : _m.indirectTaxId),
4228
6210
  noFormNeeded: !documentType,
4229
6211
  disabled: loading,
4230
6212
  loading,
4231
6213
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
4232
6214
  showNewFormDialog: showDialog,
4233
- hasHold: !!((_m = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _m === void 0 ? void 0 : _m.hold),
6215
+ hasHold: !!((_o = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _o === void 0 ? void 0 : _o.hold),
4234
6216
  payoutStatus,
4235
6217
  veriffLoading,
6218
+ enforceUsTaxComplianceOption,
4236
6219
  },
4237
6220
  callbacks: {
4238
6221
  onClick: () => setShowDialog(true),
@@ -4262,6 +6245,18 @@ const TaxAndCashDashboard = class {
4262
6245
  * @uiName Not verified tax form badge label
4263
6246
  */
4264
6247
  this.statusTextNotVerified = "Not Verified";
6248
+ /**
6249
+ * Displayed when the participant has not submitted their required tax form.
6250
+ *
6251
+ * @uiName Required tax form badge label
6252
+ */
6253
+ this.statusTextRequired = "Required";
6254
+ /**
6255
+ * Additional text displayed next to the tax form's status badge
6256
+ *
6257
+ * @uiName Required tax form description
6258
+ */
6259
+ this.requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
4265
6260
  /**
4266
6261
  * Additional text displayed next to the tax form's status badge
4267
6262
  *
@@ -4286,7 +6281,7 @@ const TaxAndCashDashboard = class {
4286
6281
  * @uiName Inactive W-9 error message title
4287
6282
  * @uiWidget textArea
4288
6283
  */
4289
- this.taxAlertHeaderNotActiveW9 = "Your W9 tax form has personal information that doesn’t match your profile";
6284
+ this.taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
4290
6285
  /**
4291
6286
  * Part of the alert displayed at the top of the page.
4292
6287
  *
@@ -4328,13 +6323,6 @@ const TaxAndCashDashboard = class {
4328
6323
  * @uiName Tax documents section description
4329
6324
  */
4330
6325
  this.taxDocumentSectionSubHeader = "{documentType} tax form";
4331
- /**
4332
- * No other statuses or badges will be displayed in the tax form section in this case.
4333
- *
4334
- * @uiName Tax form not required text
4335
- * @uiWidget textArea
4336
- */
4337
- this.noFormNeededSubtext = "Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";
4338
6326
  /**
4339
6327
  *
4340
6328
  * @uiName Indirect tax section header
@@ -4464,6 +6452,30 @@ const TaxAndCashDashboard = class {
4464
6452
  * @uiName Verification required alert button text
4465
6453
  */
4466
6454
  this.verificationRequiredButtonText = "Start Verification";
6455
+ /**
6456
+ * @uiName W-9 payment threshold alert header
6457
+ */
6458
+ this.w9RequiredHeader = "Your next payout is on hold";
6459
+ /**
6460
+ * @uiName W-9 payment threshold alert description
6461
+ */
6462
+ this.w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
6463
+ /**
6464
+ * @uiName Account review alert header
6465
+ */
6466
+ this.accountReviewHeader = "Your account is under review";
6467
+ /**
6468
+ * @uiName Account review alert description
6469
+ */
6470
+ this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
6471
+ /**
6472
+ * @uiName Terms and Conditions text
6473
+ */
6474
+ this.termsAndConditions = "Terms and Conditions";
6475
+ /**
6476
+ * @uiName W-9 payment threshold alert button text
6477
+ */
6478
+ this.w9RequiredButtonText = "Submit W-9";
4467
6479
  /**
4468
6480
  * Part of the alert displayed at the top of the page.
4469
6481
  * @uiName Form submission error message title
@@ -4531,11 +6543,6 @@ const TaxAndCashDashboard = class {
4531
6543
  this.invoiceEmptyStateHeader = "View your invoice details";
4532
6544
  /** @uiName Empty invoice table description */
4533
6545
  this.invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
4534
- /**
4535
- * Displayed at the top of the page on all set up steps and on the dashboard.
4536
- * @uiName Page description
4537
- */
4538
- this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
4539
6546
  /**
4540
6547
  * @uiName Replace tax form modal header
4541
6548
  */
@@ -4552,11 +6559,6 @@ const TaxAndCashDashboard = class {
4552
6559
  * @uiName Cancel button label
4553
6560
  */
4554
6561
  this.cancelButton = "Cancel";
4555
- /**
4556
- * @undocumented
4557
- * @componentState { "title": "Payouts on hold", "props": { "payoutStatus": "HOLD" }, "uiGroup": "Dashboard Properties" }
4558
- */
4559
- this.stateController = "{}";
4560
6562
  h$1(this);
4561
6563
  }
4562
6564
  disconnectedCallback() { }
@@ -4582,31 +6584,23 @@ const TaxAndCashDashboard = class {
4582
6584
  }
4583
6585
  };
4584
6586
  function useDemoTaxAndCashDashboard(props) {
4585
- // @ts-ignore
4586
6587
  return cjs({
4587
6588
  states: {
4588
6589
  dateSubmitted: "today",
4589
6590
  documentType: "W9",
4590
- documentTypeString: "W9",
6591
+ documentTypeString: "W-9",
6592
+ status: "ACTIVE",
4591
6593
  country: "United States",
4592
- indirectTaxNumber: "55555555",
6594
+ indirectTaxNumber: 55555555,
4593
6595
  indirectTaxType: "Indirect Tax",
4594
- noFormNeeded: false,
6596
+ noFormNeeded: true,
4595
6597
  disabled: false,
4596
6598
  loading: false,
4597
6599
  showNewFormDialog: false,
4598
6600
  hasHold: false,
4599
- subRegion: "CA",
4600
- subRegionTaxNumber: undefined,
4601
- qstNumber: undefined,
4602
- isBusinessEntity: false,
4603
- province: undefined,
4604
- notRegistered: true,
4605
- loadingError: false,
6601
+ showVerifyIdentity: false,
4606
6602
  payoutStatus: "DONE",
4607
6603
  veriffLoading: false,
4608
- canEditPayoutInfo: true,
4609
- status: "ACTIVE",
4610
6604
  },
4611
6605
  callbacks: {
4612
6606
  onClick: () => console.debug("check step"),
@@ -4616,14 +6610,7 @@ function useDemoTaxAndCashDashboard(props) {
4616
6610
  onVerifyClick: () => console.log("verify"),
4617
6611
  },
4618
6612
  text: props.getTextProps(),
4619
- slots: {
4620
- payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
4621
- states: {
4622
- badgeStatus: "nextPayout",
4623
- },
4624
- } })),
4625
- },
4626
- }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
6613
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
4627
6614
  }
4628
6615
 
4629
6616
  const PHONE_EXTENSIONS = {
@@ -5597,19 +7584,19 @@ const PHONE_EXTENSIONS = {
5597
7584
  },
5598
7585
  };
5599
7586
 
5600
- const style$6 = {
7587
+ const style$7 = {
5601
7588
  FormWrapper: {},
5602
7589
  ErrorInput: {
5603
7590
  "&::part(base)": {
5604
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-danger-color-icon)",
7591
+ border: "1px solid var(--sl-color-danger-500)",
5605
7592
  borderRadius: "var(--sl-input-border-radius-medium)",
5606
7593
  },
5607
7594
  "&::part(help-text)": {
5608
- color: "var(--sqm-danger-color-icon)",
7595
+ color: "var(--sl-color-danger-500)",
5609
7596
  },
5610
7597
  },
5611
7598
  ErrorText: {
5612
- color: "var(--sqm-danger-color-icon)",
7599
+ color: "var(--sl-color-danger-500)",
5613
7600
  marginTop: "10px",
5614
7601
  },
5615
7602
  TextContainer: {
@@ -5640,6 +7627,9 @@ const style$6 = {
5640
7627
  justifyContent: "flex-start",
5641
7628
  flexDirection: "column",
5642
7629
  },
7630
+ DescriptionText: {
7631
+ color: "var(--sl-color-neutral-500)",
7632
+ },
5643
7633
  BoldText: {
5644
7634
  fontWeight: "bold",
5645
7635
  },
@@ -5648,8 +7638,28 @@ const style$6 = {
5648
7638
  borderRadius: "50%",
5649
7639
  },
5650
7640
  },
7641
+ AlertContainer: {
7642
+ "&::part(base)": {
7643
+ backgroundColor: "var(--sl-color-red-100)",
7644
+ borderTop: "none",
7645
+ padding: "0 16px",
7646
+ },
7647
+ "& sl-icon::part(base)": {
7648
+ color: "var(--sl-color-danger-500)",
7649
+ },
7650
+ },
7651
+ PartnerAlertContainer: {
7652
+ "&::part(base)": {
7653
+ backgroundColor: "var(--sl-color-sky-100)",
7654
+ borderTop: "none",
7655
+ padding: "0 16px",
7656
+ },
7657
+ "& sl-icon::part(base)": {
7658
+ color: "var(--sl-color-blue-500)",
7659
+ },
7660
+ },
5651
7661
  PageDescriptionText: {
5652
- color: "var(--sqm-text-subdued)",
7662
+ color: "var(--sl-color-neutral-500)",
5653
7663
  fontSize: "var(--sl-font-size-medium)",
5654
7664
  },
5655
7665
  PhoneInputsSection: {
@@ -5672,8 +7682,8 @@ const style$6 = {
5672
7682
  },
5673
7683
  },
5674
7684
  };
5675
- const sheet$5 = createStyleSheet(style$6);
5676
- const styleString$5 = sheet$5.toString();
7685
+ const sheet$6 = createStyleSheet(style$7);
7686
+ const styleString$6 = sheet$6.toString();
5677
7687
  const vanillaStyle$4 = `
5678
7688
  :host{
5679
7689
  display: block;
@@ -5683,15 +7693,11 @@ const vanillaStyle$4 = `
5683
7693
  padding: 0;
5684
7694
  box-sizing: border-box;
5685
7695
  }
5686
- a {
5687
- color: var(--sqm-text);
5688
- color: inherit !important;
5689
- text-decoration: underline;
5690
- }
5691
7696
 
5692
7697
  p {
5693
7698
  line-height: 18px;
5694
- font-size: var(--sl-font-size-small);
7699
+ color: var(--sl-color-gray-800);
7700
+ font-size: var(--sl-font-size-small);
5695
7701
  }
5696
7702
 
5697
7703
  sl-radio-group::part(base) {
@@ -5702,149 +7708,11 @@ const vanillaStyle$4 = `
5702
7708
  sl-select#phoneNumberCountryCode::part(menu) {
5703
7709
  min-width: 250px;
5704
7710
  }
5705
-
5706
- sl-button[type="primary"]::part(base){
5707
- background-color: var(--sqm-primary-button-background);
5708
- color: var(--sqm-primary-button-color);
5709
- border-color: var(--sqm-primary-button-color-border);
5710
- border-radius: var(--sqm-primary-button-radius);
5711
- }
5712
-
5713
- sl-button[type="primary"]::part(base):hover{
5714
- background-color: var(--sqm-primary-button-background-hover);
5715
- }
5716
-
5717
- sl-button[type="primary"]::part(base):focus{
5718
- box-shadow: none;
5719
- }
5720
-
5721
- sl-button[type="secondary"]::part(base){
5722
- background-color: var(--sqm-secondary-button-background);
5723
- color: var(--sqm-secondary-button-color);
5724
- border-color: var(--sqm-secondary-button-color-border);
5725
- border-radius: var(--sqm-secondary-button-radius);
5726
- }
5727
-
5728
- sl-button[type="secondary"]::part(base):hover{
5729
- background-color: var(--sqm-secondary-button-background-hover);
5730
- }
5731
-
5732
-
5733
-
5734
- *::part(primarybutton-base){
5735
- background-color: var(--sqm-primary-button-background);
5736
- color: var(--sqm-primary-button-color);
5737
- border-color: var(--sqm-primary-button-color-border);
5738
- border-radius: var(--sqm-primary-button-radius);
5739
- }
5740
-
5741
- *::part(primarybutton-base):hover{
5742
- background-color: var(--sqm-primary-button-background-hover);
5743
- }
5744
-
5745
- *::part(primarybutton-base):focus{
5746
- box-shadow: none;
5747
- }
5748
-
5749
- *::part(secondarybutton-base){
5750
- background-color: var(--sqm-secondary-button-background);
5751
- color: var(--sqm-secondary-button-color);
5752
- border-color: var(--sqm-secondary-button-color-border);
5753
- border-radius: var(--sqm-secondary-button-radius);
5754
- }
5755
-
5756
- *::part(secondarybutton-base):hover{
5757
- background-color: var(--sqm-secondary-button-background-hover);
5758
- }
5759
-
5760
- *::part(secondarybutton-base){
5761
- background-color: var(--sqm-secondary-button-background);
5762
- color: var(--sqm-secondary-button-color);
5763
- border-color: var(--sqm-secondary-button-color-border);
5764
- border-radius: var(--sqm-secondary-button-radius);
5765
- width: max-content;
5766
- display: flex;
5767
- margin: auto;
5768
- }
5769
-
5770
- *::part(secondarybutton-base):hover{
5771
- background: var(--sqm-secondary-button-background-hover);
5772
- }
5773
-
5774
- sl-input::part(label),
5775
- sl-select::part(label),
5776
- sl-textarea::part(label){
5777
- font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
5778
- font-weight: var(--sl-font-weight-semibold);
5779
- color: var(--sqm-input-label-color, var(--sqm-text), black);
5780
- }
5781
-
5782
- /* Corrected: Target sl-input, sl-select, sl-textarea base elements */
5783
- sl-input::part(base),
5784
- sl-dropdown::part(base),
5785
- sl-textarea::part(base){
5786
- background-color: var(--sqm-input-background, #fff);
5787
- border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
5788
- color: var(--sqm-input-color, white);
5789
- border-width: var(--sqm-border-thickness, 1px);
5790
- border-style: solid;
5791
- border-color: var(--sqm-input-border-color, #ccc);
5792
- }
5793
-
5794
-
5795
- sl-select::part(menu) {
5796
- background: var(--sqm-input-background, inherit);
5797
- color: var(--sqm-input-color, inherit);
5798
- border:none;
5799
- }
5800
-
5801
- sl-select::part(panel) {
5802
- border-radius: var(--sqm-border-radius-normal);
5803
- }
5804
-
5805
- sl-select::part(help-text) {
5806
- color: var(--sqm-text-subdued, var(--sl-input-help-text-color, #6c757d));
5807
- }
5808
-
5809
- sl-input::part(base):focus,
5810
- sl-select::part(base):focus, /* Corrected part name for sl-select */
5811
- sl-textarea::part(base):focus { /* Corrected part name for sl-textarea */
5812
- border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus, #007bff)); /* Added fallback for --sl-input-border-color-focus */
5813
- }
5814
-
5815
- sl-input[disabled]::part(label),
5816
- sl-select[disabled]::part(label),
5817
- sl-textarea[disabled]::part(label){
5818
- color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
5819
- }
5820
-
5821
- sl-input[disabled]::part(base),
5822
- sl-select[disabled]::part(base),
5823
- sl-textarea[disabled]::part(base){
5824
- background: var(--sqm-input-disabled-background, #f5f5f5);
5825
- border-color: var(--sl-input-border-color-disabled, #e0e0e0); /* Example disabled border color */
5826
- }
5827
-
5828
-
5829
- sl-input::part(input):-webkit-autofill {
5830
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5831
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5832
- }
5833
-
5834
- sl-input::part(input):-webkit-autofill:hover {
5835
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5836
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5837
- }
5838
-
5839
- sl-input::part(input):-webkit-autofill:focus {
5840
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5841
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5842
- }
5843
- `;
7711
+ `;
5844
7712
  const UserInfoFormView = (props) => {
5845
7713
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
5846
7714
  const { states, states: { formState }, callbacks, text, refs, data, } = props;
5847
- const { classes } = sheet$5;
7715
+ const { classes } = sheet$6;
5848
7716
  const bankingCollectionText = intl.formatMessage({
5849
7717
  id: "bankingCollectionText",
5850
7718
  defaultMessage: text.allowBankingCollection,
@@ -5867,18 +7735,21 @@ const UserInfoFormView = (props) => {
5867
7735
  }
5868
7736
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
5869
7737
  h("style", { type: "text/css" },
5870
- styleString$5,
7738
+ styleString$6,
5871
7739
  vanillaStyle$4),
5872
7740
  states.loadingError && (h("div", null,
5873
- h("sqm-form-message", { type: "error" },
5874
- h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
5875
- h("p", { part: "alert-description" }, intl.formatMessage({
7741
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
7742
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7743
+ h("strong", null, text.error.loadingErrorAlertHeader),
7744
+ h("br", null),
7745
+ intl.formatMessage({
5876
7746
  id: "loadingErrorAlertDescription",
5877
7747
  defaultMessage: text.error.loadingErrorAlertDescription,
5878
7748
  }, {
5879
7749
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5880
- }))))),
5881
- states.loading ? (h(LoadingView, null)) : (h("div", null,
7750
+ })),
7751
+ h("br", null))),
7752
+ states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
5882
7753
  h("div", { class: classes.TextContainer },
5883
7754
  h("div", null,
5884
7755
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -5887,25 +7758,29 @@ const UserInfoFormView = (props) => {
5887
7758
  }, { step: states.step, count: FORM_STEPS }))),
5888
7759
  h("h3", null, text.personalInformation),
5889
7760
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
5890
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
5891
- h("p", { part: "alert-title" }, text.error.generalTitle),
5892
- h("p", { part: "alert-description" }, intl.formatMessage({
7761
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
7762
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7763
+ h("strong", null, text.error.generalTitle),
7764
+ h("br", null),
7765
+ intl.formatMessage({
5893
7766
  id: "generalDescription",
5894
7767
  defaultMessage: text.error.generalDescription,
5895
7768
  }, {
5896
7769
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5897
- })))),
5898
- (states.isPartner || states.isUser) && (h("sqm-form-message", { type: "info" },
5899
- h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
5900
- h("p", { part: "alert-description" }, intl.formatMessage({
7770
+ }))),
7771
+ (states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
7772
+ h("sl-icon", { slot: "icon", name: "info-circle" }),
7773
+ h("strong", null, text.isPartnerAlertHeader),
7774
+ h("br", null),
7775
+ intl.formatMessage({
5901
7776
  id: "isPartnerAlertDescription",
5902
7777
  defaultMessage: text.isPartnerAlertDescription,
5903
7778
  }, {
5904
7779
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5905
- })))),
7780
+ }))),
5906
7781
  h("div", null,
5907
7782
  h("div", { class: classes.InputContainer },
5908
- h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
7783
+ h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
5909
7784
  class: classes.ErrorInput,
5910
7785
  helpText: formatErrorMessage(text.firstName, formState.errors.firstName),
5911
7786
  }
@@ -6035,6 +7910,10 @@ function useUserInfoForm(props) {
6035
7910
  const [currencySearch, setCurrencySearch] = useState("");
6036
7911
  const [filteredCurrencies, setFilteredCurrencies] = useState(currencies || []);
6037
7912
  const [formErrors, setErrors] = useState({});
7913
+ useEffect(() => {
7914
+ // reset redirect hash
7915
+ window.location.hash = "";
7916
+ }, []);
6038
7917
  useEffect(() => {
6039
7918
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6040
7919
  const user = data === null || data === void 0 ? void 0 : data.user;
@@ -6387,20 +8266,19 @@ const TaxForm = class {
6387
8266
  }
6388
8267
  render() {
6389
8268
  const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
6390
- return (h(UserInfoFormView, { data: props.data,
8269
+ return (h(Host, null, h(UserInfoFormView, { data: props.data,
6391
8270
  // @ts-ignore
6392
8271
  states: props.states, callbacks: {
6393
8272
  ...props.callbacks,
6394
8273
  onSubmit: props.onSubmit,
6395
- }, text: props.text, refs: props.refs }));
8274
+ }, text: props.text, refs: props.refs })));
6396
8275
  }
6397
8276
  };
6398
8277
  function useDemoUserInfoForm(props) {
6399
8278
  const setStep = En(TAX_CONTEXT_NAMESPACE);
6400
- // @ts-ignore
6401
8279
  return cjs({
6402
8280
  setStep,
6403
- onSubmit: async () => {
8281
+ onSubmit: () => {
6404
8282
  setStep("/2");
6405
8283
  },
6406
8284
  onRadioClick: () => { },
@@ -6443,4 +8321,4 @@ function useDemoUserInfoForm(props) {
6443
8321
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6444
8322
  }
6445
8323
 
6446
- export { BankingInfoForm as sqm_banking_info_form, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataColumn as sqm_invoice_table_data_column, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };
8324
+ export { BankingInfoForm as sqm_banking_info_form, WidgetCodeVerification as sqm_code_verification, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataCell as sqm_invoice_table_data_cell, InvoiceTableDataColumn as sqm_invoice_table_data_column, RewardTableDateCell as sqm_invoice_table_date_cell, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableDownloadCell as sqm_invoice_table_download_cell, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TableCell as sqm_table_cell, TableRow as sqm_table_row, TaxAndCashMonolith as sqm_tax_and_cash, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };