@saasquatch/mint-components 1.15.0-46 → 1.15.0-47

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