@saasquatch/mint-components 2.0.0-9 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/dist/cjs/{IndirectTaxDetailsView-e5f70b8b.js → IndirectTaxDetailsView-3e88d710.js} +2 -2
  2. package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-646dec73.js} +13 -9
  3. package/dist/cjs/{copy-text-view-51c8ee5d.js → copy-text-view-322436c2.js} +2 -8
  4. package/dist/cjs/{usePayoutStatus-fe32dd1a.js → data-16106637.js} +142 -0
  5. package/dist/cjs/{extractProps-fd93ba62.js → extractProps-e9c55ba8.js} +14 -0
  6. package/dist/cjs/{global-8bba5b3a.js → global-39cb0afc.js} +745 -2
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/mint-components.cjs.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +82 -45
  10. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-69a4b615.js} +10 -4
  11. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +1324 -26
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
  17. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +1 -1
  18. package/dist/cjs/{sqm-lead-checkbox-field-view-340acad0.js → sqm-lead-checkbox-field-view-f1c46d4b.js} +1 -1
  19. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  20. package/dist/cjs/{sqm-lead-input-field-view-06ed3632.js → sqm-lead-input-field-view-6d388092.js} +1 -1
  21. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  28. package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-5518eb0d.js → sqm-portal-email-verification-view-6b17e545.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  31. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +27 -19
  33. package/dist/cjs/{sqm-portal-profile-view-615e6975.js → sqm-portal-profile-view-845367bb.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  36. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  37. package/dist/cjs/sqm-qr-code.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
  39. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -4
  40. package/dist/cjs/sqm-stencilbook.cjs.entry.js +45 -26
  41. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -4
  42. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -2
  43. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -4
  44. package/dist/cjs/{useLeadFormState-fd0445f9.js → useLeadFormState-b355759b.js} +1 -1
  45. package/dist/cjs/{usePortalLogin-353f776a.js → usePortalLogin-1c022d8d.js} +1 -1
  46. package/dist/cjs/{utils-0d3ac0fb.js → utils-6847bc06.js} +0 -4
  47. package/dist/cjs/{utils-83d125fa.js → utils-ac82f977.js} +1 -1
  48. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
  49. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +10 -4
  50. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +0 -2
  51. package/dist/collection/components/sqm-big-stat/useBigStat.js +7 -1
  52. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
  53. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
  54. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
  55. package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
  56. package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
  57. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
  58. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  59. package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
  60. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
  61. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -0
  62. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
  63. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +31 -1
  64. package/dist/collection/components/sqm-name-fields/useNameFields.js +1 -0
  65. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
  66. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  67. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
  68. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +1 -0
  69. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
  70. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
  71. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
  72. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  73. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -3
  74. package/dist/collection/components/sqm-share-link/sqm-share-link.js +0 -1
  75. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -1
  76. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +0 -3
  77. package/dist/collection/components/sqm-task-card/sqm-task-card.js +2 -2
  78. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  79. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +10 -4
  80. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +6 -10
  81. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +8 -32
  82. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
  83. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
  84. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -1
  85. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -4
  86. package/dist/collection/components/views/copy-text-view.js +2 -8
  87. package/dist/collection/global/global.js +14 -3
  88. package/dist/collection/global/styles.v1.js +733 -0
  89. package/dist/collection/global/styles.v1.ts +735 -0
  90. package/dist/collection/utils/utils.js +0 -1
  91. package/dist/esm/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +2 -2
  92. package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +13 -9
  93. package/dist/esm/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +2 -8
  94. package/dist/esm/{usePayoutStatus-42cc6a2c.js → data-acdb790f.js} +128 -1
  95. package/dist/esm/{extractProps-ae1afbb3.js → extractProps-54064fb0.js} +14 -1
  96. package/dist/esm/{global-1099f20d.js → global-943536b9.js} +745 -2
  97. package/dist/esm/loader.js +2 -2
  98. package/dist/esm/mint-components.js +2 -2
  99. package/dist/esm/sqm-banking-info-form_10.entry.js +75 -38
  100. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-9e97d8b4.js} +10 -4
  101. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +1322 -25
  102. package/dist/esm/sqm-code-verification.entry.js +2 -2
  103. package/dist/esm/sqm-context-router.entry.js +1 -1
  104. package/dist/esm/sqm-email-verification.entry.js +2 -2
  105. package/dist/esm/sqm-empty_4.entry.js +3 -3
  106. package/dist/esm/sqm-form-message.entry.js +9 -5
  107. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +1 -1
  108. package/dist/esm/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  109. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  110. package/dist/esm/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  111. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  112. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  113. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  114. package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
  115. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  116. package/dist/esm/sqm-password-field.entry.js +1 -1
  117. package/dist/esm/sqm-popup-container.entry.js +1 -1
  118. package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  119. package/dist/esm/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  120. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  121. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  122. package/dist/esm/sqm-portal-google-registration-form.entry.js +27 -19
  123. package/dist/esm/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  124. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  125. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  126. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  127. package/dist/esm/sqm-qr-code.entry.js +1 -1
  128. package/dist/esm/sqm-referral-table_11.entry.js +2 -2
  129. package/dist/esm/sqm-rewards-table_9.entry.js +3 -4
  130. package/dist/esm/sqm-stencilbook.entry.js +45 -26
  131. package/dist/esm/sqm-tabs.entry.js +1 -4
  132. package/dist/esm/sqm-widget-verification-controller.entry.js +3 -2
  133. package/dist/esm/sqm-widget-verification.entry.js +2 -3
  134. package/dist/esm/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  135. package/dist/esm/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  136. package/dist/esm/{utils-84b4b092.js → utils-334c1e34.js} +0 -4
  137. package/dist/esm/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  138. package/dist/esm-es5/{IndirectTaxDetailsView-0a57b622.js → IndirectTaxDetailsView-e5d8767d.js} +1 -1
  139. package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-5928ca9d.js} +1 -1
  140. package/dist/esm-es5/data-acdb790f.js +6 -0
  141. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  142. package/dist/esm-es5/{global-1099f20d.js → global-943536b9.js} +4 -4
  143. package/dist/esm-es5/loader.js +1 -1
  144. package/dist/esm-es5/mint-components.js +1 -1
  145. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  146. package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +1 -0
  147. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  148. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  149. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  150. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  151. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  152. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  153. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  154. package/dist/esm-es5/{sqm-lead-checkbox-field-view-cbafee07.js → sqm-lead-checkbox-field-view-adcc49c0.js} +1 -1
  155. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-lead-input-field-view-f3775c28.js → sqm-lead-input-field-view-c0b5aed5.js} +1 -1
  157. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  158. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  159. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  160. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  161. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  162. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  163. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  165. package/dist/esm-es5/{sqm-portal-email-verification-view-7d86299c.js → sqm-portal-email-verification-view-8ceb6302.js} +1 -1
  166. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  169. package/dist/esm-es5/{sqm-portal-profile-view-3ed13e4d.js → sqm-portal-profile-view-2ec60449.js} +1 -1
  170. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  171. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  173. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  174. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  175. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  176. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  177. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  178. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  179. package/dist/esm-es5/{useLeadFormState-c379e5d7.js → useLeadFormState-9a652a42.js} +1 -1
  180. package/dist/esm-es5/{usePortalLogin-95814943.js → usePortalLogin-f95bbc67.js} +1 -1
  181. package/dist/esm-es5/utils-334c1e34.js +1 -0
  182. package/dist/esm-es5/{utils-6122971b.js → utils-f27e62dc.js} +1 -1
  183. package/dist/mint-components/global/styles.v1.ts +735 -0
  184. package/dist/mint-components/mint-components.esm.js +1 -1
  185. package/dist/mint-components/mint-components.js +1 -1
  186. package/dist/mint-components/p-06b4fa6a.entry.js +273 -0
  187. package/dist/mint-components/p-0797a946.js +1 -0
  188. package/dist/mint-components/{p-aa08457e.system.js → p-08b373b9.system.js} +1 -1
  189. package/dist/mint-components/{p-6b0f79d1.system.entry.js → p-0ac84da5.system.entry.js} +1 -1
  190. package/dist/mint-components/{p-0ea4d6a1.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
  191. package/dist/mint-components/{p-7bae9bb7.system.entry.js → p-0cb51ea1.system.entry.js} +1 -1
  192. package/dist/mint-components/p-11927355.system.entry.js +1 -0
  193. package/dist/mint-components/{p-61157c6a.entry.js → p-124af9d6.entry.js} +1 -1
  194. package/dist/mint-components/{p-d4edce6c.system.entry.js → p-19de8749.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-7b8cd420.system.entry.js → p-1e406d04.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-c6fa4cc5.system.js → p-20c40fdf.system.js} +1 -1
  197. package/dist/mint-components/{p-ab79297a.entry.js → p-20f8e7ca.entry.js} +6 -6
  198. package/dist/mint-components/{p-6d5bd95a.js → p-252465eb.js} +1 -1
  199. package/dist/mint-components/{p-eba70d67.system.entry.js → p-2700136f.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-3bf5cd51.entry.js → p-2fd2f22b.entry.js} +1 -1
  201. package/dist/mint-components/{p-67aa0b2d.entry.js → p-30278955.entry.js} +1 -1
  202. package/dist/mint-components/p-37ef2ce1.entry.js +1 -0
  203. package/dist/mint-components/{p-aa8c6332.js → p-38c4653d.js} +1 -1
  204. package/dist/mint-components/{p-2ff72acc.entry.js → p-3b46fae5.entry.js} +2 -2
  205. package/dist/mint-components/{p-511c87ce.system.entry.js → p-3fa99fea.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-e711d0e9.js → p-44fc6029.js} +1 -1
  207. package/dist/mint-components/p-469a6450.system.js +6 -0
  208. package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
  209. package/dist/mint-components/p-51a6a779.js +1 -0
  210. package/dist/mint-components/p-53b49d27.system.js +1 -0
  211. package/dist/mint-components/{p-2623b232.system.entry.js → p-54c250de.system.entry.js} +1 -1
  212. package/dist/mint-components/{p-4ffc5bce.js → p-58b668a0.js} +4 -4
  213. package/dist/mint-components/{p-f370bddc.entry.js → p-58f4bf7a.entry.js} +1 -1
  214. package/dist/mint-components/{p-4c811d12.entry.js → p-5a3e2966.entry.js} +1 -1
  215. package/dist/mint-components/{p-c86f64ad.system.entry.js → p-5b7a896e.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-06f13966.system.entry.js → p-5bb24669.system.entry.js} +1 -1
  217. package/dist/mint-components/p-6333265f.system.js +1 -0
  218. package/dist/mint-components/{p-a9ad7fb2.system.entry.js → p-674d9089.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-29f0c87d.entry.js → p-6a0ddee0.entry.js} +1 -1
  220. package/dist/mint-components/{p-c85f204b.system.js → p-6b55555b.system.js} +1 -1
  221. package/dist/mint-components/{p-f0eae4e6.system.js → p-6dd86003.system.js} +1 -1
  222. package/dist/mint-components/{p-b55002dc.system.entry.js → p-72b914b9.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-e110688b.entry.js → p-735c9185.entry.js} +2 -2
  224. package/dist/mint-components/{p-433e7458.entry.js → p-7e323f2c.entry.js} +1 -1
  225. package/dist/mint-components/p-80569911.system.js +1 -0
  226. package/dist/mint-components/{p-c531cc75.entry.js → p-85029918.entry.js} +1 -1
  227. package/dist/mint-components/{p-0caad0db.entry.js → p-8677688c.entry.js} +1 -1
  228. package/dist/mint-components/{p-ab018deb.entry.js → p-8931d05e.entry.js} +2 -2
  229. package/dist/mint-components/{p-b487cb00.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-4250b06d.entry.js → p-8e913ce5.entry.js} +1 -1
  231. package/dist/mint-components/p-8ea16fb6.js +1233 -0
  232. package/dist/mint-components/{p-ed16b35a.js → p-946f8a2c.js} +1 -1
  233. package/dist/mint-components/{p-0d21194c.entry.js → p-94ae86fc.entry.js} +1 -1
  234. package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
  235. package/dist/mint-components/p-95b6e903.entry.js +1 -0
  236. package/dist/mint-components/p-9ba07029.system.entry.js +1 -0
  237. package/dist/mint-components/{p-6dc742bc.js → p-9ec99ced.js} +1 -1
  238. package/dist/mint-components/{p-cb845a3a.system.entry.js → p-9f57e731.system.entry.js} +1 -1
  239. package/dist/mint-components/{p-00bc7211.js → p-a1b3f61a.js} +1 -1
  240. package/dist/mint-components/{p-74f43a08.system.js → p-a275725a.system.js} +1 -1
  241. package/dist/mint-components/{p-22a9114f.system.entry.js → p-a30d7069.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-4c9d80e4.entry.js → p-a32afaaa.entry.js} +1 -1
  243. package/dist/mint-components/p-a6f4fb03.system.js +1 -0
  244. package/dist/mint-components/{p-1c6ef258.system.entry.js → p-ac86903a.system.entry.js} +1 -1
  245. package/dist/mint-components/p-ac9138fd.entry.js +1 -0
  246. package/dist/mint-components/{p-bfd77a07.entry.js → p-b00e8365.entry.js} +1 -1
  247. package/dist/mint-components/{p-66cf70f7.system.entry.js → p-b3510ca0.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-c994512c.system.js → p-b5fd4fb6.system.js} +1 -1
  249. package/dist/mint-components/{p-47c83656.entry.js → p-bef123be.entry.js} +1 -1
  250. package/dist/mint-components/{p-79a3344f.js → p-c44b3725.js} +1 -1
  251. package/dist/mint-components/p-c4f275db.system.entry.js +1 -0
  252. package/dist/mint-components/p-c5f92183.system.entry.js +1 -0
  253. package/dist/mint-components/{p-9fed62f8.system.entry.js → p-c67ffd25.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-60465a2d.system.js → p-c90fcb02.system.js} +1 -1
  255. package/dist/mint-components/{p-f7c0877d.entry.js → p-c95a437e.entry.js} +1 -1
  256. package/dist/mint-components/{p-7a268047.js → p-d181b17c.js} +1 -1
  257. package/dist/mint-components/p-d69c0a32.system.entry.js +1 -0
  258. package/dist/mint-components/{p-cf4e1709.entry.js → p-d9780ae9.entry.js} +1 -1
  259. package/dist/mint-components/p-db64c957.entry.js +33 -0
  260. package/dist/mint-components/{p-4fed8672.js → p-dbb79392.js} +1 -1
  261. package/dist/mint-components/{p-978d06ab.entry.js → p-e1422b78.entry.js} +1 -1
  262. package/dist/mint-components/p-e1e7d01c.js +157 -0
  263. package/dist/mint-components/{p-84d1041d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-b1eafaae.entry.js → p-e4017ba5.entry.js} +1 -1
  265. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  266. package/dist/mint-components/{p-ad4348c3.system.js → p-ee290b30.system.js} +1 -1
  267. package/dist/mint-components/{p-c62b277d.system.js → p-ee3d2ae4.system.js} +1 -1
  268. package/dist/mint-components/{p-dd30354a.system.entry.js → p-f3613921.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-55eaba8e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-e0a724dd.system.js → p-f3ccba80.system.js} +19 -19
  271. package/dist/mint-components/{p-c065057d.entry.js → p-f7e49c12.entry.js} +2 -2
  272. package/dist/mint-components/{p-b703c89f.system.entry.js → p-fc86ba65.system.entry.js} +1 -1
  273. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +3 -1
  274. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  275. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
  276. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
  277. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
  278. package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
  279. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  280. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  281. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
  282. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +1 -0
  283. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +5 -0
  284. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +1 -0
  285. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
  286. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  287. package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
  288. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
  289. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  290. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  291. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
  292. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  293. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +4 -10
  294. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
  295. package/dist/types/components.d.ts +40 -32
  296. package/dist/types/global/styles.v1.d.ts +2 -0
  297. package/docs/docs.docx +0 -0
  298. package/docs/raisins.json +1 -1
  299. package/grapesjs/grapesjs.js +1 -1
  300. package/package.json +2 -2
  301. package/dist/cjs/data-88adb95b.js +0 -146
  302. package/dist/cjs/parseStates-d1effc19.js +0 -16
  303. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
  304. package/dist/esm/data-807686c2.js +0 -130
  305. package/dist/esm/parseStates-ed75e224.js +0 -14
  306. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
  307. package/dist/esm-es5/data-807686c2.js +0 -1
  308. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  309. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  310. package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
  311. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  312. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  313. package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
  314. package/dist/esm-es5/utils-84b4b092.js +0 -1
  315. package/dist/mint-components/p-115dfc03.system.js +0 -1
  316. package/dist/mint-components/p-13f3a647.js +0 -1
  317. package/dist/mint-components/p-26468242.js +0 -1
  318. package/dist/mint-components/p-38263521.entry.js +0 -273
  319. package/dist/mint-components/p-3d713973.system.entry.js +0 -1
  320. package/dist/mint-components/p-3ea29bac.system.entry.js +0 -1
  321. package/dist/mint-components/p-402984b3.system.entry.js +0 -1
  322. package/dist/mint-components/p-4306a11d.entry.js +0 -33
  323. package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
  324. package/dist/mint-components/p-4b9976cc.system.js +0 -1
  325. package/dist/mint-components/p-60f1cca2.system.js +0 -1
  326. package/dist/mint-components/p-69d8b4f2.system.entry.js +0 -1
  327. package/dist/mint-components/p-7837f69e.js +0 -46
  328. package/dist/mint-components/p-7b8232f8.system.js +0 -6
  329. package/dist/mint-components/p-8c3c4e92.js +0 -112
  330. package/dist/mint-components/p-916a2045.system.entry.js +0 -1
  331. package/dist/mint-components/p-92bed2ad.system.js +0 -1
  332. package/dist/mint-components/p-967a9040.system.js +0 -1
  333. package/dist/mint-components/p-a44a912b.entry.js +0 -1
  334. package/dist/mint-components/p-a597b136.entry.js +0 -1
  335. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  336. package/dist/mint-components/p-be88596c.system.js +0 -1
  337. package/dist/mint-components/p-cf22cf56.entry.js +0 -1
  338. package/dist/mint-components/p-db1a0db1.js +0 -1233
  339. package/dist/mint-components/p-ddf3c05e.js +0 -1
  340. package/dist/mint-components/p-ea063d99.entry.js +0 -1
  341. package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
  342. package/shoelace/assets/icons/twitter-x.svg +0 -4
  343. /package/dist/collection/global/{styles.js → styles.v2.js} +0 -0
  344. /package/dist/collection/global/{styles.ts → styles.v2.ts} +0 -0
  345. /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
  346. /package/dist/mint-components/global/{styles.ts → styles.v2.ts} +0 -0
  347. /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
  348. /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
  349. /package/dist/types/global/{styles.d.ts → styles.v2.d.ts} +0 -0
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a43a63b4.js');
6
- const global = require('./global-8bba5b3a.js');
6
+ const global = require('./global-39cb0afc.js');
7
7
  const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
8
  const index_module = require('./index.module-4f54e412.js');
9
9
  const jsonpointer = require('./jsonpointer-11327262.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
- const utils = require('./utils-0d3ac0fb.js');
11
+ const utils = require('./utils-6847bc06.js');
12
12
  const JSS = require('./JSS-8503a151.js');
13
13
  require('./useReferralCodes-11cdf43b.js');
14
14
  require('./mixins-4761d472.js');
15
- const copyTextView = require('./copy-text-view-51c8ee5d.js');
15
+ const copyTextView = require('./copy-text-view-322436c2.js');
16
16
  const reRender = require('./re-render-d516138a.js');
17
17
  const useChildElements = require('./useChildElements-966c9041.js');
18
18
  require('./luxon-949beaf2.js');
@@ -21,15 +21,17 @@ const index$1 = require('./index-8c6255f5.js');
21
21
  const emailRegistrationView = require('./email-registration-view-ace50780.js');
22
22
  const useRegistrationFormState = require('./useRegistrationFormState-bbee6e7b.js');
23
23
  const useInstantAccessRegistration = require('./useInstantAccessRegistration-08bcb487.js');
24
- const useLeadFormState = require('./useLeadFormState-fd0445f9.js');
24
+ const useLeadFormState = require('./useLeadFormState-b355759b.js');
25
25
  const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
26
- const usePortalLogin = require('./usePortalLogin-353f776a.js');
26
+ const usePortalLogin = require('./usePortalLogin-1c022d8d.js');
27
27
  const AsYouType = require('./AsYouType-6788393a.js');
28
28
  const utilities = require('./utilities-9a0c5e91.js');
29
- const ShadowViewAddon = require('./ShadowViewAddon-016bebfd.js');
30
- require('./sqm-portal-container-view-ca86b9e5.js');
31
- const parseStates = require('./parseStates-d1effc19.js');
32
- const usePayoutStatus = require('./usePayoutStatus-fe32dd1a.js');
29
+ const ErrorView = require('./ErrorView-3f91e5ab.js');
30
+ const ShadowViewAddon = require('./ShadowViewAddon-646dec73.js');
31
+ require('./sqm-portal-container-view-07e4343f.js');
32
+ const utils$1 = require('./utils-ac82f977.js');
33
+ const extractProps = require('./extractProps-e9c55ba8.js');
34
+ const data = require('./data-16106637.js');
33
35
 
34
36
  /**
35
37
  *
@@ -2687,6 +2689,7 @@ function useNameFields(props) {
2687
2689
  const registrationFormState = domContextHooks_module.d(useRegistrationFormState.REGISTRATION_FORM_STATE_CONTEXT);
2688
2690
  return {
2689
2691
  states: {
2692
+ optional: props.optional,
2690
2693
  registrationFormState,
2691
2694
  content: {
2692
2695
  lastNameLabel: props.lastNameLabel,
@@ -2708,6 +2711,11 @@ const NameFields = class {
2708
2711
  * @uiName Last name label
2709
2712
  */
2710
2713
  this.lastNameLabel = "Last Name";
2714
+ /**
2715
+ * @uiName Optional
2716
+ * @uiWidget
2717
+ */
2718
+ this.optional = false;
2711
2719
  domContextHooks_module.h$1(this);
2712
2720
  }
2713
2721
  disconnectedCallback() { }
@@ -2719,6 +2727,7 @@ const NameFields = class {
2719
2727
  function useNameFieldsDemo(props) {
2720
2728
  return cjs.cjs({
2721
2729
  states: {
2730
+ optional: props.optional,
2722
2731
  validationErrors: [],
2723
2732
  content: {
2724
2733
  firstNameLabel: props.firstNameLabel,
@@ -3186,16 +3195,10 @@ const PayoutStatusAlert = class {
3186
3195
  this.errorDescription = "There was an error with determining your payout status.";
3187
3196
  /**
3188
3197
  * @undocumented
3189
- * @componentState { "title": "Information Required", "props": { "demoData": { "states": { "status": "INFORMATION_REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3190
- * @componentState { "title": "Over W9 Threshold - Defer", "props": { "demoData": { "states": { "status": "OVER_W9_THRESHOLD", "enforceUsTaxComplianceOption": "CASH_ONLY_DEFER_W9" } } }, "dependencies": ["sqm-payout-status-alert"] }
3191
- * @componentState { "title": "Over W9 Threshold - Hold", "props": { "demoData": { "states": { "status": "OVER_W9_THRESHOLD", "enforceUsTaxComplianceOption": "NONE" } } }, "dependencies": ["sqm-payout-status-alert"] }
3192
- * @componentState { "title": "Verification Required", "props": { "demoData": { "states": { "status": "VERIFICATION:REQUIRED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3193
- * @componentState { "title": "Verification Internal", "props": { "demoData": { "states": { "status": "VERIFICATION:INTERNAL" } } }, "dependencies": ["sqm-payout-status-alert"] }
3194
- * @componentState { "title": "Verification Review", "props": { "demoData": { "states": { "status": "VERIFICATION:REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3195
- * @componentState { "title": "Verification Failed", "props": { "demoData": { "states": { "status": "VERIFICATION:FAILED" } } }, "dependencies": ["sqm-payout-status-alert"] }
3196
- * @componentState { "title": "Account Review", "props": { "demoData": { "states": { "status": "ACCOUNT_REVIEW" } } }, "dependencies": ["sqm-payout-status-alert"] }
3197
- * @componentState { "title": "Hold", "props": { "demoData": { "states": { "status": "HOLD" } } }, "dependencies": ["sqm-payout-status-alert"] }
3198
- * @componentState { "title": "Error State", "props": { "demoData": { "states": { "error": true } } }, "dependencies": ["sqm-payout-status-alert"] }
3198
+ * @componentState { "title": "Payout Info Required", "props": { "states": { "status": "INFORMATION_REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3199
+ * @componentState { "title": "Verification Required", "props": { "states": { "status": "VERIFICATION:REQUIRED" } }, "dependencies": ["sqm-payout-status-alert"] }
3200
+ * @componentState { "title": "Identity Verification", "props": { "states": { "status": "VERIFICATION:REVIEW" } }, "dependencies": ["sqm-payout-status-alert"] }
3201
+ * @componentState { "title": "Account Hold", "props": { "states": { "status": "HOLD" } }, "dependencies": ["sqm-payout-status-alert"] }
3199
3202
  */
3200
3203
  this.stateController = "{}";
3201
3204
  domContextHooks_module.h$1(this);
@@ -3207,12 +3210,12 @@ const PayoutStatusAlert = class {
3207
3210
  render() {
3208
3211
  const props = index_module.isDemo()
3209
3212
  ? useDemoPayoutStatusAlert(this)
3210
- : usePayoutStatus.usePayoutStatus(this);
3213
+ : data.usePayoutStatus(this);
3211
3214
  return index.h(PayoutStatusAlertView, Object.assign({}, props));
3212
3215
  }
3213
3216
  };
3214
3217
  function useDemoPayoutStatusAlert(props) {
3215
- const states = parseStates.parseStates(props.stateController);
3218
+ const states = extractProps.parseStates(props.stateController);
3216
3219
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-payout-status-alert"
3217
3220
  ? { ...prev, ...states[key] }
3218
3221
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
@@ -4668,7 +4671,7 @@ const ReferredRegistration = class {
4668
4671
  /**
4669
4672
  * @uiName Register button text
4670
4673
  */
4671
- this.registerLabel = "Start Referring";
4674
+ this.registerLabel = "Claim Your Reward";
4672
4675
  /**
4673
4676
  * Require your participants to enter their first and last name.
4674
4677
  *
@@ -5766,7 +5769,7 @@ function EmptySlot$1() {
5766
5769
  return (index.h("slot", { name: "empty" }, index.h("sqm-empty", { emptyStateImage: "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png", emptyStateHeader: "Redeem rewards", emptyStateText: "Use your points to redeem rewards once they become available" })));
5767
5770
  }
5768
5771
  function useRewardExchangeListDemo(props) {
5769
- const states = parseStates.parseStates(props.stateController);
5772
+ const states = extractProps.parseStates(props.stateController);
5770
5773
  const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-reward-exchange-list"
5771
5774
  ? { ...prev, ...states[key] }
5772
5775
  : { ...prev, [`${key}_stateController`]: states[key] }, {});
@@ -6124,7 +6127,6 @@ const ShareLink = class {
6124
6127
  function useDemoShareLink(props) {
6125
6128
  const [open, setOpen] = domContextHooks_module.useState(false);
6126
6129
  const copyString = "https://www.example.com/sharelink/abc";
6127
- console.log("Demo props", props);
6128
6130
  return cjs.cjs({
6129
6131
  copyString: copyString,
6130
6132
  tooltiptext: props.tooltiptext,
@@ -6364,11 +6366,11 @@ const TaskCard = class {
6364
6366
  disconnectedCallback() { }
6365
6367
  render() {
6366
6368
  const { props } = index_module.isDemo()
6367
- ? ShadowViewAddon.useDemoBigStat(this)
6369
+ ? ShadowViewAddon.useDemoBigStat(utils.getProps(this))
6368
6370
  : ShadowViewAddon.useBigStat({ ...utils.getProps(this), programId: this.programId });
6369
6371
  const { value, loading } = props;
6370
6372
  const { states, callbacks } = index_module.isDemo()
6371
- ? useTaskCardDemo(this)
6373
+ ? useTaskCardDemo(utils.getProps(this))
6372
6374
  : useTaskCard(this);
6373
6375
  return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
6374
6376
  loading,
@@ -6389,6 +6391,1301 @@ function useTaskCardDemo(props) {
6389
6391
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
6390
6392
  }
6391
6393
 
6394
+ function getCurrentStep(user) {
6395
+ var _a, _b;
6396
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
6397
+ return "/1";
6398
+ }
6399
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
6400
+ // If they do have a required document, look at current document
6401
+ if (requiredTaxDocumentType && !currentTaxDocument) {
6402
+ // Specific to custom CASH setting,
6403
+ if (payoutsAccount.hold &&
6404
+ payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
6405
+ return "/dashboard";
6406
+ return "/3";
6407
+ }
6408
+ if (!withdrawalSettings && brandedSignup)
6409
+ return "/4";
6410
+ return "/dashboard";
6411
+ }
6412
+ function useTaxAndCash() {
6413
+ var _a, _b, _c, _d, _e;
6414
+ const host = index_module._();
6415
+ const user = index_module.J();
6416
+ const locale = index_module.L();
6417
+ // State for current step of form
6418
+ const [step, setStep] = index_module.In({
6419
+ namespace: data.TAX_CONTEXT_NAMESPACE,
6420
+ initialValue: "/loading",
6421
+ });
6422
+ // State for when to hide steps, or override certain actions
6423
+ const [context, _setContext] = index_module.In({
6424
+ namespace: data.TAX_FORM_CONTEXT_NAMESPACE,
6425
+ initialValue: {},
6426
+ });
6427
+ // State to carry user form information into step 2
6428
+ const [userFormContext, _setUserFormContext] = index_module.In({
6429
+ namespace: data.USER_FORM_CONTEXT_NAMESPACE,
6430
+ initialValue: {
6431
+ firstName: undefined,
6432
+ lastName: undefined,
6433
+ email: undefined,
6434
+ countryCode: undefined,
6435
+ currency: undefined,
6436
+ },
6437
+ });
6438
+ const [_currenciesContext, setCurrenciesContext] = index_module.In({
6439
+ namespace: data.CURRENCIES_NAMESPACE,
6440
+ initialValue: [],
6441
+ });
6442
+ const [_countriesContext, _setCountriesContext] = index_module.In({
6443
+ namespace: data.COUNTRIES_NAMESPACE,
6444
+ initialValue: [],
6445
+ });
6446
+ const [_sortedCountriesContext, setSortedCountriesContext] = index_module.In({
6447
+ namespace: data.SORTED_COUNTRIES_NAMESPACE,
6448
+ initialValue: [],
6449
+ });
6450
+ const { data: data$1, errors } = index_module.Sn({
6451
+ namespace: data.USER_QUERY_NAMESPACE,
6452
+ query: data.GET_USER,
6453
+ skip: !user,
6454
+ options: {
6455
+ batch: false,
6456
+ },
6457
+ });
6458
+ const countryCode = ((_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.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) ||
6459
+ userFormContext.countryCode;
6460
+ index_module.Sn({
6461
+ namespace: data.COUNTRIES_QUERY_NAMESPACE,
6462
+ query: data.GET_COUNTRIES,
6463
+ skip: !user,
6464
+ });
6465
+ const { data: financeNetworkData, refetch } = index_module.Sn({
6466
+ namespace: data.FINANCE_NETWORK_SETTINGS_NAMESPACE,
6467
+ query: data.GET_FINANCE_NETWORK_SETTINGS,
6468
+ skip: !user,
6469
+ variables: {
6470
+ filter: getFinanceNetworkFilter(),
6471
+ },
6472
+ });
6473
+ const { data: currenciesData } = index_module.Sn({
6474
+ namespace: data.CURRENCIES_QUERY_NAMESPACE,
6475
+ query: data.GET_CURRENCIES,
6476
+ skip: !user,
6477
+ variables: {
6478
+ locale,
6479
+ },
6480
+ });
6481
+ const supportedCurrencies = domContextHooks_module.useMemo(() => {
6482
+ var _a, _b;
6483
+ // Filter out any currencies not supported by finance network settings
6484
+ 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) => {
6485
+ var _a, _b;
6486
+ 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);
6487
+ // Currency not in supported list
6488
+ if (!currency)
6489
+ return agg;
6490
+ // Currency already added to list
6491
+ if (agg.find((currency) => currency.currencyCode === settings.currency))
6492
+ return agg;
6493
+ // Currency not supported by selected country
6494
+ if (userFormContext.countryCode &&
6495
+ settings.countryCode !== countryCode)
6496
+ return agg;
6497
+ return [...agg, currency];
6498
+ }, []);
6499
+ return allValidCurrencies;
6500
+ }, [financeNetworkData, countryCode]);
6501
+ const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
6502
+ const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
6503
+ const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
6504
+ // filter out any duplicate countries and null countryCode
6505
+ const availableCountries = domContextHooks_module.useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
6506
+ const _topCountries = ["CA", "GB", "US"];
6507
+ const sortedCountries = domContextHooks_module.useMemo(() => Array.from(availableCountries)
6508
+ .map((countryCode) => utils$1.getCountryObj({ countryCode, locale: intlLocale }))
6509
+ .sort(sortByName)
6510
+ .reduce((prev, countryObj) => {
6511
+ if (_topCountries.includes(countryObj.countryCode))
6512
+ return [countryObj, ...prev];
6513
+ return [...prev, countryObj];
6514
+ }, []), [availableCountries]);
6515
+ domContextHooks_module.useEffect(() => {
6516
+ if (sortedCountries)
6517
+ setSortedCountriesContext(sortedCountries);
6518
+ }, [sortedCountries]);
6519
+ domContextHooks_module.useEffect(() => {
6520
+ if (supportedCurrencies)
6521
+ setCurrenciesContext(supportedCurrencies);
6522
+ }, [supportedCurrencies]);
6523
+ domContextHooks_module.useEffect(() => {
6524
+ if (errors) {
6525
+ setStep("/error");
6526
+ return;
6527
+ }
6528
+ if (!host || !user)
6529
+ return;
6530
+ if (data$1) {
6531
+ const user = data$1 === null || data$1 === void 0 ? void 0 : data$1.user;
6532
+ if (!user || step !== "/loading")
6533
+ return;
6534
+ const currentStep = getCurrentStep(user);
6535
+ setStep(currentStep);
6536
+ }
6537
+ }, [host, user, (_e = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
6538
+ function getFinanceNetworkFilter() {
6539
+ var _a, _b, _c;
6540
+ if (step === "/1")
6541
+ return {};
6542
+ if (step === "/4")
6543
+ return { currency_eq: (_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.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 };
6544
+ if (countryCode)
6545
+ return {
6546
+ countryCode_eq: countryCode,
6547
+ };
6548
+ return {};
6549
+ }
6550
+ return {
6551
+ step,
6552
+ setStep,
6553
+ context,
6554
+ namespace: index_module.Mn(data.TAX_CONTEXT_NAMESPACE),
6555
+ loading: step === "/loading",
6556
+ };
6557
+ }
6558
+
6559
+ const TaxAndCashMonolith = class {
6560
+ constructor(hostRef) {
6561
+ index.registerInstance(this, hostRef);
6562
+ /*---------------------------------------------------------------------------------
6563
+ !IMPORTANT!: Make sure to also change the prop names in the respective component
6564
+ -----------------------------------------------------------------------------------*/
6565
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6566
+ STEP 1 PROPS:
6567
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6568
+ /**
6569
+ * @uiName First name field label
6570
+ * @uiGroup Step 1 Properties
6571
+ */
6572
+ this.step1_firstName = "First name";
6573
+ /**
6574
+ * @uiName Last name field label
6575
+ * @uiGroup Step 1 Properties
6576
+ */
6577
+ this.step1_lastName = "Last name";
6578
+ /**
6579
+ * @uiName Email field label
6580
+ * @uiGroup Step 1 Properties
6581
+ */
6582
+ this.step1_email = "Email";
6583
+ /**
6584
+ * @uiName Country field label
6585
+ * @uiGroup Step 1 Properties
6586
+ */
6587
+ this.step1_country = "Country";
6588
+ /**
6589
+ * @uiName Phone number field label
6590
+ * @uiGroup Step 1 Properties
6591
+ */
6592
+ this.step1_phoneNumber = "Phone number";
6593
+ /**
6594
+ * @uiName Address field label
6595
+ * @uiGroup Step 1 Properties
6596
+ */
6597
+ this.step1_address = "Address";
6598
+ /**
6599
+ * @uiName City field label
6600
+ * @uiGroup Step 1 Properties
6601
+ */
6602
+ this.step1_city = "City";
6603
+ /**
6604
+ * @uiName State field label for states
6605
+ * @uiGroup Step 1 Properties
6606
+ */
6607
+ this.step1_state = "State";
6608
+ /**
6609
+ * @uiName State field label for provinces
6610
+ * @uiGroup Step 1 Properties
6611
+ */
6612
+ this.step1_province = "Province";
6613
+ /**
6614
+ * @uiName State field label for regions
6615
+ * @uiGroup Step 1 Properties
6616
+ */
6617
+ this.step1_region = "Region";
6618
+ /**
6619
+ * @uiName Postal code field label
6620
+ * @uiGroup Step 1 Properties
6621
+ */
6622
+ this.step1_postalCode = "Postal code";
6623
+ /**
6624
+ * @uiName Currency field label
6625
+ * @uiGroup Step 1 Properties
6626
+ */
6627
+ this.step1_currency = "Currency";
6628
+ /**
6629
+ * @uiName Currency field help text
6630
+ * @uiGroup Step 1 Properties
6631
+ */
6632
+ this.step1_currencyHelpText = "Choose your preferred payout currency";
6633
+ /**
6634
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
6635
+ * @uiName Terms and conditions checkbox
6636
+ * @uiGroup Step 1 Properties
6637
+ */
6638
+ this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
6639
+ /**
6640
+ * @uiName Step 1 title
6641
+ * @uiGroup Step 1 Properties
6642
+ */
6643
+ this.step1_personalInformation = "Personal Information";
6644
+ /**
6645
+ * The link text that appears in the terms and conditions checkbox
6646
+ * @uiName Terms and conditions text
6647
+ * @uiGroup Step 1 Properties
6648
+ * @uiWidget textArea
6649
+ */
6650
+ this.step1_termsAndConditionsLabel = "terms and conditions";
6651
+ /**
6652
+ * The link that appears in the terms and conditions checkbox
6653
+ * @uiName Terms and conditions link
6654
+ * @uiGroup Step 1 Properties
6655
+ */
6656
+ this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
6657
+ /**
6658
+ * Placeholder text displayed in the currency search dropdown
6659
+ * @uiName Currency field placeholder text
6660
+ * @uiGroup Step 1 Properties
6661
+ */
6662
+ this.step1_searchForCurrencyText = "Search for currency..";
6663
+ /**
6664
+
6665
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6666
+ STEP 2 PROPS:
6667
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6668
+ /**
6669
+ * @uiName Step 2 title
6670
+ * @uiGroup Step 2 Properties
6671
+ */
6672
+ this.step2_indirectTax = "Indirect Tax";
6673
+ /**
6674
+ * Displayed under the title of this step.
6675
+ * @uiName Step 2 description
6676
+ * @uiGroup Step 2 Properties
6677
+ * @uiWidget textArea
6678
+ */
6679
+ 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.";
6680
+ /**
6681
+ * Displayed with indirect tax registration options.
6682
+ * @uiName Indirect tax details section title
6683
+ * @uiGroup Step 2 Properties
6684
+ */
6685
+ this.step2_indirectTaxDetails = "Indirect tax details";
6686
+ /**
6687
+ * @uiName Registered for indirect tax option
6688
+ * @uiGroup Step 2 Properties
6689
+ * @uiWidget textArea
6690
+ *
6691
+ */
6692
+ this.step2_otherRegion = "Registered for indirect tax";
6693
+ /**
6694
+ * Selecting this option will display fields to enter indirect tax details.
6695
+ * @uiName Registered for indirect tax option description
6696
+ * @uiGroup Step 2 Properties
6697
+ */
6698
+ this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
6699
+ /**
6700
+ * @uiName Not registered for indirect tax option
6701
+ * @uiGroup Step 2 Properties
6702
+ * @uiWidget textArea
6703
+ */
6704
+ this.step2_notRegistered = "Not registered for indirect tax";
6705
+ /**
6706
+ * Participants based in the US are considered not registered.
6707
+ * @uiName Not registered for indirect tax option description
6708
+ * @uiGroup Step 2 Properties
6709
+ */
6710
+ this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
6711
+ /**
6712
+ * @uiName Region of indirect tax field label
6713
+ * @uiGroup Step 2 Properties
6714
+ */
6715
+ this.step2_selectedRegion = "Country / region of indirect tax";
6716
+ /**
6717
+ * @uiName Indirect tax number field label
6718
+ * @uiGroup Step 2 Properties
6719
+ */
6720
+ this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
6721
+ /**
6722
+ * @uiName Province field label
6723
+ * @uiGroup Step 2 Properties
6724
+ */
6725
+ this.step2_province = "Province";
6726
+ /**
6727
+ * @uiName Missing indirect tax number error message
6728
+ * @uiGroup Step 2 Properties
6729
+ */
6730
+ 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";
6731
+ /**
6732
+ * Displayed to participants registered for QST.
6733
+ * @uiName QST number field label
6734
+ * @uiGroup Step 2 Properties
6735
+ */
6736
+ this.step2_qstNumber = "QST number";
6737
+ /**
6738
+ * Displayed to participants registered for indirect tax in Quebec, Canada.
6739
+ * @uiName QST tax checkbox
6740
+ * @uiGroup Step 2 Properties
6741
+ */
6742
+ this.step2_isRegisteredQST = "I am registered for QST Tax";
6743
+ /**
6744
+ * Displayed to participants registered for indirect tax in Spain.
6745
+ * @uiName Spain income tax checkbox
6746
+ * @uiGroup Step 2 Properties
6747
+ * @uiWidget textArea
6748
+ */
6749
+ 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.";
6750
+ /**
6751
+ * Displayed to participants registered in Spain.
6752
+ * @uiName Sub-region of indirect tax field label
6753
+ * @uiGroup Step 2 Properties
6754
+ */
6755
+ this.step2_subRegion = "Sub-region";
6756
+ /**
6757
+ * @uiName Income tax field label
6758
+ * @uiGroup Step 2 Properties
6759
+ */
6760
+ this.step2_subRegionTaxNumberLabel = "Income Tax Number";
6761
+ /**
6762
+ * Communicate that after this step, only Support can change personal and indirect tax information.
6763
+ * @uiName Submission confirmation alert
6764
+ * @uiGroup Step 2 Properties
6765
+ * @uiWidget textArea
6766
+ */
6767
+ 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.";
6768
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6769
+ STEP 3 PROPS:
6770
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6771
+ /**
6772
+ * @uiName Step 3 title
6773
+ * @uiGroup Step 3 Properties
6774
+ */
6775
+ this.step3_taxForm = "Tax form";
6776
+ /**
6777
+ * Display the type of tax form that the participant must submit.
6778
+ * @uiName Tax form name
6779
+ * @uiGroup Step 3 Properties
6780
+ */
6781
+ this.step3_taxFormLabel = "{documentType} Tax Form";
6782
+ /**
6783
+ * @uiName Participant type field label
6784
+ * @uiGroup Step 3 Properties
6785
+ */
6786
+ this.step3_participantType = "Participant type";
6787
+ /**
6788
+ * An option for the participant type field. Used to determine which W-8 form is required.
6789
+ * @uiName Business representative participant type label
6790
+ * @uiGroup Step 3 Properties
6791
+ */
6792
+ this.step3_businessEntity = "I represent a business";
6793
+ /**
6794
+ * An option for the participant type field. Used to determine which W-8 form is required.
6795
+ * @uiName Individual participant type label
6796
+ * @uiGroup Step 3 Properties
6797
+ */
6798
+ this.step3_individualParticipant = "I am an individual participant";
6799
+ /**
6800
+ * Displayed at the top of the page to participants based in the US.
6801
+ * @uiName W-9 tax form description
6802
+ * @uiGroup Step 3 Properties
6803
+ * @uiWidget textArea
6804
+ */
6805
+ this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
6806
+ /**
6807
+ * Displayed at the top of the page to individuals joining a US program who reside outside the country.
6808
+ * @uiName W-8 BEN tax form description
6809
+ * @uiGroup Step 3 Properties
6810
+ * @uiWidget textArea
6811
+ */
6812
+ this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
6813
+ /**
6814
+ * Displayed at the top of the page to participants representing a business.
6815
+ * @uiName W-8 BEN-E tax form description
6816
+ * @uiGroup Step 3 Properties
6817
+ * @uiWidget textArea
6818
+ */
6819
+ this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
6820
+ /**
6821
+ * This appears inside the Docusign frame.
6822
+ * @uiName Docusign session expired message
6823
+ * @uiGroup Step 3 Properties
6824
+ * @uiWidget textArea
6825
+ */
6826
+ 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.";
6827
+ /**
6828
+ * Remind participants their session will time out after 20 minutes of inactivity.
6829
+ * @uiName Docusign timed session message
6830
+ * @uiGroup Step 3 Properties
6831
+ * @uiWidget textArea
6832
+ */
6833
+ this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
6834
+ /**
6835
+ * This appears inside the Docusign frame.
6836
+ * @uiName Docusign form error message
6837
+ * @uiGroup Step 3 Properties
6838
+ * @uiWidget textArea
6839
+ */
6840
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
6841
+ /**
6842
+ * @uiName Refresh page button label
6843
+ * @uiGroup Step 3 Properties
6844
+ */
6845
+ this.step3_refreshButton = "Refresh Page";
6846
+ /**
6847
+ * @uiName Exit button text
6848
+ * @uiGroup Step 3 Properties
6849
+ */
6850
+ this.step3_exitButton = "Exit";
6851
+ /**
6852
+ * @uiName Information modal title
6853
+ * @uiGroup Step 3 Properties
6854
+ */
6855
+ this.step3_modalTitle = "Important Note";
6856
+ /**
6857
+ * @uiName Information modal description text
6858
+ * @uiGroup Step 3 Properties
6859
+ */
6860
+ this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
6861
+ /**
6862
+ * @uiName Information modal button text
6863
+ * @uiGroup Step 3 Properties
6864
+ */
6865
+ this.step3_modalButtonText = "I understand";
6866
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6867
+ STEP 4 PROPS:
6868
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
6869
+ /**
6870
+ * @uiName Step 4 title
6871
+ * @uiGroup Step 4 Properties
6872
+ */
6873
+ this.step4_taxAndPayouts = "Payouts";
6874
+ /**
6875
+ * @uiName Direct to bank payout option
6876
+ * @uiGroup Step 4 Properties
6877
+ */
6878
+ this.step4_directlyToBankAccount = "Directly to my bank account";
6879
+ /**
6880
+ * @uiName PayPal payout option
6881
+ * @uiGroup Step 4 Properties
6882
+ */
6883
+ this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
6884
+ /**
6885
+ * @uiName Threshold balance payment schedule option
6886
+ * @uiGroup Step 4 Properties
6887
+ */
6888
+ this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
6889
+ /**
6890
+ * @uiName Fixed day payment schedule option
6891
+ * @uiGroup Step 4 Properties
6892
+ */
6893
+ this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
6894
+ /**
6895
+ * Let the participant choose what day of the month they’ll get paid
6896
+ * @uiName Payment day field label
6897
+ * @uiGroup Step 4 Properties
6898
+ */
6899
+ this.step4_paymentDaySelectLabel = "Payment Day";
6900
+ /**
6901
+ * Participant use this field to select the balance at which they want to be paid
6902
+ * @uiName Payment threshold field label
6903
+ * @uiGroup Step 4 Properties
6904
+ */
6905
+ this.step4_paymentThresholdSelectLabel = "Payment threshold";
6906
+ /**
6907
+ * One of two payment day options
6908
+ * @uiName First of month payday option
6909
+ * @uiGroup Step 4 Properties
6910
+ */
6911
+ this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
6912
+ /**
6913
+ * One of two payment day options
6914
+ * @uiName Fifteenth of month payday option
6915
+ * @uiGroup Step 4 Properties
6916
+ */
6917
+ this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
6918
+ /**
6919
+ * @uiName Payment method section header
6920
+ * @uiGroup Step 4 Properties
6921
+ */
6922
+ this.step4_paymentMethod = "Payment method";
6923
+ /**
6924
+ * @uiName Payment schedule section header
6925
+ * @uiGroup Step 4 Properties
6926
+ */
6927
+ this.step4_paymentSchedule = "Payment schedule";
6928
+ /**
6929
+ * @uiName Payment method section description
6930
+ * @uiGroup Step 4 Properties
6931
+ */
6932
+ this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
6933
+ /**
6934
+ * Displayed to participants who choose PayPal as their payout method
6935
+ * @uiName PayPal email field label
6936
+ * @uiGroup Step 4 Properties
6937
+ */
6938
+ this.step4_payPalInputLabel = "PayPal email";
6939
+ /**
6940
+ * @uiName Bank country field label
6941
+ * @uiGroup Step 4 Properties
6942
+ */
6943
+ this.step4_bankLocationLabel = "Bank country location";
6944
+ /**
6945
+ * @uiName Beneficiary account field label
6946
+ * @uiGroup Step 4 Properties
6947
+ */
6948
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
6949
+ /**
6950
+ * @uiName Beneficiary account field description
6951
+ * @uiGroup Step 4 Properties
6952
+ */
6953
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
6954
+ /**
6955
+ * @uiName Bank account type field label
6956
+ * @uiGroup Step 4 Properties
6957
+ */
6958
+ this.step4_bankAccountTypeLabel = "Bank account type";
6959
+ /**
6960
+ * @uiName Checking account option
6961
+ * @uiGroup Step 4 Properties
6962
+ */
6963
+ this.step4_checkingSelectItemLabel = "Checking";
6964
+ /**
6965
+ * Label text for the savings account type select item
6966
+ * @uiName Savings account options
6967
+ * @uiGroup Step 4 Properties
6968
+ */
6969
+ this.step4_savingsSelectItemLabel = "Savings";
6970
+ /**
6971
+ * @uiName Bank account number field label
6972
+ * @uiGroup Step 4 Properties
6973
+ */
6974
+ this.step4_bankAccountNumberLabel = "Bank account number";
6975
+ /**
6976
+ * @uiName IBAN field label
6977
+ * @uiGroup Step 4 Properties
6978
+ */
6979
+ this.step4_ibanLabel = "IBAN";
6980
+ /**
6981
+ * @uiName SWIFT code field label
6982
+ * @uiGroup Step 4 Properties
6983
+ */
6984
+ this.step4_swiftCodeLabel = "SWIFT code";
6985
+ /**
6986
+ * @uiName Routing code field label
6987
+ * @uiGroup Step 4 Properties
6988
+ */
6989
+ 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} }";
6990
+ /**
6991
+ * @uiName Bank name field label
6992
+ * @uiGroup Step 4 Properties
6993
+ */
6994
+ this.step4_bankNameLabel = "Bank name";
6995
+ /**
6996
+ * @uiName Classification entity field label
6997
+ * @uiGroup Step 4 Properties
6998
+ */
6999
+ this.step4_classificationEntityLabel = "Classification entity";
7000
+ /**
7001
+ * One of three options listed for the classification field
7002
+ * @uiName Business classification option
7003
+ * @uiGroup Step 4 Properties
7004
+ */
7005
+ this.step4_businessSelectItemLabel = "Business";
7006
+ /**
7007
+ * One of three options listed for the classification field
7008
+ * @uiName Individual classification option
7009
+ * @uiGroup Step 4 Properties
7010
+ */
7011
+ this.step4_individualSelectItemLabel = "Individual";
7012
+ /**
7013
+ * One of three options listed for the classification field
7014
+ * @uiName Foreign classification option
7015
+ * @uiGroup Step 4 Properties
7016
+ */
7017
+ this.step4_foreignSelectItemLabel = "Foreign";
7018
+ /**
7019
+ * @uiName Classification CPF field label
7020
+ * @uiGroup Step 4 Properties
7021
+ */
7022
+ this.step4_classificationCPFLabel = "Classification CPF";
7023
+ /**
7024
+ * @uiName Patronymic name field label
7025
+ * @uiGroup Step 4 Properties
7026
+ */
7027
+ this.step4_patronymicNameLabel = "Patronymic name";
7028
+ /**
7029
+ * @uiName VO code field label
7030
+ * @uiGroup Step 4 Properties
7031
+ */
7032
+ this.step4_voCodeLabel = "VO code";
7033
+ /**
7034
+ * @uiName Agency code field label
7035
+ * @uiGroup Step 4 Properties
7036
+ */
7037
+ this.step4_agencyCodeLabel = "Agency code";
7038
+ /**
7039
+ * @uiName Branch code field label
7040
+ * @uiGroup Step 4 Properties
7041
+ */
7042
+ this.step4_branchCodeLabel = "Branch code";
7043
+ /**
7044
+ * Label text for the classification input field
7045
+ * @uiName Classification field label
7046
+ * @uiGroup Step 4 Properties
7047
+ */
7048
+ this.step4_classificationLabel = "Classification";
7049
+ /**
7050
+ * @uiName Taxpayer ID field label
7051
+ * @uiGroup Step 4 Properties
7052
+ */
7053
+ this.step4_taxPayerIdLabel = "Beneficiary INN";
7054
+ /**
7055
+ * @uiName Bank address field label
7056
+ * @uiGroup Step 4 Properties
7057
+ */
7058
+ this.step4_bankAddressLabel = "Bank address";
7059
+ /**
7060
+ * @uiName Bank city field label
7061
+ * @uiGroup Step 4 Properties
7062
+ */
7063
+ this.step4_bankCityLabel = "Bank city";
7064
+ /**
7065
+ * @uiName Bank province/state field label
7066
+ * @uiGroup Step 4 Properties
7067
+ */
7068
+ this.step4_bankStateLabel = "Bank Province / State";
7069
+ /**
7070
+ * @uiName Bank postal code field label
7071
+ * @uiGroup Step 4 Properties
7072
+ */
7073
+ this.step4_bankPostalCodeLabel = "Bank postal code";
7074
+ /**
7075
+ * Default payment method to the participants’ bank account.
7076
+ * @uiName EFT withdrawal payment method
7077
+ * @uiGroup Step 4 Properties
7078
+ */
7079
+ this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
7080
+ /**
7081
+ * @uiName FX Wire Processing fee text
7082
+ * @uiGroup Step 4 Properties
7083
+ */
7084
+ this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
7085
+ /**
7086
+ * @uiName Text for verify email dialog
7087
+ * @uiGroup Step 4 Properties
7088
+ */
7089
+ this.step4_verifyEmailHeaderText = "Verify your email";
7090
+ /**
7091
+ * @uiName Verify code widget header text
7092
+ * @uiGroup Step 4 Properties
7093
+ */
7094
+ this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
7095
+ /**
7096
+ * @uiName Information modal title
7097
+ * @uiGroup Step 4 Properties
7098
+ */
7099
+ this.step4_modalTitle = "Important Note";
7100
+ /**
7101
+ * @uiName Information modal description text
7102
+ * @uiGroup Step 4 Properties
7103
+ */
7104
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
7105
+ /**
7106
+ * @uiName Information modal button text
7107
+ * @uiGroup Step 4 Properties
7108
+ */
7109
+ this.step4_modalButtonText = "I understand, update my information";
7110
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7111
+ DASHBOARD PROPS:
7112
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7113
+ /**
7114
+ * @uiName Active tax form badge label
7115
+ * @uiGroup Dashboard Properties
7116
+ */
7117
+ this.dashboard_statusTextActive = "Active";
7118
+ /**
7119
+ * @uiName Invalid tax form badge label
7120
+ * @uiGroup Dashboard Properties
7121
+ */
7122
+ this.dashboard_statusTextNotActive = "Invalid Tax Form";
7123
+ /**
7124
+ * Displayed when the participant submitted their form but it is awaiting review.
7125
+ *
7126
+ * @uiName Not verified tax form badge label
7127
+ * @uiGroup Dashboard Properties
7128
+ */
7129
+ this.dashboard_statusTextNotVerified = "Not Verified";
7130
+ /**
7131
+ * Displayed when the participant has not submitted their required tax form.
7132
+ *
7133
+ * @uiName Required tax form badge label
7134
+ */
7135
+ this.dashboard_statusTextRequired = "Required";
7136
+ /**
7137
+ * Additional text displayed next to the tax form's status badge
7138
+ *
7139
+ * @uiName Required tax form description
7140
+ */
7141
+ this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
7142
+ /**
7143
+ * Additional text displayed next to the tax form's status badge
7144
+ *
7145
+ * @uiName Active W-9 description
7146
+ * @uiGroup Dashboard Properties
7147
+ */
7148
+ this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
7149
+ /**
7150
+ * Additional text displayed next to the tax form's status badge.
7151
+ *
7152
+ * @uiName Active W-8 description
7153
+ * @uiGroup Dashboard Properties
7154
+ */
7155
+ this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
7156
+ /**
7157
+ * Additional text displayed next to the tax form's status badge.
7158
+ *
7159
+ * @uiName Tax form in review description
7160
+ * @uiGroup Dashboard Properties
7161
+ */
7162
+ this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
7163
+ /**
7164
+ * Part of the alert displayed at the top of the page.
7165
+ *
7166
+ * @uiName Inactive W-9 error message title
7167
+ * @uiGroup Dashboard Properties
7168
+ * @uiWidget textArea
7169
+ */
7170
+ this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
7171
+ /**
7172
+ * Part of the alert displayed at the top of the page.
7173
+ *
7174
+ * @uiName Inactive W-8 error message title
7175
+ * @uiGroup Dashboard Properties
7176
+ * @uiWidget textArea
7177
+ */
7178
+ this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
7179
+ /**
7180
+ * Part of the alert displayed at the top of the page.
7181
+ *
7182
+ * @uiName Inactive W-9 error message description
7183
+ * @uiGroup Dashboard Properties
7184
+ * @uiWidget textArea
7185
+ */
7186
+ this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
7187
+ /**
7188
+ * Part of the alert displayed at the top of the page.
7189
+ *
7190
+ * @uiName Inactive W-8 error message description
7191
+ * @uiGroup Dashboard Properties
7192
+ */
7193
+ 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.";
7194
+ /**
7195
+ * Additional text displayed next to the tax form's status badge.
7196
+ *
7197
+ * @uiName Invalid tax form description
7198
+ * @uiGroup Dashboard Properties
7199
+ * @uiWidget textArea
7200
+ */
7201
+ this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
7202
+ /**
7203
+ * @uiName Payout information section header
7204
+ * @uiGroup Dashboard Properties
7205
+ */
7206
+ this.dashboard_bankingInformationSectionHeader = "Payout Information";
7207
+ /**
7208
+ * @uiName Tax document section header
7209
+ * @uiGroup Dashboard Properties
7210
+ */
7211
+ this.dashboard_taxDocumentSectionHeader = "Tax documents";
7212
+ /**
7213
+ * Displayed under the tax document section header.
7214
+ *
7215
+ * @uiName Tax documents section description
7216
+ * @uiGroup Dashboard Properties
7217
+ */
7218
+ this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
7219
+ /**
7220
+ * No other statuses or badges will be displayed in the tax form section in this case.
7221
+ *
7222
+ * @uiName Tax form not required text
7223
+ * @uiGroup Dashboard Properties
7224
+ * @uiWidget textArea
7225
+ */
7226
+ 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.";
7227
+ /**
7228
+ *
7229
+ * @uiName Indirect tax section header
7230
+ * @uiGroup Dashboard Properties
7231
+ */
7232
+ this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
7233
+ /**
7234
+ * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
7235
+ *
7236
+ * @uiName Canadian province of indirect tax
7237
+ * @uiGroup Dashboard Properties
7238
+ */
7239
+ this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
7240
+ /**
7241
+ * If the participant is registered for indirect tax, display the country they’re registered in.
7242
+ *
7243
+ * @uiName Indirect tax country
7244
+ * @uiGroup Dashboard Properties
7245
+ */
7246
+ this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
7247
+ /**
7248
+ * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
7249
+ *
7250
+ * @uiName Spanish region of indirect tax
7251
+ * @uiGroup Dashboard Properties
7252
+ */
7253
+ this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
7254
+ /**
7255
+ * @uiName Indirect tax tooltip
7256
+ * @uiGroup Dashboard Properties
7257
+ * @uiWidget textArea
7258
+ */
7259
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
7260
+ /**
7261
+ * Displayed to participants who have submitted their indirect tax information.
7262
+ *
7263
+ * @uiName Indirect tax details
7264
+ * @uiGroup Dashboard Properties
7265
+ */
7266
+ this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
7267
+ /**
7268
+ * @uiName Submit new tax form button label
7269
+ * @uiGroup Dashboard Properties
7270
+ */
7271
+ this.dashboard_newFormButton = "Submit new form";
7272
+ /**
7273
+ * @uiName Edit payment info button label
7274
+ * @uiGroup Dashboard Properties
7275
+ */
7276
+ this.dashboard_editPaymentInformationButton = "Edit Payout Information";
7277
+ /**
7278
+ * @uiName Not registered for indirect tax text
7279
+ * @uiGroup Dashboard Properties
7280
+ * @uiWidget textArea
7281
+ */
7282
+ 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.";
7283
+ /**
7284
+ * Displayed to participants registered in Quebec, Canada.
7285
+ * @uiName QST indirect tax details
7286
+ * @uiGroup Dashboard Properties
7287
+ */
7288
+ this.dashboard_qstNumber = "QST number: {qstNumber}";
7289
+ /**
7290
+ * @uiName Spain sub-region indirect tax number
7291
+ * @uiGroup Dashboard Properties
7292
+ */
7293
+ this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
7294
+ /**
7295
+ * @uiName Payout status badge
7296
+ * @uiGroup Dashboard Properties
7297
+ */
7298
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
7299
+ /**
7300
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
7301
+ * @uiName Payout schedule by threshold text
7302
+ * @uiGroup Dashboard Properties
7303
+ */
7304
+ this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
7305
+ /**
7306
+ * Shown before the participant’s bank account information.
7307
+ * @uiName Bank account field label
7308
+ * @uiGroup Dashboard Properties
7309
+ */
7310
+ this.dashboard_accountText = "Account";
7311
+ /**
7312
+ * Part of the Invoice table displayed at the bottom of the page.
7313
+ * @uiName Invoice number column title
7314
+ * @uiGroup Dashboard Properties
7315
+ */
7316
+ this.dashboard_invoiceColumnTitle = "Invoice";
7317
+ /**
7318
+ * Part of the Invoice table displayed at the bottom of the page.
7319
+ * @uiName Date column title
7320
+ * @uiGroup Dashboard Properties
7321
+ */
7322
+ this.dashboard_dateColumnTitle = "Date";
7323
+ /**
7324
+ * Part of the Invoice table displayed at the bottom of the page.
7325
+ * @uiName Earnings column title
7326
+ * @uiGroup Dashboard Properties
7327
+ */
7328
+ this.dashboard_earningsColumnTitle = "Earnings";
7329
+ /**
7330
+ * Part of the Invoice table displayed at the bottom of the page.
7331
+ * @uiName Indirect tax column title
7332
+ * @uiGroup Dashboard Properties
7333
+ */
7334
+ this.dashboard_indirectTaxColumnTitle = "Indirect tax";
7335
+ /**
7336
+ * Displayed under the payout details card.
7337
+ * @uiName Payout from impact text
7338
+ * @uiGroup Dashboard Properties
7339
+ * @uiWidget textArea
7340
+ */
7341
+ this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
7342
+ /**
7343
+ * Part of the Invoice table displayed at the bottom of the page.
7344
+ * @uiName Earnings after tax column title
7345
+ * @uiGroup Dashboard Properties
7346
+ */
7347
+ this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
7348
+ /**
7349
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7350
+ * @uiName Payout error message title
7351
+ * @uiGroup Dashboard Properties
7352
+ * @uiWidget textArea
7353
+ */
7354
+ this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
7355
+ /**
7356
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
7357
+ * @uiName Payout error message description
7358
+ * @uiGroup Dashboard Properties
7359
+ * @uiWidget textArea
7360
+ */
7361
+ this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
7362
+ /**
7363
+ * Text displayed for existing publishers that do not have saved banking information.
7364
+ * @uiName Payout missing information subtext
7365
+ * @uiGroup Dashboard Properties
7366
+ */
7367
+ this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
7368
+ /**
7369
+ * @uiName Invoice table description
7370
+ * @uiGroup Dashboard Properties
7371
+ */
7372
+ this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
7373
+ /**
7374
+ * @uiName Invoice table previous page button label
7375
+ * @uiGroup Dashboard Properties
7376
+ */
7377
+ this.dashboard_invoicePrevLabel = "Prev";
7378
+ /**
7379
+ * @uiName Invoice table next page button label
7380
+ * @uiGroup Dashboard Properties
7381
+ */
7382
+ this.dashboard_invoiceMoreLabel = "Next";
7383
+ /**
7384
+ * @uiName Invoice table title
7385
+ * @uiGroup Dashboard Properties
7386
+ */
7387
+ this.dashboard_invoiceHeader = "Invoices";
7388
+ /**
7389
+ * @uiName Empty invoice table header
7390
+ * @uiGroup Dashboard Properties
7391
+ */
7392
+ this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
7393
+ /**
7394
+ * @uiName Empty invoice table description
7395
+ * @uiGroup Dashboard Properties
7396
+ */
7397
+ this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
7398
+ /**
7399
+ * @uiName Replace tax form modal header
7400
+ * @uiGroup Dashboard Properties
7401
+ */
7402
+ this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
7403
+ /**
7404
+ * @uiName Replace tax form modal body text
7405
+ * @uiGroup Dashboard Properties
7406
+ * @uiWidget textArea
7407
+ */
7408
+ 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.";
7409
+ /**
7410
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7411
+ * @uiName Verification required alert message title
7412
+ * @uiGroup Dashboard Properties
7413
+ * @uiWidget textArea
7414
+ */
7415
+ this.dashboard_verificationRequiredHeader = "Verify your identity";
7416
+ /**
7417
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
7418
+ * @uiName Verification required alert message description
7419
+ * @uiGroup Dashboard Properties
7420
+ * @uiWidget textArea
7421
+ */
7422
+ 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}.";
7423
+ /**
7424
+ * @uiName Verification required internal alert header
7425
+ * @uiGroup Dashboard Properties
7426
+ * @uiWidget textArea
7427
+ */
7428
+ this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7429
+ /**
7430
+ * @uiName Verification required internal alert description
7431
+ * @uiGroup Dashboard Properties
7432
+ * @uiWidget textArea
7433
+ */
7434
+ 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}.";
7435
+ /**
7436
+ * @uiName Verification review internal alert header
7437
+ * @uiGroup Dashboard Properties
7438
+ * @uiWidget textArea
7439
+ */
7440
+ this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7441
+ /**
7442
+ * @uiName Verification review internal alert description
7443
+ * @uiGroup Dashboard Properties
7444
+ * @uiWidget textArea
7445
+ */
7446
+ 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}.";
7447
+ /**
7448
+ * @uiName Verification failed internal alert header
7449
+ * @uiGroup Dashboard Properties
7450
+ * @uiWidget textArea
7451
+ */
7452
+ this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7453
+ /**
7454
+ * @uiName Verification failed internal alert description
7455
+ * @uiGroup Dashboard Properties
7456
+ * @uiWidget textArea
7457
+ */
7458
+ 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}.";
7459
+ /**
7460
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
7461
+ * @uiName Verification required alert button text
7462
+ * @uiGroup Dashboard Properties
7463
+ * @uiWidget textArea
7464
+ */
7465
+ this.dashboard_verificationRequiredButtonText = "Start Verification";
7466
+ /**
7467
+ * @uiName W-9 payment threshold alert header
7468
+ * @uiGroup Dashboard Properties
7469
+ * @uiWidget textArea
7470
+ */
7471
+ this.dashboard_w9RequiredHeader = "Your next payout is on hold";
7472
+ /**
7473
+ * @uiName W-9 payment threshold alert description
7474
+ * @uiGroup Dashboard Properties
7475
+ * @uiWidget textArea
7476
+ */
7477
+ this.dashboard_w9RequiredDescription = "You have surpassed the $600 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
7478
+ /**
7479
+ * @uiName Account review alert header
7480
+ */
7481
+ this.dashboard_accountReviewHeader = "Your account is under review";
7482
+ /**
7483
+ * @uiName Account review alert description
7484
+ */
7485
+ this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
7486
+ /**
7487
+ * @uiName Terms and Conditions text
7488
+ * @uiGroup Dashboard Properties
7489
+ */
7490
+ this.dashboard_termsAndConditions = "Terms and Conditions";
7491
+ /**
7492
+ * @uiName W-9 payment threshold alert button text
7493
+ * @uiGroup Dashboard Properties
7494
+ * @uiWidget textArea
7495
+ */
7496
+ this.dashboard_w9RequiredButtonText = "Submit W-9";
7497
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7498
+ GENERAL PROPS:
7499
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7500
+ /**
7501
+ * @uiName Setup progress
7502
+ * @uiGroup General Form Properties
7503
+ */
7504
+ this.formStep = "Step {step} of {count}";
7505
+ /**
7506
+ * Part of the alert displayed at the top of the page.
7507
+ * @uiName Form submission error message title
7508
+ * @uiGroup General Form Properties
7509
+ * @uiWidget textArea
7510
+ */
7511
+ this.generalErrorTitle = "There was a problem submitting your information";
7512
+ /**
7513
+ * Part of the alert displayed at the top of the page.
7514
+ * @uiName Form submission error message description
7515
+ * @uiGroup General Form Properties
7516
+ * @uiWidget textArea
7517
+ */
7518
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
7519
+ /**
7520
+ * Displayed under a field that is missing required information.
7521
+ * @uiName Empty form field error message
7522
+ * @uiGroup General Form Properties
7523
+ */
7524
+ this.fieldRequiredError = "{fieldName} is required";
7525
+ /**
7526
+ * Displayed under a field that includes invalid characters (non-ASCII).
7527
+ * @uiName Invalid character error message
7528
+ * @uiGroup General Form Properties
7529
+ */
7530
+ this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
7531
+ /**
7532
+ * Displayed under a field when it has an invalid entry.
7533
+ * @uiName Form field error message
7534
+ * @uiGroup General Form Properties
7535
+ */
7536
+ this.fieldInvalidError = "{fieldName} is invalid";
7537
+ /**
7538
+ * @uiName Continue button label
7539
+ * @uiGroup General Form Properties
7540
+ */
7541
+ this.continueButton = "Continue";
7542
+ /**
7543
+ * @uiName Back button label
7544
+ * @uiGroup General Form Properties
7545
+ */
7546
+ this.backButton = "Back";
7547
+ /**
7548
+ * @uiName Cancel button label
7549
+ * @uiGroup General Form Properties
7550
+ */
7551
+ this.cancelButton = "Cancel";
7552
+ /**
7553
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7554
+ * @uiName Participant is a partner alert title
7555
+ * @uiGroup General Form Properties
7556
+ * @uiWidget textArea
7557
+ */
7558
+ this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
7559
+ /**
7560
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
7561
+ * @uiName Participant is a partner alert description
7562
+ * @uiGroup General Form Properties
7563
+ * @uiWidget textArea
7564
+ */
7565
+ 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.";
7566
+ /**
7567
+ * Placeholder text displayed in the country search dropdown
7568
+ * @uiName Country field placeholder text
7569
+ * @uiGroup General Form Properties
7570
+ */
7571
+ this.searchForCountryText = "Search for country..";
7572
+ /**
7573
+ * Part of the alert displayed at the top of the page.
7574
+ * @uiName Page load error message title
7575
+ * @uiGroup General Form Properties
7576
+ * @uiWidget textArea
7577
+ */
7578
+ this.loadingErrorAlertHeader = "There was a problem loading your form";
7579
+ /**
7580
+ * Part of the alert displayed at the top of the page.
7581
+ * @uiName Page load error message description
7582
+ * @uiGroup General Form Properties
7583
+ * @uiWidget textArea
7584
+ */
7585
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
7586
+ /**
7587
+ * Displayed at the top of the page on all set up steps.
7588
+ * @uiName Page description
7589
+ * @uiGroup General Form Properties
7590
+ */
7591
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
7592
+ /**
7593
+ * Link text for contacting support team
7594
+ * @uiName Suport link text
7595
+ * @uiGroup General Form Properties
7596
+ */
7597
+ this.supportLink = "support team";
7598
+ /**
7599
+ * Link text for Terms and Conditions
7600
+ * @uiName Terms and Conditions text
7601
+ * @uiGroup General Form Properties
7602
+ */
7603
+ this.termsAndConditions = "Terms and Conditions";
7604
+ /**
7605
+ *
7606
+ * @undocumented
7607
+ * @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
7608
+ * @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
7609
+ * @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
7610
+ * @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
7611
+ * @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
7612
+ */
7613
+ this.stateController = "{}";
7614
+ domContextHooks_module.h$1(this);
7615
+ }
7616
+ disconnectedCallback() { }
7617
+ // this field is required prop
7618
+ getGeneralStepTextProps(prefix) {
7619
+ const props = utils.getProps(this);
7620
+ return {
7621
+ ...extractProps.extractProps(props, prefix),
7622
+ generalErrorTitle: props.generalErrorTitle,
7623
+ generalErrorDescription: props.generalErrorDescription,
7624
+ fieldRequiredError: props.fieldRequiredError,
7625
+ invalidCharacterError: props.invalidCharacterError,
7626
+ fieldInvalidError: props.fieldInvalidError,
7627
+ continueButton: props.continueButton,
7628
+ backButton: props.backButton,
7629
+ cancelButton: props.cancelButton,
7630
+ isPartnerAlertHeader: props.isPartnerAlertHeader,
7631
+ isPartnerAlertDescription: props.isPartnerAlertDescription,
7632
+ loadingErrorAlertHeader: props.loadingErrorAlertHeader,
7633
+ loadingErrorAlertDescription: props.loadingErrorAlertDescription,
7634
+ taxAndPayoutsDescription: props.taxAndPayoutsDescription,
7635
+ searchForCountryText: props.searchForCountryText,
7636
+ formStep: props.formStep,
7637
+ supportLink: props.supportLink,
7638
+ };
7639
+ }
7640
+ render() {
7641
+ var _a, _b;
7642
+ const props = index_module.isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
7643
+ // @ts-ignore
7644
+ if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
7645
+ const textProps = utils.getProps(this);
7646
+ return (index.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
7647
+ if (prop === "demoData")
7648
+ return;
7649
+ return (index.h("div", null, index.h("b", null, prop, ":"), " ", this[prop], index.h("hr", null)));
7650
+ })));
7651
+ }
7652
+ switch (props.step) {
7653
+ case "/1":
7654
+ return (index.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
7655
+ case "/2":
7656
+ return (index.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
7657
+ case "/3":
7658
+ return (index.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
7659
+ case "/4":
7660
+ return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
7661
+ case "/dashboard":
7662
+ return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"), { stateController: props["sqm-tax-and-cash-dashboard_stateController"] || "{}" })));
7663
+ case "/error":
7664
+ return (index.h(ErrorView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: global.intl.formatMessage({
7665
+ id: "loadingErrorAlertDescription",
7666
+ defaultMessage: this.loadingErrorAlertDescription,
7667
+ }, {
7668
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
7669
+ }) }));
7670
+ }
7671
+ return index.h(utils$1.LoadingView, null);
7672
+ }
7673
+ };
7674
+ function useDemoTaxAndCash(props) {
7675
+ const [step, setStep] = index_module.In({
7676
+ namespace: data.TAX_CONTEXT_NAMESPACE,
7677
+ initialValue: "/1",
7678
+ });
7679
+ const states = extractProps.parseStates(props.stateController);
7680
+ const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
7681
+ ? { ...prev, ...states[key] }
7682
+ : { ...prev, [`${key}_stateController`]: states[key] }, {});
7683
+ return cjs.cjs({
7684
+ step,
7685
+ setStep,
7686
+ }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
7687
+ }
7688
+
6392
7689
  const Timeline = class {
6393
7690
  constructor(hostRef) {
6394
7691
  index.registerInstance(this, hostRef);
@@ -6627,6 +7924,7 @@ exports.sqm_share_code = ShareCode;
6627
7924
  exports.sqm_share_link = ShareLink;
6628
7925
  exports.sqm_stat_container = StatContainer;
6629
7926
  exports.sqm_task_card = TaskCard;
7927
+ exports.sqm_tax_and_cash = TaxAndCashMonolith;
6630
7928
  exports.sqm_timeline = Timeline;
6631
7929
  exports.sqm_timeline_entry = TimelineReward;
6632
7930
  exports.sqm_user_name = UserName;