@saasquatch/mint-components 2.0.0-8 → 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 (347) 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 -46
  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} +1334 -51
  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 +49 -29
  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-forgot-password/PortalForgotPassword.stories.js +1 -0
  68. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -0
  69. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +10 -7
  70. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +23 -13
  71. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  72. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +1 -34
  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-widget-verification/sqm-widget-verification-controller.js +10 -4
  79. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +10 -13
  80. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +48 -2
  81. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -3
  82. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +67 -26
  83. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -1
  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 -39
  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} +1333 -51
  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 +49 -29
  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-20f8e7ca.entry.js +99 -0
  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-f5c49a83.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-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
  287. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +2 -1
  288. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  289. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
  290. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  291. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +8 -0
  292. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -2
  293. package/dist/types/components.d.ts +48 -12
  294. package/dist/types/global/styles.v1.d.ts +2 -0
  295. package/docs/docs.docx +0 -0
  296. package/docs/raisins.json +1 -1
  297. package/grapesjs/grapesjs.js +1 -1
  298. package/package.json +2 -2
  299. package/dist/cjs/data-88adb95b.js +0 -146
  300. package/dist/cjs/parseStates-d1effc19.js +0 -16
  301. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1313
  302. package/dist/esm/data-807686c2.js +0 -130
  303. package/dist/esm/parseStates-ed75e224.js +0 -14
  304. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1309
  305. package/dist/esm-es5/data-807686c2.js +0 -1
  306. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  307. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  308. package/dist/esm-es5/sqm-base-registration-form-view-193f1721.js +0 -1
  309. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  310. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  311. package/dist/esm-es5/usePayoutStatus-42cc6a2c.js +0 -6
  312. package/dist/esm-es5/utils-84b4b092.js +0 -1
  313. package/dist/mint-components/p-115dfc03.system.js +0 -1
  314. package/dist/mint-components/p-13e66b37.system.entry.js +0 -1
  315. package/dist/mint-components/p-13f3a647.js +0 -1
  316. package/dist/mint-components/p-26468242.js +0 -1
  317. package/dist/mint-components/p-3c09c632.system.entry.js +0 -1
  318. package/dist/mint-components/p-402984b3.system.entry.js +0 -1
  319. package/dist/mint-components/p-4306a11d.entry.js +0 -33
  320. package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
  321. package/dist/mint-components/p-46b88149.entry.js +0 -273
  322. package/dist/mint-components/p-4b9976cc.system.js +0 -1
  323. package/dist/mint-components/p-5853132a.system.entry.js +0 -1
  324. package/dist/mint-components/p-60f1cca2.system.js +0 -1
  325. package/dist/mint-components/p-7837f69e.js +0 -46
  326. package/dist/mint-components/p-7b8232f8.system.js +0 -6
  327. package/dist/mint-components/p-8c3c4e92.js +0 -112
  328. package/dist/mint-components/p-916a2045.system.entry.js +0 -1
  329. package/dist/mint-components/p-92bed2ad.system.js +0 -1
  330. package/dist/mint-components/p-967a9040.system.js +0 -1
  331. package/dist/mint-components/p-a0730259.entry.js +0 -99
  332. package/dist/mint-components/p-a44a912b.entry.js +0 -1
  333. package/dist/mint-components/p-a597b136.entry.js +0 -1
  334. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  335. package/dist/mint-components/p-be88596c.system.js +0 -1
  336. package/dist/mint-components/p-cf22cf56.entry.js +0 -1
  337. package/dist/mint-components/p-db1a0db1.js +0 -1233
  338. package/dist/mint-components/p-ddf3c05e.js +0 -1
  339. package/dist/mint-components/p-ea063d99.entry.js +0 -1
  340. package/dist/mint-components/p-ecc84140.system.entry.js +0 -1
  341. /package/dist/collection/global/{styles.js → styles.v2.js} +0 -0
  342. /package/dist/collection/global/{styles.ts → styles.v2.ts} +0 -0
  343. /package/dist/esm-es5/{copy-text-view-83b09456.js → copy-text-view-fac47254.js} +0 -0
  344. /package/dist/mint-components/global/{styles.ts → styles.v2.ts} +0 -0
  345. /package/dist/mint-components/{p-45c3ff6d.js → p-4a0a76a5.js} +0 -0
  346. /package/dist/mint-components/{p-c210374a.system.js → p-ce81839d.system.js} +0 -0
  347. /package/dist/types/global/{styles.d.ts → styles.v2.d.ts} +0 -0
