@saasquatch/mint-components 1.15.0-42 → 1.15.0-43

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 (596) hide show
  1. package/dist/cjs/{ErrorView-5504c2b6.js → ErrorView-b2fcf954.js} +1 -1
  2. package/dist/cjs/{GenericTableView-107ade89.js → GenericTableView-a9d0b798.js} +1 -1
  3. package/dist/cjs/IndirectTaxDetailsView-d0290a12.js +646 -0
  4. package/dist/cjs/{ShadowViewAddon-42af4b57.js → ShadowViewAddon-9cb7a310.js} +1002 -1002
  5. package/dist/cjs/{copy-text-view-af017955.js → copy-text-view-ee147291.js} +1 -1
  6. package/dist/cjs/data-6d96b89c.js +137 -0
  7. package/dist/cjs/{email-registration-view-996fb438.js → email-registration-view-dca94dc9.js} +1 -1
  8. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  9. package/dist/cjs/{global-b34bf5f2.js → global-d62c5561.js} +102 -95
  10. package/dist/cjs/{index-a43a63b4.js → index-a29c60ef.js} +0 -4
  11. package/dist/cjs/{index.module-39955732.js → index.module-ee84433d.js} +1 -1
  12. package/dist/cjs/loader.cjs.js +5 -5
  13. package/dist/cjs/{luxon-3b809948.js → luxon-2926d85f.js} +1 -1
  14. package/dist/cjs/mint-components.cjs.js +5 -5
  15. package/dist/cjs/{mockRewardData-6e4a90f9.js → mockRewardData-272e22d6.js} +1 -1
  16. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  17. package/dist/cjs/{re-render-28fed959.js → re-render-b324deab.js} +2 -2
  18. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +51 -0
  19. package/dist/cjs/sqm-asset-card.cjs.entry.js +45 -0
  20. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +211 -1902
  21. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-1c5094d3.js} +2 -2
  22. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +88 -373
  23. package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-b297e933.js} +1 -1
  24. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  25. package/dist/cjs/sqm-code-verification.cjs.entry.js +342 -0
  26. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  27. package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
  28. package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
  29. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
  31. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  33. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  34. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  35. package/dist/cjs/{sqm-leaderboard-rank-view-6a1e63de.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
  36. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  37. package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
  38. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
  39. package/dist/cjs/{sqm-navigation-sidebar-item-view-06eb9721.js → sqm-navigation-sidebar-item-view-10b62df1.js} +2 -2
  40. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  41. package/dist/cjs/{sqm-navigation-sidebar-view-50ee8796.js → sqm-navigation-sidebar-view-38a5227a.js} +1 -1
  42. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -6
  44. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  45. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  46. package/dist/cjs/{sqm-portal-container-view-70eaf785.js → sqm-portal-container-view-4f15143a.js} +1 -1
  47. package/dist/cjs/{sqm-portal-email-verification-view-4100f28c.js → sqm-portal-email-verification-view-156accab.js} +3 -3
  48. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
  49. package/dist/cjs/{sqm-portal-forgot-password-view-ba34601e.js → sqm-portal-forgot-password-view-fdd97c18.js} +3 -3
  50. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
  51. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +7 -6
  52. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
  53. package/dist/cjs/sqm-portal-login-view-0fbbda1b.js +58 -0
  54. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  55. package/dist/cjs/{sqm-portal-profile-view-1fc7fb29.js → sqm-portal-profile-view-f226725e.js} +3 -3
  56. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  57. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  58. package/dist/cjs/{sqm-portal-registration-form-view-5a96c2f5.js → sqm-portal-registration-form-view-399f4eaf.js} +2 -2
  59. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -7
  60. package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-0439a9e5.js} +2 -2
  61. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  62. package/dist/cjs/{sqm-portal-verify-email-view-1c4e781f.js → sqm-portal-verify-email-view-05f72dec.js} +2 -2
  63. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
  64. package/dist/cjs/{sqm-qr-code-view-b18b42a8.js → sqm-qr-code-view-7ee9fa56.js} +2 -2
  65. package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
  66. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +19 -19
  67. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  68. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  69. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  70. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +14 -14
  71. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  72. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  73. package/dist/cjs/sqm-stencilbook.cjs.entry.js +11116 -9786
  74. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  75. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  76. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1220 -0
  77. package/dist/cjs/{sqm-text-span-view-7a61ae4c.js → sqm-text-span-view-ce4c0178.js} +1 -1
  78. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  79. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +14 -6
  80. package/dist/cjs/sqm-widget-verification.cjs.entry.js +20 -10
  81. package/dist/cjs/{stencil-hooks.module-62264802.js → stencil-hooks.module-3a336b0f.js} +1 -1
  82. package/dist/cjs/{useChildElements-e5fa605c.js → useChildElements-1b35d945.js} +2 -2
  83. package/dist/cjs/{useInstantAccessRegistration-86b7164c.js → useInstantAccessRegistration-0537e28e.js} +3 -3
  84. package/dist/cjs/{usePayoutStatus-f26f0467.js → usePayoutStatus-feeac99b.js} +10 -7
  85. package/dist/cjs/{usePortalLogin-bd975a79.js → usePortalLogin-63d896d1.js} +2 -57
  86. package/dist/cjs/{usePortalRegistrationForm-d28621de.js → usePortalRegistrationForm-f25d89e7.js} +3 -3
  87. package/dist/cjs/{useReferralCodes-a47dcbc2.js → useReferralCodes-82e8797b.js} +2 -2
  88. package/dist/cjs/{useReferralTable-19e7523a.js → useReferralTable-7c3f9600.js} +5 -5
  89. package/dist/cjs/{useRegistrationFormState-5f44ca80.js → useRegistrationFormState-7b820f0c.js} +2 -2
  90. package/dist/cjs/{useVerificationEmail-1496b993.js → useVerificationEmail-95a82767.js} +2 -2
  91. package/dist/cjs/{utilities-be3ce1f8.js → utilities-78f5e169.js} +2 -2
  92. package/dist/cjs/utils-ce18d1bc.js +105 -0
  93. package/dist/collection/collection-manifest.json +1 -0
  94. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -0
  95. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -0
  96. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
  97. package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
  98. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  99. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +1 -1
  100. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +2 -2
  101. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +6 -9
  102. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  103. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +2 -1
  104. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +9 -2
  105. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +4 -4
  106. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +4 -4
  107. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -1
  108. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +4 -4
  109. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +24 -41
  110. package/dist/collection/components/sqm-stencilbook/Themes.js +36 -311
  111. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -79
  112. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +1 -1
  113. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  114. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -5
  115. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +41 -6
  116. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +12 -8
  117. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -6
  118. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  119. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
  120. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +1 -1
  121. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +1 -1
  122. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  123. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -2
  124. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  125. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  126. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  127. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  128. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  129. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +77 -28
  130. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  131. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +19 -4
  132. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  133. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +5 -4
  134. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  135. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  136. package/dist/collection/global/styles.js +100 -93
  137. package/dist/collection/global/styles.ts +97 -177
  138. package/dist/collection/utils/parseStates.js +12 -0
  139. package/dist/esm/{ErrorView-eaafd6f5.js → ErrorView-48e2b969.js} +1 -1
  140. package/dist/esm/{GenericTableView-dd9be3ea.js → GenericTableView-3b6f9ccc.js} +1 -1
  141. package/dist/esm/IndirectTaxDetailsView-3be86bcf.js +639 -0
  142. package/dist/esm/{ShadowViewAddon-173ce794.js → ShadowViewAddon-d8cfd6c7.js} +1003 -1003
  143. package/dist/esm/{copy-text-view-38c7c3d5.js → copy-text-view-4a207b17.js} +1 -1
  144. package/dist/esm/data-a05c78ae.js +121 -0
  145. package/dist/esm/{email-registration-view-db81655f.js → email-registration-view-8782c01b.js} +1 -1
  146. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  147. package/dist/esm/{global-16971a34.js → global-632fb2fa.js} +102 -95
  148. package/dist/esm/{index-b3a06de8.js → index-91e7729f.js} +0 -4
  149. package/dist/esm/{index.module-d49ae5e7.js → index.module-89a79f66.js} +1 -1
  150. package/dist/esm/loader.js +5 -5
  151. package/dist/esm/{luxon-793b7f13.js → luxon-8d51c92b.js} +1 -1
  152. package/dist/esm/mint-components.js +5 -5
  153. package/dist/esm/{mockRewardData-bdc54f2e.js → mockRewardData-8bd1b356.js} +1 -1
  154. package/dist/esm/raisins-plop-target.entry.js +1 -1
  155. package/dist/esm/{re-render-789f9123.js → re-render-cc945f38.js} +2 -2
  156. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +49 -0
  157. package/dist/esm/sqm-asset-card.entry.js +41 -0
  158. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +133 -1817
  159. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-d732a5df.js} +2 -2
  160. package/dist/esm/sqm-big-stat_42.entry.js +87 -372
  161. package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-bc2bc10e.js} +1 -1
  162. package/dist/esm/sqm-close-button.entry.js +4 -4
  163. package/dist/esm/sqm-code-verification.entry.js +338 -0
  164. package/dist/esm/sqm-context-router.entry.js +3 -3
  165. package/dist/esm/sqm-email-verification.entry.js +6 -6
  166. package/dist/esm/sqm-empty_4.entry.js +5 -5
  167. package/dist/esm/sqm-form-message.entry.js +2 -2
  168. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  169. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  170. package/dist/esm/sqm-header-logo.entry.js +2 -2
  171. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  172. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  173. package/dist/esm/{sqm-leaderboard-rank-view-18baae5b.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
  174. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  175. package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  176. package/dist/esm/sqm-logout-current-user.entry.js +4 -4
  177. package/dist/esm/{sqm-navigation-sidebar-item-view-48b224fa.js → sqm-navigation-sidebar-item-view-6e046743.js} +2 -2
  178. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  179. package/dist/esm/{sqm-navigation-sidebar-view-6c13798c.js → sqm-navigation-sidebar-view-f898265a.js} +1 -1
  180. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  181. package/dist/esm/sqm-pagination_3.entry.js +6 -6
  182. package/dist/esm/sqm-password-field.entry.js +4 -4
  183. package/dist/esm/sqm-popup-container.entry.js +3 -3
  184. package/dist/esm/{sqm-portal-container-view-f0b1ccfc.js → sqm-portal-container-view-1683ae32.js} +1 -1
  185. package/dist/esm/{sqm-portal-email-verification-view-7ac99890.js → sqm-portal-email-verification-view-24ea7b3c.js} +3 -3
  186. package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
  187. package/dist/esm/{sqm-portal-forgot-password-view-2628bc62.js → sqm-portal-forgot-password-view-55fc0873.js} +3 -3
  188. package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
  189. package/dist/esm/sqm-portal-google-login.entry.js +6 -5
  190. package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -8
  191. package/dist/esm/sqm-portal-login-view-e870b4b0.js +56 -0
  192. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  193. package/dist/esm/{sqm-portal-profile-view-c68753ea.js → sqm-portal-profile-view-9b4d7ec1.js} +3 -3
  194. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  195. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  196. package/dist/esm/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-5d651c04.js} +2 -2
  197. package/dist/esm/sqm-portal-registration-form.entry.js +7 -7
  198. package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-6903828e.js} +2 -2
  199. package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
  200. package/dist/esm/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-01ac711f.js} +2 -2
  201. package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
  202. package/dist/esm/{sqm-qr-code-view-358607d1.js → sqm-qr-code-view-62c10948.js} +2 -2
  203. package/dist/esm/sqm-qr-code.entry.js +6 -6
  204. package/dist/esm/sqm-referral-table_11.entry.js +19 -19
  205. package/dist/esm/sqm-referred-registration.entry.js +6 -6
  206. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  207. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  208. package/dist/esm/sqm-rewards-table_9.entry.js +14 -14
  209. package/dist/esm/sqm-route.entry.js +1 -1
  210. package/dist/esm/sqm-scroll.entry.js +2 -2
  211. package/dist/esm/sqm-stencilbook.entry.js +11452 -10122
  212. package/dist/esm/sqm-tab.entry.js +4 -4
  213. package/dist/esm/sqm-tabs.entry.js +5 -5
  214. package/dist/esm/sqm-tax-and-cash.entry.js +1216 -0
  215. package/dist/esm/{sqm-text-span-view-4c17b8c9.js → sqm-text-span-view-cd3902e5.js} +1 -1
  216. package/dist/esm/sqm-text-span.entry.js +3 -3
  217. package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
  218. package/dist/esm/sqm-widget-verification.entry.js +20 -10
  219. package/dist/esm/{stencil-hooks.module-20ad2b5f.js → stencil-hooks.module-4bc38af4.js} +1 -1
  220. package/dist/esm/{useChildElements-0ca9a015.js → useChildElements-7945ae56.js} +2 -2
  221. package/dist/esm/{useInstantAccessRegistration-b224f3ce.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
  222. package/dist/esm/{usePayoutStatus-3768c8c3.js → usePayoutStatus-fed17fc9.js} +10 -7
  223. package/dist/esm/{usePortalLogin-2b813acc.js → usePortalLogin-ef647a50.js} +3 -57
  224. package/dist/esm/{usePortalRegistrationForm-61bf948d.js → usePortalRegistrationForm-4b35a357.js} +3 -3
  225. package/dist/esm/{useReferralCodes-0b798295.js → useReferralCodes-8f75921a.js} +2 -2
  226. package/dist/esm/{useReferralTable-c1511d9d.js → useReferralTable-b3876ed6.js} +5 -5
  227. package/dist/esm/{useRegistrationFormState-2db047e9.js → useRegistrationFormState-d6f33135.js} +2 -2
  228. package/dist/esm/{useVerificationEmail-085eda87.js → useVerificationEmail-edc318cb.js} +2 -2
  229. package/dist/esm/{utilities-6341d9fd.js → utilities-5b0ca040.js} +2 -2
  230. package/dist/esm/utils-1654e233.js +97 -0
  231. package/dist/esm-es5/{ErrorView-eaafd6f5.js → ErrorView-48e2b969.js} +1 -1
  232. package/dist/esm-es5/{GenericTableView-dd9be3ea.js → GenericTableView-3b6f9ccc.js} +1 -1
  233. package/dist/esm-es5/IndirectTaxDetailsView-3be86bcf.js +1 -0
  234. package/dist/esm-es5/ShadowViewAddon-d8cfd6c7.js +1 -0
  235. package/dist/esm-es5/{copy-text-view-38c7c3d5.js → copy-text-view-4a207b17.js} +1 -1
  236. package/dist/esm-es5/data-a05c78ae.js +1 -0
  237. package/dist/esm-es5/{email-registration-view-db81655f.js → email-registration-view-8782c01b.js} +1 -1
  238. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  239. package/dist/esm-es5/{global-16971a34.js → global-632fb2fa.js} +5 -5
  240. package/dist/esm-es5/{index-b3a06de8.js → index-91e7729f.js} +1 -1
  241. package/dist/esm-es5/{index.module-d49ae5e7.js → index.module-89a79f66.js} +1 -1
  242. package/dist/esm-es5/loader.js +1 -1
  243. package/dist/esm-es5/{luxon-793b7f13.js → luxon-8d51c92b.js} +1 -1
  244. package/dist/esm-es5/mint-components.js +1 -1
  245. package/dist/esm-es5/{mockRewardData-bdc54f2e.js → mockRewardData-8bd1b356.js} +1 -1
  246. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  247. package/dist/esm-es5/{re-render-789f9123.js → re-render-cc945f38.js} +1 -1
  248. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +1 -0
  249. package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
  250. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  251. package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-d732a5df.js} +1 -1
  252. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  253. package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-bc2bc10e.js} +1 -1
  254. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  255. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  256. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  257. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  258. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  259. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  260. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  261. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  262. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  263. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  264. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  265. package/dist/esm-es5/{sqm-leaderboard-rank-view-18baae5b.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
  266. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  267. package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  268. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  269. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48b224fa.js → sqm-navigation-sidebar-item-view-6e046743.js} +1 -1
  270. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  271. package/dist/esm-es5/{sqm-navigation-sidebar-view-6c13798c.js → sqm-navigation-sidebar-view-f898265a.js} +1 -1
  272. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  273. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  274. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  275. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  276. package/dist/esm-es5/{sqm-portal-container-view-f0b1ccfc.js → sqm-portal-container-view-1683ae32.js} +1 -1
  277. package/dist/esm-es5/{sqm-portal-email-verification-view-7ac99890.js → sqm-portal-email-verification-view-24ea7b3c.js} +1 -1
  278. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  279. package/dist/esm-es5/{sqm-portal-forgot-password-view-2628bc62.js → sqm-portal-forgot-password-view-55fc0873.js} +1 -1
  280. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  281. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  282. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  283. package/dist/esm-es5/sqm-portal-login-view-e870b4b0.js +1 -0
  284. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  285. package/dist/esm-es5/{sqm-portal-profile-view-c68753ea.js → sqm-portal-profile-view-9b4d7ec1.js} +1 -1
  286. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  287. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  288. package/dist/esm-es5/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-5d651c04.js} +1 -1
  289. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  290. package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-6903828e.js} +1 -1
  291. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  292. package/dist/esm-es5/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-01ac711f.js} +1 -1
  293. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  294. package/dist/esm-es5/{sqm-qr-code-view-358607d1.js → sqm-qr-code-view-62c10948.js} +1 -1
  295. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  296. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  297. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  298. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  299. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  300. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  301. package/dist/esm-es5/sqm-route.entry.js +1 -1
  302. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  303. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  304. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  305. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  306. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  307. package/dist/esm-es5/{sqm-text-span-view-4c17b8c9.js → sqm-text-span-view-cd3902e5.js} +1 -1
  308. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  309. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  310. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  311. package/dist/esm-es5/{stencil-hooks.module-20ad2b5f.js → stencil-hooks.module-4bc38af4.js} +1 -1
  312. package/dist/esm-es5/{useChildElements-0ca9a015.js → useChildElements-7945ae56.js} +1 -1
  313. package/dist/esm-es5/{useInstantAccessRegistration-b224f3ce.js → useInstantAccessRegistration-dc4ad9f2.js} +1 -1
  314. package/dist/esm-es5/{usePayoutStatus-3768c8c3.js → usePayoutStatus-fed17fc9.js} +2 -2
  315. package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
  316. package/dist/esm-es5/{usePortalRegistrationForm-61bf948d.js → usePortalRegistrationForm-4b35a357.js} +1 -1
  317. package/dist/esm-es5/{useReferralCodes-0b798295.js → useReferralCodes-8f75921a.js} +1 -1
  318. package/dist/esm-es5/{useReferralTable-c1511d9d.js → useReferralTable-b3876ed6.js} +1 -1
  319. package/dist/esm-es5/{useRegistrationFormState-2db047e9.js → useRegistrationFormState-d6f33135.js} +1 -1
  320. package/dist/esm-es5/{useVerificationEmail-085eda87.js → useVerificationEmail-edc318cb.js} +1 -1
  321. package/dist/esm-es5/{utilities-6341d9fd.js → utilities-5b0ca040.js} +1 -1
  322. package/dist/esm-es5/utils-1654e233.js +1 -0
  323. package/dist/mint-components/global/styles.ts +97 -177
  324. package/dist/mint-components/mint-components.esm.js +1 -1
  325. package/dist/mint-components/mint-components.js +1 -1
  326. package/dist/mint-components/{p-88e3b87a.entry.js → p-042642d3.entry.js} +1 -1
  327. package/dist/mint-components/p-04a6e457.entry.js +1 -0
  328. package/dist/mint-components/{p-68043f30.js → p-057f5402.js} +1 -1
  329. package/dist/mint-components/p-05f29f64.js +1 -0
  330. package/dist/mint-components/p-06ce54e2.entry.js +258 -0
  331. package/dist/mint-components/p-0797a946.js +1 -0
  332. package/dist/mint-components/p-0984523b.js +1 -0
  333. package/dist/mint-components/p-0a37a288.system.entry.js +1 -0
  334. package/dist/mint-components/{p-73b3e5a9.system.entry.js → p-0a8a6d45.system.entry.js} +1 -1
  335. package/dist/mint-components/p-0b3218a5.entry.js +1 -0
  336. package/dist/mint-components/{p-b6911812.system.js → p-0df294ad.system.js} +1 -1
  337. package/dist/mint-components/p-0e32981f.js +1 -0
  338. package/dist/mint-components/p-0f76b2dd.entry.js +93 -0
  339. package/dist/mint-components/{p-3466bfaa.js → p-11dff275.js} +2 -2
  340. package/dist/mint-components/p-127e66c2.system.js +1 -0
  341. package/dist/mint-components/{p-692e8ff2.system.entry.js → p-12e61414.system.entry.js} +1 -1
  342. package/dist/mint-components/{p-7f499d2f.system.js → p-13ed8586.system.js} +1 -1
  343. package/dist/mint-components/p-1513309d.entry.js +1 -0
  344. package/dist/mint-components/p-155cf177.system.js +1 -0
  345. package/dist/mint-components/{p-dccfe305.system.entry.js → p-18425f38.system.entry.js} +1 -1
  346. package/dist/mint-components/{p-d63e5657.entry.js → p-1878da9b.entry.js} +2 -2
  347. package/dist/mint-components/p-19ccb4ce.js +1 -0
  348. package/dist/mint-components/{p-a9be22a6.system.entry.js → p-1b3ab15a.system.entry.js} +1 -1
  349. package/dist/mint-components/{p-055e6ebd.system.entry.js → p-1fa9ed0d.system.entry.js} +1 -1
  350. package/dist/mint-components/{p-64997b59.system.js → p-223dd3f7.system.js} +1 -1
  351. package/dist/mint-components/p-229f797b.js +1 -0
  352. package/dist/mint-components/{p-00791abc.js → p-266a8b4d.js} +1 -1
  353. package/dist/mint-components/p-275b4767.entry.js +1 -0
  354. package/dist/mint-components/{p-9cc40be1.entry.js → p-284e4ed5.entry.js} +1 -1
  355. package/dist/mint-components/{p-84079726.entry.js → p-2ae0e06a.entry.js} +1 -1
  356. package/dist/mint-components/{p-9713e9a9.entry.js → p-2bbff88f.entry.js} +1 -1
  357. package/dist/mint-components/p-2d52e2d7.system.js +1 -0
  358. package/dist/mint-components/{p-29e61db2.entry.js → p-2df6ce8f.entry.js} +2 -2
  359. package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
  360. package/dist/mint-components/p-32a47b41.system.js +1 -0
  361. package/dist/mint-components/p-32d60c34.entry.js +16 -0
  362. package/dist/mint-components/{p-1e07c5b4.system.js → p-33f640f6.system.js} +1 -1
  363. package/dist/mint-components/{p-67ca8443.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  364. package/dist/mint-components/p-38fc919b.entry.js +1 -0
  365. package/dist/mint-components/{p-c9592908.system.entry.js → p-3a21f8f9.system.entry.js} +1 -1
  366. package/dist/mint-components/{p-12fd7ee9.system.js → p-3a62a7e2.system.js} +1 -1
  367. package/dist/mint-components/{p-10c2a48c.system.js → p-3c3aab4c.system.js} +1 -1
  368. package/dist/mint-components/{p-33b13e55.system.entry.js → p-3e4e74a2.system.entry.js} +1 -1
  369. package/dist/mint-components/{p-74eaa3c0.js → p-3f7b81b8.js} +2 -2
  370. package/dist/mint-components/{p-1f82181b.system.entry.js → p-41d051b1.system.entry.js} +1 -1
  371. package/dist/mint-components/{p-8278225e.entry.js → p-44891949.entry.js} +1 -1
  372. package/dist/mint-components/{p-968e5a9e.system.entry.js → p-450a7705.system.entry.js} +1 -1
  373. package/dist/mint-components/{p-4115e328.system.entry.js → p-457962b7.system.entry.js} +1 -1
  374. package/dist/mint-components/p-46a672e4.entry.js +1 -0
  375. package/dist/mint-components/{p-88e32c4a.system.js → p-48135f99.system.js} +1 -1
  376. package/dist/mint-components/p-4b42b756.entry.js +1 -0
  377. package/dist/mint-components/{p-4204a6e3.entry.js → p-4b6dc0e5.entry.js} +1 -1
  378. package/dist/mint-components/p-4b9789a2.system.js +1 -0
  379. package/dist/mint-components/p-4bb1c4b2.system.js +1 -0
  380. package/dist/mint-components/p-4cbd7eec.js +394 -0
  381. package/dist/mint-components/p-4d478108.system.entry.js +1 -0
  382. package/dist/mint-components/{p-4b12067f.js → p-4e451f75.js} +1 -1
  383. package/dist/mint-components/p-4e526a94.js +1 -0
  384. package/dist/mint-components/{p-6578ea31.system.js → p-505951d2.system.js} +1 -1
  385. package/dist/mint-components/{p-0a1666ef.system.entry.js → p-51aa8c38.system.entry.js} +1 -1
  386. package/dist/mint-components/p-527216de.system.js +1 -0
  387. package/dist/mint-components/p-52d15f87.system.js +1 -0
  388. package/dist/mint-components/p-5488fdd9.system.js +1 -0
  389. package/dist/mint-components/{p-34b652a9.system.js → p-54b0b768.system.js} +1 -1
  390. package/dist/mint-components/{p-e7aa4f3b.system.js → p-59274a91.system.js} +1 -1
  391. package/dist/mint-components/{p-de3ef27e.js → p-5bedb58c.js} +1 -1
  392. package/dist/mint-components/p-5c5964e0.js +1 -0
  393. package/dist/mint-components/p-5d407714.system.entry.js +1 -0
  394. package/dist/mint-components/p-5eebc8b4.system.entry.js +1 -0
  395. package/dist/mint-components/{p-37c4ae42.entry.js → p-5ef6de10.entry.js} +1 -1
  396. package/dist/mint-components/p-637c0357.system.entry.js +1 -0
  397. package/dist/mint-components/p-65ba9e94.entry.js +1 -0
  398. package/dist/mint-components/{p-99fb2a50.js → p-66a2b1a4.js} +1 -1
  399. package/dist/mint-components/{p-028d61de.entry.js → p-66d22d46.entry.js} +1 -1
  400. package/dist/mint-components/{p-7b4f0dbc.js → p-674b82ac.js} +1 -1
  401. package/dist/mint-components/p-6798cad1.system.js +1 -0
  402. package/dist/mint-components/{p-5cd3030b.system.entry.js → p-6a49b077.system.entry.js} +1 -1
  403. package/dist/mint-components/{p-64e3e87a.entry.js → p-6a5f57d7.entry.js} +3 -3
  404. package/dist/mint-components/{p-42b62299.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
  405. package/dist/mint-components/p-6b7a595f.system.js +1 -0
  406. package/dist/mint-components/{p-fca47a45.system.js → p-6cd4f2b1.system.js} +1 -1
  407. package/dist/mint-components/{p-037da77e.js → p-6d2f5a1d.js} +2 -2
  408. package/dist/mint-components/{p-02c92db1.system.js → p-6d9e52c7.system.js} +1 -1
  409. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  410. package/dist/mint-components/{p-3b7c875b.system.entry.js → p-6fa624ff.system.entry.js} +1 -1
  411. package/dist/mint-components/p-704f162e.entry.js +1 -0
  412. package/dist/mint-components/{p-4254a9b6.js → p-726a9924.js} +1 -1
  413. package/dist/mint-components/{p-d54fa68e.entry.js → p-731d06a9.entry.js} +1 -1
  414. package/dist/mint-components/{p-67ad2252.system.js → p-74afdafb.system.js} +1 -1
  415. package/dist/mint-components/{p-dbaab44b.system.js → p-767485b8.system.js} +1 -1
  416. package/dist/mint-components/{p-16dbd9cb.js → p-7adb141e.js} +1 -1
  417. package/dist/mint-components/{p-167be4b9.system.js → p-7c2b9fe4.system.js} +1 -1
  418. package/dist/mint-components/{p-4d8e3766.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  419. package/dist/mint-components/{p-04007292.system.js → p-8175e85f.system.js} +1 -1
  420. package/dist/mint-components/{p-3eba9036.js → p-82113e37.js} +1 -1
  421. package/dist/mint-components/{p-7d456d0a.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  422. package/dist/mint-components/{p-6cff599f.system.js → p-8413ade9.system.js} +1 -1
  423. package/dist/mint-components/{p-8f6e124b.system.entry.js → p-846aff6a.system.entry.js} +1 -1
  424. package/dist/mint-components/p-84a78d09.entry.js +1 -0
  425. package/dist/mint-components/p-8568a6ef.entry.js +1 -0
  426. package/dist/mint-components/{p-322c1e5e.entry.js → p-865f812e.entry.js} +1 -1
  427. package/dist/mint-components/p-8abfeff8.entry.js +1 -0
  428. package/dist/mint-components/p-8c23d1b8.js +1 -0
  429. package/dist/mint-components/p-8d9d04b7.system.entry.js +1 -0
  430. package/dist/mint-components/p-8feb4180.entry.js +1 -0
  431. package/dist/mint-components/{p-66ac6bed.js → p-94a876b9.js} +1 -1
  432. package/dist/mint-components/{p-c3dce602.system.entry.js → p-96431b4f.system.entry.js} +1 -1
  433. package/dist/mint-components/{p-27201067.system.js → p-96e339f6.system.js} +20 -20
  434. package/dist/mint-components/p-9711efb7.entry.js +1 -0
  435. package/dist/mint-components/{p-5efed40f.system.js → p-9721a29a.system.js} +2 -2
  436. package/dist/mint-components/p-97d4d651.system.js +1 -0
  437. package/dist/mint-components/{p-ea1eed5d.js → p-98698131.js} +1 -1
  438. package/dist/mint-components/p-9acb5038.js +1 -0
  439. package/dist/mint-components/{p-99a82e5a.system.entry.js → p-9acf0b39.system.entry.js} +1 -1
  440. package/dist/mint-components/{p-efd2b6ec.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  441. package/dist/mint-components/{p-cfa40c9b.system.entry.js → p-9d41d676.system.entry.js} +1 -1
  442. package/dist/mint-components/{p-470c9c64.system.js → p-9f2edf59.system.js} +1 -1
  443. package/dist/mint-components/{p-d2066cb0.js → p-a1e17fd2.js} +1 -1
  444. package/dist/mint-components/p-a27a15c5.system.entry.js +1 -0
  445. package/dist/mint-components/{p-84f3732f.system.js → p-a3383f54.system.js} +1 -1
  446. package/dist/mint-components/{p-c1821c6d.entry.js → p-a3e68251.entry.js} +1 -1
  447. package/dist/mint-components/{p-d533917f.system.entry.js → p-a572db9b.system.entry.js} +1 -1
  448. package/dist/mint-components/{p-238fcec6.entry.js → p-a60d5315.entry.js} +1 -1
  449. package/dist/mint-components/{p-2f2bced4.system.js → p-a71b9154.system.js} +1 -1
  450. package/dist/mint-components/p-a8cc450b.system.entry.js +1 -0
  451. package/dist/mint-components/p-a91e7c05.system.entry.js +1 -0
  452. package/dist/mint-components/{p-572ec8d4.js → p-a9f4ddb1.js} +1 -1
  453. package/dist/mint-components/{p-4edcf988.system.entry.js → p-af516659.system.entry.js} +1 -1
  454. package/dist/mint-components/p-b637f1e4.js +1 -0
  455. package/dist/mint-components/{p-71a0adcf.entry.js → p-b6761073.entry.js} +1 -1
  456. package/dist/mint-components/{p-e72c2b09.entry.js → p-b73a4df4.entry.js} +2 -2
  457. package/dist/mint-components/{p-1d46f8fa.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  458. package/dist/mint-components/{p-5fbbc259.system.entry.js → p-bb6e411d.system.entry.js} +1 -1
  459. package/dist/mint-components/{p-69e77f43.js → p-bdd80fce.js} +1 -1
  460. package/dist/mint-components/{p-799d62fe.entry.js → p-be89074c.entry.js} +1 -1
  461. package/dist/mint-components/p-bfc7cfc0.system.js +1 -0
  462. package/dist/mint-components/p-c0b07067.system.js +1 -0
  463. package/dist/mint-components/{p-20b2f691.js → p-c0f19490.js} +1 -1
  464. package/dist/mint-components/p-c1b1f8ae.system.entry.js +1 -0
  465. package/dist/mint-components/{p-df34f189.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  466. package/dist/mint-components/p-c75a3b4a.js +103 -0
  467. package/dist/mint-components/p-c8a7e3ba.system.entry.js +1 -0
  468. package/dist/mint-components/{p-ddf3c05e.js → p-c96a25c6.js} +1 -1
  469. package/dist/mint-components/p-c9745c8f.system.js +1 -0
  470. package/dist/mint-components/{p-0e73c48c.system.js → p-ca9e0322.system.js} +1 -1
  471. package/dist/mint-components/{p-8408b84b.entry.js → p-cd0ee247.entry.js} +1 -1
  472. package/dist/mint-components/{p-35b2fde0.js → p-cd651f81.js} +1 -1
  473. package/dist/mint-components/{p-4fc78f20.system.entry.js → p-cf157c6e.system.entry.js} +1 -1
  474. package/dist/mint-components/{p-0714554e.system.entry.js → p-d12e9cfd.system.entry.js} +1 -1
  475. package/dist/mint-components/{p-a45680fe.js → p-d1ae7a2d.js} +1 -1
  476. package/dist/mint-components/{p-30826d8f.system.entry.js → p-d5b3397c.system.entry.js} +1 -1
  477. package/dist/mint-components/{p-5cff2ac4.js → p-d6352d15.js} +1 -1
  478. package/dist/mint-components/{p-73feb66f.js → p-d6831af5.js} +2 -2
  479. package/dist/mint-components/{p-edf6bf2e.system.entry.js → p-d94a4d50.system.entry.js} +1 -1
  480. package/dist/mint-components/{p-c67034c1.entry.js → p-da71337b.entry.js} +1 -1
  481. package/dist/mint-components/{p-27bb9d05.entry.js → p-da7708a7.entry.js} +1 -1
  482. package/dist/mint-components/{p-0d3e4788.entry.js → p-dbb83730.entry.js} +1 -1
  483. package/dist/mint-components/{p-6c0c466f.system.js → p-dbc0e4f8.system.js} +1 -1
  484. package/dist/mint-components/{p-1238fbd0.js → p-dc293b10.js} +27 -27
  485. package/dist/mint-components/{p-b1ddc706.js → p-de136dd3.js} +1 -1
  486. package/dist/mint-components/{p-27903fca.entry.js → p-df223bff.entry.js} +1 -1
  487. package/dist/mint-components/{p-be725c96.entry.js → p-e1e62d55.entry.js} +1 -1
  488. package/dist/mint-components/{p-7371218f.system.entry.js → p-e217afd9.system.entry.js} +1 -1
  489. package/dist/mint-components/p-e2705fbe.system.js +1 -0
  490. package/dist/mint-components/{p-204861a6.js → p-e309a219.js} +1 -1
  491. package/dist/mint-components/{p-07dc6d68.js → p-e518a60d.js} +1 -1
  492. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  493. package/dist/mint-components/p-e5d9e709.entry.js +13 -0
  494. package/dist/mint-components/p-e8ffcc68.entry.js +11 -0
  495. package/dist/mint-components/p-eb998f7b.entry.js +9 -0
  496. package/dist/mint-components/p-ee6ec12d.entry.js +11 -0
  497. package/dist/mint-components/p-f26aedcd.system.js +1 -0
  498. package/dist/mint-components/{p-4e5dff09.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  499. package/dist/mint-components/p-f53f5304.system.entry.js +1 -0
  500. package/dist/mint-components/p-f708da7b.js +1 -0
  501. package/dist/mint-components/p-f8175201.system.js +1 -0
  502. package/dist/mint-components/{p-bdb9e05a.system.entry.js → p-fa37513e.system.entry.js} +1 -1
  503. package/dist/mint-components/{p-43ce09f0.entry.js → p-faba3198.entry.js} +1 -1
  504. package/dist/mint-components/p-fb13065a.js +1 -0
  505. package/dist/mint-components/{p-5500bd38.js → p-fb584d7a.js} +1 -1
  506. package/dist/mint-components/{p-71271fbd.system.js → p-fbef4ecb.system.js} +1 -1
  507. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -0
  508. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
  509. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
  510. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
  511. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  512. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
  513. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -3
  514. package/dist/types/components/sqm-stencilbook/Themes.d.ts +5 -5
  515. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -0
  516. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +5 -0
  517. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -1
  518. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  519. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  520. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  521. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  522. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -4
  523. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  524. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  525. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  526. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  527. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  528. package/dist/types/components.d.ts +91 -8
  529. package/dist/types/saasquatch.d.ts +5 -23
  530. package/dist/types/utils/parseStates.d.ts +1 -0
  531. package/docs/docs.docx +0 -0
  532. package/docs/raisins.json +1 -1
  533. package/grapesjs/grapesjs.js +1 -1
  534. package/package.json +2 -1
  535. package/dist/cjs/sqm-invoice-table-view-deaf0385.js +0 -2038
  536. package/dist/esm/sqm-invoice-table-view-e43241aa.js +0 -2022
  537. package/dist/esm-es5/ShadowViewAddon-173ce794.js +0 -1
  538. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  539. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  540. package/dist/esm-es5/sqm-invoice-table-view-e43241aa.js +0 -1
  541. package/dist/esm-es5/usePortalLogin-2b813acc.js +0 -1
  542. package/dist/mint-components/p-00673c96.js +0 -1
  543. package/dist/mint-components/p-0126962c.entry.js +0 -1
  544. package/dist/mint-components/p-01dd6b18.system.js +0 -1
  545. package/dist/mint-components/p-0592dc0b.system.js +0 -1
  546. package/dist/mint-components/p-0bf0409f.entry.js +0 -205
  547. package/dist/mint-components/p-0c327ec3.entry.js +0 -1
  548. package/dist/mint-components/p-0e532b53.entry.js +0 -1
  549. package/dist/mint-components/p-15ad1e97.entry.js +0 -16
  550. package/dist/mint-components/p-1bdc4f94.system.entry.js +0 -1
  551. package/dist/mint-components/p-1f6cfd37.js +0 -1
  552. package/dist/mint-components/p-22405668.entry.js +0 -1
  553. package/dist/mint-components/p-2403c6e1.system.js +0 -1
  554. package/dist/mint-components/p-24af584d.js +0 -1
  555. package/dist/mint-components/p-26468242.js +0 -1
  556. package/dist/mint-components/p-2c227f02.js +0 -394
  557. package/dist/mint-components/p-2c637c26.system.js +0 -1
  558. package/dist/mint-components/p-3168fa90.js +0 -1
  559. package/dist/mint-components/p-3174c756.entry.js +0 -1
  560. package/dist/mint-components/p-32e6850d.entry.js +0 -13
  561. package/dist/mint-components/p-36bbd4de.entry.js +0 -1
  562. package/dist/mint-components/p-37e58170.system.entry.js +0 -1
  563. package/dist/mint-components/p-490864af.entry.js +0 -258
  564. package/dist/mint-components/p-492d810b.js +0 -1
  565. package/dist/mint-components/p-50bfb01f.system.entry.js +0 -1
  566. package/dist/mint-components/p-59b028db.system.js +0 -1
  567. package/dist/mint-components/p-676ca2c0.system.js +0 -1
  568. package/dist/mint-components/p-6b166700.system.entry.js +0 -1
  569. package/dist/mint-components/p-6bcac9ed.system.entry.js +0 -1
  570. package/dist/mint-components/p-7b97c0f4.system.entry.js +0 -1
  571. package/dist/mint-components/p-8caef004.js +0 -1
  572. package/dist/mint-components/p-96c0860e.system.js +0 -1
  573. package/dist/mint-components/p-96d3900f.entry.js +0 -1
  574. package/dist/mint-components/p-9daf835f.system.js +0 -1
  575. package/dist/mint-components/p-a09b2393.entry.js +0 -9
  576. package/dist/mint-components/p-a255bf0e.entry.js +0 -1
  577. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  578. package/dist/mint-components/p-ac71b501.js +0 -1
  579. package/dist/mint-components/p-b4638167.entry.js +0 -1
  580. package/dist/mint-components/p-b6bdf89e.entry.js +0 -1
  581. package/dist/mint-components/p-be88596c.system.js +0 -1
  582. package/dist/mint-components/p-c7c11325.js +0 -1
  583. package/dist/mint-components/p-d0de4b73.system.js +0 -1
  584. package/dist/mint-components/p-d6c151e3.system.js +0 -1
  585. package/dist/mint-components/p-db86c62e.system.entry.js +0 -1
  586. package/dist/mint-components/p-dddac0ee.system.entry.js +0 -1
  587. package/dist/mint-components/p-e13ed54a.entry.js +0 -1
  588. package/dist/mint-components/p-e523b22e.entry.js +0 -11
  589. package/dist/mint-components/p-ecf91505.system.js +0 -1
  590. package/dist/mint-components/p-f5a7697e.system.entry.js +0 -1
  591. package/dist/mint-components/p-f66ccd51.entry.js +0 -1
  592. package/dist/mint-components/p-f6baa0c9.system.js +0 -1
  593. package/dist/mint-components/p-f8df914b.system.js +0 -1
  594. package/dist/mint-components/p-ff3c651c.js +0 -1
  595. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  596. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -1,142 +1,22 @@
1
- import { h, r as registerInstance, c as Host, g as getElement } from './index-b3a06de8.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-20ad2b5f.js';
3
- import { i as intl } from './global-16971a34.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 } from './index.module-d49ae5e7.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, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-4bc38af4.js';
3
+ import { i as intl } from './global-632fb2fa.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-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, l as luxonLocale } from './utils-334c1e34.js';
7
+ import { g as getProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { E as ErrorStyles } from './mixins-f750863a.js';
10
- import { G as GenericTableView } from './GenericTableView-dd9be3ea.js';
11
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-789f9123.js';
12
- import { u as useChildElements } from './useChildElements-0ca9a015.js';
13
- import { l as luxon } from './luxon-793b7f13.js';
14
- import { g as generateUserError } from './useReferralTable-c1511d9d.js';
15
- import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
16
- import { E as ErrorView } from './ErrorView-eaafd6f5.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-e43241aa.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-3768c8c3.js';
21
- import { u as useVerificationEmail } from './useVerificationEmail-085eda87.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;
9
+ import './mixins-f750863a.js';
10
+ import { G as GenericTableView } from './GenericTableView-3b6f9ccc.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 { 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-3be86bcf.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-1654e233.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-a05c78ae.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-fed17fc9.js';
140
20
 
141
21
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
142
22
  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;
@@ -787,10 +667,8 @@ const vanillaStyle = `
787
667
 
788
668
  /* this class is dynamically applied in controller */
789
669
  .error-input::part(base) {
790
- --sqm-input-border-color: var(--sqm-danger-color-border);
791
- --sl-input-border-color: var(--sqm-danger-color-border);
792
- --sl-input-border-color-hover: var(--sqm-danger-color-border);
793
- --sl-input-border-color-focus: var(--sqm-danger-color-background);
670
+ border: 1px solid var(--sqm-danger-color-border);
671
+ border-radius: var(--sqm-input-border-radius);
794
672
  }
795
673
 
796
674
  .error-input::part(help-text) {
@@ -892,7 +770,7 @@ const BankingInfoFormView = (props) => {
892
770
  : slots.paymentFixedDaySelectSlot))))),
893
771
  h("div", { class: classes.BtnContainer },
894
772
  h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
895
- !states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
773
+ !states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "text", onClick: callbacks.onBack }, text.backButton))))));
896
774
  };
897
775
 
898
776
  // Hardcoded in Impact backend
@@ -1743,331 +1621,6 @@ function useDemoBankingInfoForm(props) {
1743
1621
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1744
1622
  }
1745
1623
 
1746
- const style$1 = {
1747
- Wrapper: {
1748
- display: "flex",
1749
- flexDirection: "column",
1750
- gap: "var(--sl-spacing-medium)",
1751
- maxWidth: "550px",
1752
- },
1753
- HeaderContainer: {
1754
- display: "flex",
1755
- flexDirection: "column",
1756
- },
1757
- InputsContainer: {
1758
- display: "flex",
1759
- gap: "var(--sl-spacing-medium)",
1760
- position: "relative",
1761
- flexDirection: "column",
1762
- },
1763
- CodeInputContainer: {
1764
- display: "flex",
1765
- gap: "var(--sl-spacing-medium)",
1766
- },
1767
- CodeInput: {
1768
- maxWidth: "40px",
1769
- "&::part(input)": {
1770
- margin: "0",
1771
- padding: "0 var(--sl-input-spacing-small)",
1772
- fontSize: "var(--sl-font-size-large)",
1773
- },
1774
- },
1775
- CodeInputError: {
1776
- ...ErrorStyles,
1777
- maxWidth: "40px",
1778
- "&::part(input)": {
1779
- margin: "0",
1780
- padding: "0 var(--sl-input-spacing-small)",
1781
- fontSize: "var(--sl-font-size-large)",
1782
- },
1783
- },
1784
- ErrorText: {
1785
- color: "var(--sl-color-danger-500)",
1786
- fontSize: "var(--sl-font-size-small)",
1787
- margin: "0",
1788
- },
1789
- ContinueButton: {
1790
- width: "100%",
1791
- maxWidth: "100px",
1792
- },
1793
- FooterContainer: {
1794
- display: "flex",
1795
- flexDirection: "column",
1796
- },
1797
- SkeletonOne: {
1798
- width: "50%",
1799
- height: "16px",
1800
- },
1801
- SkeletonTwo: {
1802
- width: "30%",
1803
- height: "34px",
1804
- },
1805
- SkeletonThree: {
1806
- width: "15%",
1807
- height: "24px",
1808
- },
1809
- };
1810
- const vanillaStyle$1 = `
1811
- :host {
1812
- display: block;
1813
- }
1814
- :host([hidden]): {
1815
- display: none;
1816
- }
1817
-
1818
-
1819
- `;
1820
- const sheet$1 = createStyleSheet(style$1);
1821
- const styleString$1 = sheet$1.toString();
1822
- function WidgetCodeVerificationView(props) {
1823
- const { states, refs, callbacks, text } = props;
1824
- const resendCodeText = intl.formatMessage({
1825
- id: "resendCodeText",
1826
- defaultMessage: text.resendCodeText,
1827
- }, {
1828
- resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
1829
- e.preventDefault();
1830
- callbacks.resendEmail();
1831
- } }, text.resendCodeLabel)),
1832
- });
1833
- const codeResentSuccessfully = intl.formatMessage({
1834
- id: "codeResentSuccessfully",
1835
- defaultMessage: text.codeResentSuccessfullyText,
1836
- }, {
1837
- email: states.email,
1838
- });
1839
- const inputClass = states.verifyFailed
1840
- ? sheet$1.classes.CodeInputError
1841
- : sheet$1.classes.CodeInput;
1842
- return (h("div", { part: "sqm-base" },
1843
- h("style", { type: "text/css" },
1844
- vanillaStyle$1,
1845
- styleString$1),
1846
- h("div", { class: sheet$1.classes.Wrapper },
1847
- h("div", { class: sheet$1.classes.HeaderContainer },
1848
- h(TextSpanView, { type: "p" }, intl.formatMessage({
1849
- id: `emailHeaderText`,
1850
- defaultMessage: states.verifyFailed
1851
- ? text.reverifyCodeHeaderText
1852
- : text.verifyCodeHeaderText,
1853
- }, { email: states.email }))),
1854
- states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
1855
- h("b", null, codeResentSuccessfully))),
1856
- h("div", { class: sheet$1.classes.InputsContainer },
1857
- h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
1858
- h("sl-input", { class: inputClass, name: "code" }),
1859
- h("sl-input", { class: inputClass, name: "code" }),
1860
- h("sl-input", { class: inputClass, name: "code" }),
1861
- h("sl-input", { class: inputClass, name: "code" }),
1862
- h("sl-input", { class: inputClass, name: "code" }),
1863
- h("sl-input", { class: inputClass, name: "code" })),
1864
- states.verifyFailed && (h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
1865
- 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)),
1866
- h("div", { class: sheet$1.classes.FooterContainer },
1867
- h(TextSpanView, { type: "p" }, resendCodeText)))));
1868
- }
1869
-
1870
- const VerifyEmailWithCodeMutation = dist.gql `
1871
- mutation submitImpactPublisherEmail2FACode(
1872
- $user: UserIdInput!
1873
- $code: String!
1874
- ) {
1875
- submitImpactPublisherEmail2FACode(user: $user, code: $code) {
1876
- verifiedEmail
1877
- accessKey
1878
- }
1879
- }
1880
- `;
1881
- function useWidgetCodeVerification(props) {
1882
- const host = l();
1883
- const [_, setShowCode] = Pn(SHOW_CODE_NAMESPACE);
1884
- const email = Fn(VERIFICATION_EMAIL_NAMESPACE);
1885
- const [emailSent, setEmailSent] = useState(false);
1886
- const [emailResent, setEmailResent] = useState(false);
1887
- const [codeRef, setCodeRef] = useState(null);
1888
- const [validationError, setValidationError] = useState(false);
1889
- const [emailError, setEmailError] = useState(false);
1890
- const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail();
1891
- useEffect(() => {
1892
- if (!codeRef)
1893
- return;
1894
- const slInputs = codeRef.querySelectorAll("sl-input");
1895
- const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1896
- codeElements.forEach((element, idx) => {
1897
- element.addEventListener("focus", (e) => {
1898
- e.target.select();
1899
- });
1900
- element.addEventListener("keydown", (e) => {
1901
- if (e.key === "Backspace" && e.target.value === "") {
1902
- codeElements[Math.max(0, idx - 1)].focus();
1903
- }
1904
- });
1905
- element.addEventListener("input", (e) => {
1906
- const input = e.data;
1907
- if (!input)
1908
- return;
1909
- if (idx === codeElements.length - 1) {
1910
- e.target.value = input.slice(0, 1);
1911
- return;
1912
- }
1913
- if (input.length > 1) {
1914
- const rest = input.slice(1);
1915
- e.target.value = input.slice(0, 1);
1916
- codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
1917
- inputType: "insertFromPaste",
1918
- data: rest,
1919
- }));
1920
- }
1921
- codeElements[idx + 1].focus();
1922
- });
1923
- });
1924
- }, [codeRef]);
1925
- const reset = () => {
1926
- setShowCode(false);
1927
- setValidationError(false);
1928
- };
1929
- const resendEmail = async () => {
1930
- // UI should only allow this to be called if initialized, but checking just in case
1931
- if (!initialized)
1932
- return;
1933
- const result = await sendEmail();
1934
- if (!result) {
1935
- setEmailError(true);
1936
- return;
1937
- }
1938
- if (emailSent)
1939
- setEmailResent(true);
1940
- setEmailSent(true);
1941
- };
1942
- const submitCode = async () => {
1943
- const slInputs = codeRef.querySelectorAll("sl-input");
1944
- const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1945
- if (codeElements.find((el) => !el.value)) {
1946
- setValidationError(true);
1947
- return;
1948
- }
1949
- let code = "";
1950
- codeElements.forEach((element) => {
1951
- code = `${code}${element.value}`;
1952
- });
1953
- // UI should only allow this to be called if initialized, but checking just in case
1954
- if (!initialized)
1955
- return;
1956
- setValidationError(false);
1957
- const res = await verifyEmail(code);
1958
- if (res === null || res === void 0 ? void 0 : res.success) {
1959
- props.onVerification(res.accessKey);
1960
- reset();
1961
- }
1962
- else {
1963
- setValidationError(true);
1964
- }
1965
- };
1966
- useEffect(() => {
1967
- // Wait for mutations to be determined from user lookup
1968
- if (!initialized)
1969
- return;
1970
- // email should already exist if user has completed email-verification
1971
- if (!email)
1972
- resendEmail();
1973
- else
1974
- setEmailSent(true);
1975
- }, [initialized]);
1976
- return {
1977
- refs: {
1978
- codeWrapperRef: setCodeRef,
1979
- },
1980
- states: {
1981
- email: verificationEmail,
1982
- emailResent,
1983
- resendError: sendErrors || verifyErrors,
1984
- initialiseLoading: !initialized,
1985
- loading: sendLoading || verifyLoading,
1986
- verifyFailed: !!validationError,
1987
- },
1988
- callbacks: {
1989
- resendEmail,
1990
- submitCode,
1991
- },
1992
- text: props.getTextProps(),
1993
- };
1994
- }
1995
-
1996
- const WidgetCodeVerification = class {
1997
- constructor(hostRef) {
1998
- registerInstance(this, hostRef);
1999
- /**
2000
- * @uiName Verify code widget header text
2001
- */
2002
- this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2003
- /**
2004
- * @uiName Reverify code widget header text
2005
- */
2006
- this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2007
- /**
2008
- * Text displayed under verify button
2009
- * @uiName Resend code text
2010
- */
2011
- this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
2012
- /**
2013
- * The link that appears in the resend code link
2014
- * @uiName Resend code label
2015
- */
2016
- this.resendCodeLabel = "Resend code";
2017
- /**
2018
- * Link text displayed under verify button
2019
- * @uiName Resend code text
2020
- */
2021
- this.codeResentSuccessfullyText = "Another code has been sent to {email}";
2022
- /**
2023
- * Error text displayed under verification input
2024
- * @uiName Invalid code text
2025
- */
2026
- this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
2027
- /**
2028
- * @uiName Verify code button text
2029
- */
2030
- this.verifyText = "Verify";
2031
- /**
2032
- * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
2033
- * @uiName Network error message
2034
- */
2035
- this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
2036
- h$1(this);
2037
- }
2038
- disconnectedCallback() { }
2039
- getTextProps() {
2040
- return getProps(this);
2041
- }
2042
- render() {
2043
- const props = isDemo()
2044
- ? useDemoWidgetCodeVerification(this)
2045
- : useWidgetCodeVerification(this);
2046
- return h(WidgetCodeVerificationView, Object.assign({}, props));
2047
- }
2048
- };
2049
- function useDemoWidgetCodeVerification(props) {
2050
- const [emailResent, setEmailResent] = useState(false);
2051
- const setVerifiedContext = En(VERIFICATION_PARENT_NAMESPACE);
2052
- return cjs({
2053
- states: {
2054
- loading: false,
2055
- email: "test@example.com",
2056
- emailResent,
2057
- resendError: false,
2058
- verifyFailed: false,
2059
- },
2060
- refs: {
2061
- codeWrapperRef: () => { },
2062
- },
2063
- callbacks: {
2064
- resendEmail: async () => setEmailResent(true),
2065
- submitCode: async () => setVerifiedContext(true),
2066
- },
2067
- text: props.getTextProps(),
2068
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2069
- }
2070
-
2071
1624
  const GET_TAX_DOCUMENT = dist.gql `
2072
1625
  mutation createImpactPublisherTaxDocument(
2073
1626
  $vars: CreateImpactPublisherTaxDocumentInput!
@@ -2225,7 +1778,7 @@ function getDocumentType(p) {
2225
1778
  return undefined;
2226
1779
  }
2227
1780
 
2228
- const style$2 = {
1781
+ const style$1 = {
2229
1782
  DocusignStatusContainer: {
2230
1783
  width: "100%",
2231
1784
  minHeight: "600px",
@@ -2252,13 +1805,13 @@ const style$2 = {
2252
1805
  },
2253
1806
  },
2254
1807
  };
2255
- const sheet$2 = createStyleSheet(style$2);
2256
- const styleString$2 = sheet$2.toString();
1808
+ const sheet$1 = createStyleSheet(style$1);
1809
+ const styleString$1 = sheet$1.toString();
2257
1810
  const DocusignExpiredView = (props) => {
2258
- const { classes } = sheet$2;
1811
+ const { classes } = sheet$1;
2259
1812
  const { text } = props;
2260
1813
  return (h("div", null,
2261
- h("style", { type: "text/css" }, styleString$2),
1814
+ h("style", { type: "text/css" }, styleString$1),
2262
1815
  h("div", { class: classes.DocusignStatusContainer },
2263
1816
  h("sl-icon", { style: {
2264
1817
  width: "50px",
@@ -2270,10 +1823,10 @@ const DocusignExpiredView = (props) => {
2270
1823
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2271
1824
  };
2272
1825
  const DocusignErrorView = (props) => {
2273
- const { classes } = sheet$2;
1826
+ const { classes } = sheet$1;
2274
1827
  const { text } = props;
2275
1828
  return (h("div", null,
2276
- h("style", { type: "text/css" }, styleString$2),
1829
+ h("style", { type: "text/css" }, styleString$1),
2277
1830
  h("div", { class: classes.DocusignStatusContainer },
2278
1831
  h("sl-icon", { style: {
2279
1832
  width: "50px",
@@ -2285,14 +1838,14 @@ const DocusignErrorView = (props) => {
2285
1838
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2286
1839
  };
2287
1840
  const DocusignLoadingView = () => {
2288
- const { classes } = sheet$2;
1841
+ const { classes } = sheet$1;
2289
1842
  return (h("div", null,
2290
- h("style", { type: "text/css" }, styleString$2),
1843
+ h("style", { type: "text/css" }, styleString$1),
2291
1844
  h("div", { class: classes.DocusignStatusContainer },
2292
1845
  h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
2293
1846
  };
2294
1847
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
2295
- const { classes } = sheet$2;
1848
+ const { classes } = sheet$1;
2296
1849
  const [iFrameHeight, setiFrameHeight] = useState("100%");
2297
1850
  const allowedDomains = [
2298
1851
  "referralsaasquatch.com",
@@ -2325,12 +1878,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2325
1878
  return h(DocusignExpiredView, { text: text });
2326
1879
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
2327
1880
  return (h("div", { style: { height: iFrameHeight } },
2328
- h("style", { type: "text/css" }, styleString$2),
1881
+ h("style", { type: "text/css" }, styleString$1),
2329
1882
  h("div", { class: classes.IFrameContainer },
2330
1883
  h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
2331
1884
  };
2332
1885
 
2333
- const style$3 = {
1886
+ const style$2 = {
2334
1887
  FormWrapper: {
2335
1888
  display: "flex",
2336
1889
  justifyContent: "flex-start",
@@ -2420,9 +1973,9 @@ const style$3 = {
2420
1973
  fontSize: "var(--sl-font-size-medium)",
2421
1974
  },
2422
1975
  };
2423
- const sheet$3 = createStyleSheet(style$3);
2424
- const styleString$3 = sheet$3.toString();
2425
- const vanillaStyle$2 = `
1976
+ const sheet$2 = createStyleSheet(style$2);
1977
+ const styleString$2 = sheet$2.toString();
1978
+ const vanillaStyle$1 = `
2426
1979
  :host{
2427
1980
  display: block;
2428
1981
  }
@@ -2443,11 +1996,11 @@ const vanillaStyle$2 = `
2443
1996
  const DocusignFormView = (props) => {
2444
1997
  var _a;
2445
1998
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2446
- const { classes } = sheet$3;
1999
+ const { classes } = sheet$2;
2447
2000
  return (h("div", { class: classes.Container },
2448
2001
  h("style", { type: "text/css" },
2449
- styleString$3,
2450
- vanillaStyle$2),
2002
+ styleString$2,
2003
+ vanillaStyle$1),
2451
2004
  h("div", { class: classes.TextContainer },
2452
2005
  h("div", null,
2453
2006
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -2457,7 +2010,7 @@ const DocusignFormView = (props) => {
2457
2010
  h("h3", null, text.taxForm),
2458
2011
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2459
2012
  states.loadingError && (h("div", null,
2460
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
2013
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$2.classes.ErrorAlertContainer },
2461
2014
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2462
2015
  h("strong", null, text.error.loadingErrorAlertHeader),
2463
2016
  h("br", null),
@@ -2467,7 +2020,7 @@ const DocusignFormView = (props) => {
2467
2020
  }, {
2468
2021
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2469
2022
  })))),
2470
- ((_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 },
2023
+ ((_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$2.classes.ErrorAlertContainer },
2471
2024
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2472
2025
  h("strong", null, text.error.generalTitle),
2473
2026
  h("br", null),
@@ -2687,7 +2240,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2687
2240
  } }, 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")))));
2688
2241
  };
2689
2242
 
2690
- const style$4 = {
2243
+ const style$3 = {
2691
2244
  FormWrapper: {
2692
2245
  display: "flex",
2693
2246
  justifyContent: "flex-start",
@@ -2819,9 +2372,9 @@ const style$4 = {
2819
2372
  },
2820
2373
  },
2821
2374
  };
2822
- const sheet$4 = createStyleSheet(style$4);
2823
- const styleString$4 = sheet$4.toString();
2824
- const vanillaStyle$3 = `
2375
+ const sheet$3 = createStyleSheet(style$3);
2376
+ const styleString$3 = sheet$3.toString();
2377
+ const vanillaStyle$2 = `
2825
2378
  :host{
2826
2379
  display: block;
2827
2380
  }
@@ -2848,11 +2401,11 @@ const vanillaStyle$3 = `
2848
2401
  const IndirectTaxFormView = (props) => {
2849
2402
  var _a;
2850
2403
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2851
- const { classes } = sheet$4;
2404
+ const { classes } = sheet$3;
2852
2405
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2853
2406
  h("style", { type: "text/css" },
2854
- styleString$4,
2855
- vanillaStyle$3),
2407
+ styleString$3,
2408
+ vanillaStyle$2),
2856
2409
  h("div", { class: classes.TextContainer },
2857
2410
  h("div", null,
2858
2411
  !states.hideSteps && (h("p", null,
@@ -2865,7 +2418,7 @@ const IndirectTaxFormView = (props) => {
2865
2418
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2866
2419
  h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2867
2420
  states.loadingError && (h("div", null,
2868
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
2421
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.AlertContainer },
2869
2422
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2870
2423
  h("strong", null, text.error.loadingErrorAlertHeader),
2871
2424
  h("br", null),
@@ -2875,7 +2428,7 @@ const IndirectTaxFormView = (props) => {
2875
2428
  }, {
2876
2429
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2877
2430
  })))),
2878
- ((_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 },
2431
+ ((_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.AlertContainer },
2879
2432
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2880
2433
  h("strong", null, text.error.generalTitle),
2881
2434
  h("br", null),
@@ -2885,7 +2438,7 @@ const IndirectTaxFormView = (props) => {
2885
2438
  }, {
2886
2439
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2887
2440
  }))),
2888
- states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2441
+ states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$3.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
2889
2442
  h("sl-icon", { slot: "icon", name: "info-circle" }),
2890
2443
  h("strong", null, text.isPartnerAlertHeader),
2891
2444
  h("br", null),
@@ -3364,7 +2917,7 @@ const IndirectTaxForm = class {
3364
2917
  };
3365
2918
  function useDemoIndirectTaxForm(props) {
3366
2919
  const setStep = En(TAX_CONTEXT_NAMESPACE);
3367
- const [option, setOption] = useState(null);
2920
+ const [option, setOption] = useState("otherRegion");
3368
2921
  const [demoFormState, setDemoFormState] = useState({});
3369
2922
  return cjs({
3370
2923
  states: {
@@ -3758,18 +3311,6 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3758
3311
  return demoProps;
3759
3312
  }
3760
3313
 
3761
- const InvoiceTableDataCell = class {
3762
- constructor(hostRef) {
3763
- registerInstance(this, hostRef);
3764
- this.ignored = true;
3765
- h$1(this);
3766
- }
3767
- disconnectedCallback() { }
3768
- render() {
3769
- return this.data;
3770
- }
3771
- };
3772
-
3773
3314
  const InvoiceTableDataColumn = class {
3774
3315
  constructor(hostRef) {
3775
3316
  registerInstance(this, hostRef);
@@ -3788,23 +3329,6 @@ const InvoiceTableDataColumn = class {
3788
3329
  }
3789
3330
  };
3790
3331
 
3791
- const RewardTableDateCell = class {
3792
- constructor(hostRef) {
3793
- registerInstance(this, hostRef);
3794
- this.ignored = true;
3795
- this.locale = "en";
3796
- h$1(this);
3797
- }
3798
- disconnectedCallback() { }
3799
- render() {
3800
- var _a, _b;
3801
- const date = !this.date
3802
- ? "-"
3803
- : (_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);
3804
- return date;
3805
- }
3806
- };
3807
-
3808
3332
  const InvoiceTableDateColumn = class {
3809
3333
  constructor(hostRef) {
3810
3334
  registerInstance(this, hostRef);
@@ -3823,21 +3347,6 @@ const InvoiceTableDateColumn = class {
3823
3347
  }
3824
3348
  };
3825
3349
 
3826
- const InvoiceTableDownloadCell = class {
3827
- constructor(hostRef) {
3828
- registerInstance(this, hostRef);
3829
- this.ignored = true;
3830
- h$1(this);
3831
- }
3832
- disconnectedCallback() { }
3833
- render() {
3834
- const vanillaStyle = `svg:hover, svg:hover * {
3835
- cursor: pointer;
3836
- }`;
3837
- 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: "var(--sqm-text-subdued)" }), 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: "var(--sqm-text-subdued)" }))))));
3838
- }
3839
- };
3840
-
3841
3350
  const InvoiceTableGenericColumn = class {
3842
3351
  constructor(hostRef) {
3843
3352
  registerInstance(this, hostRef);
@@ -3860,7 +3369,7 @@ const PayPalIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width:
3860
3369
  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" }),
3861
3370
  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" })));
3862
3371
 
3863
- const style$5 = {
3372
+ const style$4 = {
3864
3373
  CardContainer: {
3865
3374
  display: "grid",
3866
3375
  gridTemplateColumns: "1fr",
@@ -3994,7 +3503,7 @@ const style$5 = {
3994
3503
  },
3995
3504
  };
3996
3505
  function PayoutDetailsCardView(props) {
3997
- const sheet = createStyleSheet(style$5);
3506
+ const sheet = createStyleSheet(style$4);
3998
3507
  const styleString = sheet.toString();
3999
3508
  const { classes } = sheet;
4000
3509
  const { states, text } = props;
@@ -4124,6 +3633,10 @@ const PayoutDetailsCard = class {
4124
3633
  * @uiName Payout missing information subtext
4125
3634
  */
4126
3635
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
3636
+ /**
3637
+ * @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
3638
+ */
3639
+ this.stateController = "{}";
4127
3640
  h$1(this);
4128
3641
  }
4129
3642
  disconnectedCallback() { }
@@ -4161,1220 +3674,7 @@ function useDemoPayoutDetailsCard(props) {
4161
3674
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
4162
3675
  }
4163
3676
 
4164
- const TableCell = class {
4165
- constructor(hostRef) {
4166
- registerInstance(this, hostRef);
4167
- /** @uiName Column span */
4168
- this.colspan = 1;
4169
- /** @uiName Padding */
4170
- this.padding = "15px 10px";
4171
- }
4172
- render() {
4173
- return (h(Host, { style: { display: "contents" } }, h("td", { colSpan: this.colspan, style: { padding: this.padding } }, h("slot", null))));
4174
- }
4175
- };
4176
-
4177
- const TableRow = class {
4178
- constructor(hostRef) {
4179
- registerInstance(this, hostRef);
4180
- /**
4181
- * @uiName Border
4182
- */
4183
- this.border = "1px solid #EAEAEA";
4184
- }
4185
- render() {
4186
- return (h(Host, { style: { display: "contents" } }, h("tr", { style: { border: this.border } }, h("slot", null))));
4187
- }
4188
- };
4189
-
4190
- function getCurrentStep(user) {
4191
- var _a, _b;
4192
- if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
4193
- return "/1";
4194
- }
4195
- const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
4196
- // If they do have a required document, look at current document
4197
- if (requiredTaxDocumentType && !currentTaxDocument)
4198
- return "/3";
4199
- if (!withdrawalSettings && brandedSignup)
4200
- return "/4";
4201
- return "/dashboard";
4202
- }
4203
- function useTaxAndCash() {
4204
- var _a, _b, _c, _d, _e;
4205
- const host = _();
4206
- const user = J();
4207
- const locale = L();
4208
- // State for current step of form
4209
- const [step, setStep] = In({
4210
- namespace: TAX_CONTEXT_NAMESPACE,
4211
- initialValue: "/loading",
4212
- });
4213
- // State for when to hide steps, or override certain actions
4214
- const [context, _setContext] = In({
4215
- namespace: TAX_FORM_CONTEXT_NAMESPACE,
4216
- initialValue: {},
4217
- });
4218
- // State to carry user form information into step 2
4219
- const [userFormContext, _setUserFormContext] = In({
4220
- namespace: USER_FORM_CONTEXT_NAMESPACE,
4221
- initialValue: {
4222
- firstName: undefined,
4223
- lastName: undefined,
4224
- email: undefined,
4225
- countryCode: undefined,
4226
- currency: undefined,
4227
- },
4228
- });
4229
- const [_currenciesContext, setCurrenciesContext] = In({
4230
- namespace: CURRENCIES_NAMESPACE,
4231
- initialValue: [],
4232
- });
4233
- const [_countriesContext, _setCountriesContext] = In({
4234
- namespace: COUNTRIES_NAMESPACE,
4235
- initialValue: [],
4236
- });
4237
- const [_sortedCountriesContext, setSortedCountriesContext] = In({
4238
- namespace: SORTED_COUNTRIES_NAMESPACE,
4239
- initialValue: [],
4240
- });
4241
- const { data, errors } = Sn({
4242
- namespace: USER_QUERY_NAMESPACE,
4243
- query: GET_USER,
4244
- skip: !user,
4245
- options: {
4246
- batch: false,
4247
- },
4248
- });
4249
- 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) ||
4250
- userFormContext.countryCode;
4251
- Sn({
4252
- namespace: COUNTRIES_QUERY_NAMESPACE,
4253
- query: GET_COUNTRIES,
4254
- skip: !user,
4255
- });
4256
- const { data: financeNetworkData, refetch } = Sn({
4257
- namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
4258
- query: GET_FINANCE_NETWORK_SETTINGS,
4259
- skip: !user,
4260
- variables: {
4261
- filter: getFinanceNetworkFilter(),
4262
- },
4263
- });
4264
- const { data: currenciesData } = Sn({
4265
- namespace: CURRENCIES_QUERY_NAMESPACE,
4266
- query: GET_CURRENCIES,
4267
- skip: !user,
4268
- variables: {
4269
- locale,
4270
- },
4271
- });
4272
- const supportedCurrencies = useMemo(() => {
4273
- var _a, _b;
4274
- // Filter out any currencies not supported by finance network settings
4275
- 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) => {
4276
- var _a, _b;
4277
- 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);
4278
- // Currency not in supported list
4279
- if (!currency)
4280
- return agg;
4281
- // Currency already added to list
4282
- if (agg.find((currency) => currency.currencyCode === settings.currency))
4283
- return agg;
4284
- // Currency not supported by selected country
4285
- if (userFormContext.countryCode &&
4286
- settings.countryCode !== countryCode)
4287
- return agg;
4288
- return [...agg, currency];
4289
- }, []);
4290
- return allValidCurrencies;
4291
- }, [financeNetworkData, countryCode]);
4292
- const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
4293
- const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
4294
- const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
4295
- // filter out any duplicate countries and null countryCode
4296
- const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
4297
- const _topCountries = ["CA", "GB", "US"];
4298
- const sortedCountries = useMemo(() => Array.from(availableCountries)
4299
- .map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
4300
- .sort(sortByName)
4301
- .reduce((prev, countryObj) => {
4302
- if (_topCountries.includes(countryObj.countryCode))
4303
- return [countryObj, ...prev];
4304
- return [...prev, countryObj];
4305
- }, []), [availableCountries]);
4306
- useEffect(() => {
4307
- if (sortedCountries)
4308
- setSortedCountriesContext(sortedCountries);
4309
- }, [sortedCountries]);
4310
- useEffect(() => {
4311
- if (supportedCurrencies)
4312
- setCurrenciesContext(supportedCurrencies);
4313
- }, [supportedCurrencies]);
4314
- useEffect(() => {
4315
- if (errors) {
4316
- setStep("/error");
4317
- return;
4318
- }
4319
- if (!host || !user)
4320
- return;
4321
- if (data) {
4322
- const user = data === null || data === void 0 ? void 0 : data.user;
4323
- if (!user || step !== "/loading")
4324
- return;
4325
- const currentStep = getCurrentStep(user);
4326
- setStep(currentStep);
4327
- }
4328
- }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
4329
- function getFinanceNetworkFilter() {
4330
- var _a, _b, _c;
4331
- if (step === "/1")
4332
- return {};
4333
- if (step === "/4")
4334
- 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 };
4335
- if (countryCode)
4336
- return {
4337
- countryCode_eq: countryCode,
4338
- };
4339
- return {};
4340
- }
4341
- return {
4342
- step,
4343
- setStep,
4344
- context,
4345
- namespace: Mn(TAX_CONTEXT_NAMESPACE),
4346
- loading: step === "/loading",
4347
- };
4348
- }
4349
-
4350
- const TaxAndCashMonolith = class {
4351
- constructor(hostRef) {
4352
- registerInstance(this, hostRef);
4353
- /*---------------------------------------------------------------------------------
4354
- !IMPORTANT!: Make sure to also change the prop names in the respective component
4355
- -----------------------------------------------------------------------------------*/
4356
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4357
- STEP 1 PROPS:
4358
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4359
- /**
4360
- * @uiName First name field label
4361
- * @uiGroup Step 1 Properties
4362
- */
4363
- this.step1_firstName = "First name";
4364
- /**
4365
- * @uiName Last name field label
4366
- * @uiGroup Step 1 Properties
4367
- */
4368
- this.step1_lastName = "Last name";
4369
- /**
4370
- * @uiName Email field label
4371
- * @uiGroup Step 1 Properties
4372
- */
4373
- this.step1_email = "Email";
4374
- /**
4375
- * @uiName Country field label
4376
- * @uiGroup Step 1 Properties
4377
- */
4378
- this.step1_country = "Country";
4379
- /**
4380
- * @uiName Phone number field label
4381
- * @uiGroup Step 1 Properties
4382
- */
4383
- this.step1_phoneNumber = "Phone number";
4384
- /**
4385
- * @uiName Address field label
4386
- * @uiGroup Step 1 Properties
4387
- */
4388
- this.step1_address = "Address";
4389
- /**
4390
- * @uiName City field label
4391
- * @uiGroup Step 1 Properties
4392
- */
4393
- this.step1_city = "City";
4394
- /**
4395
- * @uiName State field label for states
4396
- * @uiGroup Step 1 Properties
4397
- */
4398
- this.step1_state = "State";
4399
- /**
4400
- * @uiName State field label for provinces
4401
- * @uiGroup Step 1 Properties
4402
- */
4403
- this.step1_province = "Province";
4404
- /**
4405
- * @uiName State field label for regions
4406
- * @uiGroup Step 1 Properties
4407
- */
4408
- this.step1_region = "Region";
4409
- /**
4410
- * @uiName Postal code field label
4411
- * @uiGroup Step 1 Properties
4412
- */
4413
- this.step1_postalCode = "Postal code";
4414
- /**
4415
- * @uiName Currency field label
4416
- * @uiGroup Step 1 Properties
4417
- */
4418
- this.step1_currency = "Currency";
4419
- /**
4420
- * @uiName Currency field help text
4421
- * @uiGroup Step 1 Properties
4422
- */
4423
- this.step1_currencyHelpText = "Choose your preferred payout currency";
4424
- /**
4425
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
4426
- * @uiName Terms and conditions checkbox
4427
- * @uiGroup Step 1 Properties
4428
- */
4429
- this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
4430
- /**
4431
- * @uiName Step 1 title
4432
- * @uiGroup Step 1 Properties
4433
- */
4434
- this.step1_personalInformation = "Personal Information";
4435
- /**
4436
- * The link text that appears in the terms and conditions checkbox
4437
- * @uiName Terms and conditions text
4438
- * @uiGroup Step 1 Properties
4439
- * @uiWidget textArea
4440
- */
4441
- this.step1_termsAndConditionsLabel = "terms and conditions";
4442
- /**
4443
- * The link that appears in the terms and conditions checkbox
4444
- * @uiName Terms and conditions link
4445
- * @uiGroup Step 1 Properties
4446
- */
4447
- this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
4448
- /**
4449
- * Placeholder text displayed in the currency search dropdown
4450
- * @uiName Currency field placeholder text
4451
- * @uiGroup Step 1 Properties
4452
- */
4453
- this.step1_searchForCurrencyText = "Search for currency..";
4454
- /**
4455
-
4456
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4457
- STEP 2 PROPS:
4458
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4459
- /**
4460
- * @uiName Step 2 title
4461
- * @uiGroup Step 2 Properties
4462
- */
4463
- this.step2_indirectTax = "Indirect Tax";
4464
- /**
4465
- * Displayed under the title of this step.
4466
- * @uiName Step 2 description
4467
- * @uiGroup Step 2 Properties
4468
- * @uiWidget textArea
4469
- */
4470
- 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.";
4471
- /**
4472
- * Displayed with indirect tax registration options.
4473
- * @uiName Indirect tax details section title
4474
- * @uiGroup Step 2 Properties
4475
- */
4476
- this.step2_indirectTaxDetails = "Indirect tax details";
4477
- /**
4478
- * @uiName Registered for indirect tax option
4479
- * @uiGroup Step 2 Properties
4480
- * @uiWidget textArea
4481
- *
4482
- */
4483
- this.step2_otherRegion = "Registered for indirect tax";
4484
- /**
4485
- * Selecting this option will display fields to enter indirect tax details.
4486
- * @uiName Registered for indirect tax option description
4487
- * @uiGroup Step 2 Properties
4488
- */
4489
- this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
4490
- /**
4491
- * @uiName Not registered for indirect tax option
4492
- * @uiGroup Step 2 Properties
4493
- * @uiWidget textArea
4494
- */
4495
- this.step2_notRegistered = "Not registered for indirect tax";
4496
- /**
4497
- * Participants based in the US are considered not registered.
4498
- * @uiName Not registered for indirect tax option description
4499
- * @uiGroup Step 2 Properties
4500
- */
4501
- this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
4502
- /**
4503
- * @uiName Region of indirect tax field label
4504
- * @uiGroup Step 2 Properties
4505
- */
4506
- this.step2_selectedRegion = "Country / region of indirect tax";
4507
- /**
4508
- * @uiName Indirect tax number field label
4509
- * @uiGroup Step 2 Properties
4510
- */
4511
- this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
4512
- /**
4513
- * @uiName Province field label
4514
- * @uiGroup Step 2 Properties
4515
- */
4516
- this.step2_province = "Province";
4517
- /**
4518
- * @uiName Missing indirect tax number error message
4519
- * @uiGroup Step 2 Properties
4520
- */
4521
- 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";
4522
- /**
4523
- * Displayed to participants registered for QST.
4524
- * @uiName QST number field label
4525
- * @uiGroup Step 2 Properties
4526
- */
4527
- this.step2_qstNumber = "QST number";
4528
- /**
4529
- * Displayed to participants registered for indirect tax in Quebec, Canada.
4530
- * @uiName QST tax checkbox
4531
- * @uiGroup Step 2 Properties
4532
- */
4533
- this.step2_isRegisteredQST = "I am registered for QST Tax";
4534
- /**
4535
- * Displayed to participants registered for indirect tax in Spain.
4536
- * @uiName Spain income tax checkbox
4537
- * @uiGroup Step 2 Properties
4538
- * @uiWidget textArea
4539
- */
4540
- 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.";
4541
- /**
4542
- * Displayed to participants registered in Spain.
4543
- * @uiName Sub-region of indirect tax field label
4544
- * @uiGroup Step 2 Properties
4545
- */
4546
- this.step2_subRegion = "Sub-region";
4547
- /**
4548
- * @uiName Income tax field label
4549
- * @uiGroup Step 2 Properties
4550
- */
4551
- this.step2_subRegionTaxNumberLabel = "Income Tax Number";
4552
- /**
4553
- * Communicate that after this step, only Support can change personal and indirect tax information.
4554
- * @uiName Submission confirmation alert
4555
- * @uiGroup Step 2 Properties
4556
- * @uiWidget textArea
4557
- */
4558
- 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.";
4559
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4560
- STEP 3 PROPS:
4561
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4562
- /**
4563
- * @uiName Step 3 title
4564
- * @uiGroup Step 3 Properties
4565
- */
4566
- this.step3_taxForm = "Tax form";
4567
- /**
4568
- * Display the type of tax form that the participant must submit.
4569
- * @uiName Tax form name
4570
- * @uiGroup Step 3 Properties
4571
- */
4572
- this.step3_taxFormLabel = "{documentType} Tax Form";
4573
- /**
4574
- * @uiName Participant type field label
4575
- * @uiGroup Step 3 Properties
4576
- */
4577
- this.step3_participantType = "Participant type";
4578
- /**
4579
- * An option for the participant type field. Used to determine which W-8 form is required.
4580
- * @uiName Business representative participant type label
4581
- * @uiGroup Step 3 Properties
4582
- */
4583
- this.step3_businessEntity = "I represent a business";
4584
- /**
4585
- * An option for the participant type field. Used to determine which W-8 form is required.
4586
- * @uiName Individual participant type label
4587
- * @uiGroup Step 3 Properties
4588
- */
4589
- this.step3_individualParticipant = "I am an individual participant";
4590
- /**
4591
- * Displayed at the top of the page to participants based in the US.
4592
- * @uiName W-9 tax form description
4593
- * @uiGroup Step 3 Properties
4594
- * @uiWidget textArea
4595
- */
4596
- this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
4597
- /**
4598
- * Displayed at the top of the page to individuals joining a US program who reside outside the country.
4599
- * @uiName W-8 BEN tax form description
4600
- * @uiGroup Step 3 Properties
4601
- * @uiWidget textArea
4602
- */
4603
- this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
4604
- /**
4605
- * Displayed at the top of the page to participants representing a business.
4606
- * @uiName W-8 BEN-E tax form description
4607
- * @uiGroup Step 3 Properties
4608
- * @uiWidget textArea
4609
- */
4610
- this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";
4611
- /**
4612
- * This appears inside the Docusign frame.
4613
- * @uiName Docusign session expired message
4614
- * @uiGroup Step 3 Properties
4615
- * @uiWidget textArea
4616
- */
4617
- 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.";
4618
- /**
4619
- * Remind participants their session will time out after 20 minutes of inactivity.
4620
- * @uiName Docusign timed session message
4621
- * @uiGroup Step 3 Properties
4622
- * @uiWidget textArea
4623
- */
4624
- this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
4625
- /**
4626
- * This appears inside the Docusign frame.
4627
- * @uiName Docusign form error message
4628
- * @uiGroup Step 3 Properties
4629
- * @uiWidget textArea
4630
- */
4631
- this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
4632
- /**
4633
- * @uiName Refresh page button label
4634
- * @uiGroup Step 3 Properties
4635
- */
4636
- this.step3_refreshButton = "Refresh Page";
4637
- /**
4638
- * @uiName Exit button text
4639
- * @uiGroup Step 3 Properties
4640
- */
4641
- this.step3_exitButton = "Exit";
4642
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4643
- STEP 4 PROPS:
4644
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4645
- /**
4646
- * @uiName Step 4 title
4647
- * @uiGroup Step 4 Properties
4648
- */
4649
- this.step4_taxAndPayouts = "Payouts";
4650
- /**
4651
- * @uiName Direct to bank payout option
4652
- * @uiGroup Step 4 Properties
4653
- */
4654
- this.step4_directlyToBankAccount = "Directly to my bank account";
4655
- /**
4656
- * @uiName PayPal payout option
4657
- * @uiGroup Step 4 Properties
4658
- */
4659
- this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
4660
- /**
4661
- * @uiName Threshold balance payment schedule option
4662
- * @uiGroup Step 4 Properties
4663
- */
4664
- this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
4665
- /**
4666
- * @uiName Fixed day payment schedule option
4667
- * @uiGroup Step 4 Properties
4668
- */
4669
- this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
4670
- /**
4671
- * Let the participant choose what day of the month they’ll get paid
4672
- * @uiName Payment day field label
4673
- * @uiGroup Step 4 Properties
4674
- */
4675
- this.step4_paymentDaySelectLabel = "Payment Day";
4676
- /**
4677
- * Participant use this field to select the balance at which they want to be paid
4678
- * @uiName Payment threshold field label
4679
- * @uiGroup Step 4 Properties
4680
- */
4681
- this.step4_paymentThresholdSelectLabel = "Payment threshold";
4682
- /**
4683
- * One of two payment day options
4684
- * @uiName First of month payday option
4685
- * @uiGroup Step 4 Properties
4686
- */
4687
- this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
4688
- /**
4689
- * One of two payment day options
4690
- * @uiName Fifteenth of month payday option
4691
- * @uiGroup Step 4 Properties
4692
- */
4693
- this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
4694
- /**
4695
- * @uiName Payment method section header
4696
- * @uiGroup Step 4 Properties
4697
- */
4698
- this.step4_paymentMethod = "Payment method";
4699
- /**
4700
- * @uiName Payment schedule section header
4701
- * @uiGroup Step 4 Properties
4702
- */
4703
- this.step4_paymentSchedule = "Payment schedule";
4704
- /**
4705
- * @uiName Payment method section description
4706
- * @uiGroup Step 4 Properties
4707
- */
4708
- this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
4709
- /**
4710
- * Displayed to participants who choose PayPal as their payout method
4711
- * @uiName PayPal email field label
4712
- * @uiGroup Step 4 Properties
4713
- */
4714
- this.step4_payPalInputLabel = "PayPal email";
4715
- /**
4716
- * @uiName Bank country field label
4717
- * @uiGroup Step 4 Properties
4718
- */
4719
- this.step4_bankLocationLabel = "Bank country location";
4720
- /**
4721
- * @uiName Beneficiary account field label
4722
- * @uiGroup Step 4 Properties
4723
- */
4724
- this.step4_beneficiaryAccountNameLabel = "Beneficiary account name";
4725
- /**
4726
- * @uiName Bank account type field label
4727
- * @uiGroup Step 4 Properties
4728
- */
4729
- this.step4_bankAccountTypeLabel = "Bank account type";
4730
- /**
4731
- * @uiName Checking account option
4732
- * @uiGroup Step 4 Properties
4733
- */
4734
- this.step4_checkingSelectItemLabel = "Checking";
4735
- /**
4736
- * Label text for the savings account type select item
4737
- * @uiName Savings account options
4738
- * @uiGroup Step 4 Properties
4739
- */
4740
- this.step4_savingsSelectItemLabel = "Savings";
4741
- /**
4742
- * @uiName Bank account number field label
4743
- * @uiGroup Step 4 Properties
4744
- */
4745
- this.step4_bankAccountNumberLabel = "Bank account number";
4746
- /**
4747
- * @uiName IBAN field label
4748
- * @uiGroup Step 4 Properties
4749
- */
4750
- this.step4_ibanLabel = "IBAN";
4751
- /**
4752
- * @uiName SWIFT code field label
4753
- * @uiGroup Step 4 Properties
4754
- */
4755
- this.step4_swiftCodeLabel = "SWIFT code";
4756
- /**
4757
- * @uiName Routing code field label
4758
- * @uiGroup Step 4 Properties
4759
- */
4760
- 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} }";
4761
- /**
4762
- * @uiName Bank name field label
4763
- * @uiGroup Step 4 Properties
4764
- */
4765
- this.step4_bankNameLabel = "Bank name";
4766
- /**
4767
- * @uiName Classification entity field label
4768
- * @uiGroup Step 4 Properties
4769
- */
4770
- this.step4_classificationEntityLabel = "Classification entity";
4771
- /**
4772
- * One of three options listed for the classification field
4773
- * @uiName Business classification option
4774
- * @uiGroup Step 4 Properties
4775
- */
4776
- this.step4_businessSelectItemLabel = "Business";
4777
- /**
4778
- * One of three options listed for the classification field
4779
- * @uiName Individual classification option
4780
- * @uiGroup Step 4 Properties
4781
- */
4782
- this.step4_individualSelectItemLabel = "Individual";
4783
- /**
4784
- * One of three options listed for the classification field
4785
- * @uiName Foreign classification option
4786
- * @uiGroup Step 4 Properties
4787
- */
4788
- this.step4_foreignSelectItemLabel = "Foreign";
4789
- /**
4790
- * @uiName Classification CPF field label
4791
- * @uiGroup Step 4 Properties
4792
- */
4793
- this.step4_classificationCPFLabel = "Classification CPF";
4794
- /**
4795
- * @uiName Patronymic name field label
4796
- * @uiGroup Step 4 Properties
4797
- */
4798
- this.step4_patronymicNameLabel = "Patronymic name";
4799
- /**
4800
- * @uiName VO code field label
4801
- * @uiGroup Step 4 Properties
4802
- */
4803
- this.step4_voCodeLabel = "VO code";
4804
- /**
4805
- * @uiName Agency code field label
4806
- * @uiGroup Step 4 Properties
4807
- */
4808
- this.step4_agencyCodeLabel = "Agency code";
4809
- /**
4810
- * @uiName Branch code field label
4811
- * @uiGroup Step 4 Properties
4812
- */
4813
- this.step4_branchCodeLabel = "Branch code";
4814
- /**
4815
- * Label text for the classification input field
4816
- * @uiName Classification field label
4817
- * @uiGroup Step 4 Properties
4818
- */
4819
- this.step4_classificationLabel = "Classification";
4820
- /**
4821
- * @uiName Taxpayer ID field label
4822
- * @uiGroup Step 4 Properties
4823
- */
4824
- this.step4_taxPayerIdLabel = "Beneficiary INN";
4825
- /**
4826
- * @uiName Bank address field label
4827
- * @uiGroup Step 4 Properties
4828
- */
4829
- this.step4_bankAddressLabel = "Bank address";
4830
- /**
4831
- * @uiName Bank city field label
4832
- * @uiGroup Step 4 Properties
4833
- */
4834
- this.step4_bankCityLabel = "Bank city";
4835
- /**
4836
- * @uiName Bank province/state field label
4837
- * @uiGroup Step 4 Properties
4838
- */
4839
- this.step4_bankStateLabel = "Bank Province / State";
4840
- /**
4841
- * @uiName Bank postal code field label
4842
- * @uiGroup Step 4 Properties
4843
- */
4844
- this.step4_bankPostalCodeLabel = "Bank postal code";
4845
- /**
4846
- * Default payment method to the participants’ bank account.
4847
- * @uiName EFT withdrawal payment method
4848
- * @uiGroup Step 4 Properties
4849
- */
4850
- this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
4851
- /**
4852
- * @uiName FX Wire Processing fee text
4853
- * @uiGroup Step 4 Properties
4854
- */
4855
- this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
4856
- /**
4857
- * @uiName Text for verify email dialog
4858
- * @uiGroup Step 4 Properties
4859
- */
4860
- this.step4_verifyEmailHeaderText = "Verify your email";
4861
- /**
4862
- * @uiName Verify code widget header text
4863
- * @uiGroup Step 4 Properties
4864
- */
4865
- this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
4866
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4867
- DASHBOARD PROPS:
4868
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4869
- /**
4870
- * @uiName Active tax form badge label
4871
- * @uiGroup Dashboard Properties
4872
- */
4873
- this.dashboard_statusTextActive = "Active";
4874
- /**
4875
- * @uiName Invalid tax form badge label
4876
- * @uiGroup Dashboard Properties
4877
- */
4878
- this.dashboard_statusTextNotActive = "Invalid Tax Form";
4879
- /**
4880
- * Displayed when the participant submitted their form but it is awaiting review.
4881
- *
4882
- * @uiName Not verified tax form badge label
4883
- * @uiGroup Dashboard Properties
4884
- */
4885
- this.dashboard_statusTextNotVerified = "Not Verified";
4886
- /**
4887
- * Additional text displayed next to the tax form's status badge
4888
- *
4889
- * @uiName Active W-9 description
4890
- * @uiGroup Dashboard Properties
4891
- */
4892
- this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
4893
- /**
4894
- * Additional text displayed next to the tax form's status badge.
4895
- *
4896
- * @uiName Active W-8 description
4897
- * @uiGroup Dashboard Properties
4898
- */
4899
- this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
4900
- /**
4901
- * Additional text displayed next to the tax form's status badge.
4902
- *
4903
- * @uiName Tax form in review description
4904
- * @uiGroup Dashboard Properties
4905
- */
4906
- this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
4907
- /**
4908
- * Part of the alert displayed at the top of the page.
4909
- *
4910
- * @uiName Inactive W-9 error message title
4911
- * @uiGroup Dashboard Properties
4912
- * @uiWidget textArea
4913
- */
4914
- this.dashboard_taxAlertHeaderNotActiveW9 = "Your W9 tax form has personal information that doesn’t match your profile";
4915
- /**
4916
- * Part of the alert displayed at the top of the page.
4917
- *
4918
- * @uiName Inactive W-8 error message title
4919
- * @uiGroup Dashboard Properties
4920
- * @uiWidget textArea
4921
- */
4922
- this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
4923
- /**
4924
- * Part of the alert displayed at the top of the page.
4925
- *
4926
- * @uiName Inactive W-9 error message description
4927
- * @uiGroup Dashboard Properties
4928
- * @uiWidget textArea
4929
- */
4930
- this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
4931
- /**
4932
- * Part of the alert displayed at the top of the page.
4933
- *
4934
- * @uiName Inactive W-8 error message description
4935
- * @uiGroup Dashboard Properties
4936
- */
4937
- 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.";
4938
- /**
4939
- * Additional text displayed next to the tax form's status badge.
4940
- *
4941
- * @uiName Invalid tax form description
4942
- * @uiGroup Dashboard Properties
4943
- * @uiWidget textArea
4944
- */
4945
- this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
4946
- /**
4947
- * @uiName Payout information section header
4948
- * @uiGroup Dashboard Properties
4949
- */
4950
- this.dashboard_bankingInformationSectionHeader = "Payout Information";
4951
- /**
4952
- * @uiName Tax document section header
4953
- * @uiGroup Dashboard Properties
4954
- */
4955
- this.dashboard_taxDocumentSectionHeader = "Tax documents";
4956
- /**
4957
- * Displayed under the tax document section header.
4958
- *
4959
- * @uiName Tax documents section description
4960
- * @uiGroup Dashboard Properties
4961
- */
4962
- this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
4963
- /**
4964
- * No other statuses or badges will be displayed in the tax form section in this case.
4965
- *
4966
- * @uiName Tax form not required text
4967
- * @uiGroup Dashboard Properties
4968
- * @uiWidget textArea
4969
- */
4970
- 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.";
4971
- /**
4972
- *
4973
- * @uiName Indirect tax section header
4974
- * @uiGroup Dashboard Properties
4975
- */
4976
- this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
4977
- /**
4978
- * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
4979
- *
4980
- * @uiName Canadian province of indirect tax
4981
- * @uiGroup Dashboard Properties
4982
- */
4983
- this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
4984
- /**
4985
- * If the participant is registered for indirect tax, display the country they’re registered in.
4986
- *
4987
- * @uiName Indirect tax country
4988
- * @uiGroup Dashboard Properties
4989
- */
4990
- this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
4991
- /**
4992
- * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
4993
- *
4994
- * @uiName Spanish region of indirect tax
4995
- * @uiGroup Dashboard Properties
4996
- */
4997
- this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
4998
- /**
4999
- * @uiName Indirect tax tooltip
5000
- * @uiGroup Dashboard Properties
5001
- * @uiWidget textArea
5002
- */
5003
- this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
5004
- /**
5005
- * Displayed to participants who have submitted their indirect tax information.
5006
- *
5007
- * @uiName Indirect tax details
5008
- * @uiGroup Dashboard Properties
5009
- */
5010
- this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
5011
- /**
5012
- * @uiName Submit new tax form button label
5013
- * @uiGroup Dashboard Properties
5014
- */
5015
- this.dashboard_newFormButton = "Submit new form";
5016
- /**
5017
- * @uiName Edit payment info button label
5018
- * @uiGroup Dashboard Properties
5019
- */
5020
- this.dashboard_editPaymentInformationButton = "Edit Payout Information";
5021
- /**
5022
- * @uiName Not registered for indirect tax text
5023
- * @uiGroup Dashboard Properties
5024
- * @uiWidget textArea
5025
- */
5026
- 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.";
5027
- /**
5028
- * Displayed to participants registered in Quebec, Canada.
5029
- * @uiName QST indirect tax details
5030
- * @uiGroup Dashboard Properties
5031
- */
5032
- this.dashboard_qstNumber = "QST number: {qstNumber}";
5033
- /**
5034
- * @uiName Spain sub-region indirect tax number
5035
- * @uiGroup Dashboard Properties
5036
- */
5037
- this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
5038
- /**
5039
- * @uiName Payout status badge
5040
- * @uiGroup Dashboard Properties
5041
- */
5042
- this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
5043
- /**
5044
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
5045
- * @uiName Payout schedule by threshold text
5046
- * @uiGroup Dashboard Properties
5047
- */
5048
- this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
5049
- /**
5050
- * Shown before the participant’s bank account information.
5051
- * @uiName Bank account field label
5052
- * @uiGroup Dashboard Properties
5053
- */
5054
- this.dashboard_accountText = "Account";
5055
- /**
5056
- * Part of the Invoice table displayed at the bottom of the page.
5057
- * @uiName Invoice number column title
5058
- * @uiGroup Dashboard Properties
5059
- */
5060
- this.dashboard_invoiceColumnTitle = "Invoice";
5061
- /**
5062
- * Part of the Invoice table displayed at the bottom of the page.
5063
- * @uiName Date column title
5064
- * @uiGroup Dashboard Properties
5065
- */
5066
- this.dashboard_dateColumnTitle = "Date";
5067
- /**
5068
- * Part of the Invoice table displayed at the bottom of the page.
5069
- * @uiName Earnings column title
5070
- * @uiGroup Dashboard Properties
5071
- */
5072
- this.dashboard_earningsColumnTitle = "Earnings";
5073
- /**
5074
- * Part of the Invoice table displayed at the bottom of the page.
5075
- * @uiName Indirect tax column title
5076
- * @uiGroup Dashboard Properties
5077
- */
5078
- this.dashboard_indirectTaxColumnTitle = "Indirect tax";
5079
- /**
5080
- * Displayed under the payout details card.
5081
- * @uiName Payout from impact text
5082
- * @uiGroup Dashboard Properties
5083
- * @uiWidget textArea
5084
- */
5085
- this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
5086
- /**
5087
- * Part of the Invoice table displayed at the bottom of the page.
5088
- * @uiName Earnings after tax column title
5089
- * @uiGroup Dashboard Properties
5090
- */
5091
- this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
5092
- /**
5093
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5094
- * @uiName Payout error message title
5095
- * @uiGroup Dashboard Properties
5096
- * @uiWidget textArea
5097
- */
5098
- this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
5099
- /**
5100
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5101
- * @uiName Payout error message description
5102
- * @uiGroup Dashboard Properties
5103
- * @uiWidget textArea
5104
- */
5105
- this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
5106
- /**
5107
- * Text displayed for existing publishers that do not have saved banking information.
5108
- * @uiName Payout missing information subtext
5109
- * @uiGroup Dashboard Properties
5110
- */
5111
- this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
5112
- /**
5113
- * @uiName Invoice table description
5114
- * @uiGroup Dashboard Properties
5115
- */
5116
- this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
5117
- /**
5118
- * @uiName Invoice table previous page button label
5119
- * @uiGroup Dashboard Properties
5120
- */
5121
- this.dashboard_invoicePrevLabel = "Prev";
5122
- /**
5123
- * @uiName Invoice table next page button label
5124
- * @uiGroup Dashboard Properties
5125
- */
5126
- this.dashboard_invoiceMoreLabel = "Next";
5127
- /**
5128
- * @uiName Invoice table title
5129
- * @uiGroup Dashboard Properties
5130
- */
5131
- this.dashboard_invoiceHeader = "Invoices";
5132
- /**
5133
- * @uiName Empty invoice table header
5134
- * @uiGroup Dashboard Properties
5135
- */
5136
- this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
5137
- /**
5138
- * @uiName Empty invoice table description
5139
- * @uiGroup Dashboard Properties
5140
- */
5141
- this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
5142
- /**
5143
- * @uiName Replace tax form modal header
5144
- * @uiGroup Dashboard Properties
5145
- */
5146
- this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
5147
- /**
5148
- * @uiName Replace tax form modal body text
5149
- * @uiGroup Dashboard Properties
5150
- * @uiWidget textArea
5151
- */
5152
- 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.";
5153
- /**
5154
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5155
- * @uiName Verification required alert message title
5156
- * @uiGroup Dashboard Properties
5157
- * @uiWidget textArea
5158
- */
5159
- this.dashboard_verificationRequiredHeader = "Verify your identity";
5160
- /**
5161
- * Part of the alert displayed at the top of the page when the user needs to verify their identity
5162
- * @uiName Verification required alert message description
5163
- * @uiGroup Dashboard Properties
5164
- * @uiWidget textArea
5165
- */
5166
- 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}.";
5167
- /**
5168
- * @uiName Verification required internal alert header
5169
- * @uiGroup Dashboard Properties
5170
- * @uiWidget textArea
5171
- */
5172
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
5173
- /**
5174
- * @uiName Verification required internal alert description
5175
- * @uiGroup Dashboard Properties
5176
- * @uiWidget textArea
5177
- */
5178
- 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}.";
5179
- /**
5180
- * @uiName Verification review internal alert header
5181
- * @uiGroup Dashboard Properties
5182
- * @uiWidget textArea
5183
- */
5184
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
5185
- /**
5186
- * @uiName Verification review internal alert description
5187
- * @uiGroup Dashboard Properties
5188
- * @uiWidget textArea
5189
- */
5190
- 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}.";
5191
- /**
5192
- * @uiName Verification failed internal alert header
5193
- * @uiGroup Dashboard Properties
5194
- * @uiWidget textArea
5195
- */
5196
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
5197
- /**
5198
- * @uiName Verification failed internal alert description
5199
- * @uiGroup Dashboard Properties
5200
- * @uiWidget textArea
5201
- */
5202
- 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}.";
5203
- /**
5204
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5205
- * @uiName Verification required alert button text
5206
- * @uiGroup Dashboard Properties
5207
- * @uiWidget textArea
5208
- */
5209
- this.dashboard_verificationRequiredButtonText = "Start Verification";
5210
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5211
- GENERAL PROPS:
5212
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5213
- /**
5214
- * @uiName Setup progress
5215
- * @uiGroup General Form Properties
5216
- */
5217
- this.formStep = "Step {step} of {count}";
5218
- /**
5219
- * Part of the alert displayed at the top of the page.
5220
- * @uiName Form submission error message title
5221
- * @uiGroup General Form Properties
5222
- * @uiWidget textArea
5223
- */
5224
- this.generalErrorTitle = "There was a problem submitting your information";
5225
- /**
5226
- * Part of the alert displayed at the top of the page.
5227
- * @uiName Form submission error message description
5228
- * @uiGroup General Form Properties
5229
- * @uiWidget textArea
5230
- */
5231
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
5232
- /**
5233
- * Displayed under a field that is missing required information.
5234
- * @uiName Empty form field error message
5235
- * @uiGroup General Form Properties
5236
- */
5237
- this.fieldRequiredError = "{fieldName} is required";
5238
- /**
5239
- * Displayed under a field that includes invalid characters (non-ASCII).
5240
- * @uiName Invalid character error message
5241
- * @uiGroup General Form Properties
5242
- */
5243
- this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
5244
- /**
5245
- * Displayed under a field when it has an invalid entry.
5246
- * @uiName Form field error message
5247
- * @uiGroup General Form Properties
5248
- */
5249
- this.fieldInvalidError = "{fieldName} is invalid";
5250
- /**
5251
- * @uiName Continue button label
5252
- * @uiGroup General Form Properties
5253
- */
5254
- this.continueButton = "Continue";
5255
- /**
5256
- * @uiName Back button label
5257
- * @uiGroup General Form Properties
5258
- */
5259
- this.backButton = "Back";
5260
- /**
5261
- * @uiName Cancel button label
5262
- * @uiGroup General Form Properties
5263
- */
5264
- this.cancelButton = "Cancel";
5265
- /**
5266
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5267
- * @uiName Participant is a partner alert title
5268
- * @uiGroup General Form Properties
5269
- * @uiWidget textArea
5270
- */
5271
- this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
5272
- /**
5273
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5274
- * @uiName Participant is a partner alert description
5275
- * @uiGroup General Form Properties
5276
- * @uiWidget textArea
5277
- */
5278
- 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.";
5279
- /**
5280
- * Placeholder text displayed in the country search dropdown
5281
- * @uiName Country field placeholder text
5282
- * @uiGroup General Form Properties
5283
- */
5284
- this.searchForCountryText = "Search for country..";
5285
- /**
5286
- * Part of the alert displayed at the top of the page.
5287
- * @uiName Page load error message title
5288
- * @uiGroup General Form Properties
5289
- * @uiWidget textArea
5290
- */
5291
- this.loadingErrorAlertHeader = "There was a problem loading your form";
5292
- /**
5293
- * Part of the alert displayed at the top of the page.
5294
- * @uiName Page load error message description
5295
- * @uiGroup General Form Properties
5296
- * @uiWidget textArea
5297
- */
5298
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
5299
- /**
5300
- * Displayed at the top of the page on all set up steps.
5301
- * @uiName Page description
5302
- * @uiGroup General Form Properties
5303
- */
5304
- this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
5305
- /**
5306
- * Link text for contacting support team
5307
- * @uiName Suport link text
5308
- * @uiGroup General Form Properties
5309
- */
5310
- this.supportLink = "support team";
5311
- h$1(this);
5312
- }
5313
- disconnectedCallback() { }
5314
- // this field is required prop
5315
- getGeneralStepTextProps(prefix) {
5316
- const props = getProps(this);
5317
- return {
5318
- ...extractProps(props, prefix),
5319
- generalErrorTitle: props.generalErrorTitle,
5320
- generalErrorDescription: props.generalErrorDescription,
5321
- fieldRequiredError: props.fieldRequiredError,
5322
- invalidCharacterError: props.invalidCharacterError,
5323
- fieldInvalidError: props.fieldInvalidError,
5324
- continueButton: props.continueButton,
5325
- backButton: props.backButton,
5326
- cancelButton: props.cancelButton,
5327
- isPartnerAlertHeader: props.isPartnerAlertHeader,
5328
- isPartnerAlertDescription: props.isPartnerAlertDescription,
5329
- loadingErrorAlertHeader: props.loadingErrorAlertHeader,
5330
- loadingErrorAlertDescription: props.loadingErrorAlertDescription,
5331
- taxAndPayoutsDescription: props.taxAndPayoutsDescription,
5332
- searchForCountryText: props.searchForCountryText,
5333
- formStep: props.formStep,
5334
- supportLink: props.supportLink,
5335
- };
5336
- }
5337
- render() {
5338
- var _a, _b;
5339
- const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
5340
- // @ts-ignore
5341
- if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
5342
- const textProps = getProps(this);
5343
- return (h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
5344
- if (prop === "demoData")
5345
- return;
5346
- return (h("div", null, h("b", null, prop, ":"), " ", this[prop], h("hr", null)));
5347
- })));
5348
- }
5349
- switch (props.step) {
5350
- case "/1":
5351
- return (h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
5352
- case "/2":
5353
- return (h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
5354
- case "/3":
5355
- return (h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
5356
- case "/4":
5357
- return (h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
5358
- case "/dashboard":
5359
- return (h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
5360
- case "/error":
5361
- return (h(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
5362
- }
5363
- return h(LoadingView, null);
5364
- }
5365
- };
5366
- function useDemoTaxAndCash(props) {
5367
- const [step, setStep] = In({
5368
- namespace: TAX_CONTEXT_NAMESPACE,
5369
- initialValue: "/1",
5370
- });
5371
- return cjs({
5372
- step,
5373
- setStep,
5374
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
5375
- }
5376
-
5377
- const style$6 = {
3677
+ const style$5 = {
5378
3678
  ErrorAlertContainer: {
5379
3679
  "&::part(base)": {
5380
3680
  backgroundColor: "var(--sqm-danger-color-background)",
@@ -5565,8 +3865,8 @@ const style$6 = {
5565
3865
  },
5566
3866
  DialogButton: { margin: "auto", width: "100%" },
5567
3867
  };
5568
- const sheet$5 = createStyleSheet(style$6);
5569
- const styleString$5 = sheet$5.toString();
3868
+ const sheet$4 = createStyleSheet(style$5);
3869
+ const styleString$4 = sheet$4.toString();
5570
3870
  const TaxAndCashDashboardView = (props) => {
5571
3871
  var _a, _b, _c, _d;
5572
3872
  const { states, text, callbacks, slots } = props;
@@ -5584,7 +3884,7 @@ const TaxAndCashDashboardView = (props) => {
5584
3884
  buttonText: text.verificationRequiredButtonText,
5585
3885
  alertType: "warning",
5586
3886
  icon: "exclamation-triangle",
5587
- class: sheet$5.classes.WarningHoldAlertContainer,
3887
+ class: sheet$4.classes.WarningHoldAlertContainer,
5588
3888
  };
5589
3889
  case "VERIFICATION:INTERNAL":
5590
3890
  return {
@@ -5597,7 +3897,7 @@ const TaxAndCashDashboardView = (props) => {
5597
3897
  }),
5598
3898
  alertType: "warning",
5599
3899
  icon: "exclamation-triangle",
5600
- class: sheet$5.classes.WarningHoldAlertContainer,
3900
+ class: sheet$4.classes.WarningHoldAlertContainer,
5601
3901
  };
5602
3902
  case "VERIFICATION:REVIEW":
5603
3903
  return {
@@ -5610,7 +3910,7 @@ const TaxAndCashDashboardView = (props) => {
5610
3910
  }),
5611
3911
  alertType: "warning",
5612
3912
  icon: "exclamation-triangle",
5613
- class: sheet$5.classes.WarningHoldAlertContainer,
3913
+ class: sheet$4.classes.WarningHoldAlertContainer,
5614
3914
  };
5615
3915
  case "VERIFICATION:FAILED":
5616
3916
  return {
@@ -5623,7 +3923,7 @@ const TaxAndCashDashboardView = (props) => {
5623
3923
  }),
5624
3924
  alertType: "critical",
5625
3925
  icon: "exclamation-octagon",
5626
- class: sheet$5.classes.ErrorHoldAlertContainer,
3926
+ class: sheet$4.classes.ErrorHoldAlertContainer,
5627
3927
  };
5628
3928
  case "HOLD":
5629
3929
  return {
@@ -5637,14 +3937,14 @@ const TaxAndCashDashboardView = (props) => {
5637
3937
  buttonText: null,
5638
3938
  alertType: "warning",
5639
3939
  icon: "exclamation-triangle",
5640
- class: sheet$5.classes.WarningHoldAlertContainer,
3940
+ class: sheet$4.classes.WarningHoldAlertContainer,
5641
3941
  };
5642
3942
  default:
5643
3943
  return;
5644
3944
  }
5645
3945
  }
5646
3946
  const statusMap = {
5647
- NOT_VERIFIED: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
3947
+ NOT_VERIFIED: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5648
3948
  h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
5649
3949
  h("p", null, intl.formatMessage({
5650
3950
  id: `badgeTextAwaitingReview`,
@@ -5652,7 +3952,7 @@ const TaxAndCashDashboardView = (props) => {
5652
3952
  }, {
5653
3953
  dateSubmitted: states.dateSubmitted,
5654
3954
  })))),
5655
- ACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
3955
+ ACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5656
3956
  h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
5657
3957
  h("p", null, intl.formatMessage({
5658
3958
  id: `badgeTextSubmittedOn`,
@@ -5662,12 +3962,12 @@ const TaxAndCashDashboardView = (props) => {
5662
3962
  }, {
5663
3963
  dateSubmitted: states.dateSubmitted,
5664
3964
  })))),
5665
- INACTIVE: (h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
3965
+ INACTIVE: (h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
5666
3966
  h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
5667
3967
  h("p", null, text.invalidForm))),
5668
3968
  };
5669
3969
  const alertMap = {
5670
- INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
3970
+ INACTIVE: (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
5671
3971
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5672
3972
  h("strong", null, intl.formatMessage({
5673
3973
  id: `taxAlertHeaderNotActive`,
@@ -5717,9 +4017,9 @@ const TaxAndCashDashboardView = (props) => {
5717
4017
  };
5718
4018
  return (h("div", null,
5719
4019
  h("div", null,
5720
- h("style", { type: "text/css" }, styleString$5),
4020
+ h("style", { type: "text/css" }, styleString$4),
5721
4021
  states.loadingError && (h("div", null,
5722
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
4022
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.ErrorAlertContainer },
5723
4023
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5724
4024
  h("strong", null, text.error.loadingErrorAlertHeader),
5725
4025
  h("br", null),
@@ -5729,7 +4029,7 @@ const TaxAndCashDashboardView = (props) => {
5729
4029
  }, {
5730
4030
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5731
4031
  })))),
5732
- ((_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 },
4032
+ ((_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$4.classes.ErrorAlertContainer },
5733
4033
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5734
4034
  h("strong", null, text.error.generalTitle),
5735
4035
  h("br", null),
@@ -5744,49 +4044,49 @@ const TaxAndCashDashboardView = (props) => {
5744
4044
  h("strong", null, getAlert(states.payoutStatus).header),
5745
4045
  h("p", { style: { margin: "0" } }, getAlert(states.payoutStatus).description),
5746
4046
  getAlert(states.payoutStatus).buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, getAlert(states.payoutStatus).buttonText)))),
5747
- h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
4047
+ h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5748
4048
  h("p", null, text.replaceTaxFormModalBodyText),
5749
- h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5750
- h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
4049
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
4050
+ h("sl-button", { slot: "footer", type: "default", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5751
4051
  states.status === "INACTIVE" && alertMap[states.status],
5752
4052
  h("div", null,
5753
4053
  h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
5754
- h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5755
- h("div", { class: sheet$5.classes.BankingInformationContainer },
4054
+ h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
4055
+ h("div", { class: sheet$4.classes.BankingInformationContainer },
5756
4056
  slots.payoutDetailsCardSlot,
5757
- !states.loading && (h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
5758
- states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5759
- h("div", { class: sheet$5.classes.TaxDocumentsContainer },
5760
- h("div", null, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5761
- h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
5762
- h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null, states.noFormNeeded ? (h("div", null,
5763
- h("h3", { class: sheet$5.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
5764
- h("p", { class: sheet$5.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (h("div", null,
5765
- h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
5766
- h("div", { class: sheet$5.classes.StatusContainer },
4057
+ !states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
4058
+ states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4059
+ h("div", { class: sheet$4.classes.TaxDocumentsContainer },
4060
+ h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4061
+ h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4062
+ h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null, states.noFormNeeded ? (h("div", null,
4063
+ h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
4064
+ h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (h("div", null,
4065
+ h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
4066
+ h("div", { class: sheet$4.classes.StatusContainer },
5767
4067
  h("h3", null, intl.formatMessage({
5768
4068
  id: "section-subheader",
5769
4069
  defaultMessage: text.taxDocumentSectionSubHeader,
5770
4070
  }, {
5771
4071
  documentType: states.documentTypeString,
5772
4072
  })),
5773
- h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
5774
- 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)))))))),
5775
- h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5776
- h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
5777
- h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (h("div", null,
5778
- h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
4073
+ h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
4074
+ states.status !== "NOT_VERIFIED" && (h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$4.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
4075
+ h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4076
+ h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4077
+ h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null,
4078
+ h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
5779
4079
  text.indirectTaxInfoSectionHeader,
5780
- h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
5781
- h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
5782
- h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
5783
- h("span", null, states.notRegistered ? (h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
4080
+ h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
4081
+ h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
4082
+ h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
4083
+ h("span", null, states.notRegistered ? (h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
5784
4084
  id: "notRegisteredForTax",
5785
4085
  defaultMessage: text.notRegisteredForTax,
5786
4086
  }, {
5787
4087
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5788
4088
  }))) : (getIndirectTaxRegisteredIn())),
5789
- !states.notRegistered && (h("div", { class: sheet$5.classes.TaxNumberContainer },
4089
+ !states.notRegistered && (h("div", { class: sheet$4.classes.TaxNumberContainer },
5790
4090
  h("span", null, intl.formatMessage({
5791
4091
  id: `indirectTaxDetails`,
5792
4092
  defaultMessage: text.indirectTaxDetails,
@@ -5809,7 +4109,7 @@ const TaxAndCashDashboardView = (props) => {
5809
4109
  }, {
5810
4110
  subRegionTaxNumber: states.subRegionTaxNumber,
5811
4111
  })))),
5812
- !states.notRegistered && (h("div", { class: sheet$5.classes.InvoiceTableContainer },
4112
+ !states.notRegistered && (h("div", { class: sheet$4.classes.InvoiceTableContainer },
5813
4113
  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 },
5814
4114
  h("sqm-invoice-table-download-column", null),
5815
4115
  h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
@@ -6265,23 +4565,31 @@ const TaxAndCashDashboard = class {
6265
4565
  }
6266
4566
  };
6267
4567
  function useDemoTaxAndCashDashboard(props) {
4568
+ // const states = parseStates(props.stateController);
6268
4569
  return cjs({
6269
4570
  states: {
6270
4571
  dateSubmitted: "today",
6271
4572
  documentType: "W9",
6272
4573
  documentTypeString: "W9",
6273
- status: "ACTIVE",
6274
4574
  country: "United States",
6275
- indirectTaxNumber: 55555555,
4575
+ indirectTaxNumber: "55555555",
6276
4576
  indirectTaxType: "Indirect Tax",
6277
- noFormNeeded: true,
4577
+ noFormNeeded: false,
6278
4578
  disabled: false,
6279
4579
  loading: false,
6280
4580
  showNewFormDialog: false,
6281
4581
  hasHold: false,
6282
- showVerifyIdentity: false,
4582
+ subRegion: "CA",
4583
+ subRegionTaxNumber: undefined,
4584
+ qstNumber: undefined,
4585
+ isBusinessEntity: false,
4586
+ province: undefined,
4587
+ notRegistered: true,
4588
+ loadingError: false,
6283
4589
  payoutStatus: "DONE",
6284
4590
  veriffLoading: false,
4591
+ canEditPayoutInfo: true,
4592
+ status: "ACTIVE",
6285
4593
  },
6286
4594
  callbacks: {
6287
4595
  onClick: () => console.debug("check step"),
@@ -6291,6 +4599,13 @@ function useDemoTaxAndCashDashboard(props) {
6291
4599
  onVerifyClick: () => console.log("verify"),
6292
4600
  },
6293
4601
  text: props.getTextProps(),
4602
+ slots: {
4603
+ payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
4604
+ states: {
4605
+ badgeStatus: "nextPayout",
4606
+ },
4607
+ } })),
4608
+ },
6294
4609
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6295
4610
  }
6296
4611
 
@@ -7265,7 +5580,7 @@ const PHONE_EXTENSIONS = {
7265
5580
  },
7266
5581
  };
7267
5582
 
7268
- const style$7 = {
5583
+ const style$6 = {
7269
5584
  FormWrapper: {},
7270
5585
  ErrorInput: {
7271
5586
  "&::part(base)": {
@@ -7365,9 +5680,9 @@ const style$7 = {
7365
5680
  },
7366
5681
  },
7367
5682
  };
7368
- const sheet$6 = createStyleSheet(style$7);
7369
- const styleString$6 = sheet$6.toString();
7370
- const vanillaStyle$4 = `
5683
+ const sheet$5 = createStyleSheet(style$6);
5684
+ const styleString$5 = sheet$5.toString();
5685
+ const vanillaStyle$3 = `
7371
5686
  :host{
7372
5687
  display: block;
7373
5688
  }
@@ -7545,7 +5860,7 @@ const vanillaStyle$4 = `
7545
5860
  const UserInfoFormView = (props) => {
7546
5861
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
7547
5862
  const { states, states: { formState }, callbacks, text, refs, data, } = props;
7548
- const { classes } = sheet$6;
5863
+ const { classes } = sheet$5;
7549
5864
  const bankingCollectionText = intl.formatMessage({
7550
5865
  id: "bankingCollectionText",
7551
5866
  defaultMessage: text.allowBankingCollection,
@@ -7568,10 +5883,10 @@ const UserInfoFormView = (props) => {
7568
5883
  }
7569
5884
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
7570
5885
  h("style", { type: "text/css" },
7571
- styleString$6,
7572
- vanillaStyle$4),
5886
+ styleString$5,
5887
+ vanillaStyle$3),
7573
5888
  states.loadingError && (h("div", null,
7574
- h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
5889
+ h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.AlertContainer },
7575
5890
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7576
5891
  h("strong", null, text.error.loadingErrorAlertHeader),
7577
5892
  h("br", null),
@@ -7582,7 +5897,7 @@ const UserInfoFormView = (props) => {
7582
5897
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
7583
5898
  })),
7584
5899
  h("br", null))),
7585
- states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
5900
+ states.loading ? (h(LoadingView, null)) : (h("div", null,
7586
5901
  h("div", { class: classes.TextContainer },
7587
5902
  h("div", null,
7588
5903
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -7591,7 +5906,7 @@ const UserInfoFormView = (props) => {
7591
5906
  }, { step: states.step, count: FORM_STEPS }))),
7592
5907
  h("h3", null, text.personalInformation),
7593
5908
  h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
7594
- ((_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 },
5909
+ ((_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$5.classes.AlertContainer },
7595
5910
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7596
5911
  h("strong", null, text.error.generalTitle),
7597
5912
  h("br", null),
@@ -7601,7 +5916,7 @@ const UserInfoFormView = (props) => {
7601
5916
  }, {
7602
5917
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
7603
5918
  }))),
7604
- (states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
5919
+ (states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$5.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
7605
5920
  h("sl-icon", { slot: "icon", name: "info-circle" }),
7606
5921
  h("strong", null, text.isPartnerAlertHeader),
7607
5922
  h("br", null),
@@ -8095,19 +6410,20 @@ const TaxForm = class {
8095
6410
  }
8096
6411
  render() {
8097
6412
  const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
8098
- return (h(Host, null, h(UserInfoFormView, { data: props.data,
6413
+ return (h(UserInfoFormView, { data: props.data,
8099
6414
  // @ts-ignore
8100
6415
  states: props.states, callbacks: {
8101
6416
  ...props.callbacks,
8102
6417
  onSubmit: props.onSubmit,
8103
- }, text: props.text, refs: props.refs })));
6418
+ }, text: props.text, refs: props.refs }));
8104
6419
  }
8105
6420
  };
8106
6421
  function useDemoUserInfoForm(props) {
8107
6422
  const setStep = En(TAX_CONTEXT_NAMESPACE);
6423
+ // @ts-ignore
8108
6424
  return cjs({
8109
6425
  setStep,
8110
- onSubmit: () => {
6426
+ onSubmit: async () => {
8111
6427
  setStep("/2");
8112
6428
  },
8113
6429
  onRadioClick: () => { },
@@ -8150,4 +6466,4 @@ function useDemoUserInfoForm(props) {
8150
6466
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
8151
6467
  }
8152
6468
 
8153
- 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 };
6469
+ 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 };