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