@@ -1,1309 +0,0 @@
1
- import { r as registerInstance, h as h$1 } from './index-b3a06de8.js';
2
- import { i as intl } from './global-1099f20d.js';
3
- import { u as useMemo, f as useEffect, n as h } from './dom-context-hooks.module-63370afd.js';
4
- import { M as Mn, _, J, L, I as In, S as Sn, i as isDemo } from './index.module-c9811a48.js';
5
- import { c as cjs } from './cjs-bdfb4486.js';
6
- import { g as getProps } from './utils-84b4b092.js';
7
- import './JSS-67b5cff8.js';
8
- import { E as ErrorView } from './ErrorView-bbf0a042.js';
9
- import { g as getCountryObj, L as LoadingView } from './utils-6122971b.js';
10
- import { p as parseStates } from './parseStates-ed75e224.js';
11
- import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './data-807686c2.js';
12
- import { e as extractProps } from './extractProps-ae1afbb3.js';
13
-
14
- function getCurrentStep(user) {
15
- var _a, _b;
16
- if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
17
- return "/1";
18
- }
19
- const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
20
- // If they do have a required document, look at current document
21
- if (requiredTaxDocumentType && !currentTaxDocument) {
22
- // Specific to custom CASH setting,
23
- if (payoutsAccount.hold &&
24
- payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
25
- return "/dashboard";
26
- return "/3";
27
- }
28
- if (!withdrawalSettings && brandedSignup)
29
- return "/4";
30
- return "/dashboard";
31
- }
32
- function useTaxAndCash() {
33
- var _a, _b, _c, _d, _e;
34
- const host = _();
35
- const user = J();
36
- const locale = L();
37
- // State for current step of form
38
- const [step, setStep] = In({
39
- namespace: TAX_CONTEXT_NAMESPACE,
40
- initialValue: "/loading",
41
- });
42
- // State for when to hide steps, or override certain actions
43
- const [context, _setContext] = In({
44
- namespace: TAX_FORM_CONTEXT_NAMESPACE,
45
- initialValue: {},
46
- });
47
- // State to carry user form information into step 2
48
- const [userFormContext, _setUserFormContext] = In({
49
- namespace: USER_FORM_CONTEXT_NAMESPACE,
50
- initialValue: {
51
- firstName: undefined,
52
- lastName: undefined,
53
- email: undefined,
54
- countryCode: undefined,
55
- currency: undefined,
56
- },
57
- });
58
- const [_currenciesContext, setCurrenciesContext] = In({
59
- namespace: CURRENCIES_NAMESPACE,
60
- initialValue: [],
61
- });
62
- const [_countriesContext, _setCountriesContext] = In({
63
- namespace: COUNTRIES_NAMESPACE,
64
- initialValue: [],
65
- });
66
- const [_sortedCountriesContext, setSortedCountriesContext] = In({
67
- namespace: SORTED_COUNTRIES_NAMESPACE,
68
- initialValue: [],
69
- });
70
- const { data, errors } = Sn({
71
- namespace: USER_QUERY_NAMESPACE,
72
- query: GET_USER,
73
- skip: !user,
74
- options: {
75
- batch: false,
76
- },
77
- });
78
- const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
79
- userFormContext.countryCode;
80
- Sn({
81
- namespace: COUNTRIES_QUERY_NAMESPACE,
82
- query: GET_COUNTRIES,
83
- skip: !user,
84
- });
85
- const { data: financeNetworkData, refetch } = Sn({
86
- namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
87
- query: GET_FINANCE_NETWORK_SETTINGS,
88
- skip: !user,
89
- variables: {
90
- filter: getFinanceNetworkFilter(),
91
- },
92
- });
93
- const { data: currenciesData } = Sn({
94
- namespace: CURRENCIES_QUERY_NAMESPACE,
95
- query: GET_CURRENCIES,
96
- skip: !user,
97
- variables: {
98
- locale,
99
- },
100
- });
101
- const supportedCurrencies = useMemo(() => {
102
- var _a, _b;
103
- // Filter out any currencies not supported by finance network settings
104
- 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) => {
105
- var _a, _b;
106
- 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);
107
- // Currency not in supported list
108
- if (!currency)
109
- return agg;
110
- // Currency already added to list
111
- if (agg.find((currency) => currency.currencyCode === settings.currency))
112
- return agg;
113
- // Currency not supported by selected country
114
- if (userFormContext.countryCode &&
115
- settings.countryCode !== countryCode)
116
- return agg;
117
- return [...agg, currency];
118
- }, []);
119
- return allValidCurrencies;
120
- }, [financeNetworkData, countryCode]);
121
- const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
122
- const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
123
- const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
124
- // filter out any duplicate countries and null countryCode
125
- const availableCountries = useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
126
- const _topCountries = ["CA", "GB", "US"];
127
- const sortedCountries = useMemo(() => Array.from(availableCountries)
128
- .map((countryCode) => getCountryObj({ countryCode, locale: intlLocale }))
129
- .sort(sortByName)
130
- .reduce((prev, countryObj) => {
131
- if (_topCountries.includes(countryObj.countryCode))
132
- return [countryObj, ...prev];
133
- return [...prev, countryObj];
134
- }, []), [availableCountries]);
135
- useEffect(() => {
136
- if (sortedCountries)
137
- setSortedCountriesContext(sortedCountries);
138
- }, [sortedCountries]);
139
- useEffect(() => {
140
- if (supportedCurrencies)
141
- setCurrenciesContext(supportedCurrencies);
142
- }, [supportedCurrencies]);
143
- useEffect(() => {
144
- if (errors) {
145
- setStep("/error");
146
- return;
147
- }
148
- if (!host || !user)
149
- return;
150
- if (data) {
151
- const user = data === null || data === void 0 ? void 0 : data.user;
152
- if (!user || step !== "/loading")
153
- return;
154
- const currentStep = getCurrentStep(user);
155
- setStep(currentStep);
156
- }
157
- }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
158
- function getFinanceNetworkFilter() {
159
- var _a, _b, _c;
160
- if (step === "/1")
161
- return {};
162
- if (step === "/4")
163
- return { currency_eq: (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency };
164
- if (countryCode)
165
- return {
166
- countryCode_eq: countryCode,
167
- };
168
- return {};
169
- }
170
- return {
171
- step,
172
- setStep,
173
- context,
174
- namespace: Mn(TAX_CONTEXT_NAMESPACE),
175
- loading: step === "/loading",
176
- };
177
- }
178
-
179
- const TaxAndCashMonolith = class {
180
- constructor(hostRef) {
181
- registerInstance(this, hostRef);
182
- /*---------------------------------------------------------------------------------
183
- !IMPORTANT!: Make sure to also change the prop names in the respective component
184
- -----------------------------------------------------------------------------------*/
185
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186
- STEP 1 PROPS:
187
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
188
- /**
189
- * @uiName First name field label
190
- * @uiGroup Step 1 Properties
191
- */
192
- this.step1_firstName = "First name";
193
- /**
194
- * @uiName Last name field label
195
- * @uiGroup Step 1 Properties
196
- */
197
- this.step1_lastName = "Last name";
198
- /**
199
- * @uiName Email field label
200
- * @uiGroup Step 1 Properties
201
- */
202
- this.step1_email = "Email";
203
- /**
204
- * @uiName Country field label
205
- * @uiGroup Step 1 Properties
206
- */
207
- this.step1_country = "Country";
208
- /**
209
- * @uiName Phone number field label
210
- * @uiGroup Step 1 Properties
211
- */
212
- this.step1_phoneNumber = "Phone number";
213
- /**
214
- * @uiName Address field label
215
- * @uiGroup Step 1 Properties
216
- */
217
- this.step1_address = "Address";
218
- /**
219
- * @uiName City field label
220
- * @uiGroup Step 1 Properties
221
- */
222
- this.step1_city = "City";
223
- /**
224
- * @uiName State field label for states
225
- * @uiGroup Step 1 Properties
226
- */
227
- this.step1_state = "State";
228
- /**
229
- * @uiName State field label for provinces
230
- * @uiGroup Step 1 Properties
231
- */
232
- this.step1_province = "Province";
233
- /**
234
- * @uiName State field label for regions
235
- * @uiGroup Step 1 Properties
236
- */
237
- this.step1_region = "Region";
238
- /**
239
- * @uiName Postal code field label
240
- * @uiGroup Step 1 Properties
241
- */
242
- this.step1_postalCode = "Postal code";
243
- /**
244
- * @uiName Currency field label
245
- * @uiGroup Step 1 Properties
246
- */
247
- this.step1_currency = "Currency";
248
- /**
249
- * @uiName Currency field help text
250
- * @uiGroup Step 1 Properties
251
- */
252
- this.step1_currencyHelpText = "Choose your preferred payout currency";
253
- /**
254
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
255
- * @uiName Terms and conditions checkbox
256
- * @uiGroup Step 1 Properties
257
- */
258
- this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
259
- /**
260
- * @uiName Step 1 title
261
- * @uiGroup Step 1 Properties
262
- */
263
- this.step1_personalInformation = "Personal Information";
264
- /**
265
- * The link text that appears in the terms and conditions checkbox
266
- * @uiName Terms and conditions text
267
- * @uiGroup Step 1 Properties
268
- * @uiWidget textArea
269
- */
270
- this.step1_termsAndConditionsLabel = "terms and conditions";
271
- /**
272
- * The link that appears in the terms and conditions checkbox
273
- * @uiName Terms and conditions link
274
- * @uiGroup Step 1 Properties
275
- */
276
- this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
277
- /**
278
- * Placeholder text displayed in the currency search dropdown
279
- * @uiName Currency field placeholder text
280
- * @uiGroup Step 1 Properties
281
- */
282
- this.step1_searchForCurrencyText = "Search for currency..";
283
- /**
284
-
285
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286
- STEP 2 PROPS:
287
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
288
- /**
289
- * @uiName Step 2 title
290
- * @uiGroup Step 2 Properties
291
- */
292
- this.step2_indirectTax = "Indirect Tax";
293
- /**
294
- * Displayed under the title of this step.
295
- * @uiName Step 2 description
296
- * @uiGroup Step 2 Properties
297
- * @uiWidget textArea
298
- */
299
- 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.";
300
- /**
301
- * Displayed with indirect tax registration options.
302
- * @uiName Indirect tax details section title
303
- * @uiGroup Step 2 Properties
304
- */
305
- this.step2_indirectTaxDetails = "Indirect tax details";
306
- /**
307
- * @uiName Registered for indirect tax option
308
- * @uiGroup Step 2 Properties
309
- * @uiWidget textArea
310
- *
311
- */
312
- this.step2_otherRegion = "Registered for indirect tax";
313
- /**
314
- * Selecting this option will display fields to enter indirect tax details.
315
- * @uiName Registered for indirect tax option description
316
- * @uiGroup Step 2 Properties
317
- */
318
- this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
319
- /**
320
- * @uiName Not registered for indirect tax option
321
- * @uiGroup Step 2 Properties
322
- * @uiWidget textArea
323
- */
324
- this.step2_notRegistered = "Not registered for indirect tax";
325
- /**
326
- * Participants based in the US are considered not registered.
327
- * @uiName Not registered for indirect tax option description
328
- * @uiGroup Step 2 Properties
329
- */
330
- this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
331
- /**
332
- * @uiName Region of indirect tax field label
333
- * @uiGroup Step 2 Properties
334
- */
335
- this.step2_selectedRegion = "Country / region of indirect tax";
336
- /**
337
- * @uiName Indirect tax number field label
338
- * @uiGroup Step 2 Properties
339
- */
340
- this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
341
- /**
342
- * @uiName Province field label
343
- * @uiGroup Step 2 Properties
344
- */
345
- this.step2_province = "Province";
346
- /**
347
- * @uiName Missing indirect tax number error message
348
- * @uiGroup Step 2 Properties
349
- */
350
- 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";
351
- /**
352
- * Displayed to participants registered for QST.
353
- * @uiName QST number field label
354
- * @uiGroup Step 2 Properties
355
- */
356
- this.step2_qstNumber = "QST number";
357
- /**
358
- * Displayed to participants registered for indirect tax in Quebec, Canada.
359
- * @uiName QST tax checkbox
360
- * @uiGroup Step 2 Properties
361
- */
362
- this.step2_isRegisteredQST = "I am registered for QST Tax";
363
- /**
364
- * Displayed to participants registered for indirect tax in Spain.
365
- * @uiName Spain income tax checkbox
366
- * @uiGroup Step 2 Properties
367
- * @uiWidget textArea
368
- */
369
- 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.";
370
- /**
371
- * Displayed to participants registered in Spain.
372
- * @uiName Sub-region of indirect tax field label
373
- * @uiGroup Step 2 Properties
374
- */
375
- this.step2_subRegion = "Sub-region";
376
- /**
377
- * @uiName Income tax field label
378
- * @uiGroup Step 2 Properties
379
- */
380
- this.step2_subRegionTaxNumberLabel = "Income Tax Number";
381
- /**
382
- * Communicate that after this step, only Support can change personal and indirect tax information.
383
- * @uiName Submission confirmation alert
384
- * @uiGroup Step 2 Properties
385
- * @uiWidget textArea
386
- */
387
- 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.";
388
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
389
- STEP 3 PROPS:
390
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
391
- /**
392
- * @uiName Step 3 title
393
- * @uiGroup Step 3 Properties
394
- */
395
- this.step3_taxForm = "Tax form";
396
- /**
397
- * Display the type of tax form that the participant must submit.
398
- * @uiName Tax form name
399
- * @uiGroup Step 3 Properties
400
- */
401
- this.step3_taxFormLabel = "{documentType} Tax Form";
402
- /**
403
- * @uiName Participant type field label
404
- * @uiGroup Step 3 Properties
405
- */
406
- this.step3_participantType = "Participant type";
407
- /**
408
- * An option for the participant type field. Used to determine which W-8 form is required.
409
- * @uiName Business representative participant type label
410
- * @uiGroup Step 3 Properties
411
- */
412
- this.step3_businessEntity = "I represent a business";
413
- /**
414
- * An option for the participant type field. Used to determine which W-8 form is required.
415
- * @uiName Individual participant type label
416
- * @uiGroup Step 3 Properties
417
- */
418
- this.step3_individualParticipant = "I am an individual participant";
419
- /**
420
- * Displayed at the top of the page to participants based in the US.
421
- * @uiName W-9 tax form description
422
- * @uiGroup Step 3 Properties
423
- * @uiWidget textArea
424
- */
425
- this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
426
- /**
427
- * Displayed at the top of the page to individuals joining a US program who reside outside the country.
428
- * @uiName W-8 BEN tax form description
429
- * @uiGroup Step 3 Properties
430
- * @uiWidget textArea
431
- */
432
- this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
433
- /**
434
- * Displayed at the top of the page to participants representing a business.
435
- * @uiName W-8 BEN-E tax form description
436
- * @uiGroup Step 3 Properties
437
- * @uiWidget textArea
438
- */
439
- this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
440
- /**
441
- * This appears inside the Docusign frame.
442
- * @uiName Docusign session expired message
443
- * @uiGroup Step 3 Properties
444
- * @uiWidget textArea
445
- */
446
- 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.";
447
- /**
448
- * Remind participants their session will time out after 20 minutes of inactivity.
449
- * @uiName Docusign timed session message
450
- * @uiGroup Step 3 Properties
451
- * @uiWidget textArea
452
- */
453
- this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
454
- /**
455
- * This appears inside the Docusign frame.
456
- * @uiName Docusign form error message
457
- * @uiGroup Step 3 Properties
458
- * @uiWidget textArea
459
- */
460
- this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
461
- /**
462
- * @uiName Refresh page button label
463
- * @uiGroup Step 3 Properties
464
- */
465
- this.step3_refreshButton = "Refresh Page";
466
- /**
467
- * @uiName Exit button text
468
- * @uiGroup Step 3 Properties
469
- */
470
- this.step3_exitButton = "Exit";
471
- /**
472
- * @uiName Information modal title
473
- * @uiGroup Step 3 Properties
474
- */
475
- this.step3_modalTitle = "Important Note";
476
- /**
477
- * @uiName Information modal description text
478
- * @uiGroup Step 3 Properties
479
- */
480
- 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.";
481
- /**
482
- * @uiName Information modal button text
483
- * @uiGroup Step 3 Properties
484
- */
485
- this.step3_modalButtonText = "I understand";
486
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
487
- STEP 4 PROPS:
488
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
489
- /**
490
- * @uiName Step 4 title
491
- * @uiGroup Step 4 Properties
492
- */
493
- this.step4_taxAndPayouts = "Payouts";
494
- /**
495
- * @uiName Direct to bank payout option
496
- * @uiGroup Step 4 Properties
497
- */
498
- this.step4_directlyToBankAccount = "Directly to my bank account";
499
- /**
500
- * @uiName PayPal payout option
501
- * @uiGroup Step 4 Properties
502
- */
503
- this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
504
- /**
505
- * @uiName Threshold balance payment schedule option
506
- * @uiGroup Step 4 Properties
507
- */
508
- this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
509
- /**
510
- * @uiName Fixed day payment schedule option
511
- * @uiGroup Step 4 Properties
512
- */
513
- this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
514
- /**
515
- * Let the participant choose what day of the month they’ll get paid
516
- * @uiName Payment day field label
517
- * @uiGroup Step 4 Properties
518
- */
519
- this.step4_paymentDaySelectLabel = "Payment Day";
520
- /**
521
- * Participant use this field to select the balance at which they want to be paid
522
- * @uiName Payment threshold field label
523
- * @uiGroup Step 4 Properties
524
- */
525
- this.step4_paymentThresholdSelectLabel = "Payment threshold";
526
- /**
527
- * One of two payment day options
528
- * @uiName First of month payday option
529
- * @uiGroup Step 4 Properties
530
- */
531
- this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
532
- /**
533
- * One of two payment day options
534
- * @uiName Fifteenth of month payday option
535
- * @uiGroup Step 4 Properties
536
- */
537
- this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
538
- /**
539
- * @uiName Payment method section header
540
- * @uiGroup Step 4 Properties
541
- */
542
- this.step4_paymentMethod = "Payment method";
543
- /**
544
- * @uiName Payment schedule section header
545
- * @uiGroup Step 4 Properties
546
- */
547
- this.step4_paymentSchedule = "Payment schedule";
548
- /**
549
- * @uiName Payment method section description
550
- * @uiGroup Step 4 Properties
551
- */
552
- this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
553
- /**
554
- * Displayed to participants who choose PayPal as their payout method
555
- * @uiName PayPal email field label
556
- * @uiGroup Step 4 Properties
557
- */
558
- this.step4_payPalInputLabel = "PayPal email";
559
- /**
560
- * @uiName Bank country field label
561
- * @uiGroup Step 4 Properties
562
- */
563
- this.step4_bankLocationLabel = "Bank country location";
564
- /**
565
- * @uiName Beneficiary account field label
566
- * @uiGroup Step 4 Properties
567
- */
568
- this.step4_beneficiaryAccountNameLabel = "Account holder name";
569
- /**
570
- * @uiName Beneficiary account field description
571
- * @uiGroup Step 4 Properties
572
- */
573
- this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
574
- /**
575
- * @uiName Bank account type field label
576
- * @uiGroup Step 4 Properties
577
- */
578
- this.step4_bankAccountTypeLabel = "Bank account type";
579
- /**
580
- * @uiName Checking account option
581
- * @uiGroup Step 4 Properties
582
- */
583
- this.step4_checkingSelectItemLabel = "Checking";
584
- /**
585
- * Label text for the savings account type select item
586
- * @uiName Savings account options
587
- * @uiGroup Step 4 Properties
588
- */
589
- this.step4_savingsSelectItemLabel = "Savings";
590
- /**
591
- * @uiName Bank account number field label
592
- * @uiGroup Step 4 Properties
593
- */
594
- this.step4_bankAccountNumberLabel = "Bank account number";
595
- /**
596
- * @uiName IBAN field label
597
- * @uiGroup Step 4 Properties
598
- */
599
- this.step4_ibanLabel = "IBAN";
600
- /**
601
- * @uiName SWIFT code field label
602
- * @uiGroup Step 4 Properties
603
- */
604
- this.step4_swiftCodeLabel = "SWIFT code";
605
- /**
606
- * @uiName Routing code field label
607
- * @uiGroup Step 4 Properties
608
- */
609
- 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} }";
610
- /**
611
- * @uiName Bank name field label
612
- * @uiGroup Step 4 Properties
613
- */
614
- this.step4_bankNameLabel = "Bank name";
615
- /**
616
- * @uiName Classification entity field label
617
- * @uiGroup Step 4 Properties
618
- */
619
- this.step4_classificationEntityLabel = "Classification entity";
620
- /**
621
- * One of three options listed for the classification field
622
- * @uiName Business classification option
623
- * @uiGroup Step 4 Properties
624
- */
625
- this.step4_businessSelectItemLabel = "Business";
626
- /**
627
- * One of three options listed for the classification field
628
- * @uiName Individual classification option
629
- * @uiGroup Step 4 Properties
630
- */
631
- this.step4_individualSelectItemLabel = "Individual";
632
- /**
633
- * One of three options listed for the classification field
634
- * @uiName Foreign classification option
635
- * @uiGroup Step 4 Properties
636
- */
637
- this.step4_foreignSelectItemLabel = "Foreign";
638
- /**
639
- * @uiName Classification CPF field label
640
- * @uiGroup Step 4 Properties
641
- */
642
- this.step4_classificationCPFLabel = "Classification CPF";
643
- /**
644
- * @uiName Patronymic name field label
645
- * @uiGroup Step 4 Properties
646
- */
647
- this.step4_patronymicNameLabel = "Patronymic name";
648
- /**
649
- * @uiName VO code field label
650
- * @uiGroup Step 4 Properties
651
- */
652
- this.step4_voCodeLabel = "VO code";
653
- /**
654
- * @uiName Agency code field label
655
- * @uiGroup Step 4 Properties
656
- */
657
- this.step4_agencyCodeLabel = "Agency code";
658
- /**
659
- * @uiName Branch code field label
660
- * @uiGroup Step 4 Properties
661
- */
662
- this.step4_branchCodeLabel = "Branch code";
663
- /**
664
- * Label text for the classification input field
665
- * @uiName Classification field label
666
- * @uiGroup Step 4 Properties
667
- */
668
- this.step4_classificationLabel = "Classification";
669
- /**
670
- * @uiName Taxpayer ID field label
671
- * @uiGroup Step 4 Properties
672
- */
673
- this.step4_taxPayerIdLabel = "Beneficiary INN";
674
- /**
675
- * @uiName Bank address field label
676
- * @uiGroup Step 4 Properties
677
- */
678
- this.step4_bankAddressLabel = "Bank address";
679
- /**
680
- * @uiName Bank city field label
681
- * @uiGroup Step 4 Properties
682
- */
683
- this.step4_bankCityLabel = "Bank city";
684
- /**
685
- * @uiName Bank province/state field label
686
- * @uiGroup Step 4 Properties
687
- */
688
- this.step4_bankStateLabel = "Bank Province / State";
689
- /**
690
- * @uiName Bank postal code field label
691
- * @uiGroup Step 4 Properties
692
- */
693
- this.step4_bankPostalCodeLabel = "Bank postal code";
694
- /**
695
- * Default payment method to the participants’ bank account.
696
- * @uiName EFT withdrawal payment method
697
- * @uiGroup Step 4 Properties
698
- */
699
- this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
700
- /**
701
- * @uiName FX Wire Processing fee text
702
- * @uiGroup Step 4 Properties
703
- */
704
- this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
705
- /**
706
- * @uiName Text for verify email dialog
707
- * @uiGroup Step 4 Properties
708
- */
709
- this.step4_verifyEmailHeaderText = "Verify your email";
710
- /**
711
- * @uiName Verify code widget header text
712
- * @uiGroup Step 4 Properties
713
- */
714
- this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
715
- /**
716
- * @uiName Information modal title
717
- * @uiGroup Step 4 Properties
718
- */
719
- this.step4_modalTitle = "Important Note";
720
- /**
721
- * @uiName Information modal description text
722
- * @uiGroup Step 4 Properties
723
- */
724
- 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.";
725
- /**
726
- * @uiName Information modal button text
727
- * @uiGroup Step 4 Properties
728
- */
729
- this.step4_modalButtonText = "I understand, update my information";
730
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
731
- DASHBOARD PROPS:
732
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
733
- /**
734
- * @uiName Active tax form badge label
735
- * @uiGroup Dashboard Properties
736
- */
737
- this.dashboard_statusTextActive = "Active";
738
- /**
739
- * @uiName Invalid tax form badge label
740
- * @uiGroup Dashboard Properties
741
- */
742
- this.dashboard_statusTextNotActive = "Invalid Tax Form";
743
- /**
744
- * Displayed when the participant submitted their form but it is awaiting review.
745
- *
746
- * @uiName Not verified tax form badge label
747
- * @uiGroup Dashboard Properties
748
- */
749
- this.dashboard_statusTextNotVerified = "Not Verified";
750
- /**
751
- * Displayed when the participant has not submitted their required tax form.
752
- *
753
- * @uiName Required tax form badge label
754
- */
755
- this.dashboard_statusTextRequired = "Required";
756
- /**
757
- * Additional text displayed next to the tax form's status badge
758
- *
759
- * @uiName Required tax form description
760
- */
761
- this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
762
- /**
763
- * Additional text displayed next to the tax form's status badge
764
- *
765
- * @uiName Active W-9 description
766
- * @uiGroup Dashboard Properties
767
- */
768
- this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
769
- /**
770
- * Additional text displayed next to the tax form's status badge.
771
- *
772
- * @uiName Active W-8 description
773
- * @uiGroup Dashboard Properties
774
- */
775
- this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
776
- /**
777
- * Additional text displayed next to the tax form's status badge.
778
- *
779
- * @uiName Tax form in review description
780
- * @uiGroup Dashboard Properties
781
- */
782
- this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
783
- /**
784
- * Part of the alert displayed at the top of the page.
785
- *
786
- * @uiName Inactive W-9 error message title
787
- * @uiGroup Dashboard Properties
788
- * @uiWidget textArea
789
- */
790
- this.dashboard_taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
791
- /**
792
- * Part of the alert displayed at the top of the page.
793
- *
794
- * @uiName Inactive W-8 error message title
795
- * @uiGroup Dashboard Properties
796
- * @uiWidget textArea
797
- */
798
- this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
799
- /**
800
- * Part of the alert displayed at the top of the page.
801
- *
802
- * @uiName Inactive W-9 error message description
803
- * @uiGroup Dashboard Properties
804
- * @uiWidget textArea
805
- */
806
- this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
807
- /**
808
- * Part of the alert displayed at the top of the page.
809
- *
810
- * @uiName Inactive W-8 error message description
811
- * @uiGroup Dashboard Properties
812
- */
813
- 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.";
814
- /**
815
- * Additional text displayed next to the tax form's status badge.
816
- *
817
- * @uiName Invalid tax form description
818
- * @uiGroup Dashboard Properties
819
- * @uiWidget textArea
820
- */
821
- this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
822
- /**
823
- * @uiName Payout information section header
824
- * @uiGroup Dashboard Properties
825
- */
826
- this.dashboard_bankingInformationSectionHeader = "Payout Information";
827
- /**
828
- * @uiName Tax document section header
829
- * @uiGroup Dashboard Properties
830
- */
831
- this.dashboard_taxDocumentSectionHeader = "Tax documents";
832
- /**
833
- * Displayed under the tax document section header.
834
- *
835
- * @uiName Tax documents section description
836
- * @uiGroup Dashboard Properties
837
- */
838
- this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
839
- /**
840
- * No other statuses or badges will be displayed in the tax form section in this case.
841
- *
842
- * @uiName Tax form not required text
843
- * @uiGroup Dashboard Properties
844
- * @uiWidget textArea
845
- */
846
- 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.";
847
- /**
848
- *
849
- * @uiName Indirect tax section header
850
- * @uiGroup Dashboard Properties
851
- */
852
- this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
853
- /**
854
- * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
855
- *
856
- * @uiName Canadian province of indirect tax
857
- * @uiGroup Dashboard Properties
858
- */
859
- this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
860
- /**
861
- * If the participant is registered for indirect tax, display the country they’re registered in.
862
- *
863
- * @uiName Indirect tax country
864
- * @uiGroup Dashboard Properties
865
- */
866
- this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
867
- /**
868
- * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
869
- *
870
- * @uiName Spanish region of indirect tax
871
- * @uiGroup Dashboard Properties
872
- */
873
- this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
874
- /**
875
- * @uiName Indirect tax tooltip
876
- * @uiGroup Dashboard Properties
877
- * @uiWidget textArea
878
- */
879
- this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
880
- /**
881
- * Displayed to participants who have submitted their indirect tax information.
882
- *
883
- * @uiName Indirect tax details
884
- * @uiGroup Dashboard Properties
885
- */
886
- this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
887
- /**
888
- * @uiName Submit new tax form button label
889
- * @uiGroup Dashboard Properties
890
- */
891
- this.dashboard_newFormButton = "Submit new form";
892
- /**
893
- * @uiName Edit payment info button label
894
- * @uiGroup Dashboard Properties
895
- */
896
- this.dashboard_editPaymentInformationButton = "Edit Payout Information";
897
- /**
898
- * @uiName Not registered for indirect tax text
899
- * @uiGroup Dashboard Properties
900
- * @uiWidget textArea
901
- */
902
- 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.";
903
- /**
904
- * Displayed to participants registered in Quebec, Canada.
905
- * @uiName QST indirect tax details
906
- * @uiGroup Dashboard Properties
907
- */
908
- this.dashboard_qstNumber = "QST number: {qstNumber}";
909
- /**
910
- * @uiName Spain sub-region indirect tax number
911
- * @uiGroup Dashboard Properties
912
- */
913
- this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
914
- /**
915
- * @uiName Payout status badge
916
- * @uiGroup Dashboard Properties
917
- */
918
- this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
919
- /**
920
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
921
- * @uiName Payout schedule by threshold text
922
- * @uiGroup Dashboard Properties
923
- */
924
- this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
925
- /**
926
- * Shown before the participant’s bank account information.
927
- * @uiName Bank account field label
928
- * @uiGroup Dashboard Properties
929
- */
930
- this.dashboard_accountText = "Account";
931
- /**
932
- * Part of the Invoice table displayed at the bottom of the page.
933
- * @uiName Invoice number column title
934
- * @uiGroup Dashboard Properties
935
- */
936
- this.dashboard_invoiceColumnTitle = "Invoice";
937
- /**
938
- * Part of the Invoice table displayed at the bottom of the page.
939
- * @uiName Date column title
940
- * @uiGroup Dashboard Properties
941
- */
942
- this.dashboard_dateColumnTitle = "Date";
943
- /**
944
- * Part of the Invoice table displayed at the bottom of the page.
945
- * @uiName Earnings column title
946
- * @uiGroup Dashboard Properties
947
- */
948
- this.dashboard_earningsColumnTitle = "Earnings";
949
- /**
950
- * Part of the Invoice table displayed at the bottom of the page.
951
- * @uiName Indirect tax column title
952
- * @uiGroup Dashboard Properties
953
- */
954
- this.dashboard_indirectTaxColumnTitle = "Indirect tax";
955
- /**
956
- * Displayed under the payout details card.
957
- * @uiName Payout from impact text
958
- * @uiGroup Dashboard Properties
959
- * @uiWidget textArea
960
- */
961
- this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
962
- /**
963
- * Part of the Invoice table displayed at the bottom of the page.
964
- * @uiName Earnings after tax column title
965
- * @uiGroup Dashboard Properties
966
- */
967
- this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
968
- /**
969
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
970
- * @uiName Payout error message title
971
- * @uiGroup Dashboard Properties
972
- * @uiWidget textArea
973
- */
974
- this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
975
- /**
976
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
977
- * @uiName Payout error message description
978
- * @uiGroup Dashboard Properties
979
- * @uiWidget textArea
980
- */
981
- this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
982
- /**
983
- * Text displayed for existing publishers that do not have saved banking information.
984
- * @uiName Payout missing information subtext
985
- * @uiGroup Dashboard Properties
986
- */
987
- this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
988
- /**
989
- * @uiName Invoice table description
990
- * @uiGroup Dashboard Properties
991
- */
992
- this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
993
- /**
994
- * @uiName Invoice table previous page button label
995
- * @uiGroup Dashboard Properties
996
- */
997
- this.dashboard_invoicePrevLabel = "Prev";
998
- /**
999
- * @uiName Invoice table next page button label
1000
- * @uiGroup Dashboard Properties
1001
- */
1002
- this.dashboard_invoiceMoreLabel = "Next";
1003
- /**
1004
- * @uiName Invoice table title
1005
- * @uiGroup Dashboard Properties
1006
- */
1007
- this.dashboard_invoiceHeader = "Invoices";
1008
- /**
1009
- * @uiName Empty invoice table header
1010
- * @uiGroup Dashboard Properties
1011
- */
1012
- this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
1013
- /**
1014
- * @uiName Empty invoice table description
1015
- * @uiGroup Dashboard Properties
1016
- */
1017
- this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
1018
- /**
1019
- * @uiName Replace tax form modal header
1020
- * @uiGroup Dashboard Properties
1021
- */
1022
- this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
1023
- /**
1024
- * @uiName Replace tax form modal body text
1025
- * @uiGroup Dashboard Properties
1026
- * @uiWidget textArea
1027
- */
1028
- 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.";
1029
- /**
1030
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
1031
- * @uiName Verification required alert message title
1032
- * @uiGroup Dashboard Properties
1033
- * @uiWidget textArea
1034
- */
1035
- this.dashboard_verificationRequiredHeader = "Verify your identity";
1036
- /**
1037
- * Part of the alert displayed at the top of the page when the user needs to verify their identity
1038
- * @uiName Verification required alert message description
1039
- * @uiGroup Dashboard Properties
1040
- * @uiWidget textArea
1041
- */
1042
- 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}.";
1043
- /**
1044
- * @uiName Verification required internal alert header
1045
- * @uiGroup Dashboard Properties
1046
- * @uiWidget textArea
1047
- */
1048
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
1049
- /**
1050
- * @uiName Verification required internal alert description
1051
- * @uiGroup Dashboard Properties
1052
- * @uiWidget textArea
1053
- */
1054
- 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}.";
1055
- /**
1056
- * @uiName Verification review internal alert header
1057
- * @uiGroup Dashboard Properties
1058
- * @uiWidget textArea
1059
- */
1060
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
1061
- /**
1062
- * @uiName Verification review internal alert description
1063
- * @uiGroup Dashboard Properties
1064
- * @uiWidget textArea
1065
- */
1066
- 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}.";
1067
- /**
1068
- * @uiName Verification failed internal alert header
1069
- * @uiGroup Dashboard Properties
1070
- * @uiWidget textArea
1071
- */
1072
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
1073
- /**
1074
- * @uiName Verification failed internal alert description
1075
- * @uiGroup Dashboard Properties
1076
- * @uiWidget textArea
1077
- */
1078
- 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}.";
1079
- /**
1080
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
1081
- * @uiName Verification required alert button text
1082
- * @uiGroup Dashboard Properties
1083
- * @uiWidget textArea
1084
- */
1085
- this.dashboard_verificationRequiredButtonText = "Start Verification";
1086
- /**
1087
- * @uiName W-9 payment threshold alert header
1088
- * @uiGroup Dashboard Properties
1089
- * @uiWidget textArea
1090
- */
1091
- this.dashboard_w9RequiredHeader = "Your next payout is on hold";
1092
- /**
1093
- * @uiName W-9 payment threshold alert description
1094
- * @uiGroup Dashboard Properties
1095
- * @uiWidget textArea
1096
- */
1097
- 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.";
1098
- /**
1099
- * @uiName Account review alert header
1100
- */
1101
- this.dashboard_accountReviewHeader = "Your account is under review";
1102
- /**
1103
- * @uiName Account review alert description
1104
- */
1105
- 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}.";
1106
- /**
1107
- * @uiName Terms and Conditions text
1108
- * @uiGroup Dashboard Properties
1109
- */
1110
- this.dashboard_termsAndConditions = "Terms and Conditions";
1111
- /**
1112
- * @uiName W-9 payment threshold alert button text
1113
- * @uiGroup Dashboard Properties
1114
- * @uiWidget textArea
1115
- */
1116
- this.dashboard_w9RequiredButtonText = "Submit W-9";
1117
- /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1118
- GENERAL PROPS:
1119
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
1120
- /**
1121
- * @uiName Setup progress
1122
- * @uiGroup General Form Properties
1123
- */
1124
- this.formStep = "Step {step} of {count}";
1125
- /**
1126
- * Part of the alert displayed at the top of the page.
1127
- * @uiName Form submission error message title
1128
- * @uiGroup General Form Properties
1129
- * @uiWidget textArea
1130
- */
1131
- this.generalErrorTitle = "There was a problem submitting your information";
1132
- /**
1133
- * Part of the alert displayed at the top of the page.
1134
- * @uiName Form submission error message description
1135
- * @uiGroup General Form Properties
1136
- * @uiWidget textArea
1137
- */
1138
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
1139
- /**
1140
- * Displayed under a field that is missing required information.
1141
- * @uiName Empty form field error message
1142
- * @uiGroup General Form Properties
1143
- */
1144
- this.fieldRequiredError = "{fieldName} is required";
1145
- /**
1146
- * Displayed under a field that includes invalid characters (non-ASCII).
1147
- * @uiName Invalid character error message
1148
- * @uiGroup General Form Properties
1149
- */
1150
- this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
1151
- /**
1152
- * Displayed under a field when it has an invalid entry.
1153
- * @uiName Form field error message
1154
- * @uiGroup General Form Properties
1155
- */
1156
- this.fieldInvalidError = "{fieldName} is invalid";
1157
- /**
1158
- * @uiName Continue button label
1159
- * @uiGroup General Form Properties
1160
- */
1161
- this.continueButton = "Continue";
1162
- /**
1163
- * @uiName Back button label
1164
- * @uiGroup General Form Properties
1165
- */
1166
- this.backButton = "Back";
1167
- /**
1168
- * @uiName Cancel button label
1169
- * @uiGroup General Form Properties
1170
- */
1171
- this.cancelButton = "Cancel";
1172
- /**
1173
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1174
- * @uiName Participant is a partner alert title
1175
- * @uiGroup General Form Properties
1176
- * @uiWidget textArea
1177
- */
1178
- this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
1179
- /**
1180
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1181
- * @uiName Participant is a partner alert description
1182
- * @uiGroup General Form Properties
1183
- * @uiWidget textArea
1184
- */
1185
- 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.";
1186
- /**
1187
- * Placeholder text displayed in the country search dropdown
1188
- * @uiName Country field placeholder text
1189
- * @uiGroup General Form Properties
1190
- */
1191
- this.searchForCountryText = "Search for country..";
1192
- /**
1193
- * Part of the alert displayed at the top of the page.
1194
- * @uiName Page load error message title
1195
- * @uiGroup General Form Properties
1196
- * @uiWidget textArea
1197
- */
1198
- this.loadingErrorAlertHeader = "There was a problem loading your form";
1199
- /**
1200
- * Part of the alert displayed at the top of the page.
1201
- * @uiName Page load error message description
1202
- * @uiGroup General Form Properties
1203
- * @uiWidget textArea
1204
- */
1205
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
1206
- /**
1207
- * Displayed at the top of the page on all set up steps.
1208
- * @uiName Page description
1209
- * @uiGroup General Form Properties
1210
- */
1211
- this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
1212
- /**
1213
- * Link text for contacting support team
1214
- * @uiName Suport link text
1215
- * @uiGroup General Form Properties
1216
- */
1217
- this.supportLink = "support team";
1218
- /**
1219
- * Link text for Terms and Conditions
1220
- * @uiName Terms and Conditions text
1221
- * @uiGroup General Form Properties
1222
- */
1223
- this.termsAndConditions = "Terms and Conditions";
1224
- /**
1225
- *
1226
- * @undocumented
1227
- * @componentState { "title": "Step 1: Personal information", "props": { "step": "/1" }, "dependencies": ["sqm-user-info-form"], "uiGroup": "Step 1 Properties" }
1228
- * @componentState { "title": "Step 2: Indirect tax", "props": { "step": "/2" }, "dependencies": ["sqm-indirect-tax-form"], "uiGroup": "Step 2 Properties" }
1229
- * @componentState { "title": "Step 3: Tax form", "props": { "step": "/3" }, "dependencies": ["sqm-docusign-form"], "uiGroup": "Step 3 Properties" }
1230
- * @componentState { "title": "Step 4: Payment method", "props": { "step": "/4" }, "dependencies": ["sqm-banking-info-form"], "uiGroup": "Step 4 Properties" }
1231
- * @componentState { "title": "Dashboard", "props": { "step": "/dashboard" }, "dependencies": ["sqm-tax-and-cash-dashboard"], "uiGroup": "Dashboard Properties" }
1232
- */
1233
- this.stateController = "{}";
1234
- h(this);
1235
- }
1236
- disconnectedCallback() { }
1237
- // this field is required prop
1238
- getGeneralStepTextProps(prefix) {
1239
- const props = getProps(this);
1240
- return {
1241
- ...extractProps(props, prefix),
1242
- generalErrorTitle: props.generalErrorTitle,
1243
- generalErrorDescription: props.generalErrorDescription,
1244
- fieldRequiredError: props.fieldRequiredError,
1245
- invalidCharacterError: props.invalidCharacterError,
1246
- fieldInvalidError: props.fieldInvalidError,
1247
- continueButton: props.continueButton,
1248
- backButton: props.backButton,
1249
- cancelButton: props.cancelButton,
1250
- isPartnerAlertHeader: props.isPartnerAlertHeader,
1251
- isPartnerAlertDescription: props.isPartnerAlertDescription,
1252
- loadingErrorAlertHeader: props.loadingErrorAlertHeader,
1253
- loadingErrorAlertDescription: props.loadingErrorAlertDescription,
1254
- taxAndPayoutsDescription: props.taxAndPayoutsDescription,
1255
- searchForCountryText: props.searchForCountryText,
1256
- formStep: props.formStep,
1257
- supportLink: props.supportLink,
1258
- };
1259
- }
1260
- render() {
1261
- var _a, _b;
1262
- const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
1263
- // @ts-ignore
1264
- if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
1265
- const textProps = getProps(this);
1266
- return (h$1("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
1267
- if (prop === "demoData")
1268
- return;
1269
- return (h$1("div", null, h$1("b", null, prop, ":"), " ", this[prop], h$1("hr", null)));
1270
- })));
1271
- }
1272
- switch (props.step) {
1273
- case "/1":
1274
- return (h$1("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
1275
- case "/2":
1276
- return (h$1("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
1277
- case "/3":
1278
- return (h$1("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
1279
- case "/4":
1280
- return (h$1("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
1281
- case "/dashboard":
1282
- return (h$1("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
1283
- case "/error":
1284
- return (h$1(ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: intl.formatMessage({
1285
- id: "loadingErrorAlertDescription",
1286
- defaultMessage: this.loadingErrorAlertDescription,
1287
- }, {
1288
- supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
1289
- }) }));
1290
- }
1291
- return h$1(LoadingView, null);
1292
- }
1293
- };
1294
- function useDemoTaxAndCash(props) {
1295
- const [step, setStep] = In({
1296
- namespace: TAX_CONTEXT_NAMESPACE,
1297
- initialValue: "/1",
1298
- });
1299
- const states = parseStates(props.stateController);
1300
- const formatted = Object.keys(states).reduce((prev, key) => key === "sqm-tax-and-cash"
1301
- ? { ...prev, ...states[key] }
1302
- : { ...prev, [`${key}_stateController`]: states[key] }, {});
1303
- return cjs({
1304
- step,
1305
- setStep,
1306
- }, props.demoData || formatted || {}, { arrayMerge: (_, a) => a });
1307
- }
1308
-
1309
- export { TaxAndCashMonolith as sqm_tax_and_cash };