@saasquatch/mint-components 1.15.0-98 → 1.16.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1016) hide show
  1. package/dist/cjs/ErrorView-b2fcf954.js +35 -0
  2. package/dist/cjs/{GenericTableView-a9845e80.js → GenericTableView-a9f4ba75.js} +8 -8
  3. package/dist/cjs/{ShadowViewAddon-1270d3b6.js → ShadowViewAddon-28865623.js} +1531 -1495
  4. package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
  5. package/dist/cjs/{email-registration-view-ace50780.js → email-registration-view-55b378dc.js} +3 -5
  6. package/dist/cjs/{global-191f2253.js → global-e31dc4f5.js} +10494 -10772
  7. package/dist/cjs/{index-a43a63b4.js → index-a29c60ef.js} +0 -4
  8. package/dist/cjs/{index.module-4f54e412.js → index.module-ee84433d.js} +191 -191
  9. package/dist/cjs/loader.cjs.js +5 -5
  10. package/dist/cjs/{luxon-949beaf2.js → luxon-2926d85f.js} +2 -2
  11. package/dist/cjs/mint-components.cjs.js +5 -5
  12. package/dist/cjs/{mixins-4761d472.js → mixins-f7e0377a.js} +6 -6
  13. package/dist/cjs/{mockRewardData-df37c8a3.js → mockRewardData-7815f10f.js} +1 -1
  14. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  15. package/dist/cjs/{re-render-d516138a.js → re-render-b324deab.js} +4 -4
  16. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +51 -0
  17. package/dist/cjs/sqm-asset-card.cjs.entry.js +45 -0
  18. package/dist/cjs/{sqm-banking-info-form_10.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +2504 -706
  19. package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-8a2c8763.js} +3 -3
  20. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +783 -1273
  21. package/dist/cjs/{sqm-close-button-view-5e85ac51.js → sqm-close-button-view-ea3fa23b.js} +2 -2
  22. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  23. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  24. package/dist/cjs/sqm-email-verification.cjs.entry.js +28 -152
  25. package/dist/cjs/sqm-empty_4.cjs.entry.js +63 -58
  26. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  27. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  28. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  29. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  30. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  31. package/dist/cjs/sqm-invoice-table-view-5c74607f.js +2074 -0
  32. package/dist/cjs/sqm-lead-checkbox-field-view-34d94919.js +83 -0
  33. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +81 -0
  34. package/dist/cjs/sqm-lead-input-field-view-89308aab.js +51 -0
  35. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +88 -0
  36. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +10 -0
  37. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +7 -7
  38. package/dist/cjs/{sqm-logout-current-user-view-b61c8bdf.js → sqm-logout-current-user-view-11d57c12.js} +1 -1
  39. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  40. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +45 -0
  41. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -31
  42. package/dist/cjs/{sqm-navigation-sidebar-view-de90ef03.js → sqm-navigation-sidebar-view-17111896.js} +8 -18
  43. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +9 -25
  44. package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -97
  45. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  46. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  47. package/dist/cjs/{sqm-portal-container-view-07e4343f.js → sqm-portal-container-view-4f15143a.js} +2 -2
  48. package/dist/cjs/{sqm-portal-email-verification-view-87e083ca.js → sqm-portal-email-verification-view-7ebb426a.js} +4 -4
  49. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  50. package/dist/cjs/{sqm-portal-forgot-password-view-0a8d3243.js → sqm-portal-forgot-password-view-78f19ef9.js} +16 -24
  51. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +10 -39
  52. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  53. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  54. package/dist/cjs/{sqm-portal-login-view-bb50304c.js → sqm-portal-login-view-761a4d8e.js} +4 -4
  55. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  56. package/dist/cjs/{sqm-portal-profile-view-7ac7d3ac.js → sqm-portal-profile-view-33164798.js} +4 -4
  57. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  58. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  59. package/dist/cjs/{sqm-portal-registration-form-view-5a96c2f5.js → sqm-portal-registration-form-view-637a4bf4.js} +3 -3
  60. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  61. package/dist/cjs/{sqm-portal-reset-password-view-25eb2099.js → sqm-portal-reset-password-view-fe602822.js} +3 -3
  62. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  63. package/dist/cjs/{sqm-portal-verify-email-view-1c4e781f.js → sqm-portal-verify-email-view-7b678f34.js} +3 -3
  64. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  65. package/dist/cjs/{sqm-qr-code-view-0c3b2f48.js → sqm-qr-code-view-15dfc0b6.js} +10 -10
  66. package/dist/cjs/sqm-qr-code.cjs.entry.js +13 -12
  67. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +47 -132
  68. package/dist/cjs/sqm-referred-registration.cjs.entry.js +178 -0
  69. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  70. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  71. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +36 -83
  72. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  73. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  74. package/dist/cjs/sqm-stencilbook.cjs.entry.js +14117 -15117
  75. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  76. package/dist/cjs/sqm-tabs.cjs.entry.js +13 -27
  77. package/dist/cjs/sqm-text-span-view-0aa82125.js +62 -0
  78. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  79. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +11 -19
  80. package/dist/cjs/sqm-widget-verification.cjs.entry.js +13 -25
  81. package/dist/cjs/{dom-context-hooks.module-7fa676ae.js → stencil-hooks.module-3a336b0f.js} +18 -18
  82. package/dist/cjs/{useChildElements-966c9041.js → useChildElements-1b35d945.js} +5 -5
  83. package/dist/cjs/{useInstantAccessRegistration-08bcb487.js → useInstantAccessRegistration-0537e28e.js} +4 -4
  84. package/dist/cjs/useLeadFormState-c83d2034.js +72 -0
  85. package/dist/cjs/{usePayoutStatus-3b34dab1.js → usePayoutStatus-c84a7d98.js} +13 -10
  86. package/dist/cjs/{usePortalLogin-6aa864ef.js → usePortalLogin-63d896d1.js} +4 -4
  87. package/dist/cjs/{usePortalRegistrationForm-75b647fe.js → usePortalRegistrationForm-f25d89e7.js} +6 -6
  88. package/dist/cjs/{useReferralCodes-11cdf43b.js → useReferralCodes-82e8797b.js} +3 -3
  89. package/dist/cjs/{useReferralTable-90d4d6e9.js → useReferralTable-7c3f9600.js} +10 -10
  90. package/dist/cjs/{useRegistrationFormState-bbee6e7b.js → useRegistrationFormState-7b820f0c.js} +6 -6
  91. package/dist/cjs/{useVerificationEmail-9dd3997a.js → useVerificationEmail-95a82767.js} +6 -6
  92. package/dist/cjs/{utilities-9a0c5e91.js → utilities-78f5e169.js} +4 -4
  93. package/dist/cjs/{utils-7cbd60cc.js → utils-6847bc06.js} +0 -5
  94. package/dist/collection/collection-manifest.json +5 -1
  95. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +29 -0
  96. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +46 -0
  97. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
  98. package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
  99. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +0 -13
  100. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -15
  101. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +4 -171
  102. package/dist/collection/components/sqm-big-stat/useBigStat.js +8 -127
  103. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +5 -14
  104. package/dist/collection/components/sqm-brand/sqm-brand.js +4 -12
  105. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +0 -2
  106. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +11 -4
  107. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +0 -1
  108. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +0 -4
  109. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  110. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +48 -145
  111. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +65 -3
  112. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +6 -14
  113. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +3 -62
  114. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
  115. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  116. package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
  117. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +16 -8
  118. package/dist/collection/components/sqm-form-message/sqm-form-message.css +11 -50
  119. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  120. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +0 -1
  121. package/dist/collection/components/sqm-hero/Hero.stories.js +0 -11
  122. package/dist/collection/components/sqm-hero/sqm-hero-view.js +6 -13
  123. package/dist/collection/components/sqm-hero/sqm-hero.js +4 -30
  124. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +4 -4
  125. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +0 -80
  126. package/dist/collection/components/sqm-image/sqm-image.js +0 -1
  127. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -4
  128. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  129. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +1 -2
  130. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +1 -2
  131. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -2
  132. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  133. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +3 -6
  134. package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +44 -0
  135. package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +93 -0
  136. package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +62 -0
  137. package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +49 -0
  138. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +79 -0
  139. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +234 -0
  140. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +65 -0
  141. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +251 -0
  142. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +123 -0
  143. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +495 -0
  144. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +47 -0
  145. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +251 -0
  146. package/dist/collection/components/sqm-lead-form/useCheckboxField.js +10 -0
  147. package/dist/collection/components/sqm-lead-form/useLeadDropdownField.js +10 -0
  148. package/dist/collection/components/sqm-lead-form/useLeadForm.js +155 -0
  149. package/dist/collection/components/sqm-lead-form/useLeadFormState.js +10 -0
  150. package/dist/collection/components/sqm-lead-form/useLeadInputField.js +10 -0
  151. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -37
  152. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +54 -60
  153. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +36 -202
  154. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  155. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +2 -2
  156. package/dist/collection/components/sqm-link-button/sqm-link-button.js +0 -1
  157. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -2
  158. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -28
  159. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +0 -1
  160. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +0 -1
  161. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +7 -17
  162. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +5 -85
  163. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +7 -18
  164. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -233
  165. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +1 -9
  166. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  167. package/dist/collection/components/sqm-pagination/sqm-pagination.js +2 -43
  168. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  169. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +4 -8
  170. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -2
  171. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  172. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +8 -1
  173. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  174. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -1
  175. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  176. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +13 -21
  177. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -103
  178. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +36 -41
  179. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -102
  180. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +1 -4
  181. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +5 -10
  182. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  183. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -2
  184. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +0 -1
  185. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  186. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +0 -1
  187. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +0 -1
  188. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +3 -1
  189. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +0 -1
  190. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -0
  191. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -1
  192. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +0 -2
  193. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -12
  194. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -77
  195. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +0 -1
  196. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +7 -2
  197. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +0 -1
  198. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  199. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +31 -34
  200. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +10 -81
  201. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -3
  202. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -170
  203. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -6
  204. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
  205. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -29
  206. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  207. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +20 -53
  208. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +7 -62
  209. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +1 -2
  210. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -4
  211. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +3 -6
  212. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +3 -6
  213. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +2 -4
  214. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -4
  215. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +10 -3
  216. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  217. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +5 -31
  218. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  219. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +42 -39
  220. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +7 -50
  221. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -1
  222. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +5 -6
  223. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +4 -5
  224. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +7 -56
  225. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -3
  226. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -3
  227. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -3
  228. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -3
  229. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +3 -5
  230. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +2 -4
  231. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  232. package/dist/collection/components/sqm-route/sqm-route.js +0 -1
  233. package/dist/collection/components/sqm-router/sqm-router.js +0 -2
  234. package/dist/collection/components/sqm-scroll/sqm-scroll.js +0 -1
  235. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -3
  236. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -23
  237. package/dist/collection/components/sqm-share-button/sqm-share-button.js +10 -57
  238. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -170
  239. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -13
  240. package/dist/collection/components/sqm-share-link/sqm-share-link.js +3 -172
  241. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +9 -21
  242. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +2 -112
  243. package/dist/collection/components/sqm-stencilbook/Themes.js +33 -325
  244. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +107 -81
  245. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  246. package/dist/collection/components/sqm-tabs/Tabs.stories.js +0 -7
  247. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +2 -16
  248. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -30
  249. package/dist/collection/components/sqm-task-card/DetailsView.js +2 -8
  250. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +2 -3
  251. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +157 -139
  252. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -147
  253. package/dist/collection/components/sqm-task-card/useTaskCard.js +0 -10
  254. package/dist/collection/components/sqm-text/sqm-text.js +48 -101
  255. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +43 -44
  256. package/dist/collection/components/sqm-text-span/sqm-text-span.js +2 -52
  257. package/dist/collection/components/sqm-timeline/Timeline.stories.js +1 -8
  258. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  259. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -52
  260. package/dist/collection/components/sqm-timeline/sqm-timeline.js +1 -3
  261. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +0 -2
  262. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +2 -12
  263. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  264. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +14 -138
  265. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +7 -39
  266. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +8 -45
  267. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +26 -13
  268. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +69 -19
  269. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +2 -2
  270. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -1
  271. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
  272. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +76 -21
  273. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +3 -3
  274. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +2 -2
  275. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +71 -54
  276. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  277. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  278. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +27 -24
  279. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +1 -26
  280. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  281. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +1 -0
  282. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +62 -19
  283. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +76 -2
  284. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  285. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +27 -3
  286. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +180 -77
  287. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +8 -3
  288. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +111 -98
  289. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +134 -80
  290. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -1
  291. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  292. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  293. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +54 -167
  294. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  295. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  296. package/dist/collection/components/views/copy-text-view.js +38 -69
  297. package/dist/collection/components/views/email-registration-view.js +1 -3
  298. package/dist/collection/global/global.js +12 -27
  299. package/dist/collection/global/mixins.js +8 -8
  300. package/dist/collection/global/styles.js +99 -330
  301. package/dist/collection/global/styles.ts +100 -419
  302. package/dist/collection/stories/PortalTemplates.stories.js +30 -22
  303. package/dist/collection/tables/GenericTableView.js +6 -6
  304. package/dist/collection/utils/utils.js +0 -4
  305. package/dist/esm/ErrorView-48e2b969.js +33 -0
  306. package/dist/esm/{GenericTableView-e43d310f.js → GenericTableView-7b9087af.js} +8 -8
  307. package/dist/esm/{ShadowViewAddon-c99c9d12.js → ShadowViewAddon-f2176779.js} +1525 -1492
  308. package/dist/esm/copy-text-view-782137ba.js +94 -0
  309. package/dist/esm/{email-registration-view-1f587f8b.js → email-registration-view-a7818cf2.js} +3 -5
  310. package/dist/esm/{global-80edfef3.js → global-be1f9992.js} +8276 -8553
  311. package/dist/esm/{index-b3a06de8.js → index-91e7729f.js} +0 -4
  312. package/dist/esm/{index.module-38dad6c9.js → index.module-89a79f66.js} +153 -153
  313. package/dist/esm/loader.js +5 -5
  314. package/dist/esm/{luxon-bbf75a9d.js → luxon-8d51c92b.js} +1 -1
  315. package/dist/esm/mint-components.js +5 -5
  316. package/dist/esm/{mixins-f750863a.js → mixins-83f90fa1.js} +6 -6
  317. package/dist/esm/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  318. package/dist/esm/raisins-plop-target.entry.js +1 -1
  319. package/dist/esm/{re-render-9c90767d.js → re-render-cc945f38.js} +2 -2
  320. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +49 -0
  321. package/dist/esm/sqm-asset-card.entry.js +41 -0
  322. package/dist/esm/{sqm-banking-info-form_10.entry.js → sqm-banking-info-form_17.entry.js} +2342 -551
  323. package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +3 -3
  324. package/dist/esm/sqm-big-stat_43.entry.js +691 -1181
  325. package/dist/esm/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +2 -2
  326. package/dist/esm/sqm-close-button.entry.js +5 -5
  327. package/dist/esm/sqm-context-router.entry.js +4 -4
  328. package/dist/esm/sqm-email-verification.entry.js +21 -145
  329. package/dist/esm/sqm-empty_4.entry.js +60 -55
  330. package/dist/esm/sqm-form-message.entry.js +7 -7
  331. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  332. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  333. package/dist/esm/sqm-header-logo.entry.js +2 -2
  334. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  335. package/dist/esm/sqm-invoice-table-view-3491dd80.js +2058 -0
  336. package/dist/esm/sqm-lead-checkbox-field-view-a8c1c78e.js +81 -0
  337. package/dist/esm/sqm-lead-checkbox-field.entry.js +77 -0
  338. package/dist/esm/sqm-lead-input-field-view-4ede5d7f.js +49 -0
  339. package/dist/esm/sqm-lead-input-field.entry.js +84 -0
  340. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +8 -0
  341. package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
  342. package/dist/esm/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  343. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  344. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +43 -0
  345. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -30
  346. package/dist/esm/{sqm-navigation-sidebar-view-0a2ec560.js → sqm-navigation-sidebar-view-9d802b78.js} +8 -18
  347. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -22
  348. package/dist/esm/sqm-pagination_3.entry.js +64 -91
  349. package/dist/esm/sqm-password-field.entry.js +6 -6
  350. package/dist/esm/sqm-popup-container.entry.js +4 -4
  351. package/dist/esm/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +2 -2
  352. package/dist/esm/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-35b4353b.js} +4 -4
  353. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  354. package/dist/esm/{sqm-portal-forgot-password-view-0e795cdd.js → sqm-portal-forgot-password-view-3d3182f1.js} +16 -24
  355. package/dist/esm/sqm-portal-forgot-password.entry.js +7 -36
  356. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  357. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  358. package/dist/esm/{sqm-portal-login-view-7670cd86.js → sqm-portal-login-view-7e49609a.js} +4 -4
  359. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  360. package/dist/esm/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-93003974.js} +4 -4
  361. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  362. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  363. package/dist/esm/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +3 -3
  364. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  365. package/dist/esm/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +3 -3
  366. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  367. package/dist/esm/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +3 -3
  368. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  369. package/dist/esm/{sqm-qr-code-view-97124a66.js → sqm-qr-code-view-f1d0763b.js} +9 -9
  370. package/dist/esm/sqm-qr-code.entry.js +7 -6
  371. package/dist/esm/sqm-referral-table_11.entry.js +36 -121
  372. package/dist/esm/sqm-referred-registration.entry.js +174 -0
  373. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  374. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  375. package/dist/esm/sqm-rewards-table_9.entry.js +24 -71
  376. package/dist/esm/sqm-route.entry.js +1 -1
  377. package/dist/esm/sqm-scroll.entry.js +2 -2
  378. package/dist/esm/sqm-stencilbook.entry.js +14111 -15111
  379. package/dist/esm/sqm-tab.entry.js +4 -4
  380. package/dist/esm/sqm-tabs.entry.js +10 -24
  381. package/dist/esm/sqm-text-span-view-ca32495e.js +60 -0
  382. package/dist/esm/sqm-text-span.entry.js +6 -6
  383. package/dist/esm/sqm-widget-verification-controller.entry.js +6 -14
  384. package/dist/esm/sqm-widget-verification.entry.js +10 -22
  385. package/dist/esm/{dom-context-hooks.module-63370afd.js → stencil-hooks.module-4bc38af4.js} +13 -13
  386. package/dist/esm/{useChildElements-4e70ac0e.js → useChildElements-7945ae56.js} +2 -2
  387. package/dist/esm/{useInstantAccessRegistration-0f04459e.js → useInstantAccessRegistration-dc4ad9f2.js} +3 -3
  388. package/dist/esm/useLeadFormState-9016d812.js +68 -0
  389. package/dist/esm/{usePayoutStatus-7eeec61b.js → usePayoutStatus-f07bcf90.js} +10 -7
  390. package/dist/esm/{usePortalLogin-d0720c81.js → usePortalLogin-ef647a50.js} +3 -3
  391. package/dist/esm/{usePortalRegistrationForm-afc0171e.js → usePortalRegistrationForm-4b35a357.js} +3 -3
  392. package/dist/esm/{useReferralCodes-311e6d72.js → useReferralCodes-8f75921a.js} +2 -2
  393. package/dist/esm/{useReferralTable-65a01a6a.js → useReferralTable-b3876ed6.js} +5 -5
  394. package/dist/esm/{useRegistrationFormState-18c2cea7.js → useRegistrationFormState-d6f33135.js} +2 -2
  395. package/dist/esm/{useVerificationEmail-f9413de9.js → useVerificationEmail-edc318cb.js} +2 -2
  396. package/dist/esm/{utilities-ad9c2893.js → utilities-5b0ca040.js} +2 -2
  397. package/dist/esm/{utils-03188de2.js → utils-334c1e34.js} +1 -5
  398. package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
  399. package/dist/esm-es5/GenericTableView-7b9087af.js +1 -0
  400. package/dist/esm-es5/ShadowViewAddon-f2176779.js +1 -0
  401. package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
  402. package/dist/esm-es5/email-registration-view-a7818cf2.js +1 -0
  403. package/dist/esm-es5/{global-80edfef3.js → global-be1f9992.js} +5 -5
  404. package/dist/esm-es5/{index-b3a06de8.js → index-91e7729f.js} +1 -1
  405. package/dist/esm-es5/index.module-89a79f66.js +1 -0
  406. package/dist/esm-es5/loader.js +1 -1
  407. package/dist/esm-es5/luxon-8d51c92b.js +1 -0
  408. package/dist/esm-es5/mint-components.js +1 -1
  409. package/dist/esm-es5/mixins-83f90fa1.js +1 -0
  410. package/dist/esm-es5/{mockRewardData-96a2d26d.js → mockRewardData-a3cdb832.js} +1 -1
  411. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  412. package/dist/esm-es5/re-render-cc945f38.js +1 -0
  413. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +1 -0
  414. package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
  415. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  416. package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
  417. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  418. package/dist/esm-es5/{sqm-close-button-view-2fa57229.js → sqm-close-button-view-f9819751.js} +1 -1
  419. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  420. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  421. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  422. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  423. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  424. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  425. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  426. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  427. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  428. package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +1 -0
  429. package/dist/esm-es5/sqm-lead-checkbox-field-view-a8c1c78e.js +1 -0
  430. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -0
  431. package/dist/esm-es5/sqm-lead-input-field-view-4ede5d7f.js +1 -0
  432. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -0
  433. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +1 -0
  434. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  435. package/dist/esm-es5/{sqm-logout-current-user-view-f21e54e3.js → sqm-logout-current-user-view-8ef8180f.js} +1 -1
  436. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  437. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +1 -0
  438. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  439. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +1 -0
  440. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  441. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  442. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  443. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  444. package/dist/esm-es5/{sqm-portal-container-view-176e92e3.js → sqm-portal-container-view-1683ae32.js} +1 -1
  445. package/dist/esm-es5/{sqm-portal-email-verification-view-5719eb87.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  446. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  447. package/dist/esm-es5/sqm-portal-forgot-password-view-3d3182f1.js +1 -0
  448. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  449. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  450. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  451. package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
  452. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  453. package/dist/esm-es5/{sqm-portal-profile-view-9a82fe2e.js → sqm-portal-profile-view-93003974.js} +1 -1
  454. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  455. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  456. package/dist/esm-es5/{sqm-portal-registration-form-view-8bdc3804.js → sqm-portal-registration-form-view-3c1f6000.js} +1 -1
  457. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  458. package/dist/esm-es5/{sqm-portal-reset-password-view-abef7286.js → sqm-portal-reset-password-view-54a8651f.js} +1 -1
  459. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  460. package/dist/esm-es5/{sqm-portal-verify-email-view-33805220.js → sqm-portal-verify-email-view-b12cb894.js} +1 -1
  461. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  462. package/dist/esm-es5/sqm-qr-code-view-f1d0763b.js +1 -0
  463. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  464. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  465. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -0
  466. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  467. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  468. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  469. package/dist/esm-es5/sqm-route.entry.js +1 -1
  470. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  471. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  472. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  473. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  474. package/dist/esm-es5/sqm-text-span-view-ca32495e.js +1 -0
  475. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  476. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  477. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  478. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +53 -0
  479. package/dist/esm-es5/useChildElements-7945ae56.js +1 -0
  480. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +1 -0
  481. package/dist/esm-es5/useLeadFormState-9016d812.js +1 -0
  482. package/dist/esm-es5/{usePayoutStatus-7eeec61b.js → usePayoutStatus-f07bcf90.js} +2 -2
  483. package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
  484. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +1 -0
  485. package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
  486. package/dist/esm-es5/useReferralTable-b3876ed6.js +1 -0
  487. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +1 -0
  488. package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
  489. package/dist/esm-es5/utilities-5b0ca040.js +1 -0
  490. package/dist/esm-es5/utils-334c1e34.js +1 -0
  491. package/dist/mint-components/global/styles.ts +100 -419
  492. package/dist/mint-components/mint-components.esm.js +1 -1
  493. package/dist/mint-components/mint-components.js +1 -1
  494. package/dist/mint-components/p-00658daa.entry.js +205 -0
  495. package/dist/mint-components/p-00df0cac.js +1 -0
  496. package/dist/mint-components/p-00ed4c2e.entry.js +1 -0
  497. package/dist/mint-components/p-01dd541f.system.js +1 -0
  498. package/dist/mint-components/p-04a6e457.entry.js +1 -0
  499. package/dist/mint-components/{p-f307b716.js → p-05f29f64.js} +1 -1
  500. package/dist/mint-components/p-08090b99.entry.js +144 -0
  501. package/dist/mint-components/p-0b4cac9f.system.entry.js +1 -0
  502. package/dist/mint-components/p-0c78815e.system.entry.js +1 -0
  503. package/dist/mint-components/{p-fa6fba34.system.js → p-0c9debc1.system.js} +2 -2
  504. package/dist/mint-components/{p-1394d253.system.js → p-0d182dc1.system.js} +1 -1
  505. package/dist/mint-components/{p-8dc1cd0f.entry.js → p-0d2d0b6d.entry.js} +1 -1
  506. package/dist/mint-components/p-0d939b73.system.js +1 -0
  507. package/dist/mint-components/p-0ebab63e.system.js +1 -0
  508. package/dist/mint-components/{p-a6234a78.entry.js → p-10d17989.entry.js} +1 -1
  509. package/dist/mint-components/{p-a6f4fb03.system.js → p-127e66c2.system.js} +1 -1
  510. package/dist/mint-components/p-12bba567.entry.js +1 -0
  511. package/dist/mint-components/{p-3dc34570.system.js → p-13ed8586.system.js} +1 -1
  512. package/dist/mint-components/p-141bf5c1.system.entry.js +1 -0
  513. package/dist/mint-components/p-14a65f29.system.js +1 -0
  514. package/dist/mint-components/p-1513309d.entry.js +1 -0
  515. package/dist/mint-components/{p-0cba75e6.system.entry.js → p-164a9103.system.entry.js} +1 -1
  516. package/dist/mint-components/{p-910f56ca.system.entry.js → p-18425f38.system.entry.js} +1 -1
  517. package/dist/mint-components/{p-fb2976fc.system.entry.js → p-19bc3406.system.entry.js} +1 -1
  518. package/dist/mint-components/p-19ccb4ce.js +1 -0
  519. package/dist/mint-components/{p-b9bccc55.entry.js → p-1a6b7d2a.entry.js} +1 -1
  520. package/dist/mint-components/p-1b3ab15a.system.entry.js +1 -0
  521. package/dist/mint-components/p-1d704c40.system.js +1 -0
  522. package/dist/mint-components/p-1fa9ed0d.system.entry.js +1 -0
  523. package/dist/mint-components/p-21620f81.system.entry.js +1 -0
  524. package/dist/mint-components/p-229f797b.js +1 -0
  525. package/dist/mint-components/p-24db5c70.js +1 -0
  526. package/dist/mint-components/{p-00791abc.js → p-266a8b4d.js} +1 -1
  527. package/dist/mint-components/p-275b4767.entry.js +1 -0
  528. package/dist/mint-components/{p-0b0f49ad.entry.js → p-284e4ed5.entry.js} +1 -1
  529. package/dist/mint-components/{p-711bc624.entry.js → p-2ae0e06a.entry.js} +1 -1
  530. package/dist/mint-components/p-2bbff88f.entry.js +1 -0
  531. package/dist/mint-components/{p-91014439.system.js → p-2d52e2d7.system.js} +1 -1
  532. package/dist/mint-components/p-2da21ba4.entry.js +1 -0
  533. package/dist/mint-components/p-2dca9e1a.system.js +1 -0
  534. package/dist/mint-components/{p-d5f1df29.entry.js → p-2f101bae.entry.js} +1 -1
  535. package/dist/mint-components/{p-485e2d9f.system.entry.js → p-301ddcaa.system.entry.js} +1 -1
  536. package/dist/mint-components/p-31015791.js +1 -0
  537. package/dist/mint-components/p-33c96e14.entry.js +16 -0
  538. package/dist/mint-components/{p-a45680fe.js → p-35b475bf.js} +1 -1
  539. package/dist/mint-components/{p-0d22c0e5.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  540. package/dist/mint-components/p-37996351.system.js +1 -0
  541. package/dist/mint-components/p-380bfde1.entry.js +1 -0
  542. package/dist/mint-components/p-38e5c429.system.js +1 -0
  543. package/dist/mint-components/p-38fc919b.entry.js +1 -0
  544. package/dist/mint-components/p-3a62a7e2.system.js +1 -0
  545. package/dist/mint-components/p-3b90e01b.system.js +1 -0
  546. package/dist/mint-components/p-3db34d68.js +1 -0
  547. package/dist/mint-components/p-3f6e0197.system.entry.js +1 -0
  548. package/dist/mint-components/{p-862845d7.js → p-3f7b81b8.js} +2 -2
  549. package/dist/mint-components/p-420554af.system.entry.js +1 -0
  550. package/dist/mint-components/p-42187319.system.entry.js +1 -0
  551. package/dist/mint-components/p-43b4bb99.entry.js +1 -0
  552. package/dist/mint-components/p-4428294b.entry.js +1 -0
  553. package/dist/mint-components/p-4465b8e0.system.entry.js +1 -0
  554. package/dist/mint-components/{p-c3884e55.entry.js → p-44891949.entry.js} +1 -1
  555. package/dist/mint-components/p-4794641c.system.js +1 -0
  556. package/dist/mint-components/p-48135f99.system.js +53 -0
  557. package/dist/mint-components/p-48c69c2d.entry.js +1 -0
  558. package/dist/mint-components/p-492b70db.system.js +1 -0
  559. package/dist/mint-components/p-49932f12.system.js +1 -0
  560. package/dist/mint-components/{p-4204a6e3.entry.js → p-4b6dc0e5.entry.js} +1 -1
  561. package/dist/mint-components/{p-fb5be0c5.js → p-4e451f75.js} +1 -1
  562. package/dist/mint-components/{p-5ed49bf2.js → p-4e526a94.js} +1 -1
  563. package/dist/mint-components/p-4e5af50c.js +1 -0
  564. package/dist/mint-components/{p-ef8b70cd.system.entry.js → p-50c902ca.system.entry.js} +1 -1
  565. package/dist/mint-components/{p-82505f6e.system.js → p-527216de.system.js} +1 -1
  566. package/dist/mint-components/{p-bb627d95.entry.js → p-53730ffe.entry.js} +3 -3
  567. package/dist/mint-components/{p-9fb8b33a.system.js → p-5488fdd9.system.js} +1 -1
  568. package/dist/mint-components/{p-578a27c8.system.js → p-59274a91.system.js} +1 -1
  569. package/dist/mint-components/{p-08700497.js → p-5bedb58c.js} +1 -1
  570. package/dist/mint-components/{p-ebb487d0.system.entry.js → p-5c28406d.system.entry.js} +1 -1
  571. package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
  572. package/dist/mint-components/p-6055eb4c.system.js +1 -0
  573. package/dist/mint-components/p-626e9e84.js +1 -0
  574. package/dist/mint-components/p-6333265f.system.js +1 -0
  575. package/dist/mint-components/p-635d5ef2.system.js +1 -0
  576. package/dist/mint-components/{p-1d4a327c.js → p-63a75798.js} +1 -1
  577. package/dist/mint-components/p-6427e963.entry.js +1 -0
  578. package/dist/mint-components/p-65069b66.js +1248 -0
  579. package/dist/mint-components/p-653f963f.entry.js +13 -0
  580. package/dist/mint-components/p-65ba9e94.entry.js +1 -0
  581. package/dist/mint-components/{p-42b62299.system.entry.js → p-6a8d9def.system.entry.js} +1 -1
  582. package/dist/mint-components/p-6b7a595f.system.js +1 -0
  583. package/dist/mint-components/p-6ba44ca9.js +1 -0
  584. package/dist/mint-components/{p-0e59a91e.js → p-6bb25c02.js} +3 -3
  585. package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
  586. package/dist/mint-components/{p-4d19270b.js → p-6d2f5a1d.js} +2 -2
  587. package/dist/mint-components/{p-7159c51c.system.js → p-6d9e52c7.system.js} +1 -1
  588. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  589. package/dist/mint-components/p-775f3ded.entry.js +1 -0
  590. package/dist/mint-components/p-7846937e.entry.js +13 -0
  591. package/dist/mint-components/{p-3eba9036.js → p-7a9290ba.js} +1 -1
  592. package/dist/mint-components/p-7ab21e4d.entry.js +1 -0
  593. package/dist/mint-components/{p-15012f59.system.js → p-7c2b9fe4.system.js} +1 -1
  594. package/dist/mint-components/{p-eea87fdc.system.entry.js → p-7dabdca6.system.entry.js} +1 -1
  595. package/dist/mint-components/{p-94f9fbf7.entry.js → p-7f80a9d7.entry.js} +1 -1
  596. package/dist/mint-components/{p-a148663a.system.js → p-8175e85f.system.js} +1 -1
  597. package/dist/mint-components/{p-ac2fdad8.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  598. package/dist/mint-components/p-837a0fdd.js +1 -0
  599. package/dist/mint-components/p-85671c3d.system.entry.js +1 -0
  600. package/dist/mint-components/p-8abfeff8.entry.js +1 -0
  601. package/dist/mint-components/p-8c0b7881.system.entry.js +1 -0
  602. package/dist/mint-components/p-8c23d1b8.js +1 -0
  603. package/dist/mint-components/p-8d9d04b7.system.entry.js +1 -0
  604. package/dist/mint-components/p-8e478d2c.system.entry.js +1 -0
  605. package/dist/mint-components/{p-258f4e5e.system.entry.js → p-90fc6774.system.entry.js} +1 -1
  606. package/dist/mint-components/p-91521e9d.js +1 -0
  607. package/dist/mint-components/{p-ddf3c05e.js → p-91959fbe.js} +1 -1
  608. package/dist/mint-components/{p-68043f30.js → p-91ab3da1.js} +1 -1
  609. package/dist/mint-components/p-92816d1f.js +1 -0
  610. package/dist/mint-components/{p-da6fe95f.system.entry.js → p-9386ad84.system.entry.js} +1 -1
  611. package/dist/mint-components/{p-460155de.js → p-938f64d9.js} +1 -1
  612. package/dist/mint-components/p-94a876b9.js +1 -0
  613. package/dist/mint-components/p-95b88eb6.system.js +1 -0
  614. package/dist/mint-components/{p-c3dce602.system.entry.js → p-96431b4f.system.entry.js} +1 -1
  615. package/dist/mint-components/p-97d4d651.system.js +1 -0
  616. package/dist/mint-components/p-98698131.js +1 -0
  617. package/dist/mint-components/{p-64997b59.system.js → p-99ad7d56.system.js} +1 -1
  618. package/dist/mint-components/p-9acb5038.js +1 -0
  619. package/dist/mint-components/{p-002e6205.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  620. package/dist/mint-components/{p-b3da317b.system.entry.js → p-9bfd9bed.system.entry.js} +1 -1
  621. package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
  622. package/dist/mint-components/{p-6951663b.js → p-9ec99ced.js} +1 -1
  623. package/dist/mint-components/{p-22c11f0e.entry.js → p-a2fde301.entry.js} +1 -1
  624. package/dist/mint-components/{p-d399162b.system.js → p-a71b9154.system.js} +1 -1
  625. package/dist/mint-components/{p-9580aac3.js → p-a9f4ddb1.js} +1 -1
  626. package/dist/mint-components/p-aad32fb6.system.js +1 -0
  627. package/dist/mint-components/{p-8e28333b.system.js → p-ae1ea5ac.system.js} +1 -1
  628. package/dist/mint-components/p-b207beeb.entry.js +1 -0
  629. package/dist/mint-components/{p-89b859c7.system.entry.js → p-b287833c.system.entry.js} +1 -1
  630. package/dist/mint-components/{p-6578ea31.system.js → p-b75bb6e3.system.js} +1 -1
  631. package/dist/mint-components/{p-7059ee40.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  632. package/dist/mint-components/p-b82e1935.system.entry.js +1 -0
  633. package/dist/mint-components/p-b94ffed3.entry.js +273 -0
  634. package/dist/mint-components/{p-a4e56204.js → p-bbcd824a.js} +1 -1
  635. package/dist/mint-components/{p-773ce89c.system.js → p-bdb7d451.system.js} +22 -22
  636. package/dist/mint-components/p-bfc7cfc0.system.js +1 -0
  637. package/dist/mint-components/p-c060f770.system.entry.js +1 -0
  638. package/dist/mint-components/{p-3787a4d6.js → p-c0f19490.js} +1 -1
  639. package/dist/mint-components/p-c1b074b6.js +394 -0
  640. package/dist/mint-components/{p-dbe29e53.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  641. package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
  642. package/dist/mint-components/p-c9f1dde7.js +1 -0
  643. package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
  644. package/dist/mint-components/p-cbbfac66.entry.js +25 -0
  645. package/dist/mint-components/p-cd1d497f.system.js +1 -0
  646. package/dist/mint-components/{p-df37ef17.system.js → p-cd569259.system.js} +1 -1
  647. package/dist/mint-components/p-cd651f81.js +42 -0
  648. package/dist/mint-components/{p-9aadc253.entry.js → p-d07f3090.entry.js} +1 -1
  649. package/dist/mint-components/{p-b22b7891.js → p-d6831af5.js} +1 -1
  650. package/dist/mint-components/{p-e27ff213.entry.js → p-da7708a7.entry.js} +1 -1
  651. package/dist/mint-components/{p-1c1f4ce7.system.js → p-dbc0e4f8.system.js} +1 -1
  652. package/dist/mint-components/p-dbcb5359.js +1 -0
  653. package/dist/mint-components/p-dcc81e90.entry.js +1 -0
  654. package/dist/mint-components/p-e07bc6c4.system.js +1 -0
  655. package/dist/mint-components/p-e2f1dd8e.entry.js +9 -0
  656. package/dist/mint-components/p-e5a5ae7f.system.entry.js +1 -0
  657. package/dist/mint-components/{p-b6911812.system.js → p-e5d0375e.system.js} +1 -1
  658. package/dist/mint-components/p-e6f50ffd.entry.js +1 -0
  659. package/dist/mint-components/p-e8e48982.js +1 -0
  660. package/dist/mint-components/{p-5e0af707.entry.js → p-e8ffcc68.entry.js} +2 -2
  661. package/dist/mint-components/p-ef75f3a9.system.entry.js +1 -0
  662. package/dist/mint-components/{p-a2533860.system.entry.js → p-f0772618.system.entry.js} +1 -1
  663. package/dist/mint-components/p-f26aedcd.system.js +1 -0
  664. package/dist/mint-components/p-f2d8d3d3.system.entry.js +1 -0
  665. package/dist/mint-components/{p-4271f436.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  666. package/dist/mint-components/{p-22d20816.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
  667. package/dist/mint-components/p-f56bedd5.js +1 -0
  668. package/dist/mint-components/p-f708da7b.js +1 -0
  669. package/dist/mint-components/p-f7c99803.system.js +1 -0
  670. package/dist/mint-components/{p-07dc6d68.js → p-f940190a.js} +1 -1
  671. package/dist/mint-components/p-f98a4354.js +1 -0
  672. package/dist/mint-components/{p-7af4fba0.system.entry.js → p-fa37513e.system.entry.js} +1 -1
  673. package/dist/mint-components/{p-a7ee19dc.entry.js → p-faba3198.entry.js} +1 -1
  674. package/dist/mint-components/p-fc7a2647.system.entry.js +1 -0
  675. package/dist/mint-components/p-fe7af690.system.entry.js +1 -0
  676. package/dist/mint-components/p-ff8b8067.entry.js +33 -0
  677. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +7 -0
  678. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
  679. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
  680. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
  681. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +0 -2
  682. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
  683. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +1 -47
  684. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +0 -2
  685. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +0 -1
  686. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +0 -2
  687. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +16 -43
  688. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +3 -2
  689. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -4
  690. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +0 -15
  691. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +1 -0
  692. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +0 -1
  693. package/dist/types/components/sqm-hero/Hero.stories.d.ts +0 -1
  694. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +0 -1
  695. package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -6
  696. package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
  697. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +0 -20
  698. package/dist/types/components/sqm-image/sqm-image.d.ts +0 -1
  699. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -2
  700. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +0 -1
  701. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +0 -1
  702. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +0 -1
  703. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +0 -1
  704. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +0 -1
  705. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +0 -3
  706. package/dist/types/components/sqm-lead-form/LeadCheckboxField.stories.d.ts +28 -0
  707. package/dist/types/components/sqm-lead-form/LeadForm.stories.d.ts +10 -0
  708. package/dist/types/components/sqm-lead-form/LeadFormDropdownField.stories.d.ts +10 -0
  709. package/dist/types/components/sqm-lead-form/LeadInputField.stories.d.ts +8 -0
  710. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field-view.d.ts +15 -0
  711. package/dist/types/components/sqm-lead-form/sqm-lead-checkbox-field.d.ts +46 -0
  712. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field-view.d.ts +17 -0
  713. package/dist/types/components/sqm-lead-form/sqm-lead-dropdown-field.d.ts +49 -0
  714. package/dist/types/components/sqm-lead-form/sqm-lead-form-view.d.ts +36 -0
  715. package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +93 -0
  716. package/dist/types/components/sqm-lead-form/sqm-lead-input-field-view.d.ts +15 -0
  717. package/dist/types/components/sqm-lead-form/sqm-lead-input-field.d.ts +51 -0
  718. package/dist/types/components/sqm-lead-form/useCheckboxField.d.ts +6 -0
  719. package/dist/types/components/sqm-lead-form/useLeadDropdownField.d.ts +6 -0
  720. package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +28 -0
  721. package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +19 -0
  722. package/dist/types/components/sqm-lead-form/useLeadInputField.d.ts +6 -0
  723. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
  724. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -6
  725. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +11 -53
  726. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -6
  727. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +0 -1
  728. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +0 -1
  729. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +0 -1
  730. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +0 -1
  731. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +0 -16
  732. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +0 -8
  733. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +0 -57
  734. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -1
  735. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +2 -9
  736. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  737. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -2
  738. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +0 -1
  739. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -1
  740. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -5
  741. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +0 -15
  742. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +0 -3
  743. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +0 -19
  744. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +1 -2
  745. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
  746. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -1
  747. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +0 -1
  748. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +0 -1
  749. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +0 -1
  750. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +1 -0
  751. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -0
  752. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +0 -2
  753. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +0 -3
  754. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -20
  755. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +0 -1
  756. package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +0 -1
  757. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -5
  758. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -25
  759. package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -1
  760. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -43
  761. package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -1
  762. package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -1
  763. package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -7
  764. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +0 -1
  765. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +0 -1
  766. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +0 -1
  767. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +0 -1
  768. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +0 -1
  769. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +0 -1
  770. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +0 -1
  771. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +0 -1
  772. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +0 -3
  773. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -2
  774. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +437 -457
  775. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +1 -10
  776. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +0 -1
  777. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +0 -1
  778. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +0 -1
  779. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -2
  780. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +0 -1
  781. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -2
  782. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -2
  783. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
  784. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -2
  785. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -2
  786. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +0 -1
  787. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +0 -1
  788. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +0 -2
  789. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  790. package/dist/types/components/sqm-route/sqm-route.d.ts +0 -1
  791. package/dist/types/components/sqm-router/sqm-router.d.ts +0 -2
  792. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +0 -1
  793. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  794. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +1 -2
  795. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -19
  796. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +0 -43
  797. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +0 -1
  798. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -44
  799. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -3
  800. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +0 -25
  801. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  802. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +0 -1
  803. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +0 -1
  804. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +0 -10
  805. package/dist/types/components/sqm-task-card/DetailsView.d.ts +0 -6
  806. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +0 -5
  807. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +4 -33
  808. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +0 -9
  809. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -13
  810. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +2 -4
  811. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -14
  812. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +0 -1
  813. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -2
  814. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -14
  815. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -3
  816. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +0 -2
  817. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +2 -5
  818. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +2 -6
  819. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +2 -0
  820. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -1
  821. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +2 -2
  822. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +0 -4
  823. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
  824. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +3 -0
  825. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +12 -1
  826. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -2
  827. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +34 -11
  828. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  829. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +6 -2
  830. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +24 -12
  831. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  832. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  833. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  834. package/dist/types/components/views/copy-text-view.d.ts +0 -5
  835. package/dist/types/components.d.ts +633 -1223
  836. package/dist/types/global/global.d.ts +2 -2
  837. package/dist/types/global/mixins.d.ts +12 -12
  838. package/dist/types/global/styles.d.ts +2 -10
  839. package/dist/types/saasquatch.d.ts +7 -143
  840. package/dist/types/utils/utils.d.ts +0 -1
  841. package/docs/docs.docx +0 -0
  842. package/docs/raisins.json +1 -1
  843. package/grapesjs/grapesjs.js +1 -1
  844. package/package.json +2 -3
  845. package/dist/cjs/IndirectTaxDetailsView-cf888c7b.js +0 -646
  846. package/dist/cjs/copy-text-view-97ae8a48.js +0 -127
  847. package/dist/cjs/data-d4339c2e.js +0 -137
  848. package/dist/cjs/parseStates-d1effc19.js +0 -16
  849. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -352
  850. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +0 -84
  851. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +0 -10
  852. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +0 -56
  853. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1254
  854. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +0 -63
  855. package/dist/cjs/utils-e3305bd8.js +0 -105
  856. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +0 -198
  857. package/dist/collection/components/sqm-text/Text.stories.js +0 -12
  858. package/dist/collection/insertfont.js +0 -18
  859. package/dist/collection/utils/parseStates.js +0 -12
  860. package/dist/esm/IndirectTaxDetailsView-084314d5.js +0 -639
  861. package/dist/esm/copy-text-view-ab2fda20.js +0 -125
  862. package/dist/esm/data-ee3ae298.js +0 -121
  863. package/dist/esm/parseStates-ed75e224.js +0 -14
  864. package/dist/esm/sqm-code-verification.entry.js +0 -348
  865. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +0 -76
  866. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +0 -8
  867. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +0 -54
  868. package/dist/esm/sqm-tax-and-cash.entry.js +0 -1250
  869. package/dist/esm/sqm-text-span-view-4c17b8c9.js +0 -61
  870. package/dist/esm/utils-27b2ed4b.js +0 -97
  871. package/dist/esm-es5/GenericTableView-e43d310f.js +0 -1
  872. package/dist/esm-es5/IndirectTaxDetailsView-084314d5.js +0 -1
  873. package/dist/esm-es5/ShadowViewAddon-c99c9d12.js +0 -1
  874. package/dist/esm-es5/copy-text-view-ab2fda20.js +0 -1
  875. package/dist/esm-es5/data-ee3ae298.js +0 -1
  876. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +0 -53
  877. package/dist/esm-es5/email-registration-view-1f587f8b.js +0 -1
  878. package/dist/esm-es5/index.module-38dad6c9.js +0 -1
  879. package/dist/esm-es5/luxon-bbf75a9d.js +0 -1
  880. package/dist/esm-es5/mixins-f750863a.js +0 -1
  881. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  882. package/dist/esm-es5/re-render-9c90767d.js +0 -1
  883. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +0 -1
  884. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  885. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +0 -1
  886. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +0 -1
  887. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +0 -1
  888. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +0 -1
  889. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +0 -1
  890. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +0 -1
  891. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +0 -1
  892. package/dist/esm-es5/sqm-tax-and-cash.entry.js +0 -1
  893. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +0 -1
  894. package/dist/esm-es5/useChildElements-4e70ac0e.js +0 -1
  895. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +0 -1
  896. package/dist/esm-es5/usePortalLogin-d0720c81.js +0 -1
  897. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +0 -1
  898. package/dist/esm-es5/useReferralCodes-311e6d72.js +0 -1
  899. package/dist/esm-es5/useReferralTable-65a01a6a.js +0 -1
  900. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +0 -1
  901. package/dist/esm-es5/useVerificationEmail-f9413de9.js +0 -1
  902. package/dist/esm-es5/utilities-ad9c2893.js +0 -1
  903. package/dist/esm-es5/utils-03188de2.js +0 -1
  904. package/dist/esm-es5/utils-27b2ed4b.js +0 -1
  905. package/dist/mint-components/p-000c91b1.js +0 -1
  906. package/dist/mint-components/p-00378aec.entry.js +0 -144
  907. package/dist/mint-components/p-05650cb6.entry.js +0 -1
  908. package/dist/mint-components/p-0935f9b7.system.js +0 -1
  909. package/dist/mint-components/p-09631d19.entry.js +0 -93
  910. package/dist/mint-components/p-0bb21f5b.system.entry.js +0 -1
  911. package/dist/mint-components/p-0e532b53.entry.js +0 -1
  912. package/dist/mint-components/p-0e66f410.system.entry.js +0 -1
  913. package/dist/mint-components/p-0ea61502.system.js +0 -1
  914. package/dist/mint-components/p-100c878b.system.entry.js +0 -1
  915. package/dist/mint-components/p-115dfc03.system.js +0 -1
  916. package/dist/mint-components/p-1337f47c.entry.js +0 -1
  917. package/dist/mint-components/p-1363c4ab.system.js +0 -1
  918. package/dist/mint-components/p-13f3a647.js +0 -1
  919. package/dist/mint-components/p-14128c84.system.entry.js +0 -1
  920. package/dist/mint-components/p-15bfd7e2.system.js +0 -1
  921. package/dist/mint-components/p-19f41a8e.js +0 -1
  922. package/dist/mint-components/p-1a278658.entry.js +0 -1
  923. package/dist/mint-components/p-1cd0e1e9.system.js +0 -1
  924. package/dist/mint-components/p-1f511d5d.entry.js +0 -25
  925. package/dist/mint-components/p-204861a6.js +0 -1
  926. package/dist/mint-components/p-209ea185.js +0 -1
  927. package/dist/mint-components/p-21e3cac4.js +0 -1
  928. package/dist/mint-components/p-2403c6e1.system.js +0 -1
  929. package/dist/mint-components/p-240bec23.js +0 -1
  930. package/dist/mint-components/p-29c72c11.js +0 -448
  931. package/dist/mint-components/p-38a03a10.system.js +0 -1
  932. package/dist/mint-components/p-3cb249c3.js +0 -1
  933. package/dist/mint-components/p-3d1b91a1.system.entry.js +0 -1
  934. package/dist/mint-components/p-3d99fa43.entry.js +0 -1
  935. package/dist/mint-components/p-40c01a5a.system.js +0 -1
  936. package/dist/mint-components/p-42da8239.system.js +0 -1
  937. package/dist/mint-components/p-433ca566.system.entry.js +0 -1
  938. package/dist/mint-components/p-4575393a.entry.js +0 -13
  939. package/dist/mint-components/p-49b20dae.js +0 -1
  940. package/dist/mint-components/p-4f5329a2.system.js +0 -53
  941. package/dist/mint-components/p-587115cb.system.entry.js +0 -1
  942. package/dist/mint-components/p-59b028db.system.js +0 -1
  943. package/dist/mint-components/p-5ff2da11.js +0 -1
  944. package/dist/mint-components/p-63e29387.js +0 -42
  945. package/dist/mint-components/p-672d144e.entry.js +0 -1
  946. package/dist/mint-components/p-67ad2252.system.js +0 -1
  947. package/dist/mint-components/p-692bacf3.js +0 -1
  948. package/dist/mint-components/p-6ad674c2.js +0 -103
  949. package/dist/mint-components/p-6b076bae.system.entry.js +0 -1
  950. package/dist/mint-components/p-6e069052.entry.js +0 -1
  951. package/dist/mint-components/p-71271fbd.system.js +0 -1
  952. package/dist/mint-components/p-7270fb59.entry.js +0 -1
  953. package/dist/mint-components/p-7970e73a.js +0 -1
  954. package/dist/mint-components/p-7b8d29bb.entry.js +0 -1
  955. package/dist/mint-components/p-7fcc2a75.system.entry.js +0 -1
  956. package/dist/mint-components/p-84e1d633.system.entry.js +0 -1
  957. package/dist/mint-components/p-8543a70f.system.entry.js +0 -1
  958. package/dist/mint-components/p-8a6494c7.system.js +0 -1
  959. package/dist/mint-components/p-8caef004.js +0 -1
  960. package/dist/mint-components/p-8e2bead4.js +0 -1
  961. package/dist/mint-components/p-9049b387.entry.js +0 -1
  962. package/dist/mint-components/p-9374b5bb.system.entry.js +0 -1
  963. package/dist/mint-components/p-9d29a0ff.system.entry.js +0 -1
  964. package/dist/mint-components/p-9dbfdb41.system.entry.js +0 -1
  965. package/dist/mint-components/p-9e297104.entry.js +0 -1
  966. package/dist/mint-components/p-9f82e69d.entry.js +0 -1
  967. package/dist/mint-components/p-a5c9ce6c.entry.js +0 -1
  968. package/dist/mint-components/p-a89baf7b.system.js +0 -1
  969. package/dist/mint-components/p-a92d6c32.entry.js +0 -258
  970. package/dist/mint-components/p-abd33116.system.entry.js +0 -1
  971. package/dist/mint-components/p-ad174af6.system.entry.js +0 -1
  972. package/dist/mint-components/p-ad586adc.system.entry.js +0 -1
  973. package/dist/mint-components/p-b065215a.entry.js +0 -1
  974. package/dist/mint-components/p-bad50dc1.entry.js +0 -1
  975. package/dist/mint-components/p-be88596c.system.js +0 -1
  976. package/dist/mint-components/p-c1629004.entry.js +0 -1
  977. package/dist/mint-components/p-c2c59452.system.js +0 -1
  978. package/dist/mint-components/p-c4886223.entry.js +0 -1
  979. package/dist/mint-components/p-c7965639.entry.js +0 -1
  980. package/dist/mint-components/p-c79bb1c6.entry.js +0 -16
  981. package/dist/mint-components/p-c7c11325.js +0 -1
  982. package/dist/mint-components/p-cab1f502.js +0 -1
  983. package/dist/mint-components/p-d2e2e10f.js +0 -1233
  984. package/dist/mint-components/p-d785a297.system.entry.js +0 -1
  985. package/dist/mint-components/p-d821418e.system.js +0 -1
  986. package/dist/mint-components/p-d8c5b80a.system.js +0 -1
  987. package/dist/mint-components/p-da3ffd4e.system.entry.js +0 -1
  988. package/dist/mint-components/p-e425b7a1.entry.js +0 -13
  989. package/dist/mint-components/p-e4e3ddb6.system.js +0 -1
  990. package/dist/mint-components/p-e539fed3.entry.js +0 -1
  991. package/dist/mint-components/p-e57d61af.system.js +0 -1
  992. package/dist/mint-components/p-e64fbb70.js +0 -1
  993. package/dist/mint-components/p-e9d0caf7.entry.js +0 -11
  994. package/dist/mint-components/p-eaeddfe2.system.js +0 -1
  995. package/dist/mint-components/p-f0e0d0b9.system.entry.js +0 -1
  996. package/dist/mint-components/p-f0ebccea.system.entry.js +0 -1
  997. package/dist/mint-components/p-f1dc581f.js +0 -1
  998. package/dist/mint-components/p-f45221d6.system.js +0 -1
  999. package/dist/mint-components/p-f4dc053e.entry.js +0 -33
  1000. package/dist/mint-components/p-f51e41dd.system.entry.js +0 -1
  1001. package/dist/mint-components/p-f6baa0c9.system.js +0 -1
  1002. package/dist/mint-components/p-f9713e0f.entry.js +0 -9
  1003. package/dist/mint-components/p-f9c7248e.js +0 -1
  1004. package/dist/mint-components/p-fb0513e7.system.entry.js +0 -1
  1005. package/dist/mint-components/p-fb77f662.entry.js +0 -1
  1006. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +0 -9
  1007. package/dist/types/components/sqm-text/Text.stories.d.ts +0 -6
  1008. package/dist/types/global/android.d.ts +0 -7
  1009. package/dist/types/global/demo.d.ts +0 -2
  1010. package/dist/types/insertfont.d.ts +0 -1
  1011. package/dist/types/stories/features.d.ts +0 -4
  1012. package/dist/types/stories/templates.d.ts +0 -4
  1013. package/dist/types/utils/parseStates.d.ts +0 -1
  1014. package/shoelace/assets/icons/twitter-x.svg +0 -4
  1015. /package/dist/collection/components/tax-and-cash/{data.js → sqm-tax-and-cash/data.js} +0 -0
  1016. /package/dist/types/components/tax-and-cash/{data.d.ts → sqm-tax-and-cash/data.d.ts} +0 -0
@@ -2,25 +2,145 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a43a63b4.js');
6
- const global = require('./global-191f2253.js');
7
- const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js');
8
- const index_module = require('./index.module-4f54e412.js');
5
+ const index = require('./index-a29c60ef.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
+ const global = require('./global-e31dc4f5.js');
8
+ const index_module = require('./index.module-ee84433d.js');
9
9
  const jsonpointer = require('./jsonpointer-11327262.js');
10
10
  const cjs = require('./cjs-1066ec21.js');
11
- const utils = require('./utils-7cbd60cc.js');
11
+ const utils = require('./utils-6847bc06.js');
12
12
  const JSS = require('./JSS-8503a151.js');
13
- require('./mixins-4761d472.js');
14
- const GenericTableView = require('./GenericTableView-a9845e80.js');
15
- const reRender = require('./re-render-d516138a.js');
16
- const useChildElements = require('./useChildElements-966c9041.js');
17
- const luxon = require('./luxon-949beaf2.js');
18
- const useReferralTable = require('./useReferralTable-90d4d6e9.js');
19
- const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-cf888c7b.js');
20
- const utils$1 = require('./utils-e3305bd8.js');
21
- const data = require('./data-d4339c2e.js');
13
+ const mixins = require('./mixins-f7e0377a.js');
14
+ const GenericTableView = require('./GenericTableView-a9f4ba75.js');
15
+ const reRender = require('./re-render-b324deab.js');
16
+ const useChildElements = require('./useChildElements-1b35d945.js');
17
+ const luxon = require('./luxon-2926d85f.js');
18
+ const useReferralTable = require('./useReferralTable-7c3f9600.js');
19
+ const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
20
+ const ErrorView = require('./ErrorView-b2fcf954.js');
21
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-5c74607f.js');
22
+ const extractProps = require('./extractProps-fd93ba62.js');
22
23
  const keys = require('./keys-cff24974.js');
23
- const usePayoutStatus = require('./usePayoutStatus-3b34dab1.js');
24
+ const usePayoutStatus = require('./usePayoutStatus-c84a7d98.js');
25
+ const useVerificationEmail = require('./useVerificationEmail-95a82767.js');
26
+
27
+ const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
28
+ const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
29
+ const USER_QUERY_NAMESPACE = "sq:user-info-query";
30
+ const USER_FORM_CONTEXT_NAMESPACE = "sq:user-form-context";
31
+ const FINANCE_NETWORK_SETTINGS_NAMESPACE = "sq:finance-network-settings";
32
+ const COUNTRIES_NAMESPACE = "sq:countries:list";
33
+ const SORTED_COUNTRIES_NAMESPACE = "sq:countries:sorted";
34
+ const COUNTRIES_QUERY_NAMESPACE = "sq:countries:query";
35
+ const CURRENCIES_NAMESPACE = "sq:currencies:list";
36
+ const CURRENCIES_QUERY_NAMESPACE = "sq:currencies:query";
37
+ const GET_USER = index_module.dist.gql `
38
+ query getUserTaxInfo {
39
+ user: viewer {
40
+ ... on User {
41
+ id
42
+ firstName
43
+ lastName
44
+ email
45
+ countryCode
46
+ customFields
47
+ managedIdentity {
48
+ uid
49
+ email
50
+ emailVerified
51
+ }
52
+ impactConnection {
53
+ connected
54
+ user {
55
+ firstName
56
+ lastName
57
+ }
58
+ publisher {
59
+ id
60
+ brandedSignup
61
+ countryCode
62
+ currency
63
+ billingAddress
64
+ billingCity
65
+ billingState
66
+ billingCountryCode
67
+ billingPostalCode
68
+ phoneNumberCountryCode
69
+ phoneNumber
70
+ taxInformation {
71
+ indirectTaxId
72
+ indirectTaxCountryCode
73
+ indirectTaxRegion
74
+ additionalTaxId
75
+ withholdingTaxId
76
+ withholdingTaxCountryCode
77
+ }
78
+ requiredTaxDocumentType
79
+ currentTaxDocument {
80
+ status
81
+ type
82
+ dateCreated
83
+ }
84
+ withdrawalSettings {
85
+ paymentMethod
86
+ paypalEmailAddress
87
+ bankCountry
88
+ bankAccountNumber
89
+ paymentSchedulingType
90
+ paymentThreshold
91
+ paymentDay
92
+ }
93
+ payoutsAccount {
94
+ hold
95
+ holdReasons
96
+ balance
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ `;
104
+ const GET_COUNTRIES = index_module.dist.gql `
105
+ query getCountries {
106
+ impactPayoutCountries(limit: 1000) {
107
+ data {
108
+ countryCode
109
+ displayName
110
+ }
111
+ }
112
+ }
113
+ `;
114
+ const GET_CURRENCIES = index_module.dist.gql `
115
+ query currencies($locale: RSLocale) {
116
+ currencies(limit: 300) {
117
+ data {
118
+ displayName(locale: $locale)
119
+ currencyCode
120
+ }
121
+ }
122
+ }
123
+ `;
124
+ const GET_FINANCE_NETWORK_SETTINGS = index_module.dist.gql `
125
+ query impactFinanceNetworkSettings(
126
+ $filter: ImpactFinanceNetworkSettingsFilterInput
127
+ ) {
128
+ impactFinanceNetworkSettings(filter: $filter, limit: 1000) {
129
+ data {
130
+ countryCode
131
+ currency
132
+ defaultFinancePaymentMethodId
133
+ thresholdOptions
134
+ withdrawalSettingId
135
+ internationalEftFee
136
+ foreignFxFee
137
+ defaultFxFee
138
+ }
139
+ totalCount
140
+ }
141
+ }
142
+ `;
143
+ const FORM_STEPS = 4;
24
144
 
25
145
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
26
146
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
@@ -564,20 +684,45 @@ const style = {
564
684
  gap: "8px",
565
685
  },
566
686
  ErrorText: {
567
- color: "var(--sqm-danger-color-icon)",
687
+ color: "var(--sl-color-danger-500)",
568
688
  marginTop: "10px",
569
689
  },
570
690
  PageDescriptionText: {
571
- color: "var(--sqm-text-subdued)",
691
+ color: "var(--sl-color-neutral-500)",
572
692
  fontSize: "var(--sl-font-size-medium)",
573
693
  },
574
694
  DescriptionText: {
575
- color: "var(--sqm-text-subdued)",
695
+ color: "var(--sl-color-neutral-500)",
696
+ },
697
+ SecondaryBtn: {
698
+ "&::part(base)": {
699
+ color: "var(--sl-color-gray-800) !important",
700
+ },
701
+ },
702
+ AlertContainer: {
703
+ "&::part(base)": {
704
+ backgroundColor: "var(--sl-color-red-100)",
705
+ borderTop: "none",
706
+ padding: "0 16px",
707
+ },
708
+ "& sl-icon::part(base)": {
709
+ color: "var(--sl-color-danger-500)",
710
+ },
576
711
  },
577
712
  RadioContainer: {
578
713
  display: "flex",
579
714
  flexDirection: "column",
580
715
  },
716
+ PartnerAlertContainer: {
717
+ "&::part(base)": {
718
+ backgroundColor: "var(--sl-color-sky-100)",
719
+ borderTop: "none",
720
+ padding: "0 16px",
721
+ },
722
+ "& sl-icon::part(base)": {
723
+ color: "var(--sl-color-blue-500)",
724
+ },
725
+ },
581
726
  Checkbox: {
582
727
  "&::part(control)": {
583
728
  borderRadius: "50% !important",
@@ -589,8 +734,8 @@ const style = {
589
734
  InputContainer: {
590
735
  padding: "16px",
591
736
  margin: "16px 0px 16px 0px",
592
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
593
- borderBottom: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
737
+ borderTop: "1px solid var(--sl-color-gray-300)",
738
+ borderBottom: "1px solid var(--sl-color-gray-300)",
594
739
  display: "flex",
595
740
  flexDirection: "column",
596
741
  width: "100%",
@@ -612,20 +757,37 @@ const style = {
612
757
  width: "16px",
613
758
  height: "16px",
614
759
  borderRadius: "50%",
615
- background: "var(--sqm-skeleton-background)",
760
+ background: "var(--sl-color-gray-200)",
616
761
  },
617
762
  SmallSkeleton: {
618
763
  width: "100px",
619
764
  height: "16px",
620
765
  borderRadius: "50px",
621
- background: "var(--sqm-skeleton-background)",
766
+ background: "var(--sl-color-gray-200)",
622
767
  },
623
768
  LargeSkeleton: {
624
769
  width: "100%",
625
770
  maxWidth: "320px",
626
771
  height: "40px",
627
772
  borderRadius: "50px",
628
- background: "var(--sqm-skeleton-background)",
773
+ background: "var(--sl-color-gray-200)",
774
+ },
775
+ InfoAlert: {
776
+ "&::part(base)": {
777
+ backgroundColor: "transparent",
778
+ borderTop: "none",
779
+ border: "none",
780
+ },
781
+ "&::part(message)": {
782
+ display: "flex",
783
+ alignItems: "center",
784
+ justifyContent: "flex-start",
785
+ padding: "10px",
786
+ height: "max-content",
787
+ },
788
+ "& sl-icon::part(base)": {
789
+ color: "var(--sl-color-yellow-500)",
790
+ },
629
791
  },
630
792
  InfoWarningIcon: {
631
793
  height: "26px",
@@ -671,16 +833,20 @@ const vanillaStyle = `
671
833
  font-weight: 600
672
834
  }
673
835
 
836
+ p {
837
+ line-height: 18px;
838
+ color: var(--sl-color-gray-800);
839
+ font-size: var(--sl-font-size-small);
840
+ }
841
+
674
842
  /* this class is dynamically applied in controller */
675
843
  .error-input::part(base) {
676
- --sqm-input-border-color: var(--sqm-danger-color-border);
677
- --sl-input-border-color: var(--sqm-danger-color-border);
678
- --sl-input-border-color-hover: var(--sqm-danger-color-border);
679
- --sl-input-border-color-focus: var(--sqm-danger-color-background);
844
+ border: 1px solid var(--sl-color-danger-500);
845
+ border-radius: var(--sl-input-border-radius-medium);
680
846
  }
681
847
 
682
848
  .error-input::part(help-text) {
683
- color: var(--sqm-danger-color-text);
849
+ color: var(--sl-color-danger-500) !important;
684
850
  }
685
851
 
686
852
  `;
@@ -729,19 +895,23 @@ const BankingInfoFormView = (props) => {
729
895
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
730
896
  id: "formStep",
731
897
  defaultMessage: text.formStep,
732
- }, { step: states.step, count: data.FORM_STEPS }))),
898
+ }, { step: states.step, count: FORM_STEPS }))),
733
899
  index.h("h3", { style: { fontSize: "24px" } }, text.taxAndPayouts),
734
900
  index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription)),
735
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sqm-form-message", { type: "error" },
736
- index.h("p", { part: "alert-title" }, text.error.generalTitle),
901
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.AlertContainer },
902
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
903
+ index.h("strong", null, text.error.generalTitle),
904
+ index.h("br", null),
737
905
  global.intl.formatMessage({
738
906
  id: "generalDescription",
739
907
  defaultMessage: text.error.generalDescription,
740
908
  }, {
741
909
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
742
910
  }))),
743
- states.isPartner && !states.hideSteps && (index.h("sqm-form-message", { type: "info" },
744
- index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
911
+ states.isPartner && !states.hideSteps && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
912
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
913
+ index.h("strong", null, text.isPartnerAlertHeader),
914
+ index.h("br", null),
745
915
  global.intl.formatMessage({
746
916
  id: "isPartnerAlertDescription",
747
917
  defaultMessage: text.isPartnerAlertDescription,
@@ -782,7 +952,7 @@ const BankingInfoFormView = (props) => {
782
952
  index.h("sl-button", Object.assign({ type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading }, (states.hideSteps
783
953
  ? { onClick: callbacks.onModalOpen }
784
954
  : { submit: "submit" }), { exportparts: "base: primarybutton-base" }), text.continueButton),
785
- !states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
955
+ !states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", class: classes.SecondaryBtn, type: "text", onClick: callbacks.onBack }, text.backButton))))));
786
956
  };
787
957
 
788
958
  // Hardcoded in Impact backend
@@ -866,25 +1036,25 @@ function useBankingInfoForm(props) {
866
1036
  const host = index_module._();
867
1037
  const locale = index_module.L();
868
1038
  const user = index_module.J();
869
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
870
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
871
- const countries = index_module.Fn(data.SORTED_COUNTRIES_NAMESPACE);
872
- const formRef = domContextHooks_module.useRef(null);
873
- const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.$n(data.FINANCE_NETWORK_SETTINGS_NAMESPACE);
874
- const { data: userData, refetch, errors: userError, } = index_module.$n(data.USER_QUERY_NAMESPACE);
1039
+ const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
1040
+ const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
1041
+ const countries = index_module.Fn(SORTED_COUNTRIES_NAMESPACE);
1042
+ const formRef = stencilHooks_module.useRef(null);
1043
+ const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.$n(FINANCE_NETWORK_SETTINGS_NAMESPACE);
1044
+ const { data: userData, refetch, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
875
1045
  const [saveWithdrawalSettings] = index_module.$e(SAVE_WITHDRAWAL_SETTINGS);
876
1046
  const [updateWithdrawalSettings] = index_module.$e(UPDATE_WITHDRAWAL_SETTINGS);
877
- const [showVerification, setShowVerification] = domContextHooks_module.useState(false);
878
- const [currentFormData, setCurrentFormData] = domContextHooks_module.useState(null);
879
- const [formState, setFormState] = domContextHooks_module.useState({});
880
- const [currentPaymentOption, setCurrentPaymentOption] = domContextHooks_module.useState(null);
881
- const [loading, setLoading] = domContextHooks_module.useState(false);
882
- const [errors, setErrors] = domContextHooks_module.useState({});
883
- const [_paymentMethodChecked, _setPaymentMethodChecked] = domContextHooks_module.useState(undefined);
884
- const [paymentScheduleChecked, setPaymentScheduleChecked] = domContextHooks_module.useState(undefined);
885
- const [countrySearch, setCountrySearch] = domContextHooks_module.useState("");
886
- const [filteredCountries, setFilteredCountries] = domContextHooks_module.useState(countries || []);
887
- const [showModal, setShowModal] = domContextHooks_module.useState(false);
1047
+ const [showVerification, setShowVerification] = stencilHooks_module.useState(false);
1048
+ const [currentFormData, setCurrentFormData] = stencilHooks_module.useState(null);
1049
+ const [formState, setFormState] = stencilHooks_module.useState({});
1050
+ const [currentPaymentOption, setCurrentPaymentOption] = stencilHooks_module.useState(null);
1051
+ const [loading, setLoading] = stencilHooks_module.useState(false);
1052
+ const [errors, setErrors] = stencilHooks_module.useState({});
1053
+ const [_paymentMethodChecked, _setPaymentMethodChecked] = stencilHooks_module.useState(undefined);
1054
+ const [paymentScheduleChecked, setPaymentScheduleChecked] = stencilHooks_module.useState(undefined);
1055
+ const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
1056
+ const [filteredCountries, setFilteredCountries] = stencilHooks_module.useState(countries || []);
1057
+ const [showModal, setShowModal] = stencilHooks_module.useState(false);
888
1058
  const currency = ((_c = (_b = (_a = userData === null || userData === void 0 ? void 0 : userData.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) || "";
889
1059
  const isPartner = !!((_f = (_e = (_d = userData === null || userData === void 0 ? void 0 : userData.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher) === null || _f === void 0 ? void 0 : _f.withdrawalSettings);
890
1060
  const feeCap = paypalFeeMap[currency] || "";
@@ -904,7 +1074,7 @@ function useBankingInfoForm(props) {
904
1074
  const paymentMethodChecked = !hasPayPal
905
1075
  ? "toBankAccount"
906
1076
  : _paymentMethodChecked;
907
- domContextHooks_module.useEffect(() => {
1077
+ stencilHooks_module.useEffect(() => {
908
1078
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
909
1079
  if (!userData)
910
1080
  return;
@@ -948,7 +1118,7 @@ function useBankingInfoForm(props) {
948
1118
  setPaymentScheduleChecked(initialData.paymentSchedulingType);
949
1119
  setFormState(initialData);
950
1120
  }, [paymentOptions, userData, setCurrentPaymentOption, setFormState]);
951
- domContextHooks_module.useEffect(() => {
1121
+ stencilHooks_module.useEffect(() => {
952
1122
  if (!(countries === null || countries === void 0 ? void 0 : countries.length))
953
1123
  return;
954
1124
  if (countrySearch.trim() === "") {
@@ -1423,7 +1593,7 @@ const BankingInfoForm = class {
1423
1593
  * @uiName Information modal button text
1424
1594
  */
1425
1595
  this.modalButtonText = "I understand, update my information";
1426
- domContextHooks_module.h$1(this);
1596
+ stencilHooks_module.h$1(this);
1427
1597
  }
1428
1598
  disconnectedCallback() { }
1429
1599
  getTextProps() {
@@ -1563,11 +1733,11 @@ function useDemoBankingInfoForm(props) {
1563
1733
  const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
1564
1734
  const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
1565
1735
  const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
1566
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
1567
- const [paymentMethodChecked, setPaymentMethodChecked] = domContextHooks_module.useState(undefined);
1568
- const [paymentScheduleChecked, setPaymentScheduleChecked] = domContextHooks_module.useState(undefined);
1569
- const [currency, setCurrency] = domContextHooks_module.useState(defaultCurrency);
1570
- const [bankCountry, setBankCountry] = domContextHooks_module.useState(defaultCountry);
1736
+ const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
1737
+ const [paymentMethodChecked, setPaymentMethodChecked] = stencilHooks_module.useState(undefined);
1738
+ const [paymentScheduleChecked, setPaymentScheduleChecked] = stencilHooks_module.useState(undefined);
1739
+ const [currency, setCurrency] = stencilHooks_module.useState(defaultCurrency);
1740
+ const [bankCountry, setBankCountry] = stencilHooks_module.useState(defaultCountry);
1571
1741
  const currentPaymentOption = (_m = mockPaymentOptions[currency]) === null || _m === void 0 ? void 0 : _m.find((paymentOption) => {
1572
1742
  if (paymentOption.countryCode === bankCountry)
1573
1743
  return true;
@@ -1575,7 +1745,7 @@ function useDemoBankingInfoForm(props) {
1575
1745
  });
1576
1746
  const bitset = (currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.withdrawalSettingId) || ((_p = (_o = props.demoData) === null || _o === void 0 ? void 0 : _o.states) === null || _p === void 0 ? void 0 : _p.bitset) ||
1577
1747
  0;
1578
- domContextHooks_module.useEffect(() => {
1748
+ stencilHooks_module.useEffect(() => {
1579
1749
  if (defaultPaymentMethodChecked !== paymentMethodChecked)
1580
1750
  setPaymentMethodChecked(defaultPaymentMethodChecked);
1581
1751
  if (defaultPaymentScheduleChecked !== paymentScheduleChecked)
@@ -1659,6 +1829,331 @@ function useDemoBankingInfoForm(props) {
1659
1829
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
1660
1830
  }
1661
1831
 
1832
+ const style$1 = {
1833
+ Wrapper: {
1834
+ display: "flex",
1835
+ flexDirection: "column",
1836
+ gap: "var(--sl-spacing-medium)",
1837
+ maxWidth: "550px",
1838
+ },
1839
+ HeaderContainer: {
1840
+ display: "flex",
1841
+ flexDirection: "column",
1842
+ },
1843
+ InputsContainer: {
1844
+ display: "flex",
1845
+ gap: "var(--sl-spacing-medium)",
1846
+ position: "relative",
1847
+ flexDirection: "column",
1848
+ },
1849
+ CodeInputContainer: {
1850
+ display: "flex",
1851
+ gap: "var(--sl-spacing-medium)",
1852
+ },
1853
+ CodeInput: {
1854
+ maxWidth: "40px",
1855
+ "&::part(input)": {
1856
+ margin: "0",
1857
+ padding: "0 var(--sl-input-spacing-small)",
1858
+ fontSize: "var(--sl-font-size-large)",
1859
+ },
1860
+ },
1861
+ CodeInputError: {
1862
+ ...mixins.ErrorStyles,
1863
+ maxWidth: "40px",
1864
+ "&::part(input)": {
1865
+ margin: "0",
1866
+ padding: "0 var(--sl-input-spacing-small)",
1867
+ fontSize: "var(--sl-font-size-large)",
1868
+ },
1869
+ },
1870
+ ErrorText: {
1871
+ color: "var(--sl-color-danger-500)",
1872
+ fontSize: "var(--sl-font-size-small)",
1873
+ margin: "0",
1874
+ },
1875
+ ContinueButton: {
1876
+ width: "100%",
1877
+ maxWidth: "100px",
1878
+ },
1879
+ FooterContainer: {
1880
+ display: "flex",
1881
+ flexDirection: "column",
1882
+ },
1883
+ SkeletonOne: {
1884
+ width: "50%",
1885
+ height: "16px",
1886
+ },
1887
+ SkeletonTwo: {
1888
+ width: "30%",
1889
+ height: "34px",
1890
+ },
1891
+ SkeletonThree: {
1892
+ width: "15%",
1893
+ height: "24px",
1894
+ },
1895
+ };
1896
+ const vanillaStyle$1 = `
1897
+ :host {
1898
+ display: block;
1899
+ }
1900
+ :host([hidden]): {
1901
+ display: none;
1902
+ }
1903
+
1904
+
1905
+ `;
1906
+ const sheet$1 = JSS.createStyleSheet(style$1);
1907
+ const styleString$1 = sheet$1.toString();
1908
+ function WidgetCodeVerificationView(props) {
1909
+ const { states, refs, callbacks, text } = props;
1910
+ const resendCodeText = global.intl.formatMessage({
1911
+ id: "resendCodeText",
1912
+ defaultMessage: text.resendCodeText,
1913
+ }, {
1914
+ resendCodeLink: (index.h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
1915
+ e.preventDefault();
1916
+ callbacks.resendEmail();
1917
+ } }, text.resendCodeLabel)),
1918
+ });
1919
+ const codeResentSuccessfully = global.intl.formatMessage({
1920
+ id: "codeResentSuccessfully",
1921
+ defaultMessage: text.codeResentSuccessfullyText,
1922
+ }, {
1923
+ email: states.email,
1924
+ });
1925
+ const inputClass = states.verifyFailed
1926
+ ? sheet$1.classes.CodeInputError
1927
+ : sheet$1.classes.CodeInput;
1928
+ return (index.h("div", { part: "sqm-base" },
1929
+ index.h("style", { type: "text/css" },
1930
+ vanillaStyle$1,
1931
+ styleString$1),
1932
+ index.h("div", { class: sheet$1.classes.Wrapper },
1933
+ index.h("div", { class: sheet$1.classes.HeaderContainer },
1934
+ index.h(sqmTextSpanView.TextSpanView, { type: "p" }, global.intl.formatMessage({
1935
+ id: `emailHeaderText`,
1936
+ defaultMessage: states.verifyFailed
1937
+ ? text.reverifyCodeHeaderText
1938
+ : text.verifyCodeHeaderText,
1939
+ }, { email: states.email }))),
1940
+ states.emailResent && (index.h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
1941
+ index.h("b", null, codeResentSuccessfully))),
1942
+ index.h("div", { class: sheet$1.classes.InputsContainer },
1943
+ index.h("div", { ref: refs.codeWrapperRef, class: sheet$1.classes.CodeInputContainer },
1944
+ index.h("sl-input", { class: inputClass, name: "code" }),
1945
+ index.h("sl-input", { class: inputClass, name: "code" }),
1946
+ index.h("sl-input", { class: inputClass, name: "code" }),
1947
+ index.h("sl-input", { class: inputClass, name: "code" }),
1948
+ index.h("sl-input", { class: inputClass, name: "code" }),
1949
+ index.h("sl-input", { class: inputClass, name: "code" })),
1950
+ states.verifyFailed && (index.h("p", { class: sheet$1.classes.ErrorText }, text.invalidCodeText)),
1951
+ index.h("sl-button", { class: sheet$1.classes.ContinueButton, onClick: callbacks.submitCode, disabled: states.loading || states.initialiseLoading, loading: states.loading || states.initialiseLoading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
1952
+ index.h("div", { class: sheet$1.classes.FooterContainer },
1953
+ index.h(sqmTextSpanView.TextSpanView, { type: "p" }, resendCodeText)))));
1954
+ }
1955
+
1956
+ const VerifyEmailWithCodeMutation = index_module.dist.gql `
1957
+ mutation submitImpactPublisherEmail2FACode(
1958
+ $user: UserIdInput!
1959
+ $code: String!
1960
+ ) {
1961
+ submitImpactPublisherEmail2FACode(user: $user, code: $code) {
1962
+ verifiedEmail
1963
+ accessKey
1964
+ }
1965
+ }
1966
+ `;
1967
+ function useWidgetCodeVerification(props) {
1968
+ const host = stencilHooks_module.l();
1969
+ const [_, setShowCode] = index_module.Pn(keys.SHOW_CODE_NAMESPACE);
1970
+ const email = index_module.Fn(keys.VERIFICATION_EMAIL_NAMESPACE);
1971
+ const [emailSent, setEmailSent] = stencilHooks_module.useState(false);
1972
+ const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
1973
+ const [codeRef, setCodeRef] = stencilHooks_module.useState(null);
1974
+ const [validationError, setValidationError] = stencilHooks_module.useState(false);
1975
+ const [emailError, setEmailError] = stencilHooks_module.useState(false);
1976
+ const { initialized, verificationEmail, send: [sendEmail, { loading: sendLoading, errors: sendErrors }], verify: [verifyEmail, { loading: verifyLoading, errors: verifyErrors }], } = useVerificationEmail.useVerificationEmail();
1977
+ stencilHooks_module.useEffect(() => {
1978
+ if (!codeRef)
1979
+ return;
1980
+ const slInputs = codeRef.querySelectorAll("sl-input");
1981
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
1982
+ codeElements.forEach((element, idx) => {
1983
+ element.addEventListener("focus", (e) => {
1984
+ e.target.select();
1985
+ });
1986
+ element.addEventListener("keydown", (e) => {
1987
+ if (e.key === "Backspace" && e.target.value === "") {
1988
+ codeElements[Math.max(0, idx - 1)].focus();
1989
+ }
1990
+ });
1991
+ element.addEventListener("input", (e) => {
1992
+ const input = e.data;
1993
+ if (!input)
1994
+ return;
1995
+ if (idx === codeElements.length - 1) {
1996
+ e.target.value = input.slice(0, 1);
1997
+ return;
1998
+ }
1999
+ if (input.length > 1) {
2000
+ const rest = input.slice(1);
2001
+ e.target.value = input.slice(0, 1);
2002
+ codeElements[idx + 1].dispatchEvent(new InputEvent("input", {
2003
+ inputType: "insertFromPaste",
2004
+ data: rest,
2005
+ }));
2006
+ }
2007
+ codeElements[idx + 1].focus();
2008
+ });
2009
+ });
2010
+ }, [codeRef]);
2011
+ const reset = () => {
2012
+ setShowCode(false);
2013
+ setValidationError(false);
2014
+ };
2015
+ const resendEmail = async () => {
2016
+ // UI should only allow this to be called if initialized, but checking just in case
2017
+ if (!initialized)
2018
+ return;
2019
+ const result = await sendEmail();
2020
+ if (!result) {
2021
+ setEmailError(true);
2022
+ return;
2023
+ }
2024
+ if (emailSent)
2025
+ setEmailResent(true);
2026
+ setEmailSent(true);
2027
+ };
2028
+ const submitCode = async () => {
2029
+ const slInputs = codeRef.querySelectorAll("sl-input");
2030
+ const codeElements = Array.from(slInputs).map((node) => node.shadowRoot.querySelector(`input[name="code"]`));
2031
+ if (codeElements.find((el) => !el.value)) {
2032
+ setValidationError(true);
2033
+ return;
2034
+ }
2035
+ let code = "";
2036
+ codeElements.forEach((element) => {
2037
+ code = `${code}${element.value}`;
2038
+ });
2039
+ // UI should only allow this to be called if initialized, but checking just in case
2040
+ if (!initialized)
2041
+ return;
2042
+ setValidationError(false);
2043
+ const res = await verifyEmail(code);
2044
+ if (res === null || res === void 0 ? void 0 : res.success) {
2045
+ props.onVerification(res.accessKey);
2046
+ reset();
2047
+ }
2048
+ else {
2049
+ setValidationError(true);
2050
+ }
2051
+ };
2052
+ stencilHooks_module.useEffect(() => {
2053
+ // Wait for mutations to be determined from user lookup
2054
+ if (!initialized)
2055
+ return;
2056
+ // email should already exist if user has completed email-verification
2057
+ if (!email)
2058
+ resendEmail();
2059
+ else
2060
+ setEmailSent(true);
2061
+ }, [initialized]);
2062
+ return {
2063
+ refs: {
2064
+ codeWrapperRef: setCodeRef,
2065
+ },
2066
+ states: {
2067
+ email: verificationEmail,
2068
+ emailResent,
2069
+ resendError: sendErrors || verifyErrors,
2070
+ initialiseLoading: !initialized,
2071
+ loading: sendLoading || verifyLoading,
2072
+ verifyFailed: !!validationError,
2073
+ },
2074
+ callbacks: {
2075
+ resendEmail,
2076
+ submitCode,
2077
+ },
2078
+ text: props.getTextProps(),
2079
+ };
2080
+ }
2081
+
2082
+ const WidgetCodeVerification = class {
2083
+ constructor(hostRef) {
2084
+ index.registerInstance(this, hostRef);
2085
+ /**
2086
+ * @uiName Verify code widget header text
2087
+ */
2088
+ this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2089
+ /**
2090
+ * @uiName Reverify code widget header text
2091
+ */
2092
+ this.reverifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
2093
+ /**
2094
+ * Text displayed under verify button
2095
+ * @uiName Resend code text
2096
+ */
2097
+ this.resendCodeText = "Didn't receive your code? {resendCodeLink}";
2098
+ /**
2099
+ * The link that appears in the resend code link
2100
+ * @uiName Resend code label
2101
+ */
2102
+ this.resendCodeLabel = "Resend code";
2103
+ /**
2104
+ * Link text displayed under verify button
2105
+ * @uiName Resend code text
2106
+ */
2107
+ this.codeResentSuccessfullyText = "Another code has been sent to {email}";
2108
+ /**
2109
+ * Error text displayed under verification input
2110
+ * @uiName Invalid code text
2111
+ */
2112
+ this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
2113
+ /**
2114
+ * @uiName Verify code button text
2115
+ */
2116
+ this.verifyText = "Verify";
2117
+ /**
2118
+ * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
2119
+ * @uiName Network error message
2120
+ */
2121
+ this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
2122
+ stencilHooks_module.h$1(this);
2123
+ }
2124
+ disconnectedCallback() { }
2125
+ getTextProps() {
2126
+ return utils.getProps(this);
2127
+ }
2128
+ render() {
2129
+ const props = index_module.isDemo()
2130
+ ? useDemoWidgetCodeVerification(this)
2131
+ : useWidgetCodeVerification(this);
2132
+ return index.h(WidgetCodeVerificationView, Object.assign({}, props));
2133
+ }
2134
+ };
2135
+ function useDemoWidgetCodeVerification(props) {
2136
+ const [emailResent, setEmailResent] = stencilHooks_module.useState(false);
2137
+ const setVerifiedContext = index_module.En(keys.VERIFICATION_PARENT_NAMESPACE);
2138
+ return cjs.cjs({
2139
+ states: {
2140
+ loading: false,
2141
+ email: "test@example.com",
2142
+ emailResent,
2143
+ resendError: false,
2144
+ verifyFailed: false,
2145
+ },
2146
+ refs: {
2147
+ codeWrapperRef: () => { },
2148
+ },
2149
+ callbacks: {
2150
+ resendEmail: async () => setEmailResent(true),
2151
+ submitCode: async () => setVerifiedContext(true),
2152
+ },
2153
+ text: props.getTextProps(),
2154
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
2155
+ }
2156
+
1662
2157
  const GET_TAX_DOCUMENT = index_module.dist.gql `
1663
2158
  mutation createImpactPublisherTaxDocument(
1664
2159
  $vars: CreateImpactPublisherTaxDocumentInput!
@@ -1687,24 +2182,24 @@ const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
1687
2182
  function useDocusignForm(props) {
1688
2183
  var _a, _b, _c;
1689
2184
  const user = index_module.J();
1690
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
1691
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
1692
- const { data: data$1, loading: userLoading, refetch, } = index_module.$n(data.USER_QUERY_NAMESPACE);
1693
- const publisher = (_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;
2185
+ const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
2186
+ const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
2187
+ const { data, loading: userLoading, refetch, } = index_module.$n(USER_QUERY_NAMESPACE);
2188
+ const publisher = (_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;
1694
2189
  const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index_module.$e(GET_TAX_DOCUMENT);
1695
2190
  const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index_module.$e(COMPLETE_TAX_DOCUMENT);
1696
- const [docusignStatus, setDocusignStatus] = domContextHooks_module.useState(undefined);
1697
- const [participantType, setParticipantType] = domContextHooks_module.useState(undefined);
1698
- const [errors, setErrors] = domContextHooks_module.useState({});
1699
- const [loading, setLoading] = domContextHooks_module.useState(false);
1700
- const [showExitButton, setShowExitButton] = domContextHooks_module.useState(false);
1701
- const [showModal, setShowModal] = domContextHooks_module.useState(true);
2191
+ const [docusignStatus, setDocusignStatus] = stencilHooks_module.useState(undefined);
2192
+ const [participantType, setParticipantType] = stencilHooks_module.useState(undefined);
2193
+ const [errors, setErrors] = stencilHooks_module.useState({});
2194
+ const [loading, setLoading] = stencilHooks_module.useState(false);
2195
+ const [showExitButton, setShowExitButton] = stencilHooks_module.useState(false);
2196
+ const [showModal, setShowModal] = stencilHooks_module.useState(true);
1702
2197
  // Only look at current document if it's valid (same as required type)
1703
- const existingDocumentType = utils$1.validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
2198
+ const existingDocumentType = sqmInvoiceTableView.validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
1704
2199
  ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
1705
2200
  const actualDocumentType = existingDocumentType ||
1706
2201
  getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
1707
- domContextHooks_module.useEffect(() => {
2202
+ stencilHooks_module.useEffect(() => {
1708
2203
  if (!existingDocumentType)
1709
2204
  return;
1710
2205
  if (existingDocumentType === "W8BEN") {
@@ -1714,7 +2209,7 @@ function useDocusignForm(props) {
1714
2209
  setParticipantType("businessEntity");
1715
2210
  }
1716
2211
  }, [existingDocumentType]);
1717
- domContextHooks_module.useEffect(() => {
2212
+ stencilHooks_module.useEffect(() => {
1718
2213
  // Skip if no publisher info
1719
2214
  if (!user || !publisher)
1720
2215
  return;
@@ -1792,7 +2287,7 @@ function useDocusignForm(props) {
1792
2287
  },
1793
2288
  docusignStatus,
1794
2289
  documentType: actualDocumentType,
1795
- documentTypeString: utils$1.taxTypeToName(actualDocumentType),
2290
+ documentTypeString: sqmInvoiceTableView.taxTypeToName(actualDocumentType),
1796
2291
  showExitButton,
1797
2292
  showModal,
1798
2293
  },
@@ -1820,7 +2315,7 @@ function getDocumentType(p) {
1820
2315
  return undefined;
1821
2316
  }
1822
2317
 
1823
- const style$1 = {
2318
+ const style$2 = {
1824
2319
  DocusignStatusContainer: {
1825
2320
  width: "100%",
1826
2321
  minHeight: "600px",
@@ -1832,7 +2327,7 @@ const style$1 = {
1832
2327
  gap: "10px",
1833
2328
  margin: "auto",
1834
2329
  textAlign: "center",
1835
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
2330
+ border: "1px solid var(--sl-color-gray-200)",
1836
2331
  justifyContent: "center",
1837
2332
  },
1838
2333
  MessageContainer: {
@@ -1847,48 +2342,48 @@ const style$1 = {
1847
2342
  },
1848
2343
  },
1849
2344
  };
1850
- const sheet$1 = JSS.createStyleSheet(style$1);
1851
- const styleString$1 = sheet$1.toString();
2345
+ const sheet$2 = JSS.createStyleSheet(style$2);
2346
+ const styleString$2 = sheet$2.toString();
1852
2347
  const DocusignExpiredView = (props) => {
1853
- const { classes } = sheet$1;
2348
+ const { classes } = sheet$2;
1854
2349
  const { text } = props;
1855
2350
  return (index.h("div", null,
1856
- index.h("style", { type: "text/css" }, styleString$1),
2351
+ index.h("style", { type: "text/css" }, styleString$2),
1857
2352
  index.h("div", { class: classes.DocusignStatusContainer },
1858
2353
  index.h("sl-icon", { style: {
1859
2354
  width: "50px",
1860
2355
  height: "50px",
1861
- color: "var(--sqm-text)",
2356
+ color: "var(--sl-color-neutral-500)",
1862
2357
  }, name: "clock" }),
1863
2358
  index.h("div", { class: classes.MessageContainer },
1864
2359
  index.h("p", { style: { margin: "0" } }, text.docusignExpired)),
1865
2360
  index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1866
2361
  };
1867
2362
  const DocusignErrorView = (props) => {
1868
- const { classes } = sheet$1;
2363
+ const { classes } = sheet$2;
1869
2364
  const { text } = props;
1870
2365
  return (index.h("div", null,
1871
- index.h("style", { type: "text/css" }, styleString$1),
2366
+ index.h("style", { type: "text/css" }, styleString$2),
1872
2367
  index.h("div", { class: classes.DocusignStatusContainer },
1873
2368
  index.h("sl-icon", { style: {
1874
2369
  width: "50px",
1875
2370
  height: "50px",
1876
- color: "var(--sqm-text)",
2371
+ color: "var(--sl-color-gray-500)",
1877
2372
  }, name: "exclamation-octagon" }),
1878
2373
  index.h("div", { class: classes.MessageContainer },
1879
2374
  index.h("p", { style: { margin: "0" } }, text.docusignError)),
1880
2375
  index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
1881
2376
  };
1882
2377
  const DocusignLoadingView = () => {
1883
- const { classes } = sheet$1;
2378
+ const { classes } = sheet$2;
1884
2379
  return (index.h("div", null,
1885
- index.h("style", { type: "text/css" }, styleString$1),
2380
+ index.h("style", { type: "text/css" }, styleString$2),
1886
2381
  index.h("div", { class: classes.DocusignStatusContainer },
1887
2382
  index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
1888
2383
  };
1889
2384
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
1890
- const { classes } = sheet$1;
1891
- const [iFrameHeight, setiFrameHeight] = domContextHooks_module.useState("100%");
2385
+ const { classes } = sheet$2;
2386
+ const [iFrameHeight, setiFrameHeight] = stencilHooks_module.useState("100%");
1892
2387
  const allowedDomains = [
1893
2388
  "referralsaasquatch.com",
1894
2389
  "impacttech.complysandbox.com",
@@ -1905,7 +2400,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1905
2400
  callbacks.completeDocument();
1906
2401
  }
1907
2402
  }, []);
1908
- domContextHooks_module.useEffect(() => {
2403
+ stencilHooks_module.useEffect(() => {
1909
2404
  window.addEventListener("message", callback, false);
1910
2405
  return () => {
1911
2406
  window.removeEventListener("message", callback, false);
@@ -1920,12 +2415,12 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
1920
2415
  return index.h(DocusignExpiredView, { text: text });
1921
2416
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
1922
2417
  return (index.h("div", { style: { height: iFrameHeight } },
1923
- index.h("style", { type: "text/css" }, styleString$1),
2418
+ index.h("style", { type: "text/css" }, styleString$2),
1924
2419
  index.h("div", { class: classes.IFrameContainer },
1925
2420
  index.h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
1926
2421
  };
1927
2422
 
1928
- const style$2 = {
2423
+ const style$3 = {
1929
2424
  ModalTitleContainer: {
1930
2425
  display: "flex",
1931
2426
  gap: "var(--sl-spacing-small)",
@@ -1962,7 +2457,7 @@ const style$2 = {
1962
2457
  gap: "8px",
1963
2458
  },
1964
2459
  ErrorText: {
1965
- color: "var(--sqm-danger-color-icon)",
2460
+ color: "var(--sl-color-danger-500)",
1966
2461
  marginTop: "10px",
1967
2462
  },
1968
2463
  DescriptionText: {
@@ -1971,6 +2466,44 @@ const style$2 = {
1971
2466
  BoldText: {
1972
2467
  fontWeight: "bold",
1973
2468
  },
2469
+ SecondaryBtn: {
2470
+ "&::part(base)": {
2471
+ color: "var(--sl-color-gray-800) !important",
2472
+ },
2473
+ "&::part(label)": {
2474
+ padding: "0px",
2475
+ margin: "0px",
2476
+ },
2477
+ },
2478
+ ErrorAlertContainer: {
2479
+ "&::part(base)": {
2480
+ backgroundColor: "var(--sl-color-red-100)",
2481
+ borderTop: "none",
2482
+ padding: "0 16px",
2483
+ },
2484
+ "& sl-icon::part(base)": {
2485
+ color: "var(--sl-color-danger-500)",
2486
+ },
2487
+ },
2488
+ InfoAlert: {
2489
+ "&::part(base)": {
2490
+ backgroundColor: "transparent",
2491
+ borderTop: "none",
2492
+ padding: "0px",
2493
+ marginBottom: "16px",
2494
+ border: "none",
2495
+ },
2496
+ "&::part(message)": {
2497
+ display: "flex",
2498
+ alignItems: "center",
2499
+ justifyContent: "flex-start",
2500
+ padding: "10px",
2501
+ height: "max-content",
2502
+ },
2503
+ "& sl-icon::part(base)": {
2504
+ color: "var(--sl-color-sky-500)",
2505
+ },
2506
+ },
1974
2507
  Container: {
1975
2508
  width: "100%",
1976
2509
  display: "flex",
@@ -1978,6 +2511,16 @@ const style$2 = {
1978
2511
  flexDirection: "column",
1979
2512
  gap: "16px",
1980
2513
  },
2514
+ Link: {
2515
+ color: "var(--sl-color-sky-500)",
2516
+ textDecoration: "none",
2517
+ "&:visited": {
2518
+ color: "var(--sl-color-sky-500)",
2519
+ },
2520
+ "&:hover": {
2521
+ textDecoration: "underline",
2522
+ },
2523
+ },
1981
2524
  CheckboxWrapper: {
1982
2525
  display: "flex",
1983
2526
  justifyContent: "flex-start",
@@ -1991,7 +2534,7 @@ const style$2 = {
1991
2534
  fontSize: "var(--sl-font-size-small)",
1992
2535
  },
1993
2536
  PageDescriptionText: {
1994
- color: "var(--sqm-text-subdued)",
2537
+ color: "var(--sl-color-neutral-500)",
1995
2538
  fontSize: "var(--sl-font-size-medium)",
1996
2539
  },
1997
2540
  Dialog: {
@@ -2017,38 +2560,41 @@ const style$2 = {
2017
2560
  },
2018
2561
  DialogButton: { margin: "auto", width: "100%" },
2019
2562
  };
2020
- const sheet$2 = JSS.createStyleSheet(style$2);
2021
- const styleString$2 = sheet$2.toString();
2022
- const vanillaStyle$1 = `
2023
- :host{
2024
- display: block;
2025
- }
2026
-
2027
- * {
2028
- margin: 0;
2029
- padding: 0;
2030
- box-sizing: border-box;
2031
- }
2032
-
2033
- a {
2034
- color: inherit;
2035
- text-decoration: underline;
2036
- cursor: pointer;
2037
- }
2563
+ const sheet$3 = JSS.createStyleSheet(style$3);
2564
+ const styleString$3 = sheet$3.toString();
2565
+ const vanillaStyle$2 = `
2566
+ :host{
2567
+ display: block;
2568
+ }
2569
+ * {
2570
+ margin: 0;
2571
+ padding: 0;
2572
+ box-sizing: border-box;
2573
+ }
2574
+
2575
+ p {
2576
+ line-height: 18px;
2577
+ color: var(--sl-color-gray-800);
2578
+ font-size: var(--sl-font-size-small);
2579
+ }
2580
+
2581
+ a {
2582
+ cursor: pointer;
2583
+ }
2038
2584
 
2039
2585
 
2040
2586
  `;
2041
2587
  const DocusignFormView = (props) => {
2042
2588
  var _a;
2043
2589
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2044
- const { classes } = sheet$2;
2590
+ const { classes } = sheet$3;
2045
2591
  return (index.h("div", { class: classes.Container },
2046
2592
  index.h("style", { type: "text/css" },
2047
- styleString$2,
2048
- vanillaStyle$1),
2049
- index.h("sl-dialog", { class: sheet$2.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2593
+ styleString$3,
2594
+ vanillaStyle$2),
2595
+ index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2050
2596
  index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
2051
- index.h("sl-icon", { name: "info-circle", style: { color: "var(--sqm-informative-color-icon)" } }),
2597
+ index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
2052
2598
  index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
2053
2599
  index.h("p", null, global.intl.formatMessage({
2054
2600
  id: "modalText",
@@ -2056,26 +2602,30 @@ const DocusignFormView = (props) => {
2056
2602
  }, {
2057
2603
  br: index.h("br", null),
2058
2604
  })),
2059
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet$2.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2605
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2060
2606
  index.h("div", { class: classes.TextContainer },
2061
2607
  index.h("div", null,
2062
2608
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
2063
2609
  id: "formStep",
2064
2610
  defaultMessage: text.formStep,
2065
- }, { step: states.step, count: data.FORM_STEPS }))),
2611
+ }, { step: states.step, count: FORM_STEPS }))),
2066
2612
  index.h("h3", null, text.taxForm),
2067
2613
  index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
2068
2614
  states.loadingError && (index.h("div", null,
2069
- index.h("sqm-form-message", { type: "error" },
2070
- index.h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
2615
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$3.classes.ErrorAlertContainer },
2616
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2617
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
2618
+ index.h("br", null),
2071
2619
  global.intl.formatMessage({
2072
2620
  id: "loadingErrorAlertDescription",
2073
2621
  defaultMessage: text.error.loadingErrorAlertDescription,
2074
2622
  }, {
2075
2623
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2076
2624
  })))),
2077
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sqm-form-message", { type: "error" },
2078
- index.h("p", { part: "alert-title" }, text.error.generalTitle),
2625
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.ErrorAlertContainer },
2626
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
2627
+ index.h("strong", null, text.error.generalTitle),
2628
+ index.h("br", null),
2079
2629
  global.intl.formatMessage({
2080
2630
  id: "generalDescription",
2081
2631
  defaultMessage: text.error.generalDescription,
@@ -2218,7 +2768,7 @@ const DocusignForm = class {
2218
2768
  * @uiName Information modal button text
2219
2769
  */
2220
2770
  this.modalButtonText = "I understand";
2221
- domContextHooks_module.h$1(this);
2771
+ stencilHooks_module.h$1(this);
2222
2772
  }
2223
2773
  disconnectedCallback() { }
2224
2774
  getTextProps() {
@@ -2255,11 +2805,11 @@ const DocusignForm = class {
2255
2805
  get el() { return index.getElement(this); }
2256
2806
  };
2257
2807
  function useDocusignFormDemo(props) {
2258
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
2808
+ const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
2259
2809
  return cjs.cjs({
2260
2810
  text: props.getTextProps(),
2261
2811
  states: {
2262
- step: "3",
2812
+ step: "4",
2263
2813
  disabled: false,
2264
2814
  submitDisabled: false,
2265
2815
  loading: false,
@@ -2295,7 +2845,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2295
2845
  return (index.h("div", { style: {
2296
2846
  width: "100%",
2297
2847
  height: "600px",
2298
- background: "inherit",
2848
+ background: "#fafafa",
2299
2849
  display: "flex",
2300
2850
  justifyContent: "center",
2301
2851
  alignItems: "center",
@@ -2307,7 +2857,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2307
2857
  } }, index.h("span", null, "Placeholder for docusign iframe"), index.h("div", { style: { display: "flex", gap: "8px" } }, index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2308
2858
  };
2309
2859
 
2310
- const style$3 = {
2860
+ const style$4 = {
2311
2861
  FormWrapper: {
2312
2862
  display: "flex",
2313
2863
  justifyContent: "flex-start",
@@ -2319,7 +2869,6 @@ const style$3 = {
2319
2869
  justifyContent: "flex-start",
2320
2870
  flexDirection: "column",
2321
2871
  gap: "var(--sl-spacing-medium)",
2322
- marginBottom: "16px",
2323
2872
  "& sl-radio::part(base)": {
2324
2873
  alignItems: "start",
2325
2874
  },
@@ -2360,76 +2909,86 @@ const style$3 = {
2360
2909
  marginTop: "10px",
2361
2910
  },
2362
2911
  DescriptionText: {
2363
- color: "var(--sqm-text-subdued)",
2912
+ color: "var(--sl-color-neutral-500)",
2364
2913
  },
2365
- InfoWarningIcon: {
2366
- height: "26px",
2367
- width: "26px",
2914
+ SecondaryBtn: {
2915
+ "&::part(base)": {
2916
+ color: "var(--sl-color-gray-800) !important",
2917
+ },
2368
2918
  },
2369
- PageDescriptionText: {
2370
- color: "var(--sqm-text-subdued)",
2371
- fontSize: "var(--sl-font-size-medium)",
2372
- marginBottom: "var(--sl-spacing-small)",
2919
+ AlertContainer: {
2920
+ "&::part(base)": {
2921
+ backgroundColor: "var(--sl-color-red-100)",
2922
+ borderTop: "none",
2923
+ padding: "0 16px",
2924
+ },
2925
+ "& sl-icon::part(base)": {
2926
+ color: "var(--sl-color-danger-500)",
2927
+ },
2373
2928
  },
2374
- PrimaryButton: {
2929
+ PartnerAlertContainer: {
2375
2930
  "&::part(base)": {
2376
- background: "var(--sqm-primary-button-background)",
2377
- color: "var(--sqm-primary-button-color)",
2378
- borderColor: "var(--sqm-primary-button-color-border)",
2379
- borderRadius: "var(--sqm-primary-button-radius)",
2931
+ backgroundColor: "var(--sl-color-sky-100)",
2932
+ borderTop: "none",
2933
+ padding: "0 16px",
2380
2934
  },
2381
- "&::part(base):hover": {
2382
- background: "var(--sqm-primary-button-background-hover)",
2935
+ "& sl-icon::part(base)": {
2936
+ color: "var(--sl-color-blue-500)",
2383
2937
  },
2384
2938
  },
2385
- SecondaryButton: {
2939
+ InfoAlert: {
2940
+ marginTop: "var(--sl-spacing-large)",
2386
2941
  "&::part(base)": {
2387
- background: "var(--sqm-secondary-button-background)",
2388
- color: "var(--sqm-secondary-button-color)",
2389
- borderColor: "var(--sqm-secondary-button-color-border)",
2390
- borderRadius: "var(--sqm-secondary-button-radius)",
2391
- width: "max-content",
2392
- display: "flex",
2393
- margin: "auto",
2942
+ backgroundColor: "transparent",
2943
+ borderTop: "none",
2944
+ padding: "0px",
2945
+ border: "none",
2394
2946
  },
2395
- "&::part(base):hover": {
2396
- color: "var(--sqm-text)",
2397
- background: "var(--sqm-secondary-button-background-hover)",
2947
+ "&::part(message)": {
2948
+ alignItems: "center",
2949
+ padding: "var(--sl-spacing-small)",
2950
+ whiteSpace: "nowrap",
2951
+ },
2952
+ "& sl-icon::part(base)": {
2953
+ color: "var(--sl-color-yellow-500)",
2398
2954
  },
2399
2955
  },
2956
+ InfoWarningIcon: {
2957
+ height: "26px",
2958
+ width: "26px",
2959
+ },
2960
+ PageDescriptionText: {
2961
+ color: "var(--sl-color-neutral-500)",
2962
+ fontSize: "var(--sl-font-size-medium)",
2963
+ marginBottom: "var(--sl-spacing-small)",
2964
+ },
2400
2965
  };
2401
- const sheet$3 = JSS.createStyleSheet(style$3);
2402
- const styleString$3 = sheet$3.toString();
2403
- const vanillaStyle$2 = `
2966
+ const sheet$4 = JSS.createStyleSheet(style$4);
2967
+ const styleString$4 = sheet$4.toString();
2968
+ const vanillaStyle$3 = `
2404
2969
  :host{
2405
2970
  display: block;
2406
2971
  }
2407
-
2408
- hr {
2409
- border: var(--sqm-border-thickness, 1px) solid var(--sqm-border-color);
2410
- }
2411
-
2412
- a {
2413
- color: inherit;
2414
- text-decoration: underline;
2415
- cursor: pointer;
2416
- }
2417
-
2418
2972
  * {
2419
2973
  margin: 0;
2420
2974
  padding: 0;
2421
2975
  box-sizing: border-box;
2422
2976
  }
2423
2977
 
2978
+ p {
2979
+ line-height: 18px;
2980
+ color: var(--sl-color-gray-800);
2981
+ font-size: var(--sl-font-size-small);
2982
+ }
2424
2983
  `;
2425
2984
  const IndirectTaxFormView = (props) => {
2426
2985
  var _a;
2427
2986
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2428
- const { classes } = sheet$3;
2987
+ const { classes } = sheet$4;
2429
2988
  return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2430
2989
  index.h("style", { type: "text/css" },
2431
- styleString$3,
2432
- vanillaStyle$2),
2990
+ styleString$4,
2991
+ vanillaStyle$3),
2433
2992
  index.h("div", { class: classes.TextContainer },
2434
2993
  index.h("div", null,
2435
2994
  !states.hideSteps && (index.h("p", null,
@@ -2437,29 +2996,35 @@ const IndirectTaxFormView = (props) => {
2437
2996
  global.intl.formatMessage({
2438
2997
  id: "formStep",
2439
2998
  defaultMessage: text.formStep,
2440
- }, { step: states.step, count: data.FORM_STEPS }))),
2999
+ }, { step: states.step, count: FORM_STEPS }))),
2441
3000
  index.h("h3", null, text.indirectTax),
2442
3001
  index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription),
2443
3002
  index.h("p", { class: classes.DescriptionText }, text.indirectTaxDescription)),
2444
3003
  states.loadingError && (index.h("div", null,
2445
- index.h("sqm-form-message", { type: "error" },
2446
- index.h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
3004
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$4.classes.AlertContainer },
3005
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3006
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
3007
+ index.h("br", null),
2447
3008
  global.intl.formatMessage({
2448
3009
  id: "loadingErrorAlertDescription",
2449
3010
  defaultMessage: text.error.loadingErrorAlertDescription,
2450
3011
  }, {
2451
3012
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2452
3013
  })))),
2453
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sqm-form-message", { type: "error" },
2454
- index.h("p", { part: "alert-title" }, text.error.generalTitle),
3014
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$4.classes.AlertContainer },
3015
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
3016
+ index.h("strong", null, text.error.generalTitle),
3017
+ index.h("br", null),
2455
3018
  global.intl.formatMessage({
2456
3019
  id: "generalDescription",
2457
3020
  defaultMessage: text.error.generalDescription,
2458
3021
  }, {
2459
3022
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2460
3023
  }))),
2461
- states.isPartner && (index.h("sqm-form-message", { type: "info" },
2462
- index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
3024
+ states.isPartner && (index.h("sl-alert", { type: "primary", open: true, class: sheet$4.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
3025
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
3026
+ index.h("strong", null, text.isPartnerAlertHeader),
3027
+ index.h("br", null),
2463
3028
  global.intl.formatMessage({
2464
3029
  id: "isPartnerAlertDescription",
2465
3030
  defaultMessage: text.isPartnerAlertDescription,
@@ -2480,15 +3045,17 @@ const IndirectTaxFormView = (props) => {
2480
3045
  text.otherRegion,
2481
3046
  index.h("p", { class: classes.DescriptionText }, text.otherRegionSubtext))),
2482
3047
  slots.registeredInDifferentCountryDetailsSlot)),
2483
- index.h("sqm-form-message", { type: "info" }, global.intl.formatMessage({
2484
- id: "cannotChangeInfoAlert",
2485
- defaultMessage: text.cannotChangeInfoAlert,
2486
- }, {
2487
- supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2488
- })),
3048
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
3049
+ index.h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
3050
+ global.intl.formatMessage({
3051
+ id: "cannotChangeInfoAlert",
3052
+ defaultMessage: text.cannotChangeInfoAlert,
3053
+ }, {
3054
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3055
+ })),
2489
3056
  index.h("div", { class: classes.BtnContainer },
2490
- index.h("sl-button", { class: classes.PrimaryButton, type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
2491
- index.h("sl-button", { class: classes.SecondaryButton, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
3057
+ index.h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
3058
+ index.h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
2492
3059
  };
2493
3060
 
2494
3061
  const CONNECT_PARTNER = index_module.dist.gql `
@@ -2531,30 +3098,30 @@ function useIndirectTaxForm(props) {
2531
3098
  var _a, _b, _c, _d, _e;
2532
3099
  const user = index_module.J();
2533
3100
  const locale = index_module.L();
2534
- const formRef = domContextHooks_module.useRef(null);
2535
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
2536
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
3101
+ const formRef = stencilHooks_module.useRef(null);
3102
+ const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
3103
+ const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
2537
3104
  const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = index_module.$e(CONNECT_PARTNER);
2538
- const userForm = index_module.Fn(data.USER_FORM_CONTEXT_NAMESPACE);
2539
- const { data: userData, refetch, errors: userError, } = index_module.$n(data.USER_QUERY_NAMESPACE);
2540
- const { data: _countriesRes, loading: countriesLoading } = index_module.$n(data.COUNTRIES_QUERY_NAMESPACE);
3105
+ const userForm = index_module.Fn(USER_FORM_CONTEXT_NAMESPACE);
3106
+ const { data: userData, refetch, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
3107
+ const { data: _countriesRes, loading: countriesLoading } = index_module.$n(COUNTRIES_QUERY_NAMESPACE);
2541
3108
  const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
2542
- const _countries = domContextHooks_module.useMemo(() => { var _a, _b; return (_b = (_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((country) => utils$1.getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
2543
- const [loading, setLoading] = domContextHooks_module.useState(false);
2544
- const [formState, setFormState] = domContextHooks_module.useState({});
2545
- const [errors, setErrors] = domContextHooks_module.useState({});
2546
- const [countrySearch, setCountrySearch] = domContextHooks_module.useState("");
2547
- const [filteredCountries, setFilteredCountries] = domContextHooks_module.useState(_countries || []);
2548
- const [option, setOption] = domContextHooks_module.useState("notRegistered");
3109
+ const _countries = stencilHooks_module.useMemo(() => { var _a, _b; return (_b = (_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((country) => sqmInvoiceTableView.getCountryObj({ countryCode: country.countryCode, locale: intlLocale })); }, [(_a = _countriesRes === null || _countriesRes === void 0 ? void 0 : _countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data]);
3110
+ const [loading, setLoading] = stencilHooks_module.useState(false);
3111
+ const [formState, setFormState] = stencilHooks_module.useState({});
3112
+ const [errors, setErrors] = stencilHooks_module.useState({});
3113
+ const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
3114
+ const [filteredCountries, setFilteredCountries] = stencilHooks_module.useState(_countries || []);
3115
+ const [option, setOption] = stencilHooks_module.useState("notRegistered");
2549
3116
  const publisher = (_c = (_b = userData === null || userData === void 0 ? void 0 : userData.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher;
2550
- domContextHooks_module.useEffect(() => {
3117
+ stencilHooks_module.useEffect(() => {
2551
3118
  var _a;
2552
3119
  if (!((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxCountryCode))
2553
3120
  return;
2554
3121
  const _option = getOption(_countries, publisher.taxInformation.indirectTaxCountryCode);
2555
3122
  setOption(_option);
2556
3123
  }, [publisher, _countries]);
2557
- domContextHooks_module.useEffect(() => {
3124
+ stencilHooks_module.useEffect(() => {
2558
3125
  if (countrySearch.trim() === "") {
2559
3126
  setFilteredCountries(_countries || []);
2560
3127
  }
@@ -2562,7 +3129,7 @@ function useIndirectTaxForm(props) {
2562
3129
  setFilteredCountries((_countries === null || _countries === void 0 ? void 0 : _countries.filter((c) => c.displayName.toLowerCase().includes(countrySearch.toLowerCase()))) || []);
2563
3130
  }
2564
3131
  }, [countrySearch, _countries]);
2565
- domContextHooks_module.useEffect(() => {
3132
+ stencilHooks_module.useEffect(() => {
2566
3133
  var _a, _b;
2567
3134
  const user = userData === null || userData === void 0 ? void 0 : userData.user;
2568
3135
  if (!user)
@@ -2654,7 +3221,7 @@ function useIndirectTaxForm(props) {
2654
3221
  await refetch();
2655
3222
  const resultPublisher = (_e = (_d = (_c = result
2656
3223
  .createImpactConnection) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher;
2657
- const hasValidCurrentDocument = utils$1.validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
3224
+ const hasValidCurrentDocument = sqmInvoiceTableView.validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
2658
3225
  // Fire form change event
2659
3226
  window.dispatchEvent(new Event(usePayoutStatus.TAX_FORM_UPDATED_EVENT_KEY));
2660
3227
  if ((resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) &&
@@ -2709,10 +3276,10 @@ function useIndirectTaxForm(props) {
2709
3276
  })),
2710
3277
  },
2711
3278
  data: {
2712
- esRegions: IndirectTaxDetailsView.INDIRECT_TAX_SPAIN_REGIONS,
3279
+ esRegions: sqmInvoiceTableView.INDIRECT_TAX_SPAIN_REGIONS,
2713
3280
  countries: filteredCountries,
2714
3281
  allCountries: _countries,
2715
- provinces: IndirectTaxDetailsView.INDIRECT_TAX_PROVINCES,
3282
+ provinces: sqmInvoiceTableView.INDIRECT_TAX_PROVINCES,
2716
3283
  },
2717
3284
  text: props.getTextProps(),
2718
3285
  refs: {
@@ -2879,7 +3446,7 @@ const IndirectTaxForm = class {
2879
3446
  * @uiName Page description
2880
3447
  */
2881
3448
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2882
- domContextHooks_module.h$1(this);
3449
+ stencilHooks_module.h$1(this);
2883
3450
  }
2884
3451
  disconnectedCallback() { }
2885
3452
  getTextProps() {
@@ -2914,7 +3481,7 @@ const IndirectTaxForm = class {
2914
3481
  const props = index_module.isDemo()
2915
3482
  ? useDemoIndirectTaxForm(this)
2916
3483
  : useIndirectTaxForm(this);
2917
- const registeredInDifferentCountryDetailsSlot = (index.h(IndirectTaxDetailsView.OtherRegionSlotView, { states: {
3484
+ const registeredInDifferentCountryDetailsSlot = (index.h(sqmInvoiceTableView.OtherRegionSlotView, { states: {
2918
3485
  hide: props.states.formState.checked !== "otherRegion",
2919
3486
  disabled: props.states.disabled || props.states.isPartner,
2920
3487
  formState: props.slotProps.formState,
@@ -2932,9 +3499,9 @@ const IndirectTaxForm = class {
2932
3499
  }
2933
3500
  };
2934
3501
  function useDemoIndirectTaxForm(props) {
2935
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
2936
- const [option, setOption] = domContextHooks_module.useState("otherRegion");
2937
- const [demoFormState, setDemoFormState] = domContextHooks_module.useState({});
3502
+ const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
3503
+ const [option, setOption] = stencilHooks_module.useState(null);
3504
+ const [demoFormState, setDemoFormState] = stencilHooks_module.useState({});
2938
3505
  return cjs.cjs({
2939
3506
  states: {
2940
3507
  step: "2",
@@ -2973,7 +3540,7 @@ function useDemoIndirectTaxForm(props) {
2973
3540
  setCountrySearch: (c) => console.log(c),
2974
3541
  },
2975
3542
  data: {
2976
- esRegions: IndirectTaxDetailsView.INDIRECT_TAX_SPAIN_REGIONS,
3543
+ esRegions: sqmInvoiceTableView.INDIRECT_TAX_SPAIN_REGIONS,
2977
3544
  countries: [
2978
3545
  {
2979
3546
  countryCode: "CA",
@@ -2992,7 +3559,7 @@ function useDemoIndirectTaxForm(props) {
2992
3559
  displayName: "United States",
2993
3560
  },
2994
3561
  ],
2995
- provinces: IndirectTaxDetailsView.INDIRECT_TAX_PROVINCES,
3562
+ provinces: sqmInvoiceTableView.INDIRECT_TAX_PROVINCES,
2996
3563
  },
2997
3564
  text: props.getTextProps(),
2998
3565
  refs: {
@@ -3014,27 +3581,7 @@ function useDemoIndirectTaxForm(props) {
3014
3581
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
3015
3582
  }
3016
3583
 
3017
- const mockInvoiceData = (count = 4) => {
3018
- const data = [...Array(count)].map(() => getMockData());
3019
- return { data };
3020
- };
3021
- const getMockData = () => {
3022
- const today = luxon.luxon.DateTime.now();
3023
- const invoiceId = Math.random().toString(36).slice(2, 12);
3024
- const earnings = Math.floor(Math.random() * 100) + 1;
3025
- const indirectTax = Math.round(earnings * 0.2);
3026
- return {
3027
- downloadUrl: "https://example.com",
3028
- dateCreated: today.toMillis(),
3029
- invoiceId,
3030
- program: "my-program",
3031
- earnings: `$${earnings}.00`,
3032
- indirectTax: `$${indirectTax}.00`,
3033
- netEarnings: `$${earnings - indirectTax}.00`,
3034
- };
3035
- };
3036
-
3037
- const debug = domContextHooks_module.browser("sq:useInvoiceTable");
3584
+ const debug = stencilHooks_module.browser("sq:useInvoiceTable");
3038
3585
  const CSS_NAMESPACE = "sqm-invoice-table";
3039
3586
  const GET_INVOICES = index_module.dist.gql `
3040
3587
  query getUserTaxInfo($limit: Int!, $offset: Int!) {
@@ -3064,7 +3611,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3064
3611
  var _a;
3065
3612
  const user = index_module.J();
3066
3613
  const locale = index_module.L();
3067
- const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
3614
+ const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
3068
3615
  ...state,
3069
3616
  ...next,
3070
3617
  }), {
@@ -3108,7 +3655,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3108
3655
  // Set the content to render and finish loading components
3109
3656
  setContent({ columns, loading: false, page: states.currentPage });
3110
3657
  }
3111
- domContextHooks_module.useEffect(() => {
3658
+ stencilHooks_module.useEffect(() => {
3112
3659
  setContent({ loading: true });
3113
3660
  invoicesData && getComponentData(components);
3114
3661
  }, [invoicesData, components, tick]);
@@ -3182,6 +3729,26 @@ async function tryMethod(c, callback) {
3182
3729
  }
3183
3730
  }
3184
3731
 
3732
+ const mockInvoiceData = (count = 4) => {
3733
+ const data = [...Array(count)].map(() => getMockData());
3734
+ return { data };
3735
+ };
3736
+ const getMockData = () => {
3737
+ const today = luxon.luxon.DateTime.now();
3738
+ const invoiceId = Math.random().toString(36).slice(2, 12);
3739
+ const earnings = Math.floor(Math.random() * 100) + 1;
3740
+ const indirectTax = Math.round(earnings * 0.2);
3741
+ return {
3742
+ downloadUrl: "https://example.com",
3743
+ dateCreated: today.toMillis(),
3744
+ invoiceId,
3745
+ program: "my-program",
3746
+ earnings: `$${earnings}.00`,
3747
+ indirectTax: `$${indirectTax}.00`,
3748
+ netEarnings: `$${earnings - indirectTax}.00`,
3749
+ };
3750
+ };
3751
+
3185
3752
  const InvoiceTable = class {
3186
3753
  constructor(hostRef) {
3187
3754
  index.registerInstance(this, hostRef);
@@ -3215,7 +3782,7 @@ const InvoiceTable = class {
3215
3782
  this.emptyStateHeader = "View your invoice details";
3216
3783
  /** @uiName Empty invoice table description */
3217
3784
  this.emptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
3218
- domContextHooks_module.h$1(this);
3785
+ stencilHooks_module.h$1(this);
3219
3786
  }
3220
3787
  disconnectedCallback() { }
3221
3788
  render() {
@@ -3225,7 +3792,7 @@ const InvoiceTable = class {
3225
3792
  ? useInvoiceTableDemo(this, empty, loading)
3226
3793
  : useInvoiceTable(this, empty, loading);
3227
3794
  reRender.useRequestRerender([this.perPage]);
3228
- return (index.h(IndirectTaxDetailsView.InvoiceTableView, { header: this.header, description: this.description }, index.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3795
+ return (index.h(sqmInvoiceTableView.InvoiceTableView, { header: this.header, description: this.description }, index.h(GenericTableView.GenericTableView, { states: states, data: data, callbacks: callbacks, elements: elements })));
3229
3796
  }
3230
3797
  };
3231
3798
  function EmptySlot(props) {
@@ -3238,7 +3805,7 @@ function LoadingRow() {
3238
3805
  return (index.h("sqm-table-row", null, index.h("sqm-table-cell", { colspan: 6 }, index.h("sl-skeleton", null))));
3239
3806
  }
3240
3807
  function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3241
- const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
3808
+ const [content, setContent] = stencilHooks_module.useReducer((state, next) => ({
3242
3809
  ...state,
3243
3810
  ...next,
3244
3811
  }), {
@@ -3248,7 +3815,7 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3248
3815
  page: 0,
3249
3816
  });
3250
3817
  const tick = reRender.useRerenderListener();
3251
- const mockData = domContextHooks_module.useMemo(() => { var _a; return ((_a = props.demoData) === null || _a === void 0 ? void 0 : _a.mockData) || mockInvoiceData(props.perPage); }, [props.perPage]);
3818
+ const mockData = stencilHooks_module.useMemo(() => { var _a; return ((_a = props.demoData) === null || _a === void 0 ? void 0 : _a.mockData) || mockInvoiceData(props.perPage); }, [props.perPage]);
3252
3819
  const components = useChildElements.useChildElements();
3253
3820
  async function getComponentData(components) {
3254
3821
  const componentData = mockData.data.slice(0, props.perPage);
@@ -3291,7 +3858,7 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3291
3858
  // Set the content to render and finish loading components
3292
3859
  setContent({ columns, loading: false, page: 0 });
3293
3860
  }
3294
- domContextHooks_module.useEffect(() => {
3861
+ stencilHooks_module.useEffect(() => {
3295
3862
  setContent({ loading: true });
3296
3863
  (mockData === null || mockData === void 0 ? void 0 : mockData.data) && getComponentData(components);
3297
3864
  }, [mockData === null || mockData === void 0 ? void 0 : mockData.data, components, tick]);
@@ -3327,10 +3894,22 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3327
3894
  return demoProps;
3328
3895
  }
3329
3896
 
3897
+ const InvoiceTableDataCell = class {
3898
+ constructor(hostRef) {
3899
+ index.registerInstance(this, hostRef);
3900
+ this.ignored = true;
3901
+ stencilHooks_module.h$1(this);
3902
+ }
3903
+ disconnectedCallback() { }
3904
+ render() {
3905
+ return this.data;
3906
+ }
3907
+ };
3908
+
3330
3909
  const InvoiceTableDataColumn = class {
3331
3910
  constructor(hostRef) {
3332
3911
  index.registerInstance(this, hostRef);
3333
- domContextHooks_module.h$1(this);
3912
+ stencilHooks_module.h$1(this);
3334
3913
  }
3335
3914
  disconnectedCallback() { }
3336
3915
  async renderCell(data) {
@@ -3345,10 +3924,27 @@ const InvoiceTableDataColumn = class {
3345
3924
  }
3346
3925
  };
3347
3926
 
3927
+ const RewardTableDateCell = class {
3928
+ constructor(hostRef) {
3929
+ index.registerInstance(this, hostRef);
3930
+ this.ignored = true;
3931
+ this.locale = "en";
3932
+ stencilHooks_module.h$1(this);
3933
+ }
3934
+ disconnectedCallback() { }
3935
+ render() {
3936
+ var _a, _b;
3937
+ const date = !this.date
3938
+ ? "-"
3939
+ : (_b = (_a = luxon.luxon.DateTime.fromMillis(this.date)) === null || _a === void 0 ? void 0 : _a.setLocale(utils.luxonLocale(this.locale))) === null || _b === void 0 ? void 0 : _b.toLocaleString(luxon.luxon.DateTime.DATE_MED);
3940
+ return date;
3941
+ }
3942
+ };
3943
+
3348
3944
  const InvoiceTableDateColumn = class {
3349
3945
  constructor(hostRef) {
3350
3946
  index.registerInstance(this, hostRef);
3351
- domContextHooks_module.h$1(this);
3947
+ stencilHooks_module.h$1(this);
3352
3948
  }
3353
3949
  disconnectedCallback() { }
3354
3950
  async renderCell(data, options) {
@@ -3363,10 +3959,25 @@ const InvoiceTableDateColumn = class {
3363
3959
  }
3364
3960
  };
3365
3961
 
3962
+ const InvoiceTableDownloadCell = class {
3963
+ constructor(hostRef) {
3964
+ index.registerInstance(this, hostRef);
3965
+ this.ignored = true;
3966
+ stencilHooks_module.h$1(this);
3967
+ }
3968
+ disconnectedCallback() { }
3969
+ render() {
3970
+ const vanillaStyle = `svg:hover, svg:hover * {
3971
+ cursor: pointer;
3972
+ }`;
3973
+ return (index.h(index.Host, null, index.h("style", null, vanillaStyle), !!this.downloadUrl && (index.h("a", { href: this.downloadUrl, target: "_blank" }, index.h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.625 12.4375C0.79076 12.4375 0.949732 12.5033 1.06694 12.6206C1.18415 12.7378 1.25 12.8967 1.25 13.0625V16.1875C1.25 16.519 1.3817 16.837 1.61612 17.0714C1.85054 17.3058 2.16848 17.4375 2.5 17.4375H17.5C17.8315 17.4375 18.1495 17.3058 18.3839 17.0714C18.6183 16.837 18.75 16.519 18.75 16.1875V13.0625C18.75 12.8967 18.8158 12.7378 18.9331 12.6206C19.0503 12.5033 19.2092 12.4375 19.375 12.4375C19.5408 12.4375 19.6997 12.5033 19.8169 12.6206C19.9342 12.7378 20 12.8967 20 13.0625V16.1875C20 16.8505 19.7366 17.4864 19.2678 17.9553C18.7989 18.4241 18.163 18.6875 17.5 18.6875H2.5C1.83696 18.6875 1.20107 18.4241 0.732233 17.9553C0.263392 17.4864 0 16.8505 0 16.1875V13.0625C0 12.8967 0.065848 12.7378 0.183058 12.6206C0.300269 12.5033 0.45924 12.4375 0.625 12.4375Z", fill: "#717179" }), index.h("path", { d: "M9.5575 14.88C9.61556 14.9382 9.68453 14.9844 9.76046 15.0159C9.83639 15.0474 9.91779 15.0636 10 15.0636C10.0822 15.0636 10.1636 15.0474 10.2395 15.0159C10.3155 14.9844 10.3844 14.9382 10.4425 14.88L14.1925 11.13C14.3099 11.0126 14.3758 10.8535 14.3758 10.6875C14.3758 10.5215 14.3099 10.3624 14.1925 10.245C14.0751 10.1276 13.916 10.0617 13.75 10.0617C13.584 10.0617 13.4249 10.1276 13.3075 10.245L10.625 12.9288V1.9375C10.625 1.77174 10.5592 1.61277 10.4419 1.49556C10.3247 1.37835 10.1658 1.3125 10 1.3125C9.83424 1.3125 9.67527 1.37835 9.55806 1.49556C9.44085 1.61277 9.375 1.77174 9.375 1.9375V12.9288L6.6925 10.245C6.57514 10.1276 6.41597 10.0617 6.25 10.0617C6.08403 10.0617 5.92486 10.1276 5.8075 10.245C5.69014 10.3624 5.62421 10.5215 5.62421 10.6875C5.62421 10.8535 5.69014 11.0126 5.8075 11.13L9.5575 14.88Z", fill: "#717179" }))))));
3974
+ }
3975
+ };
3976
+
3366
3977
  const InvoiceTableGenericColumn = class {
3367
3978
  constructor(hostRef) {
3368
3979
  index.registerInstance(this, hostRef);
3369
- domContextHooks_module.h$1(this);
3980
+ stencilHooks_module.h$1(this);
3370
3981
  }
3371
3982
  disconnectedCallback() { }
3372
3983
  async renderCell(data) {
@@ -3385,17 +3996,17 @@ const PayPalIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg",
3385
3996
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3386
3997
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3387
3998
 
3388
- const style$4 = {
3999
+ const style$5 = {
3389
4000
  CardContainer: {
3390
4001
  display: "grid",
3391
4002
  gridTemplateColumns: "1fr",
3392
4003
  gridGap: "var(--sl-spacing-large)",
3393
- background: "inherit",
4004
+ background: "var(--sl-color-neutral-0)",
3394
4005
  boxShadow: "0px 2px 4px rgba(28, 28, 33, 0.12)",
3395
- borderRadius: "var(--sqm-border-radius-normal)",
4006
+ borderRadius: "4px",
3396
4007
  padding: "var(--sl-spacing-large)",
3397
4008
  minHeight: "150px",
3398
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4009
+ border: "1px solid var(--sl-color-gray-200)",
3399
4010
  maxWidth: "450px",
3400
4011
  },
3401
4012
  StatusContainer: {
@@ -3405,7 +4016,7 @@ const style$4 = {
3405
4016
  },
3406
4017
  MainCurrencyLabel: {
3407
4018
  fontWeight: "var(--sl-font-weight-normal)",
3408
- color: "var(--sqm-text-subdued)",
4019
+ color: "var(--sl-color-gray-500)",
3409
4020
  },
3410
4021
  MainCurrency: {
3411
4022
  margin: 0,
@@ -3414,12 +4025,12 @@ const style$4 = {
3414
4025
  },
3415
4026
  SubduedRegularText: {
3416
4027
  fontSize: "var(--sl-font-size-small)",
3417
- color: "var(--sqm-text-subdued)",
4028
+ color: "var(--sl-color-gray-500)",
3418
4029
  margin: 0,
3419
4030
  width: "auto",
3420
4031
  },
3421
4032
  PaypalEmail: {
3422
- borderRight: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4033
+ borderRight: "1px solid var(--sl-color-gray-200)",
3423
4034
  paddingRight: "var(--sl-spacing-small)",
3424
4035
  "@media (max-width: 499px)": {
3425
4036
  borderRight: "none",
@@ -3427,7 +4038,7 @@ const style$4 = {
3427
4038
  },
3428
4039
  },
3429
4040
  PaypalDetailsContainer: {
3430
- color: "var(--sqm-text-subdued)",
4041
+ color: "var(--sl-color-gray-500)",
3431
4042
  display: "flex",
3432
4043
  gap: "var(--sl-spacing-small)",
3433
4044
  justifyContent: "flex-start",
@@ -3448,7 +4059,7 @@ const style$4 = {
3448
4059
  },
3449
4060
  },
3450
4061
  AccountDetailsContainer: {
3451
- color: "var(--sqm-text-subdued)",
4062
+ color: "var(--sl-color-gray-500)",
3452
4063
  display: "flex",
3453
4064
  gap: "var(--sl-spacing-small)",
3454
4065
  justifyContent: "flex-start",
@@ -3461,7 +4072,7 @@ const style$4 = {
3461
4072
  gap: "var(--sl-spacing-xx-small) var(--sl-spacing-small)",
3462
4073
  paddingTop: "var(--sq-spacing-xx-small)",
3463
4074
  "& > :not(:last-child)": {
3464
- borderRight: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4075
+ borderRight: "1px solid var(--sl-color-gray-200)",
3465
4076
  },
3466
4077
  "& > :nth-child(3)": {
3467
4078
  border: "none",
@@ -3478,7 +4089,7 @@ const style$4 = {
3478
4089
  },
3479
4090
  W9Container: {
3480
4091
  paddingTop: "var(--sl-spacing-large)",
3481
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
4092
+ borderTop: "1px solid var(--sl-color-gray-200)",
3482
4093
  },
3483
4094
  SkeletonOne: {
3484
4095
  width: "25%",
@@ -3492,22 +4103,26 @@ const style$4 = {
3492
4103
  width: "50%",
3493
4104
  height: "34px",
3494
4105
  },
3495
- SuccessBadge: {
4106
+ Alert: {
3496
4107
  "&::part(base)": {
3497
- textAlign: "center",
3498
- whiteSpace: "pre-line",
3499
- background: "var(--sqm-success-color-icon)",
3500
- color: "var(--sl-color-white)",
4108
+ backgroundColor: "var(--sl-color-warning-100)",
4109
+ border: "1px solid var(--sl-color-warning-200)",
4110
+ padding: "0 16px",
3501
4111
  },
3502
- },
3503
- PrimaryBadge: {
3504
- "&::part(base)": {
3505
- textAlign: "center",
3506
- whiteSpace: "pre-line",
3507
- background: "var(--sqm-informative-color-icon)",
3508
- color: "var(--sl-color-white)",
4112
+ "& sl-icon": {
4113
+ margin: 0,
4114
+ },
4115
+ "& sl-icon::part(base)": {
4116
+ color: "var(--sl-color-warning-500)",
4117
+ margin: 0,
3509
4118
  },
3510
4119
  },
4120
+ AlertContent: {
4121
+ display: "flex",
4122
+ alignItems: "flex-start",
4123
+ justifyContent: "flex-start",
4124
+ flexDirection: "column",
4125
+ },
3511
4126
  Container: {
3512
4127
  display: "flex",
3513
4128
  flexDirection: "column",
@@ -3515,7 +4130,7 @@ const style$4 = {
3515
4130
  },
3516
4131
  };
3517
4132
  function PayoutDetailsCardView(props) {
3518
- const sheet = JSS.createStyleSheet(style$4);
4133
+ const sheet = JSS.createStyleSheet(style$5);
3519
4134
  const styleString = sheet.toString();
3520
4135
  const { classes } = sheet;
3521
4136
  const { states, text } = props;
@@ -3529,14 +4144,13 @@ function PayoutDetailsCardView(props) {
3529
4144
  };
3530
4145
  const renderStatusBadge = (status, statusBadgeText) => {
3531
4146
  const badgeType = status === "nextPayout" ? "success" : "primary";
3532
- const badgeClass = badgeType === "success" ? classes.SuccessBadge : classes.PrimaryBadge;
3533
4147
  const statusText = global.intl.formatMessage({
3534
4148
  id: "badgeText",
3535
4149
  defaultMessage: statusBadgeText,
3536
4150
  }, {
3537
4151
  badgeText: status,
3538
4152
  });
3539
- return (index.h("sl-badge", { pill: true, class: badgeClass }, statusText));
4153
+ return (index.h("sl-badge", { pill: true, type: badgeType }, statusText));
3540
4154
  };
3541
4155
  const thresholdText = global.intl.formatMessage({
3542
4156
  id: "thresholdText",
@@ -3567,8 +4181,8 @@ function PayoutDetailsCardView(props) {
3567
4181
 
3568
4182
  function usePayoutDetailsCard(props) {
3569
4183
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
3570
- const { data: data$1, loading } = index_module.$n(data.USER_QUERY_NAMESPACE);
3571
- const publisher = (_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;
4184
+ const { data, loading } = index_module.$n(USER_QUERY_NAMESPACE);
4185
+ const publisher = (_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;
3572
4186
  function getPayoutDetailedStatusText(paymentDay) {
3573
4187
  var _a;
3574
4188
  const currentDay = luxon.luxon.DateTime.now().day;
@@ -3627,83 +4241,1391 @@ const PayoutDetailsCard = class {
3627
4241
  constructor(hostRef) {
3628
4242
  index.registerInstance(this, hostRef);
3629
4243
  /**
3630
- * Badge text indicating payout status
3631
- * @uiName Payout badge status text
4244
+ * Badge text indicating payout status
4245
+ * @uiName Payout badge status text
4246
+ */
4247
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
4248
+ /**
4249
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
4250
+ * @uiName Payout schedule by threshold text
4251
+ */
4252
+ this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
4253
+ /**
4254
+ * Shown before the participant’s bank account information.
4255
+ * @uiName Bank account field label
4256
+ */
4257
+ this.accountText = "Account";
4258
+ /**
4259
+ * Text displayed for existing publishers that do not have saved banking information.
4260
+ * @uiName Payout missing information subtext
4261
+ */
4262
+ this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
4263
+ stencilHooks_module.h$1(this);
4264
+ }
4265
+ disconnectedCallback() { }
4266
+ getTextProps() {
4267
+ const props = utils.getProps(this);
4268
+ return {
4269
+ ...props,
4270
+ };
4271
+ }
4272
+ render() {
4273
+ const props = index_module.isDemo()
4274
+ ? useDemoPayoutDetailsCard(this)
4275
+ : usePayoutDetailsCard(this);
4276
+ return (index.h(index.Host, null, index.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
4277
+ }
4278
+ };
4279
+ function useDemoPayoutDetailsCard(props) {
4280
+ return cjs.cjs({
4281
+ states: {
4282
+ loading: false,
4283
+ error: false,
4284
+ thresholdBalance: "$50",
4285
+ mainCurrency: { currencyText: "USD", amountText: "100.00" },
4286
+ badgeStatus: "nextPayout",
4287
+ payoutType: "BANK_TRANSFER",
4288
+ nextPayoutDate: "March 14, 2024",
4289
+ paypalEmailAddress: "joesmith@example.com",
4290
+ otherCurrencies: false,
4291
+ hasW9Pending: false,
4292
+ hasDatePending: true,
4293
+ cardNumberPreview: "XX2381",
4294
+ balance: "20.00 USD",
4295
+ },
4296
+ text: props.getTextProps(),
4297
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
4298
+ }
4299
+
4300
+ const TableCell = class {
4301
+ constructor(hostRef) {
4302
+ index.registerInstance(this, hostRef);
4303
+ /** @uiName Column span */
4304
+ this.colspan = 1;
4305
+ /** @uiName Padding */
4306
+ this.padding = "15px 10px";
4307
+ }
4308
+ render() {
4309
+ return (index.h(index.Host, { style: { display: "contents" } }, index.h("td", { colSpan: this.colspan, style: { padding: this.padding } }, index.h("slot", null))));
4310
+ }
4311
+ };
4312
+
4313
+ const TableRow = class {
4314
+ constructor(hostRef) {
4315
+ index.registerInstance(this, hostRef);
4316
+ /**
4317
+ * @uiName Border
4318
+ */
4319
+ this.border = "1px solid #EAEAEA";
4320
+ }
4321
+ render() {
4322
+ return (index.h(index.Host, { style: { display: "contents" } }, index.h("tr", { style: { border: this.border } }, index.h("slot", null))));
4323
+ }
4324
+ };
4325
+
4326
+ function getCurrentStep(user) {
4327
+ var _a, _b;
4328
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
4329
+ return "/1";
4330
+ }
4331
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
4332
+ // If they do have a required document, look at current document
4333
+ if (requiredTaxDocumentType && !currentTaxDocument) {
4334
+ // Specific to custom CASH setting,
4335
+ if (payoutsAccount.hold &&
4336
+ payoutsAccount.holdReasons.includes("NO_W9_DOCUMENT"))
4337
+ return "/dashboard";
4338
+ return "/3";
4339
+ }
4340
+ if (!withdrawalSettings && brandedSignup)
4341
+ return "/4";
4342
+ return "/dashboard";
4343
+ }
4344
+ function useTaxAndCash() {
4345
+ var _a, _b, _c, _d, _e;
4346
+ const host = index_module._();
4347
+ const user = index_module.J();
4348
+ const locale = index_module.L();
4349
+ // State for current step of form
4350
+ const [step, setStep] = index_module.In({
4351
+ namespace: TAX_CONTEXT_NAMESPACE,
4352
+ initialValue: "/loading",
4353
+ });
4354
+ // State for when to hide steps, or override certain actions
4355
+ const [context, _setContext] = index_module.In({
4356
+ namespace: TAX_FORM_CONTEXT_NAMESPACE,
4357
+ initialValue: {},
4358
+ });
4359
+ // State to carry user form information into step 2
4360
+ const [userFormContext, _setUserFormContext] = index_module.In({
4361
+ namespace: USER_FORM_CONTEXT_NAMESPACE,
4362
+ initialValue: {
4363
+ firstName: undefined,
4364
+ lastName: undefined,
4365
+ email: undefined,
4366
+ countryCode: undefined,
4367
+ currency: undefined,
4368
+ },
4369
+ });
4370
+ const [_currenciesContext, setCurrenciesContext] = index_module.In({
4371
+ namespace: CURRENCIES_NAMESPACE,
4372
+ initialValue: [],
4373
+ });
4374
+ const [_countriesContext, _setCountriesContext] = index_module.In({
4375
+ namespace: COUNTRIES_NAMESPACE,
4376
+ initialValue: [],
4377
+ });
4378
+ const [_sortedCountriesContext, setSortedCountriesContext] = index_module.In({
4379
+ namespace: SORTED_COUNTRIES_NAMESPACE,
4380
+ initialValue: [],
4381
+ });
4382
+ const { data, errors } = index_module.Sn({
4383
+ namespace: USER_QUERY_NAMESPACE,
4384
+ query: GET_USER,
4385
+ skip: !user,
4386
+ options: {
4387
+ batch: false,
4388
+ },
4389
+ });
4390
+ 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) ||
4391
+ userFormContext.countryCode;
4392
+ index_module.Sn({
4393
+ namespace: COUNTRIES_QUERY_NAMESPACE,
4394
+ query: GET_COUNTRIES,
4395
+ skip: !user,
4396
+ });
4397
+ const { data: financeNetworkData, refetch } = index_module.Sn({
4398
+ namespace: FINANCE_NETWORK_SETTINGS_NAMESPACE,
4399
+ query: GET_FINANCE_NETWORK_SETTINGS,
4400
+ skip: !user,
4401
+ variables: {
4402
+ filter: getFinanceNetworkFilter(),
4403
+ },
4404
+ });
4405
+ const { data: currenciesData } = index_module.Sn({
4406
+ namespace: CURRENCIES_QUERY_NAMESPACE,
4407
+ query: GET_CURRENCIES,
4408
+ skip: !user,
4409
+ variables: {
4410
+ locale,
4411
+ },
4412
+ });
4413
+ const supportedCurrencies = stencilHooks_module.useMemo(() => {
4414
+ var _a, _b;
4415
+ // Filter out any currencies not supported by finance network settings
4416
+ 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) => {
4417
+ var _a, _b;
4418
+ 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);
4419
+ // Currency not in supported list
4420
+ if (!currency)
4421
+ return agg;
4422
+ // Currency already added to list
4423
+ if (agg.find((currency) => currency.currencyCode === settings.currency))
4424
+ return agg;
4425
+ // Currency not supported by selected country
4426
+ if (userFormContext.countryCode &&
4427
+ settings.countryCode !== countryCode)
4428
+ return agg;
4429
+ return [...agg, currency];
4430
+ }, []);
4431
+ return allValidCurrencies;
4432
+ }, [financeNetworkData, countryCode]);
4433
+ const intlLocale = (locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en";
4434
+ const sortByName = (a, b) => a.displayName < b.displayName ? -1 : 1;
4435
+ const paymentOptions = (_d = financeNetworkData === null || financeNetworkData === void 0 ? void 0 : financeNetworkData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
4436
+ // filter out any duplicate countries and null countryCode
4437
+ const availableCountries = stencilHooks_module.useMemo(() => new Set(paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.map((option) => option.countryCode).filter((value) => value)), [paymentOptions]);
4438
+ const _topCountries = ["CA", "GB", "US"];
4439
+ const sortedCountries = stencilHooks_module.useMemo(() => Array.from(availableCountries)
4440
+ .map((countryCode) => sqmInvoiceTableView.getCountryObj({ countryCode, locale: intlLocale }))
4441
+ .sort(sortByName)
4442
+ .reduce((prev, countryObj) => {
4443
+ if (_topCountries.includes(countryObj.countryCode))
4444
+ return [countryObj, ...prev];
4445
+ return [...prev, countryObj];
4446
+ }, []), [availableCountries]);
4447
+ stencilHooks_module.useEffect(() => {
4448
+ if (sortedCountries)
4449
+ setSortedCountriesContext(sortedCountries);
4450
+ }, [sortedCountries]);
4451
+ stencilHooks_module.useEffect(() => {
4452
+ if (supportedCurrencies)
4453
+ setCurrenciesContext(supportedCurrencies);
4454
+ }, [supportedCurrencies]);
4455
+ stencilHooks_module.useEffect(() => {
4456
+ if (errors) {
4457
+ setStep("/error");
4458
+ return;
4459
+ }
4460
+ if (!host || !user)
4461
+ return;
4462
+ if (data) {
4463
+ const user = data === null || data === void 0 ? void 0 : data.user;
4464
+ if (!user || step !== "/loading")
4465
+ return;
4466
+ const currentStep = getCurrentStep(user);
4467
+ setStep(currentStep);
4468
+ }
4469
+ }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
4470
+ function getFinanceNetworkFilter() {
4471
+ var _a, _b, _c;
4472
+ if (step === "/1")
4473
+ return {};
4474
+ if (step === "/4")
4475
+ 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 };
4476
+ if (countryCode)
4477
+ return {
4478
+ countryCode_eq: countryCode,
4479
+ };
4480
+ return {};
4481
+ }
4482
+ return {
4483
+ step,
4484
+ setStep,
4485
+ context,
4486
+ namespace: index_module.Mn(TAX_CONTEXT_NAMESPACE),
4487
+ loading: step === "/loading",
4488
+ };
4489
+ }
4490
+
4491
+ const TaxAndCashMonolith = class {
4492
+ constructor(hostRef) {
4493
+ index.registerInstance(this, hostRef);
4494
+ /*---------------------------------------------------------------------------------
4495
+ !IMPORTANT!: Make sure to also change the prop names in the respective component
4496
+ -----------------------------------------------------------------------------------*/
4497
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4498
+ STEP 1 PROPS:
4499
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4500
+ /**
4501
+ * @uiName First name field label
4502
+ * @uiGroup Step 1 Properties
4503
+ */
4504
+ this.step1_firstName = "First name";
4505
+ /**
4506
+ * @uiName Last name field label
4507
+ * @uiGroup Step 1 Properties
4508
+ */
4509
+ this.step1_lastName = "Last name";
4510
+ /**
4511
+ * @uiName Email field label
4512
+ * @uiGroup Step 1 Properties
4513
+ */
4514
+ this.step1_email = "Email";
4515
+ /**
4516
+ * @uiName Country field label
4517
+ * @uiGroup Step 1 Properties
4518
+ */
4519
+ this.step1_country = "Country";
4520
+ /**
4521
+ * @uiName Phone number field label
4522
+ * @uiGroup Step 1 Properties
4523
+ */
4524
+ this.step1_phoneNumber = "Phone number";
4525
+ /**
4526
+ * @uiName Address field label
4527
+ * @uiGroup Step 1 Properties
4528
+ */
4529
+ this.step1_address = "Address";
4530
+ /**
4531
+ * @uiName City field label
4532
+ * @uiGroup Step 1 Properties
4533
+ */
4534
+ this.step1_city = "City";
4535
+ /**
4536
+ * @uiName State field label for states
4537
+ * @uiGroup Step 1 Properties
4538
+ */
4539
+ this.step1_state = "State";
4540
+ /**
4541
+ * @uiName State field label for provinces
4542
+ * @uiGroup Step 1 Properties
4543
+ */
4544
+ this.step1_province = "Province";
4545
+ /**
4546
+ * @uiName State field label for regions
4547
+ * @uiGroup Step 1 Properties
4548
+ */
4549
+ this.step1_region = "Region";
4550
+ /**
4551
+ * @uiName Postal code field label
4552
+ * @uiGroup Step 1 Properties
4553
+ */
4554
+ this.step1_postalCode = "Postal code";
4555
+ /**
4556
+ * @uiName Currency field label
4557
+ * @uiGroup Step 1 Properties
4558
+ */
4559
+ this.step1_currency = "Currency";
4560
+ /**
4561
+ * @uiName Currency field help text
4562
+ * @uiGroup Step 1 Properties
4563
+ */
4564
+ this.step1_currencyHelpText = "Choose your preferred payout currency";
4565
+ /**
4566
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
4567
+ * @uiName Terms and conditions checkbox
4568
+ * @uiGroup Step 1 Properties
4569
+ */
4570
+ this.step1_allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
4571
+ /**
4572
+ * @uiName Step 1 title
4573
+ * @uiGroup Step 1 Properties
4574
+ */
4575
+ this.step1_personalInformation = "Personal Information";
4576
+ /**
4577
+ * The link text that appears in the terms and conditions checkbox
4578
+ * @uiName Terms and conditions text
4579
+ * @uiGroup Step 1 Properties
4580
+ * @uiWidget textArea
4581
+ */
4582
+ this.step1_termsAndConditionsLabel = "terms and conditions";
4583
+ /**
4584
+ * The link that appears in the terms and conditions checkbox
4585
+ * @uiName Terms and conditions link
4586
+ * @uiGroup Step 1 Properties
4587
+ */
4588
+ this.step1_termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
4589
+ /**
4590
+ * Placeholder text displayed in the currency search dropdown
4591
+ * @uiName Currency field placeholder text
4592
+ * @uiGroup Step 1 Properties
4593
+ */
4594
+ this.step1_searchForCurrencyText = "Search for currency..";
4595
+ /**
4596
+
4597
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4598
+ STEP 2 PROPS:
4599
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4600
+ /**
4601
+ * @uiName Step 2 title
4602
+ * @uiGroup Step 2 Properties
4603
+ */
4604
+ this.step2_indirectTax = "Indirect Tax";
4605
+ /**
4606
+ * Displayed under the title of this step.
4607
+ * @uiName Step 2 description
4608
+ * @uiGroup Step 2 Properties
4609
+ * @uiWidget textArea
4610
+ */
4611
+ 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.";
4612
+ /**
4613
+ * Displayed with indirect tax registration options.
4614
+ * @uiName Indirect tax details section title
4615
+ * @uiGroup Step 2 Properties
4616
+ */
4617
+ this.step2_indirectTaxDetails = "Indirect tax details";
4618
+ /**
4619
+ * @uiName Registered for indirect tax option
4620
+ * @uiGroup Step 2 Properties
4621
+ * @uiWidget textArea
4622
+ *
4623
+ */
4624
+ this.step2_otherRegion = "Registered for indirect tax";
4625
+ /**
4626
+ * Selecting this option will display fields to enter indirect tax details.
4627
+ * @uiName Registered for indirect tax option description
4628
+ * @uiGroup Step 2 Properties
4629
+ */
4630
+ this.step2_otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
4631
+ /**
4632
+ * @uiName Not registered for indirect tax option
4633
+ * @uiGroup Step 2 Properties
4634
+ * @uiWidget textArea
4635
+ */
4636
+ this.step2_notRegistered = "Not registered for indirect tax";
4637
+ /**
4638
+ * Participants based in the US are considered not registered.
4639
+ * @uiName Not registered for indirect tax option description
4640
+ * @uiGroup Step 2 Properties
4641
+ */
4642
+ this.step2_notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
4643
+ /**
4644
+ * @uiName Region of indirect tax field label
4645
+ * @uiGroup Step 2 Properties
4646
+ */
4647
+ this.step2_selectedRegion = "Country / region of indirect tax";
4648
+ /**
4649
+ * @uiName Indirect tax number field label
4650
+ * @uiGroup Step 2 Properties
4651
+ */
4652
+ this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
4653
+ /**
4654
+ * @uiName Province field label
4655
+ * @uiGroup Step 2 Properties
4656
+ */
4657
+ this.step2_province = "Province";
4658
+ /**
4659
+ * @uiName Missing indirect tax number error message
4660
+ * @uiGroup Step 2 Properties
4661
+ */
4662
+ 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";
4663
+ /**
4664
+ * Displayed to participants registered for QST.
4665
+ * @uiName QST number field label
4666
+ * @uiGroup Step 2 Properties
4667
+ */
4668
+ this.step2_qstNumber = "QST number";
4669
+ /**
4670
+ * Displayed to participants registered for indirect tax in Quebec, Canada.
4671
+ * @uiName QST tax checkbox
4672
+ * @uiGroup Step 2 Properties
4673
+ */
4674
+ this.step2_isRegisteredQST = "I am registered for QST Tax";
4675
+ /**
4676
+ * Displayed to participants registered for indirect tax in Spain.
4677
+ * @uiName Spain income tax checkbox
4678
+ * @uiGroup Step 2 Properties
4679
+ * @uiWidget textArea
4680
+ */
4681
+ 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.";
4682
+ /**
4683
+ * Displayed to participants registered in Spain.
4684
+ * @uiName Sub-region of indirect tax field label
4685
+ * @uiGroup Step 2 Properties
4686
+ */
4687
+ this.step2_subRegion = "Sub-region";
4688
+ /**
4689
+ * @uiName Income tax field label
4690
+ * @uiGroup Step 2 Properties
4691
+ */
4692
+ this.step2_subRegionTaxNumberLabel = "Income Tax Number";
4693
+ /**
4694
+ * Communicate that after this step, only Support can change personal and indirect tax information.
4695
+ * @uiName Submission confirmation alert
4696
+ * @uiGroup Step 2 Properties
4697
+ * @uiWidget textArea
4698
+ */
4699
+ 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.";
4700
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4701
+ STEP 3 PROPS:
4702
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4703
+ /**
4704
+ * @uiName Step 3 title
4705
+ * @uiGroup Step 3 Properties
4706
+ */
4707
+ this.step3_taxForm = "Tax form";
4708
+ /**
4709
+ * Display the type of tax form that the participant must submit.
4710
+ * @uiName Tax form name
4711
+ * @uiGroup Step 3 Properties
4712
+ */
4713
+ this.step3_taxFormLabel = "{documentType} Tax Form";
4714
+ /**
4715
+ * @uiName Participant type field label
4716
+ * @uiGroup Step 3 Properties
4717
+ */
4718
+ this.step3_participantType = "Participant type";
4719
+ /**
4720
+ * An option for the participant type field. Used to determine which W-8 form is required.
4721
+ * @uiName Business representative participant type label
4722
+ * @uiGroup Step 3 Properties
4723
+ */
4724
+ this.step3_businessEntity = "I represent a business";
4725
+ /**
4726
+ * An option for the participant type field. Used to determine which W-8 form is required.
4727
+ * @uiName Individual participant type label
4728
+ * @uiGroup Step 3 Properties
4729
+ */
4730
+ this.step3_individualParticipant = "I am an individual participant";
4731
+ /**
4732
+ * Displayed at the top of the page to participants based in the US.
4733
+ * @uiName W-9 tax form description
4734
+ * @uiGroup Step 3 Properties
4735
+ * @uiWidget textArea
4736
+ */
4737
+ this.step3_taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
4738
+ /**
4739
+ * Displayed at the top of the page to individuals joining a US program who reside outside the country.
4740
+ * @uiName W-8 BEN tax form description
4741
+ * @uiGroup Step 3 Properties
4742
+ * @uiWidget textArea
4743
+ */
4744
+ this.step3_taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
4745
+ /**
4746
+ * Displayed at the top of the page to participants representing a business.
4747
+ * @uiName W-8 BEN-E tax form description
4748
+ * @uiGroup Step 3 Properties
4749
+ * @uiWidget textArea
4750
+ */
4751
+ this.step3_taxFormDescriptionBusinessEntity = "Participants residing outside of the US who represent a business entity need to submit a {documentType} form.";
4752
+ /**
4753
+ * This appears inside the Docusign frame.
4754
+ * @uiName Docusign session expired message
4755
+ * @uiGroup Step 3 Properties
4756
+ * @uiWidget textArea
4757
+ */
4758
+ 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.";
4759
+ /**
4760
+ * Remind participants their session will time out after 20 minutes of inactivity.
4761
+ * @uiName Docusign timed session message
4762
+ * @uiGroup Step 3 Properties
4763
+ * @uiWidget textArea
4764
+ */
4765
+ this.step3_docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
4766
+ /**
4767
+ * This appears inside the Docusign frame.
4768
+ * @uiName Docusign form error message
4769
+ * @uiGroup Step 3 Properties
4770
+ * @uiWidget textArea
4771
+ */
4772
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
4773
+ /**
4774
+ * @uiName Refresh page button label
4775
+ * @uiGroup Step 3 Properties
4776
+ */
4777
+ this.step3_refreshButton = "Refresh Page";
4778
+ /**
4779
+ * @uiName Exit button text
4780
+ * @uiGroup Step 3 Properties
4781
+ */
4782
+ this.step3_exitButton = "Exit";
4783
+ /**
4784
+ * @uiName Information modal title
4785
+ * @uiGroup Step 3 Properties
4786
+ */
4787
+ this.step3_modalTitle = "Important Note";
4788
+ /**
4789
+ * @uiName Information modal description text
4790
+ * @uiGroup Step 3 Properties
4791
+ */
4792
+ this.step3_modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
4793
+ /**
4794
+ * @uiName Information modal button text
4795
+ * @uiGroup Step 3 Properties
4796
+ */
4797
+ this.step3_modalButtonText = "I understand";
4798
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4799
+ STEP 4 PROPS:
4800
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
4801
+ /**
4802
+ * @uiName Step 4 title
4803
+ * @uiGroup Step 4 Properties
4804
+ */
4805
+ this.step4_taxAndPayouts = "Payouts";
4806
+ /**
4807
+ * @uiName Direct to bank payout option
4808
+ * @uiGroup Step 4 Properties
4809
+ */
4810
+ this.step4_directlyToBankAccount = "Directly to my bank account";
4811
+ /**
4812
+ * @uiName PayPal payout option
4813
+ * @uiGroup Step 4 Properties
4814
+ */
4815
+ this.step4_toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
4816
+ /**
4817
+ * @uiName Threshold balance payment schedule option
4818
+ * @uiGroup Step 4 Properties
4819
+ */
4820
+ this.step4_paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
4821
+ /**
4822
+ * @uiName Fixed day payment schedule option
4823
+ * @uiGroup Step 4 Properties
4824
+ */
4825
+ this.step4_paymentScheduleFixedDay = "Pay me on a fixed day of the month";
4826
+ /**
4827
+ * Let the participant choose what day of the month they’ll get paid
4828
+ * @uiName Payment day field label
4829
+ * @uiGroup Step 4 Properties
4830
+ */
4831
+ this.step4_paymentDaySelectLabel = "Payment Day";
4832
+ /**
4833
+ * Participant use this field to select the balance at which they want to be paid
4834
+ * @uiName Payment threshold field label
4835
+ * @uiGroup Step 4 Properties
4836
+ */
4837
+ this.step4_paymentThresholdSelectLabel = "Payment threshold";
4838
+ /**
4839
+ * One of two payment day options
4840
+ * @uiName First of month payday option
4841
+ * @uiGroup Step 4 Properties
4842
+ */
4843
+ this.step4_paymentDayFirstOfMonthLabelText = "1st of the month";
4844
+ /**
4845
+ * One of two payment day options
4846
+ * @uiName Fifteenth of month payday option
4847
+ * @uiGroup Step 4 Properties
4848
+ */
4849
+ this.step4_paymentDayFifteenthOfMonthLabelText = "15th of the month";
4850
+ /**
4851
+ * @uiName Payment method section header
4852
+ * @uiGroup Step 4 Properties
4853
+ */
4854
+ this.step4_paymentMethod = "Payment method";
4855
+ /**
4856
+ * @uiName Payment schedule section header
4857
+ * @uiGroup Step 4 Properties
4858
+ */
4859
+ this.step4_paymentSchedule = "Payment schedule";
4860
+ /**
4861
+ * @uiName Payment method section description
4862
+ * @uiGroup Step 4 Properties
4863
+ */
4864
+ this.step4_paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
4865
+ /**
4866
+ * Displayed to participants who choose PayPal as their payout method
4867
+ * @uiName PayPal email field label
4868
+ * @uiGroup Step 4 Properties
4869
+ */
4870
+ this.step4_payPalInputLabel = "PayPal email";
4871
+ /**
4872
+ * @uiName Bank country field label
4873
+ * @uiGroup Step 4 Properties
4874
+ */
4875
+ this.step4_bankLocationLabel = "Bank country location";
4876
+ /**
4877
+ * @uiName Beneficiary account field label
4878
+ * @uiGroup Step 4 Properties
4879
+ */
4880
+ this.step4_beneficiaryAccountNameLabel = "Account holder name";
4881
+ /**
4882
+ * @uiName Beneficiary account field description
4883
+ * @uiGroup Step 4 Properties
4884
+ */
4885
+ this.step4_beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
4886
+ /**
4887
+ * @uiName Bank account type field label
4888
+ * @uiGroup Step 4 Properties
4889
+ */
4890
+ this.step4_bankAccountTypeLabel = "Bank account type";
4891
+ /**
4892
+ * @uiName Checking account option
4893
+ * @uiGroup Step 4 Properties
4894
+ */
4895
+ this.step4_checkingSelectItemLabel = "Checking";
4896
+ /**
4897
+ * Label text for the savings account type select item
4898
+ * @uiName Savings account options
4899
+ * @uiGroup Step 4 Properties
4900
+ */
4901
+ this.step4_savingsSelectItemLabel = "Savings";
4902
+ /**
4903
+ * @uiName Bank account number field label
4904
+ * @uiGroup Step 4 Properties
4905
+ */
4906
+ this.step4_bankAccountNumberLabel = "Bank account number";
4907
+ /**
4908
+ * @uiName IBAN field label
4909
+ * @uiGroup Step 4 Properties
4910
+ */
4911
+ this.step4_ibanLabel = "IBAN";
4912
+ /**
4913
+ * @uiName SWIFT code field label
4914
+ * @uiGroup Step 4 Properties
4915
+ */
4916
+ this.step4_swiftCodeLabel = "SWIFT code";
4917
+ /**
4918
+ * @uiName Routing code field label
4919
+ * @uiGroup Step 4 Properties
4920
+ */
4921
+ 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} }";
4922
+ /**
4923
+ * @uiName Bank name field label
4924
+ * @uiGroup Step 4 Properties
4925
+ */
4926
+ this.step4_bankNameLabel = "Bank name";
4927
+ /**
4928
+ * @uiName Classification entity field label
4929
+ * @uiGroup Step 4 Properties
4930
+ */
4931
+ this.step4_classificationEntityLabel = "Classification entity";
4932
+ /**
4933
+ * One of three options listed for the classification field
4934
+ * @uiName Business classification option
4935
+ * @uiGroup Step 4 Properties
4936
+ */
4937
+ this.step4_businessSelectItemLabel = "Business";
4938
+ /**
4939
+ * One of three options listed for the classification field
4940
+ * @uiName Individual classification option
4941
+ * @uiGroup Step 4 Properties
4942
+ */
4943
+ this.step4_individualSelectItemLabel = "Individual";
4944
+ /**
4945
+ * One of three options listed for the classification field
4946
+ * @uiName Foreign classification option
4947
+ * @uiGroup Step 4 Properties
4948
+ */
4949
+ this.step4_foreignSelectItemLabel = "Foreign";
4950
+ /**
4951
+ * @uiName Classification CPF field label
4952
+ * @uiGroup Step 4 Properties
4953
+ */
4954
+ this.step4_classificationCPFLabel = "Classification CPF";
4955
+ /**
4956
+ * @uiName Patronymic name field label
4957
+ * @uiGroup Step 4 Properties
4958
+ */
4959
+ this.step4_patronymicNameLabel = "Patronymic name";
4960
+ /**
4961
+ * @uiName VO code field label
4962
+ * @uiGroup Step 4 Properties
4963
+ */
4964
+ this.step4_voCodeLabel = "VO code";
4965
+ /**
4966
+ * @uiName Agency code field label
4967
+ * @uiGroup Step 4 Properties
4968
+ */
4969
+ this.step4_agencyCodeLabel = "Agency code";
4970
+ /**
4971
+ * @uiName Branch code field label
4972
+ * @uiGroup Step 4 Properties
4973
+ */
4974
+ this.step4_branchCodeLabel = "Branch code";
4975
+ /**
4976
+ * Label text for the classification input field
4977
+ * @uiName Classification field label
4978
+ * @uiGroup Step 4 Properties
4979
+ */
4980
+ this.step4_classificationLabel = "Classification";
4981
+ /**
4982
+ * @uiName Taxpayer ID field label
4983
+ * @uiGroup Step 4 Properties
4984
+ */
4985
+ this.step4_taxPayerIdLabel = "Beneficiary INN";
4986
+ /**
4987
+ * @uiName Bank address field label
4988
+ * @uiGroup Step 4 Properties
4989
+ */
4990
+ this.step4_bankAddressLabel = "Bank address";
4991
+ /**
4992
+ * @uiName Bank city field label
4993
+ * @uiGroup Step 4 Properties
4994
+ */
4995
+ this.step4_bankCityLabel = "Bank city";
4996
+ /**
4997
+ * @uiName Bank province/state field label
4998
+ * @uiGroup Step 4 Properties
4999
+ */
5000
+ this.step4_bankStateLabel = "Bank Province / State";
5001
+ /**
5002
+ * @uiName Bank postal code field label
5003
+ * @uiGroup Step 4 Properties
5004
+ */
5005
+ this.step4_bankPostalCodeLabel = "Bank postal code";
5006
+ /**
5007
+ * Default payment method to the participants’ bank account.
5008
+ * @uiName EFT withdrawal payment method
5009
+ * @uiGroup Step 4 Properties
5010
+ */
5011
+ this.step4_eftWithdrawalLabel = "EFT Withdrawal (free)";
5012
+ /**
5013
+ * @uiName FX Wire Processing fee text
5014
+ * @uiGroup Step 4 Properties
5015
+ */
5016
+ this.step4_fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
5017
+ /**
5018
+ * @uiName Text for verify email dialog
5019
+ * @uiGroup Step 4 Properties
5020
+ */
5021
+ this.step4_verifyEmailHeaderText = "Verify your email";
5022
+ /**
5023
+ * @uiName Verify code widget header text
5024
+ * @uiGroup Step 4 Properties
5025
+ */
5026
+ this.step4_verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
5027
+ /**
5028
+ * @uiName Information modal title
5029
+ * @uiGroup Step 4 Properties
5030
+ */
5031
+ this.step4_modalTitle = "Important Note";
5032
+ /**
5033
+ * @uiName Information modal description text
5034
+ * @uiGroup Step 4 Properties
5035
+ */
5036
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
5037
+ /**
5038
+ * @uiName Information modal button text
5039
+ * @uiGroup Step 4 Properties
5040
+ */
5041
+ this.step4_modalButtonText = "I understand, update my information";
5042
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5043
+ DASHBOARD PROPS:
5044
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5045
+ /**
5046
+ * @uiName Active tax form badge label
5047
+ * @uiGroup Dashboard Properties
5048
+ */
5049
+ this.dashboard_statusTextActive = "Active";
5050
+ /**
5051
+ * @uiName Invalid tax form badge label
5052
+ * @uiGroup Dashboard Properties
5053
+ */
5054
+ this.dashboard_statusTextNotActive = "Invalid Tax Form";
5055
+ /**
5056
+ * Displayed when the participant submitted their form but it is awaiting review.
5057
+ *
5058
+ * @uiName Not verified tax form badge label
5059
+ * @uiGroup Dashboard Properties
5060
+ */
5061
+ this.dashboard_statusTextNotVerified = "Not Verified";
5062
+ /**
5063
+ * Displayed when the participant has not submitted their required tax form.
5064
+ *
5065
+ * @uiName Required tax form badge label
5066
+ */
5067
+ this.dashboard_statusTextRequired = "Required";
5068
+ /**
5069
+ * Additional text displayed next to the tax form's status badge
5070
+ *
5071
+ * @uiName Required tax form description
5072
+ */
5073
+ this.dashboard_requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
5074
+ /**
5075
+ * Additional text displayed next to the tax form's status badge
5076
+ *
5077
+ * @uiName Active W-9 description
5078
+ * @uiGroup Dashboard Properties
5079
+ */
5080
+ this.dashboard_badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
5081
+ /**
5082
+ * Additional text displayed next to the tax form's status badge.
5083
+ *
5084
+ * @uiName Active W-8 description
5085
+ * @uiGroup Dashboard Properties
5086
+ */
5087
+ this.dashboard_badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
5088
+ /**
5089
+ * Additional text displayed next to the tax form's status badge.
5090
+ *
5091
+ * @uiName Tax form in review description
5092
+ * @uiGroup Dashboard Properties
5093
+ */
5094
+ this.dashboard_badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
5095
+ /**
5096
+ * Part of the alert displayed at the top of the page.
5097
+ *
5098
+ * @uiName Inactive W-9 error message title
5099
+ * @uiGroup Dashboard Properties
5100
+ * @uiWidget textArea
5101
+ */
5102
+ this.dashboard_taxAlertHeaderNotActiveW9 = "Your W9 tax form has personal information that doesn’t match your profile";
5103
+ /**
5104
+ * Part of the alert displayed at the top of the page.
5105
+ *
5106
+ * @uiName Inactive W-8 error message title
5107
+ * @uiGroup Dashboard Properties
5108
+ * @uiWidget textArea
5109
+ */
5110
+ this.dashboard_taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
5111
+ /**
5112
+ * Part of the alert displayed at the top of the page.
5113
+ *
5114
+ * @uiName Inactive W-9 error message description
5115
+ * @uiGroup Dashboard Properties
5116
+ * @uiWidget textArea
5117
+ */
5118
+ this.dashboard_taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
5119
+ /**
5120
+ * Part of the alert displayed at the top of the page.
5121
+ *
5122
+ * @uiName Inactive W-8 error message description
5123
+ * @uiGroup Dashboard Properties
5124
+ */
5125
+ 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.";
5126
+ /**
5127
+ * Additional text displayed next to the tax form's status badge.
5128
+ *
5129
+ * @uiName Invalid tax form description
5130
+ * @uiGroup Dashboard Properties
5131
+ * @uiWidget textArea
5132
+ */
5133
+ this.dashboard_invalidForm = "Make sure your information is correct and submit new form.";
5134
+ /**
5135
+ * @uiName Payout information section header
5136
+ * @uiGroup Dashboard Properties
5137
+ */
5138
+ this.dashboard_bankingInformationSectionHeader = "Payout Information";
5139
+ /**
5140
+ * @uiName Tax document section header
5141
+ * @uiGroup Dashboard Properties
5142
+ */
5143
+ this.dashboard_taxDocumentSectionHeader = "Tax documents";
5144
+ /**
5145
+ * Displayed under the tax document section header.
5146
+ *
5147
+ * @uiName Tax documents section description
5148
+ * @uiGroup Dashboard Properties
5149
+ */
5150
+ this.dashboard_taxDocumentSectionSubHeader = "{documentType} tax form";
5151
+ /**
5152
+ * No other statuses or badges will be displayed in the tax form section in this case.
5153
+ *
5154
+ * @uiName Tax form not required text
5155
+ * @uiGroup Dashboard Properties
5156
+ * @uiWidget textArea
5157
+ */
5158
+ 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.";
5159
+ /**
5160
+ *
5161
+ * @uiName Indirect tax section header
5162
+ * @uiGroup Dashboard Properties
5163
+ */
5164
+ this.dashboard_indirectTaxInfoSectionHeader = "Indirect tax";
5165
+ /**
5166
+ * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
5167
+ *
5168
+ * @uiName Canadian province of indirect tax
5169
+ * @uiGroup Dashboard Properties
5170
+ */
5171
+ this.dashboard_indirectTaxInfoCanada = "Registered in {province}, {country}";
5172
+ /**
5173
+ * If the participant is registered for indirect tax, display the country they’re registered in.
5174
+ *
5175
+ * @uiName Indirect tax country
5176
+ * @uiGroup Dashboard Properties
5177
+ */
5178
+ this.dashboard_indirectTaxInfoOtherCountry = "Registered in {country}";
5179
+ /**
5180
+ * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
5181
+ *
5182
+ * @uiName Spanish region of indirect tax
5183
+ * @uiGroup Dashboard Properties
5184
+ */
5185
+ this.dashboard_indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
5186
+ /**
5187
+ * @uiName Indirect tax tooltip
5188
+ * @uiGroup Dashboard Properties
5189
+ * @uiWidget textArea
5190
+ */
5191
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
5192
+ /**
5193
+ * Displayed to participants who have submitted their indirect tax information.
5194
+ *
5195
+ * @uiName Indirect tax details
5196
+ * @uiGroup Dashboard Properties
5197
+ */
5198
+ this.dashboard_indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
5199
+ /**
5200
+ * @uiName Submit new tax form button label
5201
+ * @uiGroup Dashboard Properties
5202
+ */
5203
+ this.dashboard_newFormButton = "Submit new form";
5204
+ /**
5205
+ * @uiName Edit payment info button label
5206
+ * @uiGroup Dashboard Properties
5207
+ */
5208
+ this.dashboard_editPaymentInformationButton = "Edit Payout Information";
5209
+ /**
5210
+ * @uiName Not registered for indirect tax text
5211
+ * @uiGroup Dashboard Properties
5212
+ * @uiWidget textArea
5213
+ */
5214
+ 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.";
5215
+ /**
5216
+ * Displayed to participants registered in Quebec, Canada.
5217
+ * @uiName QST indirect tax details
5218
+ * @uiGroup Dashboard Properties
5219
+ */
5220
+ this.dashboard_qstNumber = "QST number: {qstNumber}";
5221
+ /**
5222
+ * @uiName Spain sub-region indirect tax number
5223
+ * @uiGroup Dashboard Properties
5224
+ */
5225
+ this.dashboard_subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
5226
+ /**
5227
+ * @uiName Payout status badge
5228
+ * @uiGroup Dashboard Properties
5229
+ */
5230
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
5231
+ /**
5232
+ * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
5233
+ * @uiName Payout schedule by threshold text
5234
+ * @uiGroup Dashboard Properties
5235
+ */
5236
+ this.dashboard_thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
5237
+ /**
5238
+ * Shown before the participant’s bank account information.
5239
+ * @uiName Bank account field label
5240
+ * @uiGroup Dashboard Properties
5241
+ */
5242
+ this.dashboard_accountText = "Account";
5243
+ /**
5244
+ * Part of the Invoice table displayed at the bottom of the page.
5245
+ * @uiName Invoice number column title
5246
+ * @uiGroup Dashboard Properties
5247
+ */
5248
+ this.dashboard_invoiceColumnTitle = "Invoice";
5249
+ /**
5250
+ * Part of the Invoice table displayed at the bottom of the page.
5251
+ * @uiName Date column title
5252
+ * @uiGroup Dashboard Properties
5253
+ */
5254
+ this.dashboard_dateColumnTitle = "Date";
5255
+ /**
5256
+ * Part of the Invoice table displayed at the bottom of the page.
5257
+ * @uiName Earnings column title
5258
+ * @uiGroup Dashboard Properties
5259
+ */
5260
+ this.dashboard_earningsColumnTitle = "Earnings";
5261
+ /**
5262
+ * Part of the Invoice table displayed at the bottom of the page.
5263
+ * @uiName Indirect tax column title
5264
+ * @uiGroup Dashboard Properties
5265
+ */
5266
+ this.dashboard_indirectTaxColumnTitle = "Indirect tax";
5267
+ /**
5268
+ * Displayed under the payout details card.
5269
+ * @uiName Payout from impact text
5270
+ * @uiGroup Dashboard Properties
5271
+ * @uiWidget textArea
5272
+ */
5273
+ this.dashboard_payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
5274
+ /**
5275
+ * Part of the Invoice table displayed at the bottom of the page.
5276
+ * @uiName Earnings after tax column title
5277
+ * @uiGroup Dashboard Properties
5278
+ */
5279
+ this.dashboard_earningsAfterTaxColumnTitle = "Earnings after tax";
5280
+ /**
5281
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5282
+ * @uiName Payout error message title
5283
+ * @uiGroup Dashboard Properties
5284
+ * @uiWidget textArea
5285
+ */
5286
+ this.dashboard_payoutHoldAlertHeader = "Your payout is on hold";
5287
+ /**
5288
+ * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
5289
+ * @uiName Payout error message description
5290
+ * @uiGroup Dashboard Properties
5291
+ * @uiWidget textArea
5292
+ */
5293
+ this.dashboard_payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
5294
+ /**
5295
+ * Text displayed for existing publishers that do not have saved banking information.
5296
+ * @uiName Payout missing information subtext
5297
+ * @uiGroup Dashboard Properties
5298
+ */
5299
+ this.dashboard_payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
5300
+ /**
5301
+ * @uiName Invoice table description
5302
+ * @uiGroup Dashboard Properties
5303
+ */
5304
+ this.dashboard_invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
5305
+ /**
5306
+ * @uiName Invoice table previous page button label
5307
+ * @uiGroup Dashboard Properties
5308
+ */
5309
+ this.dashboard_invoicePrevLabel = "Prev";
5310
+ /**
5311
+ * @uiName Invoice table next page button label
5312
+ * @uiGroup Dashboard Properties
5313
+ */
5314
+ this.dashboard_invoiceMoreLabel = "Next";
5315
+ /**
5316
+ * @uiName Invoice table title
5317
+ * @uiGroup Dashboard Properties
5318
+ */
5319
+ this.dashboard_invoiceHeader = "Invoices";
5320
+ /**
5321
+ * @uiName Empty invoice table header
5322
+ * @uiGroup Dashboard Properties
5323
+ */
5324
+ this.dashboard_invoiceEmptyStateHeader = "View your invoice details";
5325
+ /**
5326
+ * @uiName Empty invoice table description
5327
+ * @uiGroup Dashboard Properties
5328
+ */
5329
+ this.dashboard_invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
5330
+ /**
5331
+ * @uiName Replace tax form modal header
5332
+ * @uiGroup Dashboard Properties
5333
+ */
5334
+ this.dashboard_replaceTaxFormModalHeader = "Replace existing tax form";
5335
+ /**
5336
+ * @uiName Replace tax form modal body text
5337
+ * @uiGroup Dashboard Properties
5338
+ * @uiWidget textArea
5339
+ */
5340
+ 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.";
5341
+ /**
5342
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5343
+ * @uiName Verification required alert message title
5344
+ * @uiGroup Dashboard Properties
5345
+ * @uiWidget textArea
5346
+ */
5347
+ this.dashboard_verificationRequiredHeader = "Verify your identity";
5348
+ /**
5349
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
5350
+ * @uiName Verification required alert message description
5351
+ * @uiGroup Dashboard Properties
5352
+ * @uiWidget textArea
5353
+ */
5354
+ 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}.";
5355
+ /**
5356
+ * @uiName Verification required internal alert header
5357
+ * @uiGroup Dashboard Properties
5358
+ * @uiWidget textArea
5359
+ */
5360
+ this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
5361
+ /**
5362
+ * @uiName Verification required internal alert description
5363
+ * @uiGroup Dashboard Properties
5364
+ * @uiWidget textArea
5365
+ */
5366
+ 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}.";
5367
+ /**
5368
+ * @uiName Verification review internal alert header
5369
+ * @uiGroup Dashboard Properties
5370
+ * @uiWidget textArea
5371
+ */
5372
+ this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
5373
+ /**
5374
+ * @uiName Verification review internal alert description
5375
+ * @uiGroup Dashboard Properties
5376
+ * @uiWidget textArea
5377
+ */
5378
+ 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}.";
5379
+ /**
5380
+ * @uiName Verification failed internal alert header
5381
+ * @uiGroup Dashboard Properties
5382
+ * @uiWidget textArea
5383
+ */
5384
+ this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
5385
+ /**
5386
+ * @uiName Verification failed internal alert description
5387
+ * @uiGroup Dashboard Properties
5388
+ * @uiWidget textArea
5389
+ */
5390
+ 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}.";
5391
+ /**
5392
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
5393
+ * @uiName Verification required alert button text
5394
+ * @uiGroup Dashboard Properties
5395
+ * @uiWidget textArea
5396
+ */
5397
+ this.dashboard_verificationRequiredButtonText = "Start Verification";
5398
+ /**
5399
+ * @uiName W9 payment threshold alert header
5400
+ * @uiGroup Dashboard Properties
5401
+ * @uiWidget textArea
5402
+ */
5403
+ this.dashboard_w9RequiredHeader = "Your next payout is on hold";
5404
+ /**
5405
+ * @uiName W9 payment threshold alert description
5406
+ * @uiGroup Dashboard Properties
5407
+ * @uiWidget textArea
5408
+ */
5409
+ this.dashboard_w9RequiredDescription = "To remove the hold, you need to submit a W9 tax form as outlines in our Terms and Conditions. Please click 'Submit W9' to start the process.";
5410
+ /**
5411
+ * @uiName W9 payment threshold alert button text
5412
+ * @uiGroup Dashboard Properties
5413
+ * @uiWidget textArea
5414
+ */
5415
+ this.dashboard_w9RequiredButtonText = "Submit W9";
5416
+ /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5417
+ GENERAL PROPS:
5418
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
5419
+ /**
5420
+ * @uiName Setup progress
5421
+ * @uiGroup General Form Properties
5422
+ */
5423
+ this.formStep = "Step {step} of {count}";
5424
+ /**
5425
+ * Part of the alert displayed at the top of the page.
5426
+ * @uiName Form submission error message title
5427
+ * @uiGroup General Form Properties
5428
+ * @uiWidget textArea
5429
+ */
5430
+ this.generalErrorTitle = "There was a problem submitting your information";
5431
+ /**
5432
+ * Part of the alert displayed at the top of the page.
5433
+ * @uiName Form submission error message description
5434
+ * @uiGroup General Form Properties
5435
+ * @uiWidget textArea
5436
+ */
5437
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
5438
+ /**
5439
+ * Displayed under a field that is missing required information.
5440
+ * @uiName Empty form field error message
5441
+ * @uiGroup General Form Properties
5442
+ */
5443
+ this.fieldRequiredError = "{fieldName} is required";
5444
+ /**
5445
+ * Displayed under a field that includes invalid characters (non-ASCII).
5446
+ * @uiName Invalid character error message
5447
+ * @uiGroup General Form Properties
3632
5448
  */
3633
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
5449
+ this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
3634
5450
  /**
3635
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
3636
- * @uiName Payout schedule by threshold text
5451
+ * Displayed under a field when it has an invalid entry.
5452
+ * @uiName Form field error message
5453
+ * @uiGroup General Form Properties
3637
5454
  */
3638
- this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
5455
+ this.fieldInvalidError = "{fieldName} is invalid";
3639
5456
  /**
3640
- * Shown before the participant’s bank account information.
3641
- * @uiName Bank account field label
5457
+ * @uiName Continue button label
5458
+ * @uiGroup General Form Properties
3642
5459
  */
3643
- this.accountText = "Account";
5460
+ this.continueButton = "Continue";
3644
5461
  /**
3645
- * Text displayed for existing publishers that do not have saved banking information.
3646
- * @uiName Payout missing information subtext
5462
+ * @uiName Back button label
5463
+ * @uiGroup General Form Properties
3647
5464
  */
3648
- this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
5465
+ this.backButton = "Back";
5466
+ /**
5467
+ * @uiName Cancel button label
5468
+ * @uiGroup General Form Properties
5469
+ */
5470
+ this.cancelButton = "Cancel";
5471
+ /**
5472
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5473
+ * @uiName Participant is a partner alert title
5474
+ * @uiGroup General Form Properties
5475
+ * @uiWidget textArea
5476
+ */
5477
+ this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
5478
+ /**
5479
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
5480
+ * @uiName Participant is a partner alert description
5481
+ * @uiGroup General Form Properties
5482
+ * @uiWidget textArea
5483
+ */
5484
+ 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.";
5485
+ /**
5486
+ * Placeholder text displayed in the country search dropdown
5487
+ * @uiName Country field placeholder text
5488
+ * @uiGroup General Form Properties
5489
+ */
5490
+ this.searchForCountryText = "Search for country..";
5491
+ /**
5492
+ * Part of the alert displayed at the top of the page.
5493
+ * @uiName Page load error message title
5494
+ * @uiGroup General Form Properties
5495
+ * @uiWidget textArea
5496
+ */
5497
+ this.loadingErrorAlertHeader = "There was a problem loading your form";
5498
+ /**
5499
+ * Part of the alert displayed at the top of the page.
5500
+ * @uiName Page load error message description
5501
+ * @uiGroup General Form Properties
5502
+ * @uiWidget textArea
5503
+ */
5504
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
5505
+ /**
5506
+ * Displayed at the top of the page on all set up steps.
5507
+ * @uiName Page description
5508
+ * @uiGroup General Form Properties
5509
+ */
5510
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
3649
5511
  /**
3650
- * @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
5512
+ * Link text for contacting support team
5513
+ * @uiName Suport link text
5514
+ * @uiGroup General Form Properties
3651
5515
  */
3652
- this.stateController = "{}";
3653
- domContextHooks_module.h$1(this);
5516
+ this.supportLink = "support team";
5517
+ stencilHooks_module.h$1(this);
3654
5518
  }
3655
5519
  disconnectedCallback() { }
3656
- getTextProps() {
5520
+ // this field is required prop
5521
+ getGeneralStepTextProps(prefix) {
3657
5522
  const props = utils.getProps(this);
3658
5523
  return {
3659
- ...props,
5524
+ ...extractProps.extractProps(props, prefix),
5525
+ generalErrorTitle: props.generalErrorTitle,
5526
+ generalErrorDescription: props.generalErrorDescription,
5527
+ fieldRequiredError: props.fieldRequiredError,
5528
+ invalidCharacterError: props.invalidCharacterError,
5529
+ fieldInvalidError: props.fieldInvalidError,
5530
+ continueButton: props.continueButton,
5531
+ backButton: props.backButton,
5532
+ cancelButton: props.cancelButton,
5533
+ isPartnerAlertHeader: props.isPartnerAlertHeader,
5534
+ isPartnerAlertDescription: props.isPartnerAlertDescription,
5535
+ loadingErrorAlertHeader: props.loadingErrorAlertHeader,
5536
+ loadingErrorAlertDescription: props.loadingErrorAlertDescription,
5537
+ taxAndPayoutsDescription: props.taxAndPayoutsDescription,
5538
+ searchForCountryText: props.searchForCountryText,
5539
+ formStep: props.formStep,
5540
+ supportLink: props.supportLink,
3660
5541
  };
3661
5542
  }
3662
5543
  render() {
3663
- const props = index_module.isDemo()
3664
- ? useDemoPayoutDetailsCard(this)
3665
- : usePayoutDetailsCard(this);
3666
- return (index.h(index.Host, null, index.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
5544
+ var _a, _b;
5545
+ const props = index_module.isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
5546
+ // @ts-ignore
5547
+ if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
5548
+ const textProps = utils.getProps(this);
5549
+ return (index.h("div", null, (_b = Object.keys(textProps)) === null || _b === void 0 ? void 0 : _b.map((prop) => {
5550
+ if (prop === "demoData")
5551
+ return;
5552
+ return (index.h("div", null, index.h("b", null, prop, ":"), " ", this[prop], index.h("hr", null)));
5553
+ })));
5554
+ }
5555
+ switch (props.step) {
5556
+ case "/1":
5557
+ return (index.h("sqm-user-info-form", Object.assign({}, this.getGeneralStepTextProps("step1_"))));
5558
+ case "/2":
5559
+ return (index.h("sqm-indirect-tax-form", Object.assign({}, this.getGeneralStepTextProps("step2_"))));
5560
+ case "/3":
5561
+ return (index.h("sqm-docusign-form", Object.assign({}, this.getGeneralStepTextProps("step3_"))));
5562
+ case "/4":
5563
+ return (index.h("sqm-banking-info-form", Object.assign({}, this.getGeneralStepTextProps("step4_"))));
5564
+ case "/dashboard":
5565
+ return (index.h("sqm-tax-and-cash-dashboard", Object.assign({}, this.getGeneralStepTextProps("dashboard_"))));
5566
+ case "/error":
5567
+ return (index.h(ErrorView.ErrorView, { loadingErrorAlertHeader: this.loadingErrorAlertHeader, loadingErrorAlertDescription: this.loadingErrorAlertDescription }));
5568
+ }
5569
+ return index.h(sqmInvoiceTableView.LoadingView, null);
3667
5570
  }
3668
5571
  };
3669
- function useDemoPayoutDetailsCard(props) {
5572
+ function useDemoTaxAndCash(props) {
5573
+ const [step, setStep] = index_module.In({
5574
+ namespace: TAX_CONTEXT_NAMESPACE,
5575
+ initialValue: "/1",
5576
+ });
3670
5577
  return cjs.cjs({
3671
- states: {
3672
- loading: false,
3673
- error: false,
3674
- thresholdBalance: "$50",
3675
- mainCurrency: { currencyText: "USD", amountText: "100.00" },
3676
- badgeStatus: "nextPayout",
3677
- payoutType: "BANK_TRANSFER",
3678
- nextPayoutDate: "March 14, 2024",
3679
- paypalEmailAddress: "joesmith@example.com",
3680
- otherCurrencies: false,
3681
- hasW9Pending: false,
3682
- hasDatePending: true,
3683
- cardNumberPreview: "XX2381",
3684
- balance: "20.00 USD",
3685
- },
3686
- text: props.getTextProps(),
5578
+ step,
5579
+ setStep,
3687
5580
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
3688
5581
  }
3689
5582
 
3690
- const style$5 = {
3691
- DangerBadge: {
5583
+ const style$6 = {
5584
+ ErrorAlertContainer: {
5585
+ "&::part(base)": {
5586
+ backgroundColor: "var(--sl-color-red-100)",
5587
+ borderTop: "none",
5588
+ },
5589
+ "& sl-icon::part(base)": {
5590
+ color: "var(--sl-color-danger-500)",
5591
+ },
5592
+ },
5593
+ WarningAlertContainer: {
5594
+ "&::part(base)": {
5595
+ backgroundColor: "var(--sl-color-yellow-100)",
5596
+ borderTop: "none",
5597
+ maxWidth: "600px",
5598
+ },
5599
+ "& sl-icon::part(base)": {
5600
+ color: "var(--sl-color-warning-500)",
5601
+ },
5602
+ },
5603
+ WarningHoldAlertContainer: {
5604
+ marginLeft: "-20px",
3692
5605
  "&::part(base)": {
3693
- backgroundColor: "var(--sqm-danger-color-icon)",
3694
- color: "var(--sl-color-white)",
5606
+ maxWidth: "850px",
5607
+ border: "none",
5608
+ backgroundColor: "transparent",
5609
+ },
5610
+ "& sl-icon::part(base)": {
5611
+ color: "var(--sl-color-warning-500)",
3695
5612
  },
3696
5613
  },
3697
- SuccessBadge: {
5614
+ ErrorHoldAlertContainer: {
5615
+ marginLeft: "-20px",
3698
5616
  "&::part(base)": {
3699
- backgroundColor: "var(--sqm-success-color-icon)",
3700
- color: "var(--sl-color-white)",
5617
+ maxWidth: "850px",
5618
+ border: "none",
5619
+ backgroundColor: "transparent",
5620
+ },
5621
+ "& sl-icon::part(base)": {
5622
+ color: "var(--sl-color-danger-500)",
3701
5623
  },
3702
5624
  },
3703
- WarningBadge: {
5625
+ ExpiringSoonAlertContainer: {
3704
5626
  "&::part(base)": {
3705
- backgroundColor: "var(--sqm-warning-color-icon)",
3706
- color: "var(--sl-color-white)",
5627
+ backgroundColor: "var(--sl-color-yellow-100)",
5628
+ borderTop: "none",
3707
5629
  },
3708
5630
  },
3709
5631
  BankingInformationContainer: {
@@ -3711,7 +5633,7 @@ const style$5 = {
3711
5633
  },
3712
5634
  IndirectTaxPreviewContainer: {
3713
5635
  marginTop: "var(--sl-spacing-x-large)",
3714
- borderTop: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
5636
+ borderTop: "1px solid var(--sl-color-neutral-200)",
3715
5637
  },
3716
5638
  IndirectTaxPreviewHeaderContainer: {
3717
5639
  marginTop: "var(--sl-spacing-large)",
@@ -3720,7 +5642,7 @@ const style$5 = {
3720
5642
  display: "flex",
3721
5643
  gap: "var(--sl-spacing-x-small)",
3722
5644
  "&::part(base)": {
3723
- color: "var(--sqm-success-color-text)",
5645
+ color: "var(--sl-color-green-500)",
3724
5646
  },
3725
5647
  },
3726
5648
  IndirectTaxPreviewDetails: {
@@ -3734,11 +5656,11 @@ const style$5 = {
3734
5656
  marginTop: "var(--sl-spacing-medium)",
3735
5657
  },
3736
5658
  NotRegisteredIndirectTaxText: {
3737
- color: "var(--sqm-text-subdued)",
5659
+ color: "var(--sl-color-gray-500)",
3738
5660
  },
3739
5661
  TaxDocumentsContainer: {
3740
5662
  marginTop: "var(--sl-spacing-xx-large)",
3741
- borderTop: "1px solid var(--sqm-border-color)",
5663
+ borderTop: "1px solid var(--sl-color-neutral-200)",
3742
5664
  },
3743
5665
  TaxDocumentsSectionHeaderContainer: {
3744
5666
  marginTop: "var(--sl-spacing-x-large)",
@@ -3755,7 +5677,7 @@ const style$5 = {
3755
5677
  "& p": {
3756
5678
  margin: "0",
3757
5679
  paddingTop: "2px",
3758
- color: "var(--sqm-text-subdued)",
5680
+ color: "var(--sl-color-gray-500)",
3759
5681
  },
3760
5682
  },
3761
5683
  StatusAlert: {
@@ -3790,7 +5712,7 @@ const style$5 = {
3790
5712
  },
3791
5713
  TaxDocSubtext: {
3792
5714
  margin: "0",
3793
- color: "var(--sqm-text-subdued)",
5715
+ color: "var(--sl-color-neutral-500)",
3794
5716
  lineHeight: "var(--sl-spacing-medium)",
3795
5717
  fontSize: "var(--sl-font-size-small)",
3796
5718
  marginLeft: "1px",
@@ -3811,66 +5733,28 @@ const style$5 = {
3811
5733
  gap: "6px",
3812
5734
  },
3813
5735
  DescriptionText: {
3814
- color: "var(--sqm-text-subdued)",
5736
+ color: "var(--sl-color-gray-500)",
3815
5737
  fontSize: "var(--sl-font-size-x-small)",
3816
5738
  marginBottom: "none",
3817
5739
  maxWidth: "492px",
3818
5740
  },
3819
5741
  PageDescriptionText: {
3820
- color: "var(--sqm-text-subdued)",
5742
+ color: "var(--sl-color-neutral-500)",
3821
5743
  fontSize: "var(--sl-font-size-medium)",
3822
5744
  marginTop: "0",
3823
5745
  },
3824
- WarningButton: {
3825
- "&::part(base)": {
3826
- marginTop: "20px",
3827
- borderColor: "var(--sqm-warning-color-border)",
3828
- color: "var(--sqm-warning-color-text)",
3829
- background: "var(--sqm-warning-color-background)",
3830
- "&:hover": {
3831
- background: "var(--sqm-warning-color-icon)",
3832
- },
3833
- },
3834
- },
3835
- ErrorButton: {
3836
- "&::part(base)": {
3837
- marginTop: "20px",
3838
- borderColor: "var(--sqm-danger-color-border)",
3839
- color: "var(--sqm-danger-color-text)",
3840
- background: "var(--sqm-danger-color-background)",
3841
- "&:hover": {
3842
- background: "var(--sqm-danger-color-icon)",
3843
- },
3844
- },
3845
- },
3846
- SuccessButton: {
3847
- "&::part(base)": {
3848
- marginTop: "20px",
3849
- borderColor: "var(--sqm-success-color-border)",
3850
- color: "var(--sqm-success-color-text)",
3851
- background: "var(--sqm-success-color-background)",
3852
- "&:hover": {
3853
- background: "var(--sqm-success-color-icon)",
3854
- },
3855
- },
3856
- },
3857
5746
  Dialog: {
3858
5747
  "&::part(panel)": {
3859
5748
  maxWidth: "420px",
3860
5749
  },
3861
- "&::part(header)": {
3862
- display: "flex",
3863
- alignItems: "center",
3864
- justifyContent: "center",
3865
- paddingTop: "var(--sl-spacing-large)",
3866
- },
3867
5750
  "&::part(close-button)": {
3868
5751
  marginBottom: "var(--sl-spacing-xx-large)",
3869
5752
  },
3870
5753
  "&::part(title)": {
3871
- fontSize: "var(--sl-font-size-large)",
5754
+ fontSize: "var(--sl-font-size-x-large)",
3872
5755
  fontWeight: "600",
3873
- padding: "0px var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
5756
+ marginTop: "var(--sl-spacing-xxx-large)",
5757
+ padding: "var(--sl-spacing-x-large) var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
3874
5758
  },
3875
5759
  "&::part(body)": {
3876
5760
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -3887,23 +5771,22 @@ const style$5 = {
3887
5771
  },
3888
5772
  DialogButton: { margin: "auto", width: "100%" },
3889
5773
  };
3890
- const vanillaStyle$3 = `
3891
- * {
3892
- font-family: var(--sqm-primary-font);
3893
- }
3894
- a {
3895
- color: inherit;
3896
- text-decoration: underline;
3897
- cursor: pointer;
3898
- }
3899
- `;
3900
- const sheet$4 = JSS.createStyleSheet(style$5);
3901
- const styleString$4 = sheet$4.toString();
5774
+ const sheet$5 = JSS.createStyleSheet(style$6);
5775
+ const styleString$5 = sheet$5.toString();
3902
5776
  const TaxAndCashDashboardView = (props) => {
3903
5777
  var _a;
3904
5778
  const { states, text, callbacks, slots } = props;
3905
5779
  function getAlert(status) {
3906
5780
  switch (status) {
5781
+ case "OVER_W9_THRESHOLD":
5782
+ return {
5783
+ header: text.w9RequiredHeader,
5784
+ description: text.w9RequiredDescription,
5785
+ button: (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
5786
+ alertType: "info",
5787
+ icon: "info-circle",
5788
+ class: sheet$5.classes.WarningHoldAlertContainer,
5789
+ };
3907
5790
  case "VERIFICATION:REQUIRED":
3908
5791
  return {
3909
5792
  header: text.verificationRequiredHeader,
@@ -3915,6 +5798,8 @@ const TaxAndCashDashboardView = (props) => {
3915
5798
  }),
3916
5799
  buttonText: text.verificationRequiredButtonText,
3917
5800
  alertType: "warning",
5801
+ icon: "exclamation-triangle",
5802
+ class: sheet$5.classes.WarningHoldAlertContainer,
3918
5803
  };
3919
5804
  case "VERIFICATION:INTERNAL":
3920
5805
  return {
@@ -3926,6 +5811,8 @@ const TaxAndCashDashboardView = (props) => {
3926
5811
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3927
5812
  }),
3928
5813
  alertType: "warning",
5814
+ icon: "exclamation-triangle",
5815
+ class: sheet$5.classes.WarningHoldAlertContainer,
3929
5816
  };
3930
5817
  case "VERIFICATION:REVIEW":
3931
5818
  return {
@@ -3937,6 +5824,8 @@ const TaxAndCashDashboardView = (props) => {
3937
5824
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3938
5825
  }),
3939
5826
  alertType: "warning",
5827
+ icon: "exclamation-triangle",
5828
+ class: sheet$5.classes.WarningHoldAlertContainer,
3940
5829
  };
3941
5830
  case "VERIFICATION:FAILED":
3942
5831
  return {
@@ -3947,7 +5836,9 @@ const TaxAndCashDashboardView = (props) => {
3947
5836
  }, {
3948
5837
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3949
5838
  }),
3950
- alertType: "error",
5839
+ alertType: "critical",
5840
+ icon: "exclamation-octagon",
5841
+ class: sheet$5.classes.ErrorHoldAlertContainer,
3951
5842
  };
3952
5843
  case "HOLD":
3953
5844
  return {
@@ -3960,22 +5851,24 @@ const TaxAndCashDashboardView = (props) => {
3960
5851
  }),
3961
5852
  buttonText: null,
3962
5853
  alertType: "warning",
5854
+ icon: "exclamation-triangle",
5855
+ class: sheet$5.classes.WarningHoldAlertContainer,
3963
5856
  };
3964
5857
  default:
3965
5858
  return;
3966
5859
  }
3967
5860
  }
3968
5861
  const statusMap = {
3969
- NOT_VERIFIED: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3970
- index.h("sl-badge", { class: sheet$4.classes.WarningBadge, type: "warning", pill: true }, text.statusTextNotVerified),
5862
+ NOT_VERIFIED: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5863
+ index.h("sl-badge", { type: "warning", pill: true }, text.statusTextNotVerified),
3971
5864
  index.h("p", null, global.intl.formatMessage({
3972
5865
  id: `badgeTextAwaitingReview`,
3973
5866
  defaultMessage: text.badgeTextAwaitingReview,
3974
5867
  }, {
3975
5868
  dateSubmitted: states.dateSubmitted,
3976
5869
  })))),
3977
- ACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3978
- index.h("sl-badge", { class: sheet$4.classes.SuccessBadge, type: "success", pill: true }, text.statusTextActive),
5870
+ ACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5871
+ index.h("sl-badge", { type: "success", pill: true }, text.statusTextActive),
3979
5872
  index.h("p", null, global.intl.formatMessage({
3980
5873
  id: `badgeTextSubmittedOn`,
3981
5874
  defaultMessage: states.documentType === "W9"
@@ -3984,13 +5877,22 @@ const TaxAndCashDashboardView = (props) => {
3984
5877
  }, {
3985
5878
  dateSubmitted: states.dateSubmitted,
3986
5879
  })))),
3987
- INACTIVE: (index.h("div", { class: sheet$4.classes.TaxFormDetailsContainer },
3988
- index.h("sl-badge", { class: sheet$4.classes.DangerBadge, type: "danger", pill: true }, text.statusTextNotActive),
5880
+ INACTIVE: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5881
+ index.h("sl-badge", { type: "danger", pill: true }, text.statusTextNotActive),
3989
5882
  index.h("p", null, text.invalidForm))),
5883
+ undefined: (index.h("div", { class: sheet$5.classes.TaxFormDetailsContainer },
5884
+ index.h("sl-badge", { type: "danger", pill: true }, text.statusTextRequired),
5885
+ index.h("p", null, global.intl.formatMessage({
5886
+ id: `requiredTaxForm`,
5887
+ defaultMessage: text.requiredTaxForm,
5888
+ }, {
5889
+ taxFormType: states.documentType,
5890
+ })))),
3990
5891
  };
3991
5892
  const alertMap = {
3992
- INACTIVE: (index.h("sqm-form-message", { type: "error" },
3993
- index.h("p", { part: "alert-title" }, global.intl.formatMessage({
5893
+ INACTIVE: (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5894
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5895
+ index.h("strong", null, global.intl.formatMessage({
3994
5896
  id: `taxAlertHeaderNotActive`,
3995
5897
  defaultMessage: states.documentType === "W9"
3996
5898
  ? text.taxAlertHeaderNotActiveW9
@@ -3998,6 +5900,7 @@ const TaxAndCashDashboardView = (props) => {
3998
5900
  }, {
3999
5901
  documentType: states.documentTypeString,
4000
5902
  })),
5903
+ index.h("br", null),
4001
5904
  global.intl.formatMessage({
4002
5905
  id: `taxAlertMessage`,
4003
5906
  defaultMessage: states.documentType === "W9"
@@ -4035,74 +5938,78 @@ const TaxAndCashDashboardView = (props) => {
4035
5938
  });
4036
5939
  }
4037
5940
  };
4038
- const alert = getAlert(states.payoutStatus);
5941
+ const alertInfo = getAlert(states.payoutStatus);
4039
5942
  return (index.h("div", null,
4040
5943
  index.h("div", null,
4041
- index.h("style", { type: "text/css" }, styleString$4),
4042
- index.h("style", { type: "text/css" }, vanillaStyle$3),
4043
- states.loadingError && (index.h("sqm-form-message", { type: "error" },
4044
- index.h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
4045
- global.intl.formatMessage({
4046
- id: "loadingErrorAlertDescription",
4047
- defaultMessage: text.error.loadingErrorAlertDescription,
4048
- }, {
4049
- supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4050
- }))),
4051
- ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sqm-form-message", { type: "error" },
4052
- index.h("p", { part: "alert-title" }, text.error.generalTitle),
5944
+ index.h("style", { type: "text/css" }, styleString$5),
5945
+ states.loadingError && (index.h("div", null,
5946
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5947
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5948
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
5949
+ index.h("br", null),
5950
+ global.intl.formatMessage({
5951
+ id: "loadingErrorAlertDescription",
5952
+ defaultMessage: text.error.loadingErrorAlertDescription,
5953
+ }, {
5954
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5955
+ })))),
5956
+ ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$5.classes.ErrorAlertContainer },
5957
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
5958
+ index.h("strong", null, text.error.generalTitle),
5959
+ index.h("br", null),
4053
5960
  global.intl.formatMessage({
4054
5961
  id: "generalDescription",
4055
5962
  defaultMessage: text.error.generalDescription,
4056
5963
  }, {
4057
5964
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4058
5965
  }))),
4059
- alert && (index.h("sqm-form-message", { type: alert.alertType },
4060
- index.h("p", { part: "alert-title" }, alert.header),
4061
- index.h("p", { part: "alert-description" }, alert.description),
4062
- alert.buttonText && (index.h("sl-button", { class: sheet$4.classes[`${utils.capitalizeFirstLetter(alert.alertType)}Button`], loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alert.buttonText)))),
4063
- index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$4.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
5966
+ alertInfo && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
5967
+ index.h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
5968
+ index.h("strong", null, alertInfo.header),
5969
+ index.h("p", { style: { margin: "0" } }, alertInfo.description),
5970
+ alertInfo.buttonText && (index.h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
5971
+ alertInfo.button ? (alertInfo.button) : (index.h("div", { style: { display: "none" } })))),
5972
+ index.h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet$5.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
4064
5973
  index.h("p", null, text.replaceTaxFormModalBodyText),
4065
- index.h("sl-button", { slot: "footer", type: "primary", exportparts: "base: primarybutton-base", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
4066
- index.h("sl-button", { slot: "footer", type: "secondary", exportparts: "base: secondarybutton-base", class: sheet$4.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
5974
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
5975
+ index.h("sl-button", { slot: "footer", type: "default", class: sheet$5.classes.DialogButton, onClick: callbacks.onNewFormCancel }, text.cancelButton)),
4067
5976
  states.status === "INACTIVE" && alertMap[states.status],
4068
5977
  index.h("div", null,
4069
5978
  index.h("h3", { style: { marginBottom: "0" } }, text.bankingInformationSectionHeader),
4070
- index.h("p", { class: sheet$4.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
4071
- index.h("div", { class: sheet$4.classes.BankingInformationContainer },
5979
+ index.h("p", { class: sheet$5.classes.PageDescriptionText }, text.taxAndPayoutsDescription),
5980
+ index.h("div", { class: sheet$5.classes.BankingInformationContainer },
4072
5981
  slots.payoutDetailsCardSlot,
4073
- !states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
4074
- states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4075
- index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
4076
- index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4077
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4078
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null, states.noFormNeeded ? (index.h("div", null,
4079
- index.h("h3", { class: sheet$4.classes.TaxDocumentsSectionHeaderContainer }, text.taxDocumentSectionHeader),
4080
- index.h("p", { class: sheet$4.classes.TaxDocSubtext }, text.noFormNeededSubtext))) : (index.h("div", null,
4081
- index.h("span", { class: sheet$4.classes.TaxFormDetailsContainer },
4082
- index.h("div", { class: sheet$4.classes.StatusContainer },
5982
+ !states.loading && (index.h("p", { class: sheet$5.classes.DescriptionText }, text.payoutFromImpact)),
5983
+ states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$5.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
5984
+ index.h("div", { class: sheet$5.classes.TaxDocumentsContainer },
5985
+ index.h("div", null, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5986
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
5987
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null, !states.noFormNeeded && (index.h("div", null,
5988
+ index.h("span", { class: sheet$5.classes.TaxFormDetailsContainer },
5989
+ index.h("div", { class: sheet$5.classes.StatusContainer },
4083
5990
  index.h("h3", null, global.intl.formatMessage({
4084
5991
  id: "section-subheader",
4085
5992
  defaultMessage: text.taxDocumentSectionSubHeader,
4086
5993
  }, {
4087
5994
  documentType: states.documentTypeString,
4088
5995
  })),
4089
- index.h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
4090
- states.status !== "NOT_VERIFIED" && (index.h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "primary", exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
4091
- index.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4092
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4093
- index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null,
4094
- index.h("h3", { class: sheet$4.classes.IndirectTaxPreviewHeaderContainer },
5996
+ index.h("span", { class: sheet$5.classes.StatusAlert }, statusMap[states.status]))),
5997
+ states.status !== "NOT_VERIFIED" && (index.h("sl-button", { disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "default", class: sheet$5.classes.NewFormButton, exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
5998
+ index.h("div", { class: sheet$5.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$5.classes.TaxSectionSkeletonContainer },
5999
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonOne }),
6000
+ index.h("sl-skeleton", { class: sheet$5.classes.SkeletonTwo }))) : (index.h("div", null,
6001
+ index.h("h3", { class: sheet$5.classes.IndirectTaxPreviewHeaderContainer },
4095
6002
  text.indirectTaxInfoSectionHeader,
4096
- index.h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
4097
- index.h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
4098
- index.h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
4099
- index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, global.intl.formatMessage({
6003
+ index.h("sl-tooltip", { trigger: "hover", placement: "right", content: text.indirectTaxTooltipSupport, class: sheet$5.classes.TooltipContainer },
6004
+ index.h("sl-icon", { name: "info-circle", class: sheet$5.classes.ToolTip }))),
6005
+ index.h("div", { class: sheet$5.classes.IndirectTaxPreviewDetails },
6006
+ index.h("span", null, states.notRegistered ? (index.h("span", { class: sheet$5.classes.NotRegisteredIndirectTaxText }, global.intl.formatMessage({
4100
6007
  id: "notRegisteredForTax",
4101
6008
  defaultMessage: text.notRegisteredForTax,
4102
6009
  }, {
4103
6010
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4104
6011
  }))) : (getIndirectTaxRegisteredIn())),
4105
- !states.notRegistered && (index.h("div", { class: sheet$4.classes.TaxNumberContainer },
6012
+ !states.notRegistered && (index.h("div", { class: sheet$5.classes.TaxNumberContainer },
4106
6013
  index.h("span", null, global.intl.formatMessage({
4107
6014
  id: `indirectTaxDetails`,
4108
6015
  defaultMessage: text.indirectTaxDetails,
@@ -4125,7 +6032,7 @@ const TaxAndCashDashboardView = (props) => {
4125
6032
  }, {
4126
6033
  subRegionTaxNumber: states.subRegionTaxNumber,
4127
6034
  })))),
4128
- !states.notRegistered && (index.h("div", { class: sheet$4.classes.InvoiceTableContainer },
6035
+ !states.notRegistered && (index.h("div", { class: sheet$5.classes.InvoiceTableContainer },
4129
6036
  index.h("sqm-invoice-table", { description: text.invoiceDescription, "prev-label": text.invoicePrevLabel, "more-label": text.invoiceMoreLabel, header: text.invoiceHeader, "empty-state-header": text.invoiceEmptyStateHeader, "empty-state-text": text.invoiceEmptyStateText },
4130
6037
  index.h("sqm-invoice-table-download-column", null),
4131
6038
  index.h("sqm-invoice-table-date-column", { "column-title": text.dateColumnTitle }),
@@ -4149,12 +6056,12 @@ function getSubRegionName(regionCode) {
4149
6056
  return "";
4150
6057
  // Impact adds an underscore to some regions
4151
6058
  const standardCode = regionCode.replace("_", "");
4152
- const regions = [...IndirectTaxDetailsView.INDIRECT_TAX_PROVINCES, ...IndirectTaxDetailsView.INDIRECT_TAX_SPAIN_REGIONS];
6059
+ const regions = [...sqmInvoiceTableView.INDIRECT_TAX_PROVINCES, ...sqmInvoiceTableView.INDIRECT_TAX_SPAIN_REGIONS];
4153
6060
  return (_a = regions.find((r) => r.regionCode === standardCode)) === null || _a === void 0 ? void 0 : _a.displayName;
4154
6061
  }
4155
6062
  function getIndirectTaxType(taxInformation) {
4156
6063
  var _a;
4157
- const regions = [...IndirectTaxDetailsView.INDIRECT_TAX_PROVINCES, ...IndirectTaxDetailsView.INDIRECT_TAX_SPAIN_REGIONS];
6064
+ const regions = [...sqmInvoiceTableView.INDIRECT_TAX_PROVINCES, ...sqmInvoiceTableView.INDIRECT_TAX_SPAIN_REGIONS];
4158
6065
  if (taxInformation === null || taxInformation === void 0 ? void 0 : taxInformation.indirectTaxRegion) {
4159
6066
  const standardRegion = taxInformation.indirectTaxRegion.replace("_", "");
4160
6067
  const taxType = (_a = regions.find((r) => r.regionCode === standardRegion)) === null || _a === void 0 ? void 0 : _a.taxType;
@@ -4165,23 +6072,23 @@ function getIndirectTaxType(taxInformation) {
4165
6072
  if (taxInformation === null || taxInformation === void 0 ? void 0 : taxInformation.withholdingTaxCountryCode)
4166
6073
  return "VAT";
4167
6074
  if (taxInformation === null || taxInformation === void 0 ? void 0 : taxInformation.indirectTaxCountryCode) {
4168
- return IndirectTaxDetailsView.vatLabels[taxInformation.indirectTaxCountryCode] || "Indirect Tax";
6075
+ return sqmInvoiceTableView.vatLabels[taxInformation.indirectTaxCountryCode] || "Indirect Tax";
4169
6076
  }
4170
6077
  return "Indirect Tax";
4171
6078
  }
4172
6079
  const useTaxAndCashDashboard = (props) => {
4173
6080
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
4174
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
4175
- const setContext = index_module.En(data.TAX_FORM_CONTEXT_NAMESPACE);
4176
- const [showDialog, setShowDialog] = domContextHooks_module.useState(false);
6081
+ const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
6082
+ const setContext = index_module.En(TAX_FORM_CONTEXT_NAMESPACE);
6083
+ const [showDialog, setShowDialog] = stencilHooks_module.useState(false);
4177
6084
  const { render, loading: veriffLoading, errors: veriffErrors, } = usePayoutStatus.useVeriffApp();
4178
6085
  const locale = index_module.L();
4179
- domContextHooks_module.useEffect(() => {
6086
+ stencilHooks_module.useEffect(() => {
4180
6087
  // Clear override context once on submitted
4181
6088
  setContext({});
4182
6089
  }, []);
4183
- const { data: data$1, loading, errors: userError, refetch, } = index_module.$n(data.USER_QUERY_NAMESPACE);
4184
- const publisher = (_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;
6090
+ const { data, loading, errors: userError, refetch, } = index_module.$n(USER_QUERY_NAMESPACE);
6091
+ const publisher = (_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;
4185
6092
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
4186
6093
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
4187
6094
  const dateSubmitted = submissionDate
@@ -4204,9 +6111,9 @@ const useTaxAndCashDashboard = (props) => {
4204
6111
  });
4205
6112
  setStep("/3");
4206
6113
  };
4207
- const provinceName = (_d = IndirectTaxDetailsView.INDIRECT_TAX_PROVINCES.find((p) => { var _a; return p.regionCode === ((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxRegion); })) === null || _d === void 0 ? void 0 : _d.displayName;
4208
- const payoutStatus = data$1 ? usePayoutStatus.getStatus(data$1) : null;
4209
- domContextHooks_module.useEffect(() => {
6114
+ const provinceName = (_d = sqmInvoiceTableView.INDIRECT_TAX_PROVINCES.find((p) => { var _a; return p.regionCode === ((_a = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _a === void 0 ? void 0 : _a.indirectTaxRegion); })) === null || _d === void 0 ? void 0 : _d.displayName;
6115
+ const payoutStatus = data ? usePayoutStatus.getStatus(data) : null;
6116
+ stencilHooks_module.useEffect(() => {
4210
6117
  const cb = () => refetch();
4211
6118
  window.addEventListener(usePayoutStatus.VERIFF_COMPLETE_EVENT_KEY, cb);
4212
6119
  return () => {
@@ -4218,7 +6125,7 @@ const useTaxAndCashDashboard = (props) => {
4218
6125
  dateSubmitted,
4219
6126
  documentType,
4220
6127
  canEditPayoutInfo: publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup,
4221
- documentTypeString: utils$1.taxTypeToName(documentType),
6128
+ documentTypeString: sqmInvoiceTableView.taxTypeToName(documentType),
4222
6129
  status: (_e = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _e === void 0 ? void 0 : _e.status,
4223
6130
  subRegion: getSubRegionName((_f = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _f === void 0 ? void 0 : _f.indirectTaxRegion),
4224
6131
  subRegionTaxNumber: (_g = publisher === null || publisher === void 0 ? void 0 : publisher.taxInformation) === null || _g === void 0 ? void 0 : _g.withholdingTaxId,
@@ -4266,6 +6173,18 @@ const TaxAndCashDashboard = class {
4266
6173
  * @uiName Not verified tax form badge label
4267
6174
  */
4268
6175
  this.statusTextNotVerified = "Not Verified";
6176
+ /**
6177
+ * Displayed when the participant has not submitted their required tax form.
6178
+ *
6179
+ * @uiName Required tax form badge label
6180
+ */
6181
+ this.statusTextRequired = "Required";
6182
+ /**
6183
+ * Additional text displayed next to the tax form's status badge
6184
+ *
6185
+ * @uiName Required tax form description
6186
+ */
6187
+ this.requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
4269
6188
  /**
4270
6189
  * Additional text displayed next to the tax form's status badge
4271
6190
  *
@@ -4332,13 +6251,6 @@ const TaxAndCashDashboard = class {
4332
6251
  * @uiName Tax documents section description
4333
6252
  */
4334
6253
  this.taxDocumentSectionSubHeader = "{documentType} tax form";
4335
- /**
4336
- * No other statuses or badges will be displayed in the tax form section in this case.
4337
- *
4338
- * @uiName Tax form not required text
4339
- * @uiWidget textArea
4340
- */
4341
- this.noFormNeededSubtext = "Tax documents are only required if you are based in the US or joining the referral program of a US based brand.";
4342
6254
  /**
4343
6255
  *
4344
6256
  * @uiName Indirect tax section header
@@ -4468,6 +6380,18 @@ const TaxAndCashDashboard = class {
4468
6380
  * @uiName Verification required alert button text
4469
6381
  */
4470
6382
  this.verificationRequiredButtonText = "Start Verification";
6383
+ /**
6384
+ * @uiName W9 payment threshold alert header
6385
+ */
6386
+ this.w9RequiredHeader = "Your next payout is on hold";
6387
+ /**
6388
+ * @uiName W9 payment threshold alert description
6389
+ */
6390
+ this.w9RequiredDescription = "To remove the hold, you need to submit a W9 tax form as outlines in our Terms and Conditions. Please click 'Submit W9' to start the process.";
6391
+ /**
6392
+ * @uiName W9 payment threshold alert button text
6393
+ */
6394
+ this.w9RequiredButtonText = "Submit W9";
4471
6395
  /**
4472
6396
  * Part of the alert displayed at the top of the page.
4473
6397
  * @uiName Form submission error message title
@@ -4556,12 +6480,7 @@ const TaxAndCashDashboard = class {
4556
6480
  * @uiName Cancel button label
4557
6481
  */
4558
6482
  this.cancelButton = "Cancel";
4559
- /**
4560
- * @undocumented
4561
- * @componentState { "title": "Payouts on hold", "props": { "payoutStatus": "HOLD" }, "uiGroup": "Dashboard Properties" }
4562
- */
4563
- this.stateController = "{}";
4564
- domContextHooks_module.h$1(this);
6483
+ stencilHooks_module.h$1(this);
4565
6484
  }
4566
6485
  disconnectedCallback() { }
4567
6486
  getTextProps() {
@@ -4586,31 +6505,23 @@ const TaxAndCashDashboard = class {
4586
6505
  }
4587
6506
  };
4588
6507
  function useDemoTaxAndCashDashboard(props) {
4589
- // @ts-ignore
4590
6508
  return cjs.cjs({
4591
6509
  states: {
4592
6510
  dateSubmitted: "today",
4593
6511
  documentType: "W9",
4594
6512
  documentTypeString: "W9",
6513
+ status: "ACTIVE",
4595
6514
  country: "United States",
4596
- indirectTaxNumber: "55555555",
6515
+ indirectTaxNumber: 55555555,
4597
6516
  indirectTaxType: "Indirect Tax",
4598
- noFormNeeded: false,
6517
+ noFormNeeded: true,
4599
6518
  disabled: false,
4600
6519
  loading: false,
4601
6520
  showNewFormDialog: false,
4602
6521
  hasHold: false,
4603
- subRegion: "CA",
4604
- subRegionTaxNumber: undefined,
4605
- qstNumber: undefined,
4606
- isBusinessEntity: false,
4607
- province: undefined,
4608
- notRegistered: true,
4609
- loadingError: false,
6522
+ showVerifyIdentity: false,
4610
6523
  payoutStatus: "DONE",
4611
6524
  veriffLoading: false,
4612
- canEditPayoutInfo: true,
4613
- status: "ACTIVE",
4614
6525
  },
4615
6526
  callbacks: {
4616
6527
  onClick: () => console.debug("check step"),
@@ -4620,14 +6531,7 @@ function useDemoTaxAndCashDashboard(props) {
4620
6531
  onVerifyClick: () => console.log("verify"),
4621
6532
  },
4622
6533
  text: props.getTextProps(),
4623
- slots: {
4624
- payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { demoData: {
4625
- states: {
4626
- badgeStatus: "nextPayout",
4627
- },
4628
- } })),
4629
- },
4630
- }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
6534
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
4631
6535
  }
4632
6536
 
4633
6537
  const PHONE_EXTENSIONS = {
@@ -5601,19 +7505,19 @@ const PHONE_EXTENSIONS = {
5601
7505
  },
5602
7506
  };
5603
7507
 
5604
- const style$6 = {
7508
+ const style$7 = {
5605
7509
  FormWrapper: {},
5606
7510
  ErrorInput: {
5607
7511
  "&::part(base)": {
5608
- border: "var(--sqm-border-thickness, 1px) solid var(--sqm-danger-color-icon)",
7512
+ border: "1px solid var(--sl-color-danger-500)",
5609
7513
  borderRadius: "var(--sl-input-border-radius-medium)",
5610
7514
  },
5611
7515
  "&::part(help-text)": {
5612
- color: "var(--sqm-danger-color-icon)",
7516
+ color: "var(--sl-color-danger-500)",
5613
7517
  },
5614
7518
  },
5615
7519
  ErrorText: {
5616
- color: "var(--sqm-danger-color-icon)",
7520
+ color: "var(--sl-color-danger-500)",
5617
7521
  marginTop: "10px",
5618
7522
  },
5619
7523
  TextContainer: {
@@ -5644,6 +7548,9 @@ const style$6 = {
5644
7548
  justifyContent: "flex-start",
5645
7549
  flexDirection: "column",
5646
7550
  },
7551
+ DescriptionText: {
7552
+ color: "var(--sl-color-neutral-500)",
7553
+ },
5647
7554
  BoldText: {
5648
7555
  fontWeight: "bold",
5649
7556
  },
@@ -5652,8 +7559,28 @@ const style$6 = {
5652
7559
  borderRadius: "50%",
5653
7560
  },
5654
7561
  },
7562
+ AlertContainer: {
7563
+ "&::part(base)": {
7564
+ backgroundColor: "var(--sl-color-red-100)",
7565
+ borderTop: "none",
7566
+ padding: "0 16px",
7567
+ },
7568
+ "& sl-icon::part(base)": {
7569
+ color: "var(--sl-color-danger-500)",
7570
+ },
7571
+ },
7572
+ PartnerAlertContainer: {
7573
+ "&::part(base)": {
7574
+ backgroundColor: "var(--sl-color-sky-100)",
7575
+ borderTop: "none",
7576
+ padding: "0 16px",
7577
+ },
7578
+ "& sl-icon::part(base)": {
7579
+ color: "var(--sl-color-blue-500)",
7580
+ },
7581
+ },
5655
7582
  PageDescriptionText: {
5656
- color: "var(--sqm-text-subdued)",
7583
+ color: "var(--sl-color-neutral-500)",
5657
7584
  fontSize: "var(--sl-font-size-medium)",
5658
7585
  },
5659
7586
  PhoneInputsSection: {
@@ -5676,8 +7603,8 @@ const style$6 = {
5676
7603
  },
5677
7604
  },
5678
7605
  };
5679
- const sheet$5 = JSS.createStyleSheet(style$6);
5680
- const styleString$5 = sheet$5.toString();
7606
+ const sheet$6 = JSS.createStyleSheet(style$7);
7607
+ const styleString$6 = sheet$6.toString();
5681
7608
  const vanillaStyle$4 = `
5682
7609
  :host{
5683
7610
  display: block;
@@ -5687,15 +7614,11 @@ const vanillaStyle$4 = `
5687
7614
  padding: 0;
5688
7615
  box-sizing: border-box;
5689
7616
  }
5690
- a {
5691
- color: var(--sqm-text);
5692
- color: inherit !important;
5693
- text-decoration: underline;
5694
- }
5695
7617
 
5696
7618
  p {
5697
7619
  line-height: 18px;
5698
- font-size: var(--sl-font-size-small);
7620
+ color: var(--sl-color-gray-800);
7621
+ font-size: var(--sl-font-size-small);
5699
7622
  }
5700
7623
 
5701
7624
  sl-radio-group::part(base) {
@@ -5706,149 +7629,11 @@ const vanillaStyle$4 = `
5706
7629
  sl-select#phoneNumberCountryCode::part(menu) {
5707
7630
  min-width: 250px;
5708
7631
  }
5709
-
5710
- sl-button[type="primary"]::part(base){
5711
- background-color: var(--sqm-primary-button-background);
5712
- color: var(--sqm-primary-button-color);
5713
- border-color: var(--sqm-primary-button-color-border);
5714
- border-radius: var(--sqm-primary-button-radius);
5715
- }
5716
-
5717
- sl-button[type="primary"]::part(base):hover{
5718
- background-color: var(--sqm-primary-button-background-hover);
5719
- }
5720
-
5721
- sl-button[type="primary"]::part(base):focus{
5722
- box-shadow: none;
5723
- }
5724
-
5725
- sl-button[type="secondary"]::part(base){
5726
- background-color: var(--sqm-secondary-button-background);
5727
- color: var(--sqm-secondary-button-color);
5728
- border-color: var(--sqm-secondary-button-color-border);
5729
- border-radius: var(--sqm-secondary-button-radius);
5730
- }
5731
-
5732
- sl-button[type="secondary"]::part(base):hover{
5733
- background-color: var(--sqm-secondary-button-background-hover);
5734
- }
5735
-
5736
-
5737
-
5738
- *::part(primarybutton-base){
5739
- background-color: var(--sqm-primary-button-background);
5740
- color: var(--sqm-primary-button-color);
5741
- border-color: var(--sqm-primary-button-color-border);
5742
- border-radius: var(--sqm-primary-button-radius);
5743
- }
5744
-
5745
- *::part(primarybutton-base):hover{
5746
- background-color: var(--sqm-primary-button-background-hover);
5747
- }
5748
-
5749
- *::part(primarybutton-base):focus{
5750
- box-shadow: none;
5751
- }
5752
-
5753
- *::part(secondarybutton-base){
5754
- background-color: var(--sqm-secondary-button-background);
5755
- color: var(--sqm-secondary-button-color);
5756
- border-color: var(--sqm-secondary-button-color-border);
5757
- border-radius: var(--sqm-secondary-button-radius);
5758
- }
5759
-
5760
- *::part(secondarybutton-base):hover{
5761
- background-color: var(--sqm-secondary-button-background-hover);
5762
- }
5763
-
5764
- *::part(secondarybutton-base){
5765
- background-color: var(--sqm-secondary-button-background);
5766
- color: var(--sqm-secondary-button-color);
5767
- border-color: var(--sqm-secondary-button-color-border);
5768
- border-radius: var(--sqm-secondary-button-radius);
5769
- width: max-content;
5770
- display: flex;
5771
- margin: auto;
5772
- }
5773
-
5774
- *::part(secondarybutton-base):hover{
5775
- background: var(--sqm-secondary-button-background-hover);
5776
- }
5777
-
5778
- sl-input::part(label),
5779
- sl-select::part(label),
5780
- sl-textarea::part(label){
5781
- font-size: var(--sqm-input-label-font-size, var(--sl-input-font-size-small));
5782
- font-weight: var(--sl-font-weight-semibold);
5783
- color: var(--sqm-input-label-color, var(--sqm-text), black);
5784
- }
5785
-
5786
- /* Corrected: Target sl-input, sl-select, sl-textarea base elements */
5787
- sl-input::part(base),
5788
- sl-dropdown::part(base),
5789
- sl-textarea::part(base){
5790
- background-color: var(--sqm-input-background, #fff);
5791
- border-radius: var(--sqm-input-border-radius, var(--sl-input-border-radius-large), 0.25rem);
5792
- color: var(--sqm-input-color, white);
5793
- border-width: var(--sqm-border-thickness, 1px);
5794
- border-style: solid;
5795
- border-color: var(--sqm-input-border-color, #ccc);
5796
- }
5797
-
5798
-
5799
- sl-select::part(menu) {
5800
- background: var(--sqm-input-background, inherit);
5801
- color: var(--sqm-input-color, inherit);
5802
- border:none;
5803
- }
5804
-
5805
- sl-select::part(panel) {
5806
- border-radius: var(--sqm-border-radius-normal);
5807
- }
5808
-
5809
- sl-select::part(help-text) {
5810
- color: var(--sqm-text-subdued, var(--sl-input-help-text-color, #6c757d));
5811
- }
5812
-
5813
- sl-input::part(base):focus,
5814
- sl-select::part(base):focus, /* Corrected part name for sl-select */
5815
- sl-textarea::part(base):focus { /* Corrected part name for sl-textarea */
5816
- border: var(--sqm-input-focus-border, 1px solid var(--sl-input-border-color-focus, #007bff)); /* Added fallback for --sl-input-border-color-focus */
5817
- }
5818
-
5819
- sl-input[disabled]::part(label),
5820
- sl-select[disabled]::part(label),
5821
- sl-textarea[disabled]::part(label){
5822
- color: var(--sqm-input-disabled-color, var(--sl-color-gray-600));
5823
- }
5824
-
5825
- sl-input[disabled]::part(base),
5826
- sl-select[disabled]::part(base),
5827
- sl-textarea[disabled]::part(base){
5828
- background: var(--sqm-input-disabled-background, #f5f5f5);
5829
- border-color: var(--sl-input-border-color-disabled, #e0e0e0); /* Example disabled border color */
5830
- }
5831
-
5832
-
5833
- sl-input::part(input):-webkit-autofill {
5834
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5835
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5836
- }
5837
-
5838
- sl-input::part(input):-webkit-autofill:hover {
5839
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5840
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5841
- }
5842
-
5843
- sl-input::part(input):-webkit-autofill:focus {
5844
- box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5845
- -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5846
- }
5847
- `;
7632
+ `;
5848
7633
  const UserInfoFormView = (props) => {
5849
7634
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
5850
- const { states, states: { formState }, callbacks, text, refs, data: data$1, } = props;
5851
- const { classes } = sheet$5;
7635
+ const { states, states: { formState }, callbacks, text, refs, data, } = props;
7636
+ const { classes } = sheet$6;
5852
7637
  const bankingCollectionText = global.intl.formatMessage({
5853
7638
  id: "bankingCollectionText",
5854
7639
  defaultMessage: text.allowBankingCollection,
@@ -5856,7 +7641,7 @@ const UserInfoFormView = (props) => {
5856
7641
  termsAndConditionsLink: (index.h("a", { href: text.termsAndConditionsLink, target: "_blank" }, text.termsAndConditionsLabel)),
5857
7642
  });
5858
7643
  let regionLabel = undefined;
5859
- switch (data$1.regionLabelEnum) {
7644
+ switch (data.regionLabelEnum) {
5860
7645
  case "STATE":
5861
7646
  regionLabel = text.state;
5862
7647
  break;
@@ -5871,58 +7656,65 @@ const UserInfoFormView = (props) => {
5871
7656
  }
5872
7657
  return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
5873
7658
  index.h("style", { type: "text/css" },
5874
- styleString$5,
7659
+ styleString$6,
5875
7660
  vanillaStyle$4),
5876
7661
  states.loadingError && (index.h("div", null,
5877
- index.h("sqm-form-message", { type: "error" },
5878
- index.h("p", { part: "alert-title" }, text.error.loadingErrorAlertHeader),
5879
- index.h("p", { part: "alert-description" }, global.intl.formatMessage({
7662
+ index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet$6.classes.AlertContainer },
7663
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7664
+ index.h("strong", null, text.error.loadingErrorAlertHeader),
7665
+ index.h("br", null),
7666
+ global.intl.formatMessage({
5880
7667
  id: "loadingErrorAlertDescription",
5881
7668
  defaultMessage: text.error.loadingErrorAlertDescription,
5882
7669
  }, {
5883
7670
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5884
- }))))),
5885
- states.loading ? (index.h(utils$1.LoadingView, null)) : (index.h("div", null,
7671
+ })),
7672
+ index.h("br", null))),
7673
+ states.loading ? (index.h(sqmInvoiceTableView.GeneralLoadingView, null)) : (index.h("div", null,
5886
7674
  index.h("div", { class: classes.TextContainer },
5887
7675
  index.h("div", null,
5888
7676
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
5889
7677
  id: "formStep",
5890
7678
  defaultMessage: text.formStep,
5891
- }, { step: states.step, count: data.FORM_STEPS }))),
7679
+ }, { step: states.step, count: FORM_STEPS }))),
5892
7680
  index.h("h3", null, text.personalInformation),
5893
7681
  index.h("p", { class: classes.PageDescriptionText }, text.taxAndPayoutsDescription))),
5894
- ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sqm-form-message", { type: "error" },
5895
- index.h("p", { part: "alert-title" }, text.error.generalTitle),
5896
- index.h("p", { part: "alert-description" }, global.intl.formatMessage({
7682
+ ((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$6.classes.AlertContainer },
7683
+ index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
7684
+ index.h("strong", null, text.error.generalTitle),
7685
+ index.h("br", null),
7686
+ global.intl.formatMessage({
5897
7687
  id: "generalDescription",
5898
7688
  defaultMessage: text.error.generalDescription,
5899
7689
  }, {
5900
7690
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5901
- })))),
5902
- (states.isPartner || states.isUser) && (index.h("sqm-form-message", { type: "info" },
5903
- index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
5904
- index.h("p", { part: "alert-description" }, global.intl.formatMessage({
7691
+ }))),
7692
+ (states.isPartner || states.isUser) && (index.h("sl-alert", { type: "primary", open: true, class: sheet$6.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
7693
+ index.h("sl-icon", { slot: "icon", name: "info-circle" }),
7694
+ index.h("strong", null, text.isPartnerAlertHeader),
7695
+ index.h("br", null),
7696
+ global.intl.formatMessage({
5905
7697
  id: "isPartnerAlertDescription",
5906
7698
  defaultMessage: text.isPartnerAlertDescription,
5907
7699
  }, {
5908
7700
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
5909
- })))),
7701
+ }))),
5910
7702
  index.h("div", null,
5911
7703
  index.h("div", { class: classes.InputContainer },
5912
- index.h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
7704
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
5913
7705
  class: classes.ErrorInput,
5914
- helpText: utils$1.formatErrorMessage(text.firstName, formState.errors.firstName),
7706
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.firstName, formState.errors.firstName),
5915
7707
  }
5916
7708
  : {}), { id: "firstName", name: "/firstName", required: true })),
5917
7709
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.lastName, label: text.lastName, disabled: states.disabled || states.isUser || states.isPartner }, (((_c = formState.errors) === null || _c === void 0 ? void 0 : _c.lastName) ? {
5918
7710
  class: classes.ErrorInput,
5919
- helpText: utils$1.formatErrorMessage(text.lastName, formState.errors.lastName),
7711
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.lastName, formState.errors.lastName),
5920
7712
  }
5921
7713
  : {}), { id: "lastName", name: "/lastName", required: true })),
5922
7714
  index.h("sl-input", { exportparts: "label: input-label, base: input-base", value: formState.email, label: text.email, disabled: true, id: "email", name: "/email", required: true }),
5923
7715
  index.h("sl-select", Object.assign({ id: "countryCode", exportparts: "label: input-label, base: input-base", name: "/countryCode", label: text.country, value: formState.countryCode, disabled: states.disabled || states.isPartner }, (((_d = formState.errors) === null || _d === void 0 ? void 0 : _d.countryCode) ? {
5924
7716
  class: classes.ErrorInput,
5925
- helpText: utils$1.formatErrorMessage(text.country, formState.errors.countryCode),
7717
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.country, formState.errors.countryCode),
5926
7718
  }
5927
7719
  : {}), { required: true, "onSl-select": (e) => callbacks.onFormChange("countryCode", e) }),
5928
7720
  index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
@@ -5930,8 +7722,8 @@ const UserInfoFormView = (props) => {
5930
7722
  e.stopPropagation();
5931
7723
  }, "onSl-input": (e) => {
5932
7724
  callbacks.setCountrySearch(e.target.value);
5933
- } }), (_e = data$1 === null || data$1 === void 0 ? void 0 : data$1.countries) === null || _e === void 0 ? void 0 :
5934
- _e.map((c) => (index.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data$1 === null || data$1 === void 0 ? void 0 : data$1.allCountries) === null || _f === void 0 ? void 0 :
7725
+ } }), (_e = data === null || data === void 0 ? void 0 : data.countries) === null || _e === void 0 ? void 0 :
7726
+ _e.map((c) => (index.h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_f = data === null || data === void 0 ? void 0 : data.allCountries) === null || _f === void 0 ? void 0 :
5935
7727
  _f.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
5936
7728
  index.h("div", { class: classes.PhoneInputsSection },
5937
7729
  index.h("p", null, text.phoneNumber),
@@ -5945,13 +7737,13 @@ const UserInfoFormView = (props) => {
5945
7737
  e.stopPropagation();
5946
7738
  }, "onSl-input": (e) => {
5947
7739
  callbacks.setPhoneCountrySearch(e.target.value);
5948
- } }), (_h = data$1 === null || data$1 === void 0 ? void 0 : data$1.phoneCountries) === null || _h === void 0 ? void 0 :
7740
+ } }), (_h = data === null || data === void 0 ? void 0 : data.phoneCountries) === null || _h === void 0 ? void 0 :
5949
7741
  _h.map((c) => {
5950
7742
  var _a, _b;
5951
7743
  return (index.h("sl-menu-item", { value: c.countryCode },
5952
7744
  index.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
5953
7745
  _b.dial_code));
5954
- }), (_j = data$1 === null || data$1 === void 0 ? void 0 : data$1.allCountries) === null || _j === void 0 ? void 0 :
7746
+ }), (_j = data === null || data === void 0 ? void 0 : data.allCountries) === null || _j === void 0 ? void 0 :
5955
7747
  _j.map((c) => {
5956
7748
  var _a, _b;
5957
7749
  return (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
@@ -5960,42 +7752,42 @@ const UserInfoFormView = (props) => {
5960
7752
  })),
5961
7753
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, validationError: ({ value }) => {
5962
7754
  // Naive phone number validation
5963
- utils$1.validateBillingField(/[a-zA-Z]+/, value) &&
5964
- utils$1.formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
7755
+ sqmInvoiceTableView.validateBillingField(/[a-zA-Z]+/, value) &&
7756
+ sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, text.error.fieldInvalidError);
5965
7757
  }, disabled: states.disabled || states.isPartner }, (((_k = formState.errors) === null || _k === void 0 ? void 0 : _k.phoneNumber) ? {
5966
7758
  class: classes.ErrorInput,
5967
- helpText: utils$1.formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
7759
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.phoneNumber, formState.errors.phoneNumber),
5968
7760
  }
5969
7761
  : {}), { required: true })))),
5970
7762
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
5971
7763
  // Checks for non-ASCII characters
5972
- !utils$1.validateBillingField(/^[\x20-\xFF]+$/, value) &&
5973
- utils$1.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
7764
+ !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
7765
+ sqmInvoiceTableView.formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
5974
7766
  class: classes.ErrorInput,
5975
- helpText: utils$1.formatErrorMessage(text.address, formState.errors.address),
7767
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.address, formState.errors.address),
5976
7768
  }
5977
7769
  : {}), { required: true })),
5978
7770
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
5979
7771
  // Checks for non-ASCII characters
5980
- !utils$1.validateBillingField(/^[\x20-\xFF]+$/, value) &&
5981
- utils$1.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
7772
+ !sqmInvoiceTableView.validateBillingField(/^[\x20-\xFF]+$/, value) &&
7773
+ sqmInvoiceTableView.formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || states.isPartner }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
5982
7774
  class: classes.ErrorInput,
5983
- helpText: utils$1.formatErrorMessage(text.city, formState.errors.city),
7775
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.city, formState.errors.city),
5984
7776
  }
5985
7777
  : {}), { required: true })),
5986
7778
  !states.hideState && (index.h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || states.isPartner }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
5987
7779
  class: classes.ErrorInput,
5988
- helpText: utils$1.formatErrorMessage(text.state, formState.errors.state),
7780
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.state, formState.errors.state),
5989
7781
  }
5990
- : {}), { required: true }), (_p = data$1.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index.h("sl-menu-item", { value: r.value }, r.label))))),
7782
+ : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (index.h("sl-menu-item", { value: r.value }, r.label))))),
5991
7783
  index.h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || states.isPartner }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
5992
7784
  class: classes.ErrorInput,
5993
- helpText: utils$1.formatErrorMessage(text.postalCode, formState.errors.postalCode),
7785
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.postalCode, formState.errors.postalCode),
5994
7786
  }
5995
7787
  : {}), { required: true })),
5996
7788
  index.h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || states.isPartner, helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
5997
7789
  class: classes.ErrorInput,
5998
- helpText: utils$1.formatErrorMessage(text.currency, formState.errors.currency),
7790
+ helpText: sqmInvoiceTableView.formatErrorMessage(text.currency, formState.errors.currency),
5999
7791
  }
6000
7792
  : {}), { required: true, ref: (el) => (refs.currencyRef.current = el) }),
6001
7793
  index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCurrencyText, onKeyDown: (e) => {
@@ -6003,11 +7795,11 @@ const UserInfoFormView = (props) => {
6003
7795
  e.stopPropagation();
6004
7796
  }, "onSl-input": (e) => {
6005
7797
  callbacks.setCurrencySearch(e.target.value);
6006
- } }), (_s = data$1 === null || data$1 === void 0 ? void 0 : data$1.currencies) === null || _s === void 0 ? void 0 :
7798
+ } }), (_s = data === null || data === void 0 ? void 0 : data.currencies) === null || _s === void 0 ? void 0 :
6007
7799
  _s.map((c) => (index.h("sl-menu-item", { value: c.currencyCode },
6008
7800
  c.currencyCode,
6009
7801
  " - ",
6010
- c.displayName))), (_t = data$1 === null || data$1 === void 0 ? void 0 : data$1.allCurrencies) === null || _t === void 0 ? void 0 :
7802
+ c.displayName))), (_t = data === null || data === void 0 ? void 0 : data.allCurrencies) === null || _t === void 0 ? void 0 :
6011
7803
  _t.map((c) => (index.h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
6012
7804
  c.currencyCode,
6013
7805
  " - ",
@@ -6016,36 +7808,36 @@ const UserInfoFormView = (props) => {
6016
7808
  index.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6017
7809
  e.target.value = e.target.checked;
6018
7810
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
6019
- ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index.h("p", { class: classes.ErrorText }, utils$1.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
7811
+ ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index.h("p", { class: classes.ErrorText }, sqmInvoiceTableView.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
6020
7812
  index.h("sl-button", { type: "primary", disabled: states.isPartner ? false : states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
6021
7813
  };
6022
7814
 
6023
7815
  function useUserInfoForm(props) {
6024
7816
  var _a, _b, _c, _d;
6025
- const currencyRef = domContextHooks_module.useRef(undefined);
6026
- const phoneCountryRef = domContextHooks_module.useRef(undefined);
6027
- const formRef = domContextHooks_module.useRef(null);
6028
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
6029
- const countries = index_module.Fn(data.SORTED_COUNTRIES_NAMESPACE);
6030
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
6031
- const [userFormContext, setUserFormContext] = index_module.Pn(data.USER_FORM_CONTEXT_NAMESPACE);
6032
- const { data: data$1, loading, errors: userError, } = index_module.$n(data.USER_QUERY_NAMESPACE);
6033
- const _currencies = index_module.Fn(data.CURRENCIES_NAMESPACE);
6034
- const currencies = domContextHooks_module.useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
6035
- const [countrySearch, setCountrySearch] = domContextHooks_module.useState("");
6036
- const [phoneCountrySearch, setPhoneCountrySearch] = domContextHooks_module.useState("");
6037
- const [filteredCountries, setFilteredCountries] = domContextHooks_module.useState(countries || []);
6038
- const [filteredPhoneCountries, setFilteredPhoneCountries] = domContextHooks_module.useState(countries || []);
6039
- const [currencySearch, setCurrencySearch] = domContextHooks_module.useState("");
6040
- const [filteredCurrencies, setFilteredCurrencies] = domContextHooks_module.useState(currencies || []);
6041
- const [formErrors, setErrors] = domContextHooks_module.useState({});
6042
- domContextHooks_module.useEffect(() => {
7817
+ const currencyRef = stencilHooks_module.useRef(undefined);
7818
+ const phoneCountryRef = stencilHooks_module.useRef(undefined);
7819
+ const formRef = stencilHooks_module.useRef(null);
7820
+ const context = index_module.Fn(TAX_FORM_CONTEXT_NAMESPACE);
7821
+ const countries = index_module.Fn(SORTED_COUNTRIES_NAMESPACE);
7822
+ const [step, setStep] = index_module.Pn(TAX_CONTEXT_NAMESPACE);
7823
+ const [userFormContext, setUserFormContext] = index_module.Pn(USER_FORM_CONTEXT_NAMESPACE);
7824
+ const { data, loading, errors: userError, } = index_module.$n(USER_QUERY_NAMESPACE);
7825
+ const _currencies = index_module.Fn(CURRENCIES_NAMESPACE);
7826
+ const currencies = stencilHooks_module.useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
7827
+ const [countrySearch, setCountrySearch] = stencilHooks_module.useState("");
7828
+ const [phoneCountrySearch, setPhoneCountrySearch] = stencilHooks_module.useState("");
7829
+ const [filteredCountries, setFilteredCountries] = stencilHooks_module.useState(countries || []);
7830
+ const [filteredPhoneCountries, setFilteredPhoneCountries] = stencilHooks_module.useState(countries || []);
7831
+ const [currencySearch, setCurrencySearch] = stencilHooks_module.useState("");
7832
+ const [filteredCurrencies, setFilteredCurrencies] = stencilHooks_module.useState(currencies || []);
7833
+ const [formErrors, setErrors] = stencilHooks_module.useState({});
7834
+ stencilHooks_module.useEffect(() => {
6043
7835
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6044
- const user = data$1 === null || data$1 === void 0 ? void 0 : data$1.user;
7836
+ const user = data === null || data === void 0 ? void 0 : data.user;
6045
7837
  if (!user || step !== "/1")
6046
7838
  return;
6047
7839
  // If form already filled out, skip initialising it
6048
- if (utils$1.objectIsFull(userFormContext))
7840
+ if (sqmInvoiceTableView.objectIsFull(userFormContext))
6049
7841
  return;
6050
7842
  // Prefer MI email if it was verified before this
6051
7843
  const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) ? user.managedIdentity.email
@@ -6082,7 +7874,7 @@ function useUserInfoForm(props) {
6082
7874
  postalCode: (_k = user.customFields) === null || _k === void 0 ? void 0 : _k.postalCode,
6083
7875
  });
6084
7876
  }
6085
- }, [data$1, step, userFormContext]);
7877
+ }, [data, step, userFormContext]);
6086
7878
  const onFormChange = (field, e) => {
6087
7879
  var _a, _b;
6088
7880
  const value = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.__value;
@@ -6097,7 +7889,7 @@ function useUserInfoForm(props) {
6097
7889
  currencyRef.current.value = "";
6098
7890
  }
6099
7891
  };
6100
- domContextHooks_module.useEffect(() => {
7892
+ stencilHooks_module.useEffect(() => {
6101
7893
  if (!(countries === null || countries === void 0 ? void 0 : countries.length))
6102
7894
  return;
6103
7895
  if (countrySearch.trim() === "") {
@@ -6107,7 +7899,7 @@ function useUserInfoForm(props) {
6107
7899
  setFilteredCountries(countries.filter((c) => c.displayName.toLowerCase().includes(countrySearch.toLowerCase())) || []);
6108
7900
  }
6109
7901
  }, [countrySearch, countries]);
6110
- domContextHooks_module.useEffect(() => {
7902
+ stencilHooks_module.useEffect(() => {
6111
7903
  if (!(countries === null || countries === void 0 ? void 0 : countries.length))
6112
7904
  return;
6113
7905
  if (phoneCountrySearch.trim() === "") {
@@ -6117,7 +7909,7 @@ function useUserInfoForm(props) {
6117
7909
  setFilteredPhoneCountries(countries.filter((c) => c.displayName.toLowerCase().includes(phoneCountrySearch.toLowerCase())) || []);
6118
7910
  }
6119
7911
  }, [phoneCountrySearch, countries]);
6120
- domContextHooks_module.useEffect(() => {
7912
+ stencilHooks_module.useEffect(() => {
6121
7913
  if (!(currencies === null || currencies === void 0 ? void 0 : currencies.length))
6122
7914
  return;
6123
7915
  if (currencySearch.trim() === "") {
@@ -6174,7 +7966,7 @@ function useUserInfoForm(props) {
6174
7966
  }
6175
7967
  const hasStates = ["ES", "AU", "US", "CA"].includes(userFormContext.countryCode);
6176
7968
  const regionObj = hasStates
6177
- ? IndirectTaxDetailsView.ADDRESS_REGIONS[userFormContext === null || userFormContext === void 0 ? void 0 : userFormContext.countryCode]
7969
+ ? sqmInvoiceTableView.ADDRESS_REGIONS[userFormContext === null || userFormContext === void 0 ? void 0 : userFormContext.countryCode]
6178
7970
  : {};
6179
7971
  return {
6180
7972
  setStep: setStep,
@@ -6207,8 +7999,8 @@ function useUserInfoForm(props) {
6207
7999
  disabled: loading,
6208
8000
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
6209
8001
  loading: loading,
6210
- isPartner: !!((_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),
6211
- isUser: !!((_d = (_c = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.user),
8002
+ isPartner: !!((_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),
8003
+ isUser: !!((_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.user),
6212
8004
  formState: {
6213
8005
  ...userFormContext,
6214
8006
  errors: formErrors,
@@ -6371,7 +8163,7 @@ const TaxForm = class {
6371
8163
  * @uiName Support link text
6372
8164
  */
6373
8165
  this.supportLink = "support team";
6374
- domContextHooks_module.h$1(this);
8166
+ stencilHooks_module.h$1(this);
6375
8167
  }
6376
8168
  disconnectedCallback() { }
6377
8169
  getTextProps() {
@@ -6391,20 +8183,19 @@ const TaxForm = class {
6391
8183
  }
6392
8184
  render() {
6393
8185
  const props = index_module.isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
6394
- return (index.h(UserInfoFormView, { data: props.data,
8186
+ return (index.h(index.Host, null, index.h(UserInfoFormView, { data: props.data,
6395
8187
  // @ts-ignore
6396
8188
  states: props.states, callbacks: {
6397
8189
  ...props.callbacks,
6398
8190
  onSubmit: props.onSubmit,
6399
- }, text: props.text, refs: props.refs }));
8191
+ }, text: props.text, refs: props.refs })));
6400
8192
  }
6401
8193
  };
6402
8194
  function useDemoUserInfoForm(props) {
6403
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
6404
- // @ts-ignore
8195
+ const setStep = index_module.En(TAX_CONTEXT_NAMESPACE);
6405
8196
  return cjs.cjs({
6406
8197
  setStep,
6407
- onSubmit: async () => {
8198
+ onSubmit: () => {
6408
8199
  setStep("/2");
6409
8200
  },
6410
8201
  onRadioClick: () => { },
@@ -6448,12 +8239,19 @@ function useDemoUserInfoForm(props) {
6448
8239
  }
6449
8240
 
6450
8241
  exports.sqm_banking_info_form = BankingInfoForm;
8242
+ exports.sqm_code_verification = WidgetCodeVerification;
6451
8243
  exports.sqm_docusign_form = DocusignForm;
6452
8244
  exports.sqm_indirect_tax_form = IndirectTaxForm;
6453
8245
  exports.sqm_invoice_table = InvoiceTable;
8246
+ exports.sqm_invoice_table_data_cell = InvoiceTableDataCell;
6454
8247
  exports.sqm_invoice_table_data_column = InvoiceTableDataColumn;
8248
+ exports.sqm_invoice_table_date_cell = RewardTableDateCell;
6455
8249
  exports.sqm_invoice_table_date_column = InvoiceTableDateColumn;
8250
+ exports.sqm_invoice_table_download_cell = InvoiceTableDownloadCell;
6456
8251
  exports.sqm_invoice_table_download_column = InvoiceTableGenericColumn;
6457
8252
  exports.sqm_payout_details_card = PayoutDetailsCard;
8253
+ exports.sqm_table_cell = TableCell;
8254
+ exports.sqm_table_row = TableRow;
8255
+ exports.sqm_tax_and_cash = TaxAndCashMonolith;
6458
8256
  exports.sqm_tax_and_cash_dashboard = TaxAndCashDashboard;
6459
8257
  exports.sqm_user_info_form = TaxForm;