@saasquatch/mint-components 1.15.0-61 → 1.15.0-63

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 (323) hide show
  1. package/dist/cjs/{GenericTableView-107ade89.js → GenericTableView-a9845e80.js} +3 -3
  2. package/dist/cjs/{IndirectTaxDetailsView-14d6e170.js → IndirectTaxDetailsView-79703291.js} +4 -4
  3. package/dist/cjs/{ShadowViewAddon-8ec56e95.js → ShadowViewAddon-e0aa9b07.js} +10 -10
  4. package/dist/cjs/{copy-text-view-95cf4875.js → copy-text-view-e5223a96.js} +4 -4
  5. package/dist/cjs/{email-registration-view-996fb438.js → email-registration-view-ace50780.js} +3 -1
  6. package/dist/cjs/{global-a3a85ff0.js → global-38031ab9.js} +61 -54
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/mint-components.cjs.js +2 -2
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +151 -294
  10. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +37 -66
  11. package/dist/cjs/sqm-code-verification.cjs.entry.js +14 -4
  12. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-email-verification.cjs.entry.js +10 -13
  14. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +5 -5
  16. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +1 -1
  21. package/dist/cjs/{sqm-navigation-sidebar-view-50ee8796.js → sqm-navigation-sidebar-view-de90ef03.js} +1 -1
  22. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  23. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-password-field.cjs.entry.js +1 -1
  25. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  26. package/dist/cjs/{sqm-portal-email-verification-view-aec35ba2.js → sqm-portal-email-verification-view-f1671646.js} +1 -1
  27. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  28. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  29. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +2 -2
  30. package/dist/cjs/{sqm-portal-profile-view-cff9bfc7.js → sqm-portal-profile-view-5aabad8c.js} +1 -1
  31. package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  33. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  34. package/dist/cjs/{sqm-qr-code-view-2cca145e.js → sqm-qr-code-view-0c3b2f48.js} +7 -2
  35. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -3
  36. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +4 -4
  37. package/dist/cjs/sqm-referred-registration.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +3 -3
  39. package/dist/cjs/sqm-stencilbook.cjs.entry.js +36 -44
  40. package/dist/cjs/sqm-tabs.cjs.entry.js +1 -1
  41. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +4 -5
  42. package/dist/cjs/sqm-widget-verification.cjs.entry.js +1 -1
  43. package/dist/cjs/{usePortalLogin-1c022d8d.js → usePortalLogin-6aa864ef.js} +1 -1
  44. package/dist/cjs/{utils-940abb91.js → utils-62fd5f09.js} +1 -1
  45. package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
  46. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
  47. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -2
  48. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -2
  49. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
  50. package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
  51. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  52. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +1 -1
  53. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +1 -1
  54. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +2 -2
  55. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +6 -7
  56. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  57. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +3 -1
  58. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -2
  59. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +1 -1
  60. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  61. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  62. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +3 -3
  63. package/dist/collection/components/sqm-stencilbook/Themes.js +1 -1
  64. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  65. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +3 -3
  66. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
  67. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +8 -11
  68. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +3 -2
  69. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +6 -35
  70. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +1 -1
  71. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +19 -47
  72. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +14 -65
  73. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -11
  74. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
  75. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
  76. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +3 -2
  77. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +87 -83
  78. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  79. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +13 -45
  80. package/dist/collection/components/views/copy-text-view.js +4 -4
  81. package/dist/collection/components/views/email-registration-view.js +3 -1
  82. package/dist/collection/global/styles.js +61 -54
  83. package/dist/collection/global/styles.ts +9 -2
  84. package/dist/collection/tables/GenericTableView.js +3 -3
  85. package/dist/collection/utils/utils.js +4 -0
  86. package/dist/esm/{GenericTableView-dd9be3ea.js → GenericTableView-e43d310f.js} +3 -3
  87. package/dist/esm/{IndirectTaxDetailsView-ceeb9b1a.js → IndirectTaxDetailsView-3bf366d5.js} +4 -4
  88. package/dist/esm/{ShadowViewAddon-b07a7e53.js → ShadowViewAddon-2984432d.js} +10 -10
  89. package/dist/esm/{copy-text-view-6dec9902.js → copy-text-view-8d1713d7.js} +4 -4
  90. package/dist/esm/{email-registration-view-db81655f.js → email-registration-view-1f587f8b.js} +3 -1
  91. package/dist/esm/{global-e9173b4c.js → global-75f87c77.js} +61 -54
  92. package/dist/esm/loader.js +2 -2
  93. package/dist/esm/mint-components.js +2 -2
  94. package/dist/esm/sqm-banking-info-form_10.entry.js +151 -294
  95. package/dist/esm/sqm-big-stat_42.entry.js +37 -66
  96. package/dist/esm/sqm-code-verification.entry.js +14 -4
  97. package/dist/esm/sqm-context-router.entry.js +1 -1
  98. package/dist/esm/sqm-email-verification.entry.js +10 -13
  99. package/dist/esm/sqm-empty_4.entry.js +2 -2
  100. package/dist/esm/sqm-form-message.entry.js +5 -5
  101. package/dist/esm/sqm-instant-access-registration.entry.js +1 -1
  102. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +2 -2
  103. package/dist/esm/sqm-leaderboard-rank.entry.js +1 -1
  104. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  105. package/dist/esm/sqm-navigation-sidebar-item.entry.js +1 -1
  106. package/dist/esm/{sqm-navigation-sidebar-view-6c13798c.js → sqm-navigation-sidebar-view-0a2ec560.js} +1 -1
  107. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  108. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  109. package/dist/esm/sqm-password-field.entry.js +1 -1
  110. package/dist/esm/sqm-popup-container.entry.js +1 -1
  111. package/dist/esm/{sqm-portal-email-verification-view-a82e199f.js → sqm-portal-email-verification-view-46311e88.js} +1 -1
  112. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  113. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  114. package/dist/esm/sqm-portal-google-login.entry.js +2 -2
  115. package/dist/esm/{sqm-portal-profile-view-caabc8d3.js → sqm-portal-profile-view-f7cb1c88.js} +1 -1
  116. package/dist/esm/sqm-portal-profile.entry.js +3 -3
  117. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  118. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  119. package/dist/esm/{sqm-qr-code-view-11121d3c.js → sqm-qr-code-view-97124a66.js} +6 -1
  120. package/dist/esm/sqm-qr-code.entry.js +2 -3
  121. package/dist/esm/sqm-referral-table_11.entry.js +4 -4
  122. package/dist/esm/sqm-referred-registration.entry.js +1 -1
  123. package/dist/esm/sqm-rewards-table_9.entry.js +3 -3
  124. package/dist/esm/sqm-stencilbook.entry.js +36 -44
  125. package/dist/esm/sqm-tabs.entry.js +1 -1
  126. package/dist/esm/sqm-tax-and-cash.entry.js +4 -5
  127. package/dist/esm/sqm-widget-verification.entry.js +1 -1
  128. package/dist/esm/{usePortalLogin-61abe78e.js → usePortalLogin-d0720c81.js} +1 -1
  129. package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
  130. package/dist/esm/{utils-985d9996.js → utils-edd7677f.js} +1 -1
  131. package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
  132. package/dist/esm-es5/{IndirectTaxDetailsView-ceeb9b1a.js → IndirectTaxDetailsView-3bf366d5.js} +1 -1
  133. package/dist/esm-es5/ShadowViewAddon-2984432d.js +1 -0
  134. package/dist/esm-es5/copy-text-view-8d1713d7.js +1 -0
  135. package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
  136. package/dist/esm-es5/{global-e9173b4c.js → global-75f87c77.js} +3 -3
  137. package/dist/esm-es5/loader.js +1 -1
  138. package/dist/esm-es5/mint-components.js +1 -1
  139. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  140. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  141. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  142. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  143. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  144. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  145. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  146. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  147. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  148. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  149. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  150. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  151. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
  152. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  153. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  154. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  155. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-portal-email-verification-view-a82e199f.js → sqm-portal-email-verification-view-46311e88.js} +1 -1
  157. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  158. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  159. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  160. package/dist/esm-es5/{sqm-portal-profile-view-caabc8d3.js → sqm-portal-profile-view-f7cb1c88.js} +1 -1
  161. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  162. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  163. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  164. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
  165. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  166. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  167. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  168. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  169. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  170. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  171. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -1
  172. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  173. package/dist/esm-es5/{usePortalLogin-61abe78e.js → usePortalLogin-d0720c81.js} +1 -1
  174. package/dist/esm-es5/utils-03188de2.js +1 -0
  175. package/dist/esm-es5/{utils-985d9996.js → utils-edd7677f.js} +1 -1
  176. package/dist/mint-components/global/styles.ts +9 -2
  177. package/dist/mint-components/mint-components.esm.js +1 -1
  178. package/dist/mint-components/mint-components.js +1 -1
  179. package/dist/mint-components/{p-949ca517.system.entry.js → p-002e6205.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-fe01d78b.system.js → p-03bc8092.system.js} +1 -1
  181. package/dist/mint-components/p-0935f9b7.system.js +1 -0
  182. package/dist/mint-components/{p-d98ec069.system.entry.js → p-09faca85.system.entry.js} +1 -1
  183. package/dist/mint-components/p-0b0f49ad.entry.js +1 -0
  184. package/dist/mint-components/{p-93c743a4.system.js → p-0b9d56b2.system.js} +1 -1
  185. package/dist/mint-components/{p-23671c40.entry.js → p-0d178b8a.entry.js} +1 -1
  186. package/dist/mint-components/{p-3c546860.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
  187. package/dist/mint-components/{p-c7861962.entry.js → p-0fca4ae0.entry.js} +1 -1
  188. package/dist/mint-components/p-100c878b.system.entry.js +1 -0
  189. package/dist/mint-components/p-1337f47c.entry.js +1 -0
  190. package/dist/mint-components/p-1363c4ab.system.js +1 -0
  191. package/dist/mint-components/p-15bfd7e2.system.js +1 -0
  192. package/dist/mint-components/p-16b37afe.system.entry.js +1 -0
  193. package/dist/mint-components/{p-08a77d1e.system.entry.js → p-1ad8f7f4.system.entry.js} +1 -1
  194. package/dist/mint-components/p-1cad4160.system.entry.js +1 -0
  195. package/dist/mint-components/{p-87dd87cc.system.entry.js → p-207fb692.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-01551599.system.js → p-21b680c9.system.js} +1 -1
  197. package/dist/mint-components/{p-b5346a5a.entry.js → p-22c11f0e.entry.js} +1 -1
  198. package/dist/mint-components/{p-7b635ed8.system.entry.js → p-22d20816.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-b64f7dcb.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
  200. package/dist/mint-components/p-29be244d.entry.js +9 -0
  201. package/dist/mint-components/{p-b11dd241.system.js → p-2ce2d1f0.system.js} +1 -1
  202. package/dist/mint-components/{p-a91408bf.entry.js → p-2fd26011.entry.js} +1 -1
  203. package/dist/mint-components/{p-693ba0b4.js → p-32ed7c0c.js} +1 -1
  204. package/dist/mint-components/p-32fa454c.entry.js +1 -0
  205. package/dist/mint-components/{p-d2e8193d.entry.js → p-33d0edc0.entry.js} +11 -11
  206. package/dist/mint-components/{p-a07e0930.system.entry.js → p-3d1b91a1.system.entry.js} +1 -1
  207. package/dist/mint-components/{p-19703136.system.entry.js → p-3e3b02a3.system.entry.js} +1 -1
  208. package/dist/mint-components/p-40c01a5a.system.js +1 -0
  209. package/dist/mint-components/{p-35061d76.system.entry.js → p-4271f436.system.entry.js} +1 -1
  210. package/dist/mint-components/{p-a554c304.js → p-474124e9.js} +1 -1
  211. package/dist/mint-components/p-4aefb976.system.entry.js +1 -0
  212. package/dist/mint-components/{p-4211fe5e.entry.js → p-50348f43.entry.js} +1 -1
  213. package/dist/mint-components/{p-c431aedf.entry.js → p-564ac69e.entry.js} +2 -2
  214. package/dist/mint-components/p-59f8eb90.entry.js +93 -0
  215. package/dist/mint-components/{p-e49b253f.entry.js → p-5e0af707.entry.js} +2 -2
  216. package/dist/mint-components/{p-f7700805.js → p-5ed49bf2.js} +1 -1
  217. package/dist/mint-components/p-5ff2da11.js +1 -0
  218. package/dist/mint-components/{p-f5f97cd2.system.js → p-643749bc.system.js} +1 -1
  219. package/dist/mint-components/p-692bacf3.js +1 -0
  220. package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
  221. package/dist/mint-components/{p-d2699bed.system.entry.js → p-6b076bae.system.entry.js} +1 -1
  222. package/dist/mint-components/p-6f6d5370.entry.js +25 -0
  223. package/dist/mint-components/{p-4cb0d07d.entry.js → p-6fb9b5ab.entry.js} +1 -1
  224. package/dist/mint-components/{p-65ed872f.entry.js → p-711bc624.entry.js} +1 -1
  225. package/dist/mint-components/{p-641bdf0e.system.entry.js → p-7b4eb94e.system.entry.js} +1 -1
  226. package/dist/mint-components/{p-734dde9b.system.js → p-82505f6e.system.js} +1 -1
  227. package/dist/mint-components/p-8c69fc5f.system.entry.js +1 -0
  228. package/dist/mint-components/{p-987036b6.system.entry.js → p-9374b5bb.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-3a7e5207.entry.js → p-97852163.entry.js} +1 -1
  230. package/dist/mint-components/{p-b11d89bd.entry.js → p-9aadc253.entry.js} +1 -1
  231. package/dist/mint-components/p-9d126299.system.entry.js +1 -0
  232. package/dist/mint-components/{p-b70ef2f5.system.entry.js → p-a2533860.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-327125c2.entry.js → p-a5c9ce6c.entry.js} +1 -1
  234. package/dist/mint-components/{p-8a9939ef.system.entry.js → p-a67cbe0b.system.entry.js} +1 -1
  235. package/dist/mint-components/p-a99658e0.entry.js +1 -0
  236. package/dist/mint-components/p-acb26ec0.system.js +1 -0
  237. package/dist/mint-components/{p-4aed3645.entry.js → p-b2bf7fcb.entry.js} +1 -1
  238. package/dist/mint-components/p-b2c04108.system.entry.js +1 -0
  239. package/dist/mint-components/{p-d9cfd2ad.js → p-b6da4fa0.js} +1 -1
  240. package/dist/mint-components/p-b710c7e0.js +1 -0
  241. package/dist/mint-components/{p-a2858916.system.js → p-b7d13172.system.js} +1 -1
  242. package/dist/mint-components/{p-0de7e5ec.entry.js → p-b9bccc55.entry.js} +1 -1
  243. package/dist/mint-components/p-bad50dc1.entry.js +1 -0
  244. package/dist/mint-components/{p-bac0b56a.entry.js → p-bb627d95.entry.js} +2 -2
  245. package/dist/mint-components/p-bcbac6f3.system.entry.js +1 -0
  246. package/dist/mint-components/p-bd288a80.system.js +1 -0
  247. package/dist/mint-components/p-c7965639.entry.js +1 -0
  248. package/dist/mint-components/{p-adb13f08.system.entry.js → p-d513848f.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-e5d72a05.entry.js → p-d5f1df29.entry.js} +1 -1
  250. package/dist/mint-components/p-d785a297.system.entry.js +1 -0
  251. package/dist/mint-components/p-d87982c1.js +394 -0
  252. package/dist/mint-components/p-d97c6f67.entry.js +1 -0
  253. package/dist/mint-components/{p-c6fc6ce5.js → p-dec5f3fc.js} +1 -1
  254. package/dist/mint-components/{p-884a1b19.entry.js → p-e539fed3.entry.js} +1 -1
  255. package/dist/mint-components/{p-dcddb256.system.entry.js → p-e992648a.system.entry.js} +1 -1
  256. package/dist/mint-components/p-eaeddfe2.system.js +1 -0
  257. package/dist/mint-components/{p-f8520da2.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-a8b53df1.system.entry.js → p-f0e0d0b9.system.entry.js} +1 -1
  259. package/dist/mint-components/p-f1da802b.entry.js +11 -0
  260. package/dist/mint-components/p-f1dc581f.js +1 -0
  261. package/dist/mint-components/p-f2140374.system.entry.js +1 -0
  262. package/dist/mint-components/{p-cd207258.js → p-f2ee69f1.js} +1 -1
  263. package/dist/mint-components/{p-b35ceac8.system.entry.js → p-f94788ab.system.entry.js} +1 -1
  264. package/dist/mint-components/p-f9c7248e.js +1 -0
  265. package/dist/mint-components/{p-3191e4a8.entry.js → p-fe3fe6b6.entry.js} +1 -1
  266. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -1
  267. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
  268. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -2
  269. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
  270. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  271. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  272. package/dist/types/components.d.ts +10 -10
  273. package/dist/types/utils/utils.d.ts +1 -0
  274. package/docs/docs.docx +0 -0
  275. package/docs/raisins.json +1 -1
  276. package/grapesjs/grapesjs.js +1 -1
  277. package/package.json +1 -1
  278. package/dist/cjs/ErrorView-5504c2b6.js +0 -35
  279. package/dist/esm/ErrorView-eaafd6f5.js +0 -33
  280. package/dist/esm-es5/ErrorView-eaafd6f5.js +0 -1
  281. package/dist/esm-es5/GenericTableView-dd9be3ea.js +0 -1
  282. package/dist/esm-es5/ShadowViewAddon-b07a7e53.js +0 -1
  283. package/dist/esm-es5/copy-text-view-6dec9902.js +0 -1
  284. package/dist/esm-es5/email-registration-view-db81655f.js +0 -1
  285. package/dist/esm-es5/sqm-navigation-sidebar-view-6c13798c.js +0 -1
  286. package/dist/esm-es5/sqm-qr-code-view-11121d3c.js +0 -1
  287. package/dist/esm-es5/utils-334c1e34.js +0 -1
  288. package/dist/mint-components/p-042e5aa3.entry.js +0 -1
  289. package/dist/mint-components/p-10c2a48c.system.js +0 -1
  290. package/dist/mint-components/p-12fd7ee9.system.js +0 -1
  291. package/dist/mint-components/p-18ac73c1.system.entry.js +0 -1
  292. package/dist/mint-components/p-2487d469.system.entry.js +0 -1
  293. package/dist/mint-components/p-24af584d.js +0 -1
  294. package/dist/mint-components/p-3cb1d066.js +0 -1
  295. package/dist/mint-components/p-3e3b15ea.system.entry.js +0 -1
  296. package/dist/mint-components/p-4196d37a.system.js +0 -1
  297. package/dist/mint-components/p-470c9c64.system.js +0 -1
  298. package/dist/mint-components/p-4a9aaf3d.entry.js +0 -1
  299. package/dist/mint-components/p-4c29a9f8.system.entry.js +0 -1
  300. package/dist/mint-components/p-512969d4.system.js +0 -1
  301. package/dist/mint-components/p-5f3483c4.entry.js +0 -1
  302. package/dist/mint-components/p-6333265f.system.js +0 -1
  303. package/dist/mint-components/p-65fec8a8.entry.js +0 -25
  304. package/dist/mint-components/p-676ca2c0.system.js +0 -1
  305. package/dist/mint-components/p-6d2d4f7c.entry.js +0 -1
  306. package/dist/mint-components/p-6ef5b1c1.system.entry.js +0 -1
  307. package/dist/mint-components/p-71c43de5.system.entry.js +0 -1
  308. package/dist/mint-components/p-73213344.system.entry.js +0 -1
  309. package/dist/mint-components/p-7b4f0dbc.js +0 -1
  310. package/dist/mint-components/p-7f54c9f9.entry.js +0 -11
  311. package/dist/mint-components/p-8b1d837f.entry.js +0 -1
  312. package/dist/mint-components/p-951ded9b.js +0 -1
  313. package/dist/mint-components/p-99fb2a50.js +0 -1
  314. package/dist/mint-components/p-aec58483.entry.js +0 -1
  315. package/dist/mint-components/p-b1ddc706.js +0 -1
  316. package/dist/mint-components/p-c00c4e19.system.entry.js +0 -1
  317. package/dist/mint-components/p-d2d15c86.system.entry.js +0 -1
  318. package/dist/mint-components/p-eea132c7.system.entry.js +0 -1
  319. package/dist/mint-components/p-f0368b8b.system.js +0 -1
  320. package/dist/mint-components/p-f0bfef49.entry.js +0 -9
  321. package/dist/mint-components/p-f13d856d.js +0 -394
  322. package/dist/mint-components/p-f7462bef.entry.js +0 -93
  323. package/dist/mint-components/p-fa89e7d4.entry.js +0 -1
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):i(e.value).then(s,o)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-b11dd241.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-67ad2252.system.js","./p-57dd28bd.system.js","./p-d399162b.system.js"],(function(e){"use strict";var t,n,r,i,a,s,o,l,c,u,d,f,p,m,v,h,y,g,b,x,_;return{setters:[function(e){t=e.h;n=e.r},function(e){r=e.i},function(e){i=e.l;a=e.k;s=e.f;o=e.n},function(e){l=e.d;c=e.t;u=e.F;d=e.i;f=e.q},function(e){p=e.c},function(e){m=e.g},function(e){v=e.c},function(e){h=e.E},function(e){y=e.T},function(e){g=e.V;b=e.S;x=e.a},function(e){_=e.u}],execute:function(){var C={Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",maxWidth:"550px"},HeaderContainer:{display:"flex",flexDirection:"column"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column"},CodeInputContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},CodeInput:{maxWidth:"40px","&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},CodeInputError:__assign(__assign({},h),{maxWidth:"40px","&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}}),ErrorText:{color:"var(--sl-color-danger-500)",fontSize:"var(--sl-font-size-small)",margin:"0"},ContinueButton:{width:"100%",maxWidth:"100px"},FooterContainer:{display:"flex",flexDirection:"column"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"}};var w="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\n\n";var E=v(C);var T=E.toString();function k(e){var n=e.states,i=e.refs,a=e.callbacks,s=e.text;var o=r.formatMessage({id:"resendCodeText",defaultMessage:s.resendCodeText},{resendCodeLink:t("a",{href:"",style:{textDecoration:"none"},onClick:function(e){e.preventDefault();a.resendEmail()}},s.resendCodeLabel)});var l=r.formatMessage({id:"codeResentSuccessfully",defaultMessage:s.codeResentSuccessfullyText},{email:n.email});var c=n.verifyFailed?E.classes.CodeInputError:E.classes.CodeInput;return t("div",{part:"sqm-base"},t("style",{type:"text/css"},w,T),t("div",{class:E.classes.Wrapper},t("div",{class:E.classes.HeaderContainer},t(y,{type:"p"},r.formatMessage({id:"emailHeaderText",defaultMessage:n.verifyFailed?s.reverifyCodeHeaderText:s.verifyCodeHeaderText},{email:n.email}))),n.emailResent&&t("sqm-form-message",{type:"success",exportparts:"successalert-icon"},t("b",null,l)),t("div",{class:E.classes.InputsContainer},t("div",{ref:i.codeWrapperRef,class:E.classes.CodeInputContainer},t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"}),t("sl-input",{class:c,name:"code"})),n.verifyFailed&&t("p",{class:E.classes.ErrorText},s.invalidCodeText),t("sl-button",{class:E.classes.ContinueButton,onClick:a.submitCode,disabled:n.loading||n.initialiseLoading,loading:n.loading||n.initialiseLoading,exportparts:"base: primarybutton-base",type:"primary"},s.verifyText)),t("div",{class:E.classes.FooterContainer},t(y,{type:"p"},o))))}var S=l.gql(__makeTemplateObject(["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"],["\n mutation submitImpactPublisherEmail2FACode(\n $user: UserIdInput!\n $code: String!\n ) {\n submitImpactPublisherEmail2FACode(user: $user, code: $code) {\n verifiedEmail\n accessKey\n }\n }\n"]));function j(e){var t=this;var n=i();var r=c(b),o=r[0],l=r[1];var d=u(g);var f=a(false),p=f[0],m=f[1];var v=a(false),h=v[0],y=v[1];var x=a(null),C=x[0],w=x[1];var E=a(false),T=E[0],k=E[1];var S=a(false),j=S[0],I=S[1];var P=_(),F=P.initialized,R=P.verificationEmail,L=P.send,A=L[0],O=L[1],q=O.loading,M=O.errors,W=P.verify,D=W[0],$=W[1],z=$.loading,H=$.errors;s((function(){if(!C)return;var e=C.querySelectorAll("sl-input");var t=Array.from(e).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));t.forEach((function(e,n){e.addEventListener("focus",(function(e){e.target.select()}));e.addEventListener("keydown",(function(e){if(e.key==="Backspace"&&e.target.value===""){t[Math.max(0,n-1)].focus()}}));e.addEventListener("input",(function(e){var r=e.data;if(!r)return;if(n===t.length-1){e.target.value=r.slice(0,1);return}if(r.length>1){var i=r.slice(1);e.target.value=r.slice(0,1);t[n+1].dispatchEvent(new InputEvent("input",{inputType:"insertFromPaste",data:i}))}t[n+1].focus()}))}))}),[C]);var B=function(){l(false);k(false)};var K=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(!F)return[2];return[4,A()];case 1:e=t.sent();if(!e){I(true);return[2]}if(p)y(true);m(true);return[2]}}))}))};var V=function(){return __awaiter(t,void 0,void 0,(function(){var t,n,r,i;return __generator(this,(function(a){switch(a.label){case 0:t=C.querySelectorAll("sl-input");n=Array.from(t).map((function(e){return e.shadowRoot.querySelector('input[name="code"]')}));if(n.find((function(e){return!e.value}))){k(true);return[2]}r="";n.forEach((function(e){r=""+r+e.value}));if(!F)return[2];k(false);return[4,D(r)];case 1:i=a.sent();if(i===null||i===void 0?void 0:i.success){e.onVerification(i.accessKey);B()}else{k(true)}return[2]}}))}))};s((function(){if(!F)return;if(!d)K();else m(true)}),[F]);return{refs:{codeWrapperRef:w},states:{email:R,emailResent:h,resendError:M||H,initialiseLoading:!F,loading:q||z,verifyFailed:!!T},callbacks:{resendEmail:K,submitCode:V},text:e.getTextProps()}}var I=e("sqm_code_verification",function(){function e(e){n(this,e);this.verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.";this.resendCodeText="Didn't receive your code? {resendCodeLink}";this.resendCodeLabel="Resend code";this.codeResentSuccessfullyText="Another code has been sent to {email}";this.invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.";this.verifyText="Verify";this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.";o(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getTextProps=function(){return m(this)};e.prototype.render=function(){var e=d()?P(this):j(this);return t(k,Object.assign({},e))};return e}());function P(e){var t=this;var n=a(false),r=n[0],i=n[1];var s=f(x);return p({states:{initialiseLoading:false,loading:false,email:"test@example.com",emailResent:r,verifyFailed:false},refs:{codeWrapperRef:function(){}},callbacks:{resendEmail:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,i(true)]}))}))},submitCode:function(){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){return[2,s(true)]}))}))}},text:e.getTextProps()},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -1 +0,0 @@
1
- import{h as a}from"./p-c7c11325.js";import{c as e}from"./p-cef45012.js";import{A as r,g as s,a as t,b as l,E as o}from"./p-49b20dae.js";const n=e({Wrapper:{...r,...s({direction:"column",size:"var(--sl-spacing-small)"})},Column:t,ForgotButtonContainer:{display:"inline",cursor:"pointer","font-size":"13px","font-weight":"600",color:"#AAAAAA",margin:"0"},ButtonsContainer:l,ErrorStyle:o}),i=n.toString();function p(e){var r,s,t,l;const{states:o,callbacks:p,content:d}=e,m=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return a("div",{part:"sqm-base",class:n.classes.Wrapper,style:{border:d.hideBorder?"none":"1px solid var(--sqm-border-color)",backgroundColor:d.backgroundColor,"padding-top":`var(--sl-spacing-${d.paddingTop})`,"padding-right":`var(--sl-spacing-${d.paddingRight})`,"padding-bottom":`var(--sl-spacing-${d.paddingBottom})`,"padding-left":`var(--sl-spacing-${d.paddingLeft})`}},a("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\na svg {\n margin: 0 auto;\n display: block;\n}\n",i),d.topSlot,a("sl-form",{class:n.classes.Column,"onSl-submit":p.submit},e.states.error&&(c=e.content.fraudErrorMessage,"FRAUD"===(b=e.states.error)?a("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},a("b",null,e.content.fraudErrorMessageTitle),a("div",{part:"erroralert-text"},c)):a("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},a("div",{part:"erroralert-text"},b))),d.includeName&&a("sl-input",{exportparts:"label: input-label, base: input-base",type:"name",name:"/firstName",label:d.firstNameLabel||"First Name",disabled:o.loading}),d.includeName&&a("sl-input",{exportparts:"label: input-label, base: input-base",type:"name",name:"/lastName",label:d.lastNameLabel||"Last Name",disabled:o.loading}),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",type:"email",name:"/email",label:d.emailLabel||"Email",disabled:o.loading,required:!0,validationError:({value:a})=>a?a.match(m)?void 0:d.invalidEmailErrorMessage:d.requiredFieldErrorMessage},(null===(s=null===(r=o.registrationFormState)||void 0===r?void 0:r.validationErrors)||void 0===s?void 0:s.email)?{class:n.classes.ErrorStyle,helpText:(null===(l=null===(t=o.registrationFormState)||void 0===t?void 0:t.validationErrors)||void 0===l?void 0:l.email)||d.requiredFieldErrorMessage}:[])),a("div",{class:n.classes.ButtonsContainer,style:{paddingTop:d.includeName?"var(--sl-spacing-medium)":"0"}},a("sl-button",{submit:!0,loading:o.loading,exportparts:"base: primarybutton-base",type:"primary"},d.registerLabel||"Registration"))),d.bottomSlot);var b,c}export{p as E}
@@ -1,11 +0,0 @@
1
- import{h as e,r as s}from"./p-c7c11325.js";import{i as t}from"./p-a554c304.js";import{l as i,k as a,f as r,n}from"./p-63e29387.js";import{d as o,t as l,F as c,i as d,q as p}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as u}from"./p-9ec99ced.js";import{c as f}from"./p-cef45012.js";import{E as h}from"./p-49b20dae.js";import{T as g}from"./p-204861a6.js";import{V as y,S as x,a as v}from"./p-38c7775a.js";import{u as b}from"./p-b22b7891.js";const C=f({Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",maxWidth:"550px"},HeaderContainer:{display:"flex",flexDirection:"column"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column"},CodeInputContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},CodeInput:{maxWidth:"40px","&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},CodeInputError:{...h,maxWidth:"40px","&::part(input)":{margin:"0",padding:"0 var(--sl-input-spacing-small)",fontSize:"var(--sl-font-size-large)"}},ErrorText:{color:"var(--sl-color-danger-500)",fontSize:"var(--sl-font-size-small)",margin:"0"},ContinueButton:{width:"100%",maxWidth:"100px"},FooterContainer:{display:"flex",flexDirection:"column"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"}}),k=C.toString();function E(s){const{states:i,refs:a,callbacks:r,text:n}=s,o=t.formatMessage({id:"resendCodeText",defaultMessage:n.resendCodeText},{resendCodeLink:e("a",{href:"",style:{textDecoration:"none"},onClick:e=>{e.preventDefault(),r.resendEmail()}},n.resendCodeLabel)}),l=t.formatMessage({id:"codeResentSuccessfully",defaultMessage:n.codeResentSuccessfullyText},{email:i.email}),c=i.verifyFailed?C.classes.CodeInputError:C.classes.CodeInput;return e("div",{part:"sqm-base"},e("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n\n\n",k),e("div",{class:C.classes.Wrapper},e("div",{class:C.classes.HeaderContainer},e(g,{type:"p"},t.formatMessage({id:"emailHeaderText",defaultMessage:i.verifyFailed?n.reverifyCodeHeaderText:n.verifyCodeHeaderText},{email:i.email}))),i.emailResent&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("b",null,l)),e("div",{class:C.classes.InputsContainer},e("div",{ref:a.codeWrapperRef,class:C.classes.CodeInputContainer},e("sl-input",{class:c,name:"code"}),e("sl-input",{class:c,name:"code"}),e("sl-input",{class:c,name:"code"}),e("sl-input",{class:c,name:"code"}),e("sl-input",{class:c,name:"code"}),e("sl-input",{class:c,name:"code"})),i.verifyFailed&&e("p",{class:C.classes.ErrorText},n.invalidCodeText),e("sl-button",{class:C.classes.ContinueButton,onClick:r.submitCode,disabled:i.loading||i.initialiseLoading,loading:i.loading||i.initialiseLoading,exportparts:"base: primarybutton-base",type:"primary"},n.verifyText)),e("div",{class:C.classes.FooterContainer},e(g,{type:"p"},o))))}o.gql`
2
- mutation submitImpactPublisherEmail2FACode(
3
- $user: UserIdInput!
4
- $code: String!
5
- ) {
6
- submitImpactPublisherEmail2FACode(user: $user, code: $code) {
7
- verifiedEmail
8
- accessKey
9
- }
10
- }
11
- `;const j=class{constructor(e){s(this,e),this.verifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.reverifyCodeHeaderText="Enter the code sent to {email} from our referral provider, impact.com.",this.resendCodeText="Didn't receive your code? {resendCodeLink}",this.resendCodeLabel="Resend code",this.codeResentSuccessfullyText="Another code has been sent to {email}",this.invalidCodeText="Please check your code and try again. If you’re still having trouble, try resending your code.",this.verifyText="Verify",this.networkErrorMessage="An error occurred while verifying your email. Please refresh the page and try again.",n(this)}disconnectedCallback(){}getTextProps(){return u(this)}render(){const s=d()?function(e){const[s,t]=a(!1),i=p(v);return m({states:{initialiseLoading:!1,loading:!1,email:"test@example.com",emailResent:s,verifyFailed:!1},refs:{codeWrapperRef:()=>{}},callbacks:{resendEmail:async()=>t(!0),submitCode:async()=>i(!0)},text:e.getTextProps()},e.demoData||{},{arrayMerge:(e,s)=>s})}(this):function(e){i();const[s,t]=l(x),n=c(y),[o,d]=a(!1),[p,m]=a(!1),[u,f]=a(null),[h,g]=a(!1),[v,C]=a(!1),{initialized:k,verificationEmail:E,send:[j,{loading:w,errors:I}],verify:[S,{loading:T,errors:z}]}=b();r((()=>{if(!u)return;const e=u.querySelectorAll("sl-input"),s=Array.from(e).map((e=>e.shadowRoot.querySelector('input[name="code"]')));s.forEach(((e,t)=>{e.addEventListener("focus",(e=>{e.target.select()})),e.addEventListener("keydown",(e=>{"Backspace"===e.key&&""===e.target.value&&s[Math.max(0,t-1)].focus()})),e.addEventListener("input",(e=>{const i=e.data;if(i)if(t!==s.length-1){if(i.length>1){const a=i.slice(1);e.target.value=i.slice(0,1),s[t+1].dispatchEvent(new InputEvent("input",{inputType:"insertFromPaste",data:a}))}s[t+1].focus()}else e.target.value=i.slice(0,1)}))}))}),[u]);const F=async()=>{k&&(await j()?(o&&m(!0),d(!0)):C(!0))};return r((()=>{k&&(n?d(!0):F())}),[k]),{refs:{codeWrapperRef:f},states:{email:E,emailResent:p,resendError:I||z,initialiseLoading:!k,loading:w||T,verifyFailed:!!h},callbacks:{resendEmail:F,submitCode:async()=>{const s=u.querySelectorAll("sl-input"),i=Array.from(s).map((e=>e.shadowRoot.querySelector('input[name="code"]')));if(i.find((e=>!e.value)))return void g(!0);let a="";if(i.forEach((e=>{a=`${a}${e.value}`})),!k)return;g(!1);const r=await S(a);(null==r?void 0:r.success)?(e.onVerification(r.accessKey),t(!1),g(!1)):g(!0)}},text:e.getTextProps()}}(this);return e(E,Object.assign({},s))}};export{j as sqm_code_verification}
@@ -1 +0,0 @@
1
- import{r as s,h as o}from"./p-c7c11325.js";import{n as r,k as t,f as n}from"./p-63e29387.js";import{i as e,k as i,H as a}from"./p-8e2bead4.js";import{c}from"./p-c1086930.js";import{N as m}from"./p-99fb2a50.js";const l=class{constructor(o){s(this,o),this.ignored=!0,this.mobileMenuColor="var(--sqm-text, #444445)",r(this)}disconnectedCallback(){}render(){const s=e()?function(s){return c({mobileMenuColor:s.mobileMenuColor},s.demoData||{},{arrayMerge:(s,o)=>o})}(this):function(s){const o=i(),r=a(),[e,c]=t(!1);return n((()=>{c(!1)}),[o.pathname,r]),{mobileMenuColor:s.mobileMenuColor,checked:e,onClick:function(s){c(s.target.checked)}}}(this);return o(m,Object.assign({},s),o("slot",null))}};export{l as sqm_navigation_sidebar}
@@ -1 +0,0 @@
1
- import{h as t}from"./p-c7c11325.js";import{c as o}from"./p-cef45012.js";import{H as r}from"./p-49b20dae.js";const n={right:"\nsl-input::part(input){\n text-align: right;\n}",center:" \nsl-input::part(input){\n text-align: center;\n}",left:""};function l(l){const{buttonStyle:s="icon"}=l,e=o({HostBlock:r,inputStyle:{"&::part(input)":{textOverflow:"ellipsis",width:"100%",color:l.textColor||"var(--sqm-text)"},"&::part(base)":{"--sl-input-border-radius":"var(--sqm-border-radius-normal)","--sl-input-background-color":"var(--sl-color-white)","--sl-input-color":"var(--sqm-text)","--sl-input-border-color":"#D6D8F0","--sl-input-border-color-hover":"#999999","--sl-input-border-color-focus":"#999999","--sl-input-color-hover":"var(--sqm-input-color-hover)","--sl-input-color-focus":"var(--sqm-input-color-focus)","--sl-input-color-disabled":"var(--sqm-input-disabled-color)","--sl-input-background-color-focus":"var(--sqm-portal-background)","--sl-input-background-color-hover":"var(--sqm-portal-background)",cursor:"pointer",overflow:"visible",borderRadius:`${l.borderRadius}px`||"var(--sqm-border-radius-normal)",background:l.backgroundColor||"var(--sqm-portal-background)",border:`1px solid ${l.borderColor||"#d4d4d8"}`},width:"100%"},icon:{"&::part(base)":{color:l.textColor||"var(--sqm-text)"}},inputErrorStyle:{"&::part(base)":{border:"2px solid red"}},ContainerDiv:{display:"flex",alignItems:"flex-start",flexDirection:"column",justifyContent:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},containerStyle:{display:"flex",alignItems:"center",gap:"var(--sl-spacing-x-small)",width:"100%"},errorTextStyle:{margin:"0",color:"var(--sqm-danger-color-text)"},notificationTextStyle:{margin:"0",color:"inherit"}}),i=e.toString(),a=!l.loading&&l.error,p=a?l.inputPlaceholderText:l.copyString,c=a||l.loading||l.disabled,u=t("sl-tooltip",{trigger:"manual",content:l.tooltiptext,placement:"button-below"===l.buttonStyle?"bottom":"button-outside"===l.buttonStyle?"top":"top-end",disabled:l.disabled,open:l.open,skidding:"icon"===l.buttonStyle?-5:0,slot:"suffix"},"icon"===s?t("sl-icon-button",{class:e.classes.icon,exportparts:"base: icon-button-base",onClick:()=>{var t;return null===(t=l.onClick)||void 0===t?void 0:t.call(l)},name:"files",disabled:c}):t("sl-button",{exportparts:`base: ${l.buttonType||"primary"}button-base`,onClick:()=>{var t;return null===(t=l.onClick)||void 0===t?void 0:t.call(l)},size:"medium",style:{width:`${"button-below"===s&&"100%"}`},disabled:c,type:"primary"},l.copyButtonLabel||"Copy"));return t("div",{class:e.classes.ContainerDiv},t("style",{type:"text/css"},i,"\n :host{\n display: block; \n width: 100%;\n }\n",n[l.textAlign],c&&"\n sl-input::part(input){\n cursor: default;\n }\n"),t("div",{class:e.classes.containerStyle,style:{flexDirection:"button-below"===s?"column":"row"}},t("sl-input",{class:`${e.classes.inputStyle} ${a?e.classes.inputErrorStyle:""}`,exportparts:"base: input-base, input: input-label",value:l.loading?"Loading...":p,readonly:!0,disabled:c},"icon"===s&&u,a&&t("p",{slot:"help-text",class:e.classes.errorTextStyle},l.errorText)),("button-outside"===s||"button-below"===s)&&u),l.isCopied&&l.showNotificationText&&l.notificationText&&t("p",{part:"sqm-notification-text",class:e.classes.notificationTextStyle},l.notificationText))}export{l as C}
@@ -1 +0,0 @@
1
- import{h as n}from"./p-c7c11325.js";function e(e,i){return n("div",{class:"container",part:"sqm-base"},n("style",null,`\n\n* {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.container {\n background: var(--sqm-portal-background);\n}\n\n.menu-items {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n@keyframes slideIn {\n 0% {\n left: -350px;\n }\n 100% {\n left: 0;\n }\n}\n\n@media screen and (min-width: 800px) {\n :host {\n max-width: 300px;\n }\n .toggler,\n .hamburger {\n user-select: none;\n visibility:hidden;\n }\n .container{\n position: sticky;\n top: 0;\n }\n .menu-items {\n min-width: 290px;\n max-width: 320px;\n box-sizing: border-box;\n padding: 0px 15px;\n }\n .menu-items > :not(:last-child): {\n margin-bottom: 4px;\n }\n}\n@media screen and (max-width: 799px) {\n .toggler {\n border: 2px solid #eee;\n cursor: pointer;\n opacity: 0;\n z-index: 5;\n }\n\n .container {\n position: sticky;\n top: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 60px;\n width: 60px;\n flex-direction: column;\n z-index: 100;\n }\n .menu-items {\n display: none;\n padding: 20px;\n border-right: 1px solid #eaeaea;\n padding-top: 60px;\n background: var(--sqm-portal-background); \n width: 100vw;\n height: 100vh;\n position: absolute;\n top: 0;\n right: 0;\n left: 0px;\n margin: 0;\n animation: slideIn 500ms ease-in-out;\n }\n\n .toggler,\n .hamburger {\n visibility: visible !important;\n }\n\n .container {\n display: flex;\n }\n\n .hamburger > .line {\n visibility: visible !important;\n }\n\n\n .toggler,\n .hamburger {\n position: absolute;\n padding: 20px 10px;\n }\n\n .toggler {\n z-index: 100;\n width: 100%;\n height: 100%;\n }\n\n .hamburger {\n z-index: 10;\n width: 75%;\n height: 100%;\n }\n\n .toggler:checked ~ .menu-items {\n display: block;\n }\n\n /***** Turn hamburger into an X *****/\n .toggler:checked ~ .hamburger > .line:nth-child(1) {\n opacity: 0;\n }\n\n .toggler:checked ~ .hamburger > .line:nth-child(2) {\n transform: rotate(45deg) translate(0px, -0.5px);\n }\n\n .toggler:checked ~ .hamburger > .line:nth-child(3) {\n transform: rotate(-45deg) translate(3px, -3.5px);\n }\n\n .toggler:checked ~ .hamburger > .line:nth-child(1),\n .toggler:checked ~ .hamburger > .line:nth-child(2),\n .toggler:checked ~ .hamburger > .line:nth-child(3) {\n width: 75%;\n border-bottom: 3px solid ${e.mobileMenuColor};\n margin: 0;\n }\n\n .hamburger > .line {\n visibility:hidden;\n z-index: 2;\n height: 4px;\n width: 100%;\n margin-bottom: 3px;\n border-bottom: 5px solid ${e.mobileMenuColor};\n }\n}\n`),n("input",Object.assign({type:"checkbox",class:"toggler"},e)),n("div",{class:"hamburger"},n("div",{class:"line"}),n("div",{class:"line"}),n("div",{class:"line"})),n("div",{class:"menu-items",part:"sqm-items-container"},i))}export{e as N}
@@ -1 +0,0 @@
1
- import{r as t,h as e}from"./p-c7c11325.js";import"./p-a554c304.js";import{u as i,f as r,n as o}from"./p-63e29387.js";import{M as a,_ as n,J as s,L as u,I as h,S as d,i as c}from"./p-8e2bead4.js";import{c as m}from"./p-c1086930.js";import{g as l}from"./p-9ec99ced.js";import"./p-cef45012.js";import{E as p}from"./p-24af584d.js";import{g as y,L as f}from"./p-cd207258.js";import{e as v,p as b}from"./p-0797a946.js";import{T as g,a as x,U as T,C as S,b as w,S as I,c as k,G as P,d as C,e as A,F as q,f as B,g as N,h as V}from"./p-6ad674c2.js";const E=class{constructor(e){t(this,e),this.step1_firstName="First name",this.step1_lastName="Last name",this.step1_email="Email",this.step1_country="Country",this.step1_phoneNumber="Phone number",this.step1_address="Address",this.step1_city="City",this.step1_state="State",this.step1_province="Province",this.step1_region="Region",this.step1_postalCode="Postal code",this.step1_currency="Currency",this.step1_currencyHelpText="Choose your preferred payout currency",this.step1_allowBankingCollection="I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information",this.step1_personalInformation="Personal Information",this.step1_termsAndConditionsLabel="terms and conditions",this.step1_termsAndConditionsLink="https://terms.advocate.impact.com/PayoutTermsAndConditions.html",this.step1_searchForCurrencyText="Search for currency..",this.step2_indirectTax="Indirect Tax",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.",this.step2_indirectTaxDetails="Indirect tax details",this.step2_otherRegion="Registered for indirect tax",this.step2_otherRegionSubtext="If you’ve registered with your tax authority, add your information to stay tax compliant.",this.step2_notRegistered="Not registered for indirect tax",this.step2_notRegisteredSubtext="If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.",this.step2_selectedRegion="Country / region of indirect tax",this.step2_indirectTaxNumber="{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}",this.step2_province="Province",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",this.step2_qstNumber="QST number",this.step2_isRegisteredQST="I am registered for QST Tax",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.",this.step2_subRegion="Sub-region",this.step2_subRegionTaxNumberLabel="Income Tax Number",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.",this.step3_taxForm="Tax form",this.step3_taxFormLabel="{documentType} Tax Form",this.step3_participantType="Participant type",this.step3_businessEntity="I represent a business",this.step3_individualParticipant="I am an individual participant",this.step3_taxFormDescription="Participants based in the US need to submit a {documentType} form.",this.step3_taxFormDescriptionIndividualParticipant="Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.",this.step3_taxFormDescriptionBusinessEntity="Participants residing outside of the US who represent a business entity need to submit a {documentType} form.",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.",this.step3_docusignSessionWarning="For your security, we automatically end your session when you have not interacted with the form after 20 minutes.",this.step3_docusignError="There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.",this.step3_refreshButton="Refresh Page",this.step3_exitButton="Exit",this.step3_modalTitle="Important Note",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.",this.step3_modalButtonText="I understand",this.step4_taxAndPayouts="Payouts",this.step4_directlyToBankAccount="Directly to my bank account",this.step4_toPayPalAccount="PayPal (2% processing fee capped to {feeCap})",this.step4_paymentScheduleBalanceThreshold="Pay me when my balance reaches a threshold",this.step4_paymentScheduleFixedDay="Pay me on a fixed day of the month",this.step4_paymentDaySelectLabel="Payment Day",this.step4_paymentThresholdSelectLabel="Payment threshold",this.step4_paymentDayFirstOfMonthLabelText="1st of the month",this.step4_paymentDayFifteenthOfMonthLabelText="15th of the month",this.step4_paymentMethod="Payment method",this.step4_paymentSchedule="Payment schedule",this.step4_paymentMethodSubtext="Payouts will be sent from our referral program provider, impact.com.",this.step4_payPalInputLabel="PayPal email",this.step4_bankLocationLabel="Bank country location",this.step4_beneficiaryAccountNameLabel="Account holder name",this.step4_beneficiaryAccountNameDescription="The beneficiary name of your bank account. Ensure this matches the name on your tax form.",this.step4_bankAccountTypeLabel="Bank account type",this.step4_checkingSelectItemLabel="Checking",this.step4_savingsSelectItemLabel="Savings",this.step4_bankAccountNumberLabel="Bank account number",this.step4_ibanLabel="IBAN",this.step4_swiftCodeLabel="SWIFT code",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} }",this.step4_bankNameLabel="Bank name",this.step4_classificationEntityLabel="Classification entity",this.step4_businessSelectItemLabel="Business",this.step4_individualSelectItemLabel="Individual",this.step4_foreignSelectItemLabel="Foreign",this.step4_classificationCPFLabel="Classification CPF",this.step4_patronymicNameLabel="Patronymic name",this.step4_voCodeLabel="VO code",this.step4_agencyCodeLabel="Agency code",this.step4_branchCodeLabel="Branch code",this.step4_classificationLabel="Classification",this.step4_taxPayerIdLabel="Beneficiary INN",this.step4_bankAddressLabel="Bank address",this.step4_bankCityLabel="Bank city",this.step4_bankStateLabel="Bank Province / State",this.step4_bankPostalCodeLabel="Bank postal code",this.step4_eftWithdrawalLabel="EFT Withdrawal (free)",this.step4_fxWireProcessingFeeLabel="FX Wire (Processing Fee {currency}{defaultFxFee}.00)",this.step4_verifyEmailHeaderText="Verify your email",this.step4_verifyEmailDescriptionText="Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.",this.step4_modalTitle="Important Note",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.",this.step4_modalButtonText="I understand, update my information",this.dashboard_statusTextActive="Active",this.dashboard_statusTextNotActive="Invalid Tax Form",this.dashboard_statusTextNotVerified="Not Verified",this.dashboard_badgeTextSubmittedOn="Submitted on {dateSubmitted}.",this.dashboard_badgeTextSubmittedOnW8="Submitted on {dateSubmitted}. Valid for three years after submission.",this.dashboard_badgeTextAwaitingReview="Awaiting review. Submitted on {dateSubmitted}.",this.dashboard_taxAlertHeaderNotActiveW9="Your W9 tax form has personal information that doesn’t match your profile",this.dashboard_taxAlertHeaderNotActiveW8="{documentType} tax form is invalid",this.dashboard_taxAlertNotActiveMessageW9="Please resubmit a new {documentType} form.",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.",this.dashboard_invalidForm="Make sure your information is correct and submit new form.",this.dashboard_bankingInformationSectionHeader="Payout Information",this.dashboard_taxDocumentSectionHeader="Tax documents",this.dashboard_taxDocumentSectionSubHeader="{documentType} tax form",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.",this.dashboard_indirectTaxInfoSectionHeader="Indirect tax",this.dashboard_indirectTaxInfoCanada="Registered in {province}, {country}",this.dashboard_indirectTaxInfoOtherCountry="Registered in {country}",this.dashboard_indirectTaxInfoSpain="Registered in {country}, {subRegion}",this.dashboard_indirectTaxTooltipSupport="To make changes to your indirect tax information, please contact our {supportLink}.",this.dashboard_indirectTaxDetails="{indirectTaxType} number: {indirectTaxNumber}",this.dashboard_newFormButton="Submit new form",this.dashboard_editPaymentInformationButton="Edit Payout Information",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.",this.dashboard_qstNumber="QST number: {qstNumber}",this.dashboard_subRegionTaxNumber="Income tax number: {subRegionTaxNumber}",this.dashboard_statusBadgeText="{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }",this.dashboard_thresholdPayoutText="Next payout occurs when balance is {thresholdBalance}",this.dashboard_accountText="Account",this.dashboard_invoiceColumnTitle="Invoice",this.dashboard_dateColumnTitle="Date",this.dashboard_earningsColumnTitle="Earnings",this.dashboard_indirectTaxColumnTitle="Indirect tax",this.dashboard_payoutFromImpact="Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.",this.dashboard_earningsAfterTaxColumnTitle="Earnings after tax",this.dashboard_payoutHoldAlertHeader="Your payout is on hold",this.dashboard_payoutHoldAlertDescription="Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.",this.dashboard_payoutMissingInformationText="Missing banking information, go to Impact.com to resolve.",this.dashboard_invoiceDescription="View and download your invoices to report your earnings and stay tax compliant.",this.dashboard_invoicePrevLabel="Prev",this.dashboard_invoiceMoreLabel="Next",this.dashboard_invoiceHeader="Invoices",this.dashboard_invoiceEmptyStateHeader="View your invoice details",this.dashboard_invoiceEmptyStateText="Refer a friend to view the status of your invoices and rewards earned",this.dashboard_replaceTaxFormModalHeader="Replace existing tax form",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.",this.dashboard_verificationRequiredHeader="Verify your identity",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}.",this.dashboard_verificationRequiredInternalHeader="Identity Verification in Progress",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}.",this.dashboard_verificationReviewInternalHeader="Identity Verification Under Review",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}.",this.dashboard_verificationFailedInternalHeader="Identity Verification Unsuccessful",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}.",this.dashboard_verificationRequiredButtonText="Start Verification",this.formStep="Step {step} of {count}",this.generalErrorTitle="There was a problem submitting your information",this.generalErrorDescription="Please review your information and try again. If this problem continues, contact our {supportLink}.",this.fieldRequiredError="{fieldName} is required",this.invalidCharacterError="{fieldName} includes characters that aren't supported.",this.fieldInvalidError="{fieldName} is invalid",this.continueButton="Continue",this.backButton="Back",this.cancelButton="Cancel",this.isPartnerAlertHeader="An account with this email already exists with our referral program provider, impact.com",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.",this.searchForCountryText="Search for country..",this.loadingErrorAlertHeader="There was a problem loading your form",this.loadingErrorAlertDescription="Please refresh the page and try again. If this problem continues, contact our {supportLink}.",this.taxAndPayoutsDescription="Submit your tax documents and add your banking information to receive your rewards.",this.supportLink="support team",this.stateController="{}",o(this)}disconnectedCallback(){}getGeneralStepTextProps(t){const e=l(this);return{...v(e,t),generalErrorTitle:e.generalErrorTitle,generalErrorDescription:e.generalErrorDescription,fieldRequiredError:e.fieldRequiredError,invalidCharacterError:e.invalidCharacterError,fieldInvalidError:e.fieldInvalidError,continueButton:e.continueButton,backButton:e.backButton,cancelButton:e.cancelButton,isPartnerAlertHeader:e.isPartnerAlertHeader,isPartnerAlertDescription:e.isPartnerAlertDescription,loadingErrorAlertHeader:e.loadingErrorAlertHeader,loadingErrorAlertDescription:e.loadingErrorAlertDescription,taxAndPayoutsDescription:e.taxAndPayoutsDescription,searchForCountryText:e.searchForCountryText,formStep:e.formStep,supportLink:e.supportLink}}render(){var t,o;const E=c()?function(t){const[e,i]=h({namespace:g,initialValue:"/1"});console.log("PROPS",t);const r=b(t.stateController),o=Object.keys(r).reduce(((t,e)=>"sqm-tax-and-cash"===e?{...t,...r[e]}:{...t,[`${e}_stateController`]:r[e]}),{});return m({step:e,setStep:i},t.demoData||o||{},{arrayMerge:(t,e)=>e})}(this):function(){var t,e,o,c,m;const l=n(),p=s(),f=u(),[v,b]=h({namespace:g,initialValue:"/loading"}),[E,j]=h({namespace:x,initialValue:{}}),[L,R]=h({namespace:T,initialValue:{firstName:void 0,lastName:void 0,email:void 0,countryCode:void 0,currency:void 0}}),[_,F]=h({namespace:S,initialValue:[]}),[O,U]=h({namespace:w,initialValue:[]}),[D,G]=h({namespace:I,initialValue:[]}),{data:H,errors:M}=d({namespace:k,query:P,skip:!p,options:{batch:!1}}),Y=(null===(o=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===o?void 0:o.countryCode)||L.countryCode;d({namespace:C,query:A,skip:!p});const{data:W}=d({namespace:q,query:B,skip:!p,variables:{filter:function(){var t,e,i;return"/1"===v?{}:"/4"===v?{currency_eq:null===(i=null===(e=null===(t=null==H?void 0:H.user)||void 0===t?void 0:t.impactConnection)||void 0===e?void 0:e.publisher)||void 0===i?void 0:i.currency}:Y?{countryCode_eq:Y}:{}}()}}),{data:Q}=d({namespace:N,query:V,skip:!p,variables:{locale:f}}),Z=i((()=>{var t,e;return null===(e=null===(t=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===t?void 0:t.data)||void 0===e?void 0:e.reduce(((t,e)=>{var i,r;const o=null===(r=null===(i=null==Q?void 0:Q.currencies)||void 0===i?void 0:i.data)||void 0===r?void 0:r.find((t=>t.currencyCode===e.currency));return o?t.find((t=>t.currencyCode===e.currency))||L.countryCode&&e.countryCode!==Y?t:[...t,o]:t}),[])}),[W,Y]),z=(null==f?void 0:f.replace("_","-"))||"en",K=(t,e)=>t.displayName<e.displayName?-1:1,X=null===(c=null==W?void 0:W.impactFinanceNetworkSettings)||void 0===c?void 0:c.data,$=i((()=>new Set(null==X?void 0:X.map((t=>t.countryCode)).filter((t=>t)))),[X]),J=["CA","GB","US"],tt=i((()=>Array.from($).map((t=>y({countryCode:t,locale:z}))).sort(K).reduce(((t,e)=>J.includes(e.countryCode)?[e,...t]:[...t,e]),[])),[$]);return r((()=>{tt&&G(tt)}),[tt]),r((()=>{Z&&F(Z)}),[Z]),r((()=>{if(M)b("/error");else if(l&&p&&H){const t=null==H?void 0:H.user;if(!t||"/loading"!==v)return;const e=function(t){var e,i;if(!(null===(e=t.impactConnection)||void 0===e?void 0:e.connected)||!(null===(i=t.impactConnection)||void 0===i?void 0:i.publisher))return"/1";const{requiredTaxDocumentType:r,currentTaxDocument:o,withdrawalSettings:a,brandedSignup:n}=t.impactConnection.publisher;return r&&!o?"/3":!a&&n?"/4":"/dashboard"}(t);b(e)}}),[l,p,null===(m=null==H?void 0:H.user)||void 0===m?void 0:m.email,M]),{step:v,setStep:b,context:E,namespace:a(g),loading:"/loading"===v}}();if(null===(t=this.demoData)||void 0===t?void 0:t.showTextProps){const t=l(this);return e("div",null,null===(o=Object.keys(t))||void 0===o?void 0:o.map((t=>{if("demoData"!==t)return e("div",null,e("b",null,t,":")," ",this[t],e("hr",null))})))}return(()=>{switch(E.step){case"/1":return e("sqm-user-info-form",Object.assign({},this.getGeneralStepTextProps("step1_"),v(E,"sqm-user-info-form_")));case"/2":return e("sqm-indirect-tax-form",Object.assign({},this.getGeneralStepTextProps("step2_"),v(E,"sqm-indirect-tax-form_")));case"/3":return e("sqm-docusign-form",Object.assign({},this.getGeneralStepTextProps("step3_"),v(E,"sqm-docusign-form_")));case"/4":return e("sqm-banking-info-form",Object.assign({},this.getGeneralStepTextProps("step4_"),v(E,"sqm-banking-info-form_")));case"/dashboard":return e("sqm-tax-and-cash-dashboard",Object.assign({},this.getGeneralStepTextProps("dashboard_"),v(E,"sqm-tax-and-cash-dashboard_")));case"/error":return e(p,{loadingErrorAlertHeader:this.loadingErrorAlertHeader,loadingErrorAlertDescription:this.loadingErrorAlertDescription})}})()||e(f,null)}};export{E as sqm_tax_and_cash}
@@ -1 +0,0 @@
1
- import{h as l}from"./p-c7c11325.js";import{c as a}from"./p-cef45012.js";import{g as t}from"./p-49b20dae.js";function o(o){const{states:e,data:r,callbacks:s,elements:i}=o,{columns:d,rows:n}=i,{show:p}=e,b=r.hiddenColumns&&r.hiddenColumns.split(",").map(Number),m={Table:{borderCollapse:"collapse",tableLayout:"fixed",width:"100%","& tbody tr":{borderBottom:"1px solid var(--sqm-border-color)","&:first-child":{borderTop:"1px solid var(--sqm-border-color)"}},"& th":{paddingBottom:"var(--sl-spacing-small)",textAlign:"left",fontWeight:"var(--sl-font-weight-semibold)",overflowWrap:"anywhere"},"& td":{padding:"var(--sl-spacing-small)",paddingLeft:"0",overflow:"hidden",textOverflow:"ellipsis"},["@media (max-width: "+r.mdBreakpoint+"px)"]:{"& thead":{display:"none"},"& tr":{display:"block",background:"inherit",border:"1px solid var(--sqm-border-color)",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)",borderRadius:"var(--sl-border-radius-large)",padding:"var(--sl-spacing-medium)",fontSize:"var(--sl-font-size-small)",marginBottom:"var(--sl-spacing-large)"},"& td":{display:"grid",borderTop:"none",padding:"0",marginBottom:"var(--sl-spacing-medium)","&:first-child":{textAlign:"left"},"&:before":{content:"attr(data-label)",whiteSpace:"nowrap"},"&:last-child":{marginBottom:"0"},"&.hidden:before":{content:"none"}}},[`@media (min-width: ${Boolean(n.length<2)?r.mdBreakpoint:r.smBreakpoint}px) and (max-width: ${r.mdBreakpoint}px)`]:{"& tbody":{display:"grid",gridTemplateColumns:"0.5fr 0.5fr",gap:"25px"}}},ButtonContainer:{display:"flex","justify-content":"flex-end","margin-top":"var(--sl-spacing-small)",...t({direction:"row",size:"var(--sl-spacing-small)"})},ButtonDisabled:{"&::part(base)":{opacity:"0.25"}}},c=a(m),g=c.toString();return"empty"===p?i.emptyElement:l("div",null,l("style",{type:"text/css"},g),l("table",{class:c.classes.Table},r.textOverrides.showLabels&&l("thead",null,l("tr",null,null==d?void 0:d.map((a=>l("th","string"==typeof a?null:{style:{width:"30px"}},a))))),l("tbody",null,"loading"===p&&i.loadingElement,"rows"===p&&(null==n?void 0:n.map(((a,t)=>l("tr",{style:{borderTop:r.textOverrides.showLabels||0!==t?"":"none"},part:"table-row"},a.map(((a,t)=>l("td","string"==typeof d[t]?{class:(null==b?void 0:b.includes(t))?"hidden":"","data-label":d[t]+":",style:{gridTemplateColumns:(null==b?void 0:b.includes(t))?"1fr":"0.5fr 0.5fr"}}:null,a))))))))),l("div",{class:c.classes.ButtonContainer,part:e.namespace+"-button-wrapper"},l("sl-button",{size:"small",disabled:!e.hasPrev,loading:"loading"===p,onClick:s.prevPage,exportparts:"base: secondarybutton-base",class:e.hasPrev?"":c.classes.ButtonDisabled},r.textOverrides.prevLabel),l("sl-button",{size:"small",loading:"loading"===p,disabled:!e.hasNext,onClick:s.nextPage,exportparts:"base: secondarybutton-base",class:e.hasNext?"":c.classes.ButtonDisabled},r.textOverrides.moreLabel)))}export{o as G}
@@ -1 +0,0 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function s(e){try{l(n.next(e))}catch(e){i(e)}}function o(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?t(e.value):a(e.value).then(s,o)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(r){return l([e,r])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-b11dd241.system.js","./p-4f5329a2.system.js","./p-d8c5b80a.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-67ad2252.system.js","./p-57dd28bd.system.js","./p-d399162b.system.js"],(function(e){"use strict";var r,t,n,a,i,s,o,l,u,c,d,p,f,m,v,b,h,g,y,x;return{setters:[function(e){r=e.h;t=e.r},function(e){n=e.i},function(e){a=e.k;i=e.f;s=e.n},function(e){o=e.d;l=e.t;u=e.w;c=e.J;d=e.$;p=e.i;f=e.q},function(e){m=e.c},function(e){v=e.g},function(e){b=e.c},function(e){h=e.T},function(e){g=e.S;y=e.V},function(e){x=e.u}],execute:function(){var w=o.gql(__makeTemplateObject(["\n mutation upsertUser($userInput: UserInput!) {\n upsertUser(userInput: $userInput) {\n id\n accountId\n email\n }\n }\n"],["\n mutation upsertUser($userInput: UserInput!) {\n upsertUser(userInput: $userInput) {\n id\n accountId\n email\n }\n }\n"]));var _=o.gql(__makeTemplateObject(["\n query user {\n viewer {\n ... on User {\n id\n accountId\n email\n impactConnection {\n user {\n id\n email\n }\n }\n }\n }\n }\n"],["\n query user {\n viewer {\n ... on User {\n id\n accountId\n email\n impactConnection {\n user {\n id\n email\n }\n }\n }\n }\n }\n"]));function k(){var e=this;var r=c();var t=d(w),n=t[0],a=t[1],i=a.loading,s=a.data,o=a.errors;var l=function(t){return __awaiter(e,void 0,void 0,(function(){var e,a;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,2,,3]);return[4,n({userInput:{id:r.id,accountId:r.accountId,email:t}})];case 1:e=i.sent();if(e instanceof Error||!e)throw new Error;return[2,e];case 2:a=i.sent();console.error("Could not set email on user",a);return[2,undefined];case 3:return[2]}}))}))};return[l,{loading:i,data:s,errors:o}]}function E(e){var r=this;var t=l(g),n=t[0],s=t[1];var o=l(y),c=o[0],d=o[1];var p=a(false),f=p[0],m=p[1];var v=a(false),b=v[0],h=v[1];var w=a(false),E=w[0],T=w[1];var C=x(),I=C.initialized,j=C.send,S=j[0],O=j[1],L=O.loading,D=O.errors;var P=k()[0];var U=a(true),q=U[0],W=U[1];var $=u(_,{}),A=$.data,H=$.loading;var z=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;i((function(){if(!(A===null||A===void 0?void 0:A.viewer))return;m(!!A.viewer.email)}),[A]);i((function(){if(I)W(false)}),[I]);var M=function(e){return __awaiter(r,void 0,void 0,(function(){var r,t,n,a,i;return __generator(this,(function(o){switch(o.label){case 0:e.preventDefault();if(!(A===null||A===void 0?void 0:A.viewer))return[2];W(true);r=A.viewer.email;if(!!r)return[3,2];t=e.detail.formData;n=t.get("email").toString();if(!z.test(n)){h(true);return[2]}return[4,P(n)];case 1:a=o.sent();if(!a||!a.user.email)h(true);o.label=2;case 2:if(!I)return[2];return[4,S()];case 3:i=o.sent();if(!i||!i.success)T(true);else{d(r);s(true)}W(false);return[2]}}))}))};return{callbacks:{submitEmail:M},states:{loading:q,initialLoading:H&&!I,error:b,email:A===null||A===void 0?void 0:A.viewer.email,sendCodeError:E},text:e.getTextProps()}}var T={Wrapper:{display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)",marginTop:"var(--sl-spacing-medium)"},InputsContainer:{display:"flex",gap:"var(--sl-spacing-medium)",position:"relative",flexDirection:"column",maxWidth:"320px"},ErrorAlertContainer:{"&::part(base)":{backgroundColor:"var(--sl-color-red-100)",borderTop:"none"},"&::part(message)":{}},ContinueButton:{width:"100%",maxWidth:"100px"},SkeletonOne:{width:"50%",height:"16px"},SkeletonTwo:{width:"30%",height:"34px"},SkeletonThree:{width:"15%",height:"24px"},ErrorInput:{"&::part(base)":{border:"1px solid var(--sl-color-danger-500)",borderRadius:"var(--sl-input-border-radius-medium)"},"&::part(help-text)":{color:"var(--sl-color-danger-500)"}}};var C="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var I=b(T);var j=I.toString();function S(e){var t=e.states,a=e.callbacks,i=e.text;var s=function(){return r("div",{class:I.classes.Wrapper},r("sl-skeleton",{class:I.classes.SkeletonOne}),r("sl-skeleton",{class:I.classes.SkeletonTwo}),r("sl-skeleton",{class:I.classes.SkeletonThree}))};return r("div",{part:"sqm-base"},r("style",{type:"text/css"},C,j),t.sendCodeError&&r("sl-alert",{exportparts:"base: alert-base, icon:alert-icon",type:"danger",class:I.classes.ErrorAlertContainer,open:true},r("sl-icon",{slot:"icon",name:"exclamation-octagon"}),r("b",null,i.sendCodeErrorHeader),r("br",null),n.formatMessage({id:"sendCodeErrorDescription",defaultMessage:i.sendCodeErrorDescription},{supportLink:r("a",{target:"_blank",href:"mailto:advocate-support@impact.com"},i.supportLink)})),t.initialLoading?s():r("div",{class:I.classes.Wrapper},r(h,{type:"p"},i.verifyEmailHeaderText),r("sl-form",{"onSl-submit":a.submitEmail},r("div",{class:I.classes.InputsContainer},r("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",label:i.emailLabel,value:t.email||"",type:"email",id:"email",name:"email",disabled:!!t.email||t.loading},t.error?{class:I.classes.ErrorInput,helpText:i.emailValidationErrorText}:{})),r("sl-button",{submit:true,class:I.classes.ContinueButton,loading:t.loading,exportparts:"base: primarybutton-base",type:"primary"},i.sendCodeText)))))}var O=e("sqm_email_verification",function(){function e(e){t(this,e);this.verifyEmailHeaderText="Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";this.sendCodeErrorHeader="There was an error sending your code";this.supportLink="support team";this.sendCodeErrorDescription="Please try again. If this problem continues, contact our program {supportLink}.";this.emailLabel="Email";this.sendCodeText="Send code";this.emailValidationErrorText="Please enter a valid email";s(this)}e.prototype.disconnectedCallback=function(){};e.prototype.getTextProps=function(){return v(this)};e.prototype.render=function(){var e=p()?L(this):E(this);return r(S,Object.assign({},e))};return e}());function L(e){var r=this;var t=f(g);return m({states:{error:true,initialLoading:false,loading:false,email:"test@example.com",sendCodeError:true},callbacks:{submitEmail:function(){return __awaiter(r,void 0,void 0,(function(){return __generator(this,(function(e){return[2,t(true)]}))}))}},text:e.getTextProps()},e.demoData||{},{arrayMerge:function(e,r){return r}})}}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js"],(function(r){"use strict";var o,e,s;return{setters:[function(r){o=r.r;e=r.h},function(r){s=r.n}],execute:function(){var n="sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Warning::part(base){background-color:var(--sl-color-warning-100);border-color:var(--sl-color-warning-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";var t=r("sqm_form_message",function(){function r(r){o(this,r);this.ignored=true;s(this)}r.prototype.disconnectedCallback=function(){};r.prototype.render=function(){if(this.type==="error"){return e("sl-alert",{exportparts:"base: erroralert-base, icon:erroralert-icon",class:"Error",type:"danger",open:true},e("sl-icon",{slot:"icon",name:""+(this.icon?this.icon:"exclamation-octagon")}),e("slot",null))}else if(this.type==="info"){return e("sl-alert",{exportparts:"base: infoalert-base, icon:infoalert-icon",class:"Info",type:"primary",open:true},e("sl-icon",{slot:"icon",name:""+(this.icon?this.icon:"info-circle")}),e("slot",null))}else if(this.type==="warning"){return e("sl-alert",{exportparts:"base: warningalert-base, icon:warningalert-icon",class:"Warning",type:"warning",open:true},e("sl-icon",{slot:"icon",name:""+(this.icon?this.icon:"exclamation-triangle")}),e("slot",null))}else{return e("sl-alert",{exportparts:"base: successalert-base, icon:successalert-icon",class:"Success",type:"success",open:true},e("sl-icon",{slot:"icon",name:""+(this.icon?this.icon:"check2-circle")}),e("slot",null))}};return r}());t.style=n}}}));