@saasquatch/mint-components 1.12.0-7 → 1.12.0-9

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 (370) hide show
  1. package/dist/cjs/{ShadowViewAddon-13173901.js → ShadowViewAddon-040cffad.js} +38 -36
  2. package/dist/cjs/{global-e4ebdbcc.js → global-c3637175.js} +10 -161
  3. package/dist/cjs/{index.module-236d0403.js → index.module-b8d9d0ba.js} +228 -1392
  4. package/dist/cjs/loader.cjs.js +4 -4
  5. package/dist/cjs/{luxon-20eafbd9.js → luxon-05098e19.js} +1 -1
  6. package/dist/cjs/mint-components.cjs.js +4 -4
  7. package/dist/cjs/{mockRewardData-3c470512.js → mockRewardData-4258e067.js} +1 -1
  8. package/dist/cjs/{re-render-5de6631a.js → re-render-5bde3d2e.js} +2 -2
  9. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  10. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +452 -415
  11. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +112 -127
  12. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  13. package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -10
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  15. package/dist/cjs/sqm-email-verification.cjs.entry.js +24 -25
  16. package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
  17. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  19. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  20. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  21. package/dist/cjs/{sqm-invoice-table-view-e530775f.js → sqm-invoice-table-view-c58966f8.js} +41 -1
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +7 -8
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-fc865ecf.js → sqm-navigation-sidebar-item-view-a2135064.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  27. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  28. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  29. package/dist/cjs/{sqm-portal-email-verification-view-4bc2760b.js → sqm-portal-email-verification-view-050dbe0f.js} +1 -1
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  33. package/dist/cjs/{sqm-portal-profile-view-cbab7c80.js → sqm-portal-profile-view-d97086bc.js} +1 -1
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +11 -12
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -7
  37. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
  38. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  39. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +16 -17
  40. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  41. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +61 -62
  44. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-stencilbook.cjs.entry.js +17 -15
  46. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  47. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  48. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  49. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +11 -12
  50. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
  51. package/dist/cjs/{stencil-hooks.module-a5a04d8a.js → stencil-hooks.module-72742a0b.js} +4 -1
  52. package/dist/cjs/{useChildElements-23beb180.js → useChildElements-410d2435.js} +2 -2
  53. package/dist/cjs/{useInstantAccessRegistration-7c125c00.js → useInstantAccessRegistration-ccf81eae.js} +3 -3
  54. package/dist/cjs/usePayoutStatus-b9fb7399.js +70 -0
  55. package/dist/cjs/{useReferralTable-54d0ba70.js → useReferralTable-824ac152.js} +13 -14
  56. package/dist/cjs/{useRegistrationFormState-e7e820d0.js → useRegistrationFormState-f9ce55be.js} +2 -2
  57. package/dist/cjs/{useVerificationEmail-35aea294.js → useVerificationEmail-6aacdb71.js} +7 -8
  58. package/dist/cjs/{utilities-ac5b5f2c.js → utilities-f7de6c04.js} +2 -2
  59. package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
  60. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +0 -3
  61. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +2 -2
  62. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +40 -0
  63. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +2 -0
  64. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +36 -3
  65. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +53 -1
  66. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +18 -13
  67. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +1 -0
  68. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
  69. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +11 -0
  70. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +90 -1
  71. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +6 -0
  72. package/dist/esm/{ShadowViewAddon-72e231a5.js → ShadowViewAddon-69b61037.js} +12 -10
  73. package/dist/esm/{global-adae7650.js → global-6306a9b8.js} +10 -161
  74. package/dist/esm/{index.module-c0eb7dc2.js → index.module-6c840c4e.js} +222 -1389
  75. package/dist/esm/loader.js +4 -4
  76. package/dist/esm/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  77. package/dist/esm/mint-components.js +4 -4
  78. package/dist/esm/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  79. package/dist/esm/{re-render-5882a144.js → re-render-1bcfd0de.js} +2 -2
  80. package/dist/esm/sqm-asset-card.entry.js +2 -2
  81. package/dist/esm/sqm-banking-info-form_16.entry.js +49 -12
  82. package/dist/esm/sqm-big-stat_39.entry.js +57 -72
  83. package/dist/esm/sqm-close-button.entry.js +2 -2
  84. package/dist/esm/sqm-code-verification.entry.js +4 -8
  85. package/dist/esm/sqm-context-router.entry.js +2 -2
  86. package/dist/esm/sqm-email-verification.entry.js +3 -4
  87. package/dist/esm/sqm-empty_4.entry.js +3 -3
  88. package/dist/esm/sqm-form-message.entry.js +1 -1
  89. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  90. package/dist/esm/sqm-header-logo.entry.js +1 -1
  91. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  92. package/dist/esm/{sqm-invoice-table-view-22bb7240.js → sqm-invoice-table-view-d1cfdaf4.js} +41 -1
  93. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -4
  94. package/dist/esm/sqm-logout-current-user.entry.js +2 -3
  95. package/dist/esm/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  96. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  97. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  98. package/dist/esm/sqm-password-field.entry.js +3 -3
  99. package/dist/esm/sqm-popup-container.entry.js +2 -2
  100. package/dist/esm/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  101. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  102. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  103. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  104. package/dist/esm/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  105. package/dist/esm/sqm-portal-profile.entry.js +5 -6
  106. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  107. package/dist/esm/sqm-portal-registration-form.entry.js +4 -5
  108. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  109. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  110. package/dist/esm/sqm-referral-table_11.entry.js +8 -9
  111. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  112. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  113. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  114. package/dist/esm/sqm-rewards-table_9.entry.js +8 -9
  115. package/dist/esm/sqm-scroll.entry.js +1 -1
  116. package/dist/esm/sqm-stencilbook.entry.js +15 -13
  117. package/dist/esm/sqm-tab.entry.js +3 -3
  118. package/dist/esm/sqm-tabs.entry.js +4 -4
  119. package/dist/esm/sqm-text-span.entry.js +1 -1
  120. package/dist/esm/sqm-widget-verification-internal.entry.js +4 -5
  121. package/dist/esm/sqm-widget-verification.entry.js +2 -2
  122. package/dist/esm/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  123. package/dist/esm/{useChildElements-fe94b660.js → useChildElements-fc84e640.js} +2 -2
  124. package/dist/esm/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +3 -3
  125. package/dist/esm/usePayoutStatus-1a635054.js +67 -0
  126. package/dist/esm/{useReferralTable-52008143.js → useReferralTable-f6ffa103.js} +4 -5
  127. package/dist/esm/{useRegistrationFormState-4cfd1a8d.js → useRegistrationFormState-849e27f7.js} +2 -2
  128. package/dist/esm/{useVerificationEmail-02b78bd7.js → useVerificationEmail-c32696ba.js} +2 -3
  129. package/dist/esm/{utilities-98445452.js → utilities-443732be.js} +2 -2
  130. package/dist/esm-es5/ShadowViewAddon-69b61037.js +1 -0
  131. package/dist/esm-es5/global-6306a9b8.js +285 -0
  132. package/dist/esm-es5/index.module-6c840c4e.js +1 -0
  133. package/dist/esm-es5/loader.js +1 -1
  134. package/dist/esm-es5/{luxon-63e24900.js → luxon-7600be8d.js} +1 -1
  135. package/dist/esm-es5/mint-components.js +1 -1
  136. package/dist/esm-es5/{mockRewardData-e6b763d1.js → mockRewardData-0eb6e778.js} +1 -1
  137. package/dist/esm-es5/{re-render-5882a144.js → re-render-1bcfd0de.js} +1 -1
  138. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  139. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  140. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  141. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  142. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  143. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  144. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  145. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  146. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  147. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  148. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  149. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  150. package/dist/esm-es5/sqm-invoice-table-view-d1cfdaf4.js +1 -0
  151. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  152. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  153. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-4715e546.js → sqm-navigation-sidebar-item-view-f8e78810.js} +1 -1
  154. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  155. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  156. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  157. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  158. package/dist/esm-es5/{sqm-portal-email-verification-view-598eb9a7.js → sqm-portal-email-verification-view-c6ac5430.js} +1 -1
  159. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  160. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  161. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  162. package/dist/esm-es5/{sqm-portal-profile-view-a0f6ad48.js → sqm-portal-profile-view-15ddbec8.js} +1 -1
  163. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  164. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  165. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  166. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  168. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  169. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  170. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  171. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  172. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  173. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  174. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  175. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  176. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  177. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  178. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -1
  179. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  180. package/dist/esm-es5/{stencil-hooks.module-3c7f7c90.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  181. package/dist/esm-es5/useChildElements-fc84e640.js +1 -0
  182. package/dist/esm-es5/{useInstantAccessRegistration-670c1b98.js → useInstantAccessRegistration-8b0a4556.js} +1 -1
  183. package/dist/esm-es5/usePayoutStatus-1a635054.js +1 -0
  184. package/dist/esm-es5/useReferralTable-f6ffa103.js +1 -0
  185. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +1 -0
  186. package/dist/esm-es5/useVerificationEmail-c32696ba.js +1 -0
  187. package/dist/esm-es5/{utilities-98445452.js → utilities-443732be.js} +1 -1
  188. package/dist/mint-components/mint-components.esm.js +1 -1
  189. package/dist/mint-components/mint-components.js +1 -1
  190. package/dist/mint-components/{p-0ecb3019.js → p-0121e044.js} +1 -1
  191. package/dist/mint-components/p-012daf3c.entry.js +1 -0
  192. package/dist/mint-components/{p-1e40967f.entry.js → p-03dbe2ce.entry.js} +1 -1
  193. package/dist/mint-components/{p-65a449de.js → p-04348a9b.js} +1 -1
  194. package/dist/mint-components/{p-14488d1c.system.entry.js → p-04ced592.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-78a831e0.system.entry.js → p-0527d90b.system.entry.js} +1 -1
  196. package/dist/mint-components/p-0893073b.entry.js +1 -0
  197. package/dist/mint-components/p-0c9ad5f3.system.entry.js +1 -0
  198. package/dist/mint-components/p-11d1b212.js +1 -0
  199. package/dist/mint-components/p-1712a9fd.entry.js +11 -0
  200. package/dist/mint-components/{p-cdd04337.entry.js → p-178d2d2e.entry.js} +1 -1
  201. package/dist/mint-components/{p-ee328054.entry.js → p-1b861be5.entry.js} +1 -1
  202. package/dist/mint-components/{p-4209cd94.js → p-1d27da33.js} +4 -4
  203. package/dist/mint-components/p-1e616d45.system.js +1 -0
  204. package/dist/mint-components/{p-5a2fd8e0.system.entry.js → p-1f7d7524.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-f0fba496.system.entry.js → p-22425c71.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-126a4f24.entry.js → p-24092973.entry.js} +2 -2
  207. package/dist/mint-components/{p-9223640e.js → p-251e7567.js} +1 -1
  208. package/dist/mint-components/{p-1602bf01.js → p-2816bf6a.js} +1 -1
  209. package/dist/mint-components/p-2868f475.entry.js +1 -0
  210. package/dist/mint-components/{p-0979f82e.system.js → p-2a414b2e.system.js} +2 -2
  211. package/dist/mint-components/p-331d060e.entry.js +223 -0
  212. package/dist/mint-components/p-36e9296e.system.entry.js +1 -0
  213. package/dist/mint-components/{p-cb45d0a8.system.js → p-370a1a73.system.js} +1 -1
  214. package/dist/mint-components/p-3925bcd6.entry.js +13 -0
  215. package/dist/mint-components/{p-45d0b48a.system.entry.js → p-3e7ec0f3.system.entry.js} +1 -1
  216. package/dist/mint-components/{p-423821b9.system.js → p-43621f12.system.js} +1 -1
  217. package/dist/mint-components/p-4364001c.entry.js +12 -0
  218. package/dist/mint-components/{p-6a70d2d6.entry.js → p-4671e644.entry.js} +1 -1
  219. package/dist/mint-components/{p-f338ef55.system.js → p-4babe350.system.js} +1 -1
  220. package/dist/mint-components/p-4bd7a472.js +1 -0
  221. package/dist/mint-components/{p-34a87e67.system.js → p-4e373c3d.system.js} +1 -1
  222. package/dist/mint-components/{p-ab89b44a.system.js → p-4eae91a9.system.js} +1 -1
  223. package/dist/mint-components/p-517224ef.js +19 -0
  224. package/dist/mint-components/{p-ab7322f0.system.entry.js → p-51d53165.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-4c0b7768.entry.js → p-5291891c.entry.js} +3 -3
  226. package/dist/mint-components/{p-34dab223.system.entry.js → p-59818690.system.entry.js} +1 -1
  227. package/dist/mint-components/p-5a23b560.system.entry.js +1 -0
  228. package/dist/mint-components/{p-00ec17d4.system.js → p-5becb2ff.system.js} +1 -1
  229. package/dist/mint-components/{p-a1f0d8ba.system.entry.js → p-5fba1a04.system.entry.js} +1 -1
  230. package/dist/mint-components/p-64491210.system.entry.js +1 -0
  231. package/dist/mint-components/{p-def70672.js → p-68747d88.js} +1 -1
  232. package/dist/mint-components/{p-95af445c.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-cafebf8a.entry.js → p-6c928c7d.entry.js} +1 -1
  234. package/dist/mint-components/{p-657b290b.entry.js → p-76392386.entry.js} +1 -1
  235. package/dist/mint-components/p-7dd1ff31.system.entry.js +1 -0
  236. package/dist/mint-components/p-8300d8c8.system.js +1 -0
  237. package/dist/mint-components/{p-d0c4f3bf.system.entry.js → p-83c9f37b.system.entry.js} +1 -1
  238. package/dist/mint-components/{p-cdcd825e.entry.js → p-84b25a46.entry.js} +1 -1
  239. package/dist/mint-components/{p-14beec1b.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-45d6cde6.system.entry.js → p-88bf51b7.system.entry.js} +1 -1
  241. package/dist/mint-components/p-8bddb468.system.entry.js +1 -0
  242. package/dist/mint-components/p-8d554a89.system.js +1 -0
  243. package/dist/mint-components/p-93576222.system.js +1 -0
  244. package/dist/mint-components/{p-d2a925d5.entry.js → p-94454880.entry.js} +1 -1
  245. package/dist/mint-components/{p-3ba349a3.entry.js → p-947fe79b.entry.js} +1 -1
  246. package/dist/mint-components/{p-ca423ca2.system.entry.js → p-9596e97c.system.entry.js} +1 -1
  247. package/dist/mint-components/p-974070c4.system.entry.js +1 -0
  248. package/dist/mint-components/p-99c15c5e.entry.js +1 -0
  249. package/dist/mint-components/{p-c293f586.system.entry.js → p-9cdbd1ac.system.entry.js} +1 -1
  250. package/dist/mint-components/{p-56b37aeb.entry.js → p-9d34f4f0.entry.js} +3 -3
  251. package/dist/mint-components/{p-64acc813.entry.js → p-9e0230c3.entry.js} +1 -1
  252. package/dist/mint-components/{p-8ccb4267.js → p-9eae245f.js} +30 -27
  253. package/dist/mint-components/{p-70886c65.system.entry.js → p-9ec008cb.system.entry.js} +1 -1
  254. package/dist/mint-components/p-a4282d02.system.entry.js +1 -0
  255. package/dist/mint-components/{p-a2e1af83.entry.js → p-a45b03d2.entry.js} +1 -1
  256. package/dist/mint-components/{p-15e01e7a.entry.js → p-a85f57bb.entry.js} +1 -1
  257. package/dist/mint-components/{p-dce3d296.system.js → p-ac51940e.system.js} +1 -1
  258. package/dist/mint-components/{p-d39da925.entry.js → p-b1e8a802.entry.js} +1 -1
  259. package/dist/mint-components/p-b3b5b4b7.system.entry.js +1 -0
  260. package/dist/mint-components/p-b62faaa5.system.entry.js +1 -0
  261. package/dist/mint-components/{p-3da2b3cf.system.entry.js → p-bc826117.system.entry.js} +1 -1
  262. package/dist/mint-components/p-bdd6bb13.js +1 -0
  263. package/dist/mint-components/{p-3c46b3de.system.entry.js → p-be1ae1ed.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-cadb8dba.entry.js → p-bee1e573.entry.js} +1 -1
  265. package/dist/mint-components/{p-0aebee07.entry.js → p-c05e7b9f.entry.js} +12 -11
  266. package/dist/mint-components/{p-18cd88c4.system.entry.js → p-c1f4fb6d.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-7507d72b.js → p-c3b37bbf.js} +1 -1
  268. package/dist/mint-components/{p-ac69b460.system.entry.js → p-c3babfa4.system.entry.js} +1 -1
  269. package/dist/mint-components/{p-e373b78a.entry.js → p-c510fb88.entry.js} +1 -1
  270. package/dist/mint-components/{p-a60ec391.system.entry.js → p-c7057066.system.entry.js} +1 -1
  271. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  272. package/dist/mint-components/p-c92a743e.entry.js +1 -0
  273. package/dist/mint-components/p-c9fb6102.entry.js +1 -0
  274. package/dist/mint-components/p-ca809fdd.system.js +1 -0
  275. package/dist/mint-components/p-cb433855.system.entry.js +1 -0
  276. package/dist/mint-components/{p-06c561ea.system.js → p-cd44de66.system.js} +1 -1
  277. package/dist/mint-components/{p-e5299352.system.js → p-ce9e7c98.system.js} +1 -1
  278. package/dist/mint-components/p-d35d8c06.entry.js +11 -0
  279. package/dist/mint-components/p-d468925f.entry.js +1 -0
  280. package/dist/mint-components/{p-7666cd3d.js → p-d7806f31.js} +6 -6
  281. package/dist/mint-components/{p-0db003f7.js → p-d83b0cf3.js} +153 -153
  282. package/dist/mint-components/{p-5c602e84.entry.js → p-dd0d79bf.entry.js} +1 -1
  283. package/dist/mint-components/p-def516b8.system.js +1 -0
  284. package/dist/mint-components/p-e01ac27c.system.js +1 -0
  285. package/dist/mint-components/{p-611a30f0.js → p-e0e7635a.js} +1 -1
  286. package/dist/mint-components/p-e12d3414.system.entry.js +1 -0
  287. package/dist/mint-components/p-e45a8501.system.entry.js +1 -0
  288. package/dist/mint-components/p-e990dc21.system.js +1 -0
  289. package/dist/mint-components/{p-816fb64f.system.entry.js → p-ead27698.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-7ab14d4b.system.entry.js → p-f0806232.system.entry.js} +1 -1
  291. package/dist/mint-components/{p-48704504.js → p-f3053c61.js} +1 -1
  292. package/dist/mint-components/p-f340214f.entry.js +25 -0
  293. package/dist/mint-components/p-f36e33ff.entry.js +13 -0
  294. package/dist/mint-components/p-f450654b.system.entry.js +1 -0
  295. package/dist/mint-components/p-f4cbbe47.entry.js +1 -0
  296. package/dist/mint-components/p-f531a5c9.system.entry.js +1 -0
  297. package/dist/mint-components/{p-b14a77e8.system.entry.js → p-f56348dc.system.entry.js} +1 -1
  298. package/dist/mint-components/p-f655a7df.js +1 -0
  299. package/dist/mint-components/{p-79097c07.entry.js → p-fbdf0738.entry.js} +1 -1
  300. package/dist/mint-components/{p-fda3d0ca.system.js → p-fc422446.system.js} +22 -22
  301. package/dist/mint-components/p-fd21ae8f.entry.js +1 -0
  302. package/dist/mint-components/{p-1b24bb52.js → p-fd2c5407.js} +1 -1
  303. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +1 -0
  304. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +3 -0
  305. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +8 -0
  306. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -0
  307. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
  308. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +7 -0
  309. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +17 -0
  310. package/dist/types/components.d.ts +50 -0
  311. package/docs/docs.docx +0 -0
  312. package/docs/raisins.json +1 -1
  313. package/grapesjs/grapesjs.js +1 -1
  314. package/package.json +1 -1
  315. package/dist/cjs/index-56d1fa5b.js +0 -2227
  316. package/dist/esm/index-0c7b14c5.js +0 -2225
  317. package/dist/esm-es5/ShadowViewAddon-72e231a5.js +0 -1
  318. package/dist/esm-es5/global-adae7650.js +0 -285
  319. package/dist/esm-es5/index-0c7b14c5.js +0 -1
  320. package/dist/esm-es5/index.module-c0eb7dc2.js +0 -53
  321. package/dist/esm-es5/sqm-invoice-table-view-22bb7240.js +0 -1
  322. package/dist/esm-es5/useChildElements-fe94b660.js +0 -1
  323. package/dist/esm-es5/useReferralTable-52008143.js +0 -1
  324. package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +0 -1
  325. package/dist/esm-es5/useVerificationEmail-02b78bd7.js +0 -1
  326. package/dist/mint-components/p-0078bc76.system.js +0 -53
  327. package/dist/mint-components/p-0e2d876d.entry.js +0 -240
  328. package/dist/mint-components/p-116c1809.entry.js +0 -11
  329. package/dist/mint-components/p-1f02e20b.entry.js +0 -1
  330. package/dist/mint-components/p-22b7bd75.system.entry.js +0 -1
  331. package/dist/mint-components/p-253c87e1.system.entry.js +0 -1
  332. package/dist/mint-components/p-2632464d.entry.js +0 -1
  333. package/dist/mint-components/p-28450e40.system.entry.js +0 -1
  334. package/dist/mint-components/p-286190c4.system.entry.js +0 -1
  335. package/dist/mint-components/p-2b5b2586.system.js +0 -1
  336. package/dist/mint-components/p-414b3b6c.system.entry.js +0 -1
  337. package/dist/mint-components/p-4185f6f5.system.entry.js +0 -1
  338. package/dist/mint-components/p-4a43ffbd.js +0 -1
  339. package/dist/mint-components/p-52241ba9.system.js +0 -1
  340. package/dist/mint-components/p-556753b2.js +0 -42
  341. package/dist/mint-components/p-55dcb6ff.system.js +0 -1
  342. package/dist/mint-components/p-55fe2ec0.system.entry.js +0 -1
  343. package/dist/mint-components/p-65de8fb2.js +0 -1
  344. package/dist/mint-components/p-6fb496ac.entry.js +0 -12
  345. package/dist/mint-components/p-6fbfd683.js +0 -1
  346. package/dist/mint-components/p-71b8adf7.system.js +0 -1
  347. package/dist/mint-components/p-7c4c727c.system.entry.js +0 -1
  348. package/dist/mint-components/p-858a87ce.entry.js +0 -1
  349. package/dist/mint-components/p-87bf9880.entry.js +0 -25
  350. package/dist/mint-components/p-89669879.system.js +0 -1
  351. package/dist/mint-components/p-8a7d2170.system.entry.js +0 -1
  352. package/dist/mint-components/p-8b7d2f44.entry.js +0 -1
  353. package/dist/mint-components/p-8defb972.system.entry.js +0 -1
  354. package/dist/mint-components/p-9cdaa099.entry.js +0 -1
  355. package/dist/mint-components/p-a5eedbe2.system.entry.js +0 -1
  356. package/dist/mint-components/p-a80c8f5c.system.js +0 -1
  357. package/dist/mint-components/p-b28df069.js +0 -1
  358. package/dist/mint-components/p-b4771476.entry.js +0 -1
  359. package/dist/mint-components/p-c9ca8473.system.entry.js +0 -1
  360. package/dist/mint-components/p-cac64545.system.entry.js +0 -1
  361. package/dist/mint-components/p-d3293ac3.entry.js +0 -11
  362. package/dist/mint-components/p-d7b701a7.entry.js +0 -1
  363. package/dist/mint-components/p-e05ff098.system.js +0 -1
  364. package/dist/mint-components/p-e4c3817a.system.entry.js +0 -1
  365. package/dist/mint-components/p-e7797040.entry.js +0 -1
  366. package/dist/mint-components/p-e82eec3c.entry.js +0 -13
  367. package/dist/mint-components/p-e8bfd924.system.entry.js +0 -1
  368. package/dist/mint-components/p-e8fcaaa2.entry.js +0 -13
  369. package/dist/mint-components/p-ef49d744.entry.js +0 -1
  370. package/dist/mint-components/p-f5f0fc0e.entry.js +0 -1
@@ -12,6 +12,7 @@ const GET_USER_STATUS = gql `
12
12
  id
13
13
  payoutsAccount {
14
14
  hold
15
+ holdReasons
15
16
  }
16
17
  }
17
18
  }
@@ -19,6 +20,17 @@ const GET_USER_STATUS = gql `
19
20
  }
20
21
  }
21
22
  `;
23
+ export function getStatus(data) {
24
+ var _a, _b, _c, _d, _e;
25
+ const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
26
+ if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
27
+ return "INFORMATION_REQUIRED";
28
+ if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("IDV_CHECK_REQUIRED"))
29
+ return "VERIFICATION_NEEDED";
30
+ if (account.hold)
31
+ return "HOLD";
32
+ return "DONE";
33
+ }
22
34
  export function usePayoutStatus(props) {
23
35
  const { type } = getEnvironmentSDK();
24
36
  const { loading, data, errors, refetch } = useQuery(GET_USER_STATUS, {});
@@ -27,18 +39,6 @@ export function usePayoutStatus(props) {
27
39
  useEffect(() => {
28
40
  if (!data)
29
41
  return;
30
- function getStatus(data) {
31
- var _a, _b;
32
- const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
33
- if (!account)
34
- return "INFORMATION_REQUIRED";
35
- if (account.hold)
36
- return "HOLD";
37
- // @ts-ignore, TODO: add check for account verification
38
- if (!account.verified)
39
- return "VERIFICATION_NEEDED";
40
- return "DONE";
41
- }
42
42
  const s = getStatus(data);
43
43
  setStatus(s);
44
44
  }, [data]);
@@ -48,7 +48,12 @@ export function usePayoutStatus(props) {
48
48
  return () => window.removeEventListener("sqm:tax-form-updated", cb);
49
49
  }, []);
50
50
  return {
51
- states: { loading, status, showVerifyIdentity: showDialog },
51
+ states: {
52
+ loading,
53
+ status,
54
+ showVerifyIdentity: showDialog,
55
+ error: !!errors,
56
+ },
52
57
  data: { type },
53
58
  text: props.getTextProps(),
54
59
  callbacks: {
@@ -67,6 +67,7 @@ export const GET_USER = gql `
67
67
  }
68
68
  payoutsAccount {
69
69
  hold
70
+ holdReasons
70
71
  balance
71
72
  }
72
73
  }
@@ -3,8 +3,8 @@ import { useEffect, useMemo } from "@saasquatch/universal-hooks";
3
3
  import { getCountryObj } from "../utils";
4
4
  import { COUNTRIES_NAMESPACE, COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, CURRENCIES_QUERY_NAMESPACE, FINANCE_NETWORK_SETTINGS_NAMESPACE, GET_COUNTRIES, GET_CURRENCIES, GET_FINANCE_NETWORK_SETTINGS, GET_USER, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "./data";
5
5
  function getCurrentStep(user) {
6
- var _a;
7
- if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)) {
6
+ var _a, _b;
7
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
8
8
  return "/1";
9
9
  }
10
10
  const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
@@ -258,6 +258,17 @@ export const TaxAndCashDashboardView = (props) => {
258
258
  h("strong", null, text.payoutHoldAlertHeader),
259
259
  h("br", null),
260
260
  text.payoutHoldAlertDescription)),
261
+ states.payoutStatus === "VERIFICATION_NEEDED" && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.HoldAlertContainer },
262
+ h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
263
+ h("strong", null, text.verificationRequiredHeader),
264
+ h("p", { style: { margin: "0" } }, text.verificationRequiredDescription),
265
+ h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.loading,
266
+ //AL: TODO hooks
267
+ onClick: () => callbacks.onClick }, text.verificationRequiredButtonText))),
268
+ h("sl-dialog", { noDismiss: true, class: sheet.classes.Dialog, open: states.showVerifyIdentity, "onSl-hide": callbacks.onVerifyIdentityCancel },
269
+ h("iframe", {
270
+ // AL: TODO replace iframe URL with verification url when available
271
+ scrolling: "yes", frameBorder: "0", width: "100%", height: "100%", src: "https://impacttech.complytaxforms.com/ServiceRedirect.aspx?Language=eng&Param1=UxBORV4bOIrqNb4gbpNmtvW3wjdZJyx4gPElIGMJNR8=&UUID=B576EA3E-80FD-4D85-AA59-653D23A7CCE8" })),
261
272
  h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
262
273
  h("p", null, text.replaceTaxFormModalBodyText),
263
274
  h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
@@ -185,6 +185,23 @@ export class TaxAndCashDashboard {
185
185
  * @uiName Payout missing information subtext
186
186
  */
187
187
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
188
+ /**
189
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
190
+ * @uiName Verification required alert message title
191
+ * @uiWidget textArea
192
+ */
193
+ this.verificationRequiredHeader = "Verify your identity";
194
+ /**
195
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity
196
+ * @uiName Verification required alert message description
197
+ * @uiWidget textArea
198
+ */
199
+ this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
200
+ /**
201
+ * Part of the alert displayed at the top of the page when the user needs to verify their identity.
202
+ * @uiName Verification required alert button text
203
+ */
204
+ this.verificationRequiredButtonText = "Start Verification";
188
205
  /**
189
206
  * Part of the alert displayed at the top of the page.
190
207
  * @uiName Form submission error message title
@@ -995,6 +1012,75 @@ export class TaxAndCashDashboard {
995
1012
  "reflect": false,
996
1013
  "defaultValue": "\"Missing banking information, go to Impact.com to resolve.\""
997
1014
  },
1015
+ "verificationRequiredHeader": {
1016
+ "type": "string",
1017
+ "mutable": false,
1018
+ "complexType": {
1019
+ "original": "string",
1020
+ "resolved": "string",
1021
+ "references": {}
1022
+ },
1023
+ "required": false,
1024
+ "optional": false,
1025
+ "docs": {
1026
+ "tags": [{
1027
+ "text": "Verification required alert message title",
1028
+ "name": "uiName"
1029
+ }, {
1030
+ "text": "textArea",
1031
+ "name": "uiWidget"
1032
+ }],
1033
+ "text": "Part of the alert displayed at the top of the page when the user needs to verify their identity."
1034
+ },
1035
+ "attribute": "verification-required-header",
1036
+ "reflect": false,
1037
+ "defaultValue": "\"Verify your identity\""
1038
+ },
1039
+ "verificationRequiredDescription": {
1040
+ "type": "string",
1041
+ "mutable": false,
1042
+ "complexType": {
1043
+ "original": "string",
1044
+ "resolved": "string",
1045
+ "references": {}
1046
+ },
1047
+ "required": false,
1048
+ "optional": false,
1049
+ "docs": {
1050
+ "tags": [{
1051
+ "text": "Verification required alert message description",
1052
+ "name": "uiName"
1053
+ }, {
1054
+ "text": "textArea",
1055
+ "name": "uiWidget"
1056
+ }],
1057
+ "text": "Part of the alert displayed at the top of the page when the user needs to verify their identity"
1058
+ },
1059
+ "attribute": "verification-required-description",
1060
+ "reflect": false,
1061
+ "defaultValue": "\"Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.\""
1062
+ },
1063
+ "verificationRequiredButtonText": {
1064
+ "type": "string",
1065
+ "mutable": false,
1066
+ "complexType": {
1067
+ "original": "string",
1068
+ "resolved": "string",
1069
+ "references": {}
1070
+ },
1071
+ "required": false,
1072
+ "optional": false,
1073
+ "docs": {
1074
+ "tags": [{
1075
+ "text": "Verification required alert button text",
1076
+ "name": "uiName"
1077
+ }],
1078
+ "text": "Part of the alert displayed at the top of the page when the user needs to verify their identity."
1079
+ },
1080
+ "attribute": "verification-required-button-text",
1081
+ "reflect": false,
1082
+ "defaultValue": "\"Start Verification\""
1083
+ },
998
1084
  "generalErrorTitle": {
999
1085
  "type": "string",
1000
1086
  "mutable": false,
@@ -1435,7 +1521,7 @@ export class TaxAndCashDashboard {
1435
1521
  "mutable": false,
1436
1522
  "complexType": {
1437
1523
  "original": "DemoData<UseTaxAndCashDashboardResult>",
1438
- "resolved": "{ states?: { status?: string; documentType: TaxDocumentType; documentTypeString: string; canEditPayoutInfo: boolean; disabled?: boolean; dateSubmitted?: string; noFormNeeded?: boolean; indirectTaxType?: string; qstNumber?: string; subRegionTaxNumber?: string; subRegion?: string; indirectTaxNumber?: string; province?: string; country?: string; notRegistered?: boolean; isBusinessEntity?: boolean; loading?: boolean; loadingError?: boolean; showNewFormDialog: boolean; showIdentityVerificationDialog?: boolean; identiyRequired?: boolean; hasHold: boolean; errors?: { general?: boolean; }; }; }",
1524
+ "resolved": "{ states?: { status?: string; documentType: TaxDocumentType; documentTypeString: string; canEditPayoutInfo: boolean; disabled?: boolean; dateSubmitted?: string; noFormNeeded?: boolean; indirectTaxType?: string; qstNumber?: string; subRegionTaxNumber?: string; subRegion?: string; indirectTaxNumber?: string; province?: string; country?: string; notRegistered?: boolean; isBusinessEntity?: boolean; loading?: boolean; loadingError?: boolean; showNewFormDialog: boolean; showIdentityVerificationDialog?: boolean; identiyRequired?: boolean; hasHold: boolean; payoutStatus: PayoutStatus; showVerifyIdentity: boolean; errors?: { general?: boolean; }; }; }",
1439
1525
  "references": {
1440
1526
  "DemoData": {
1441
1527
  "location": "import",
@@ -1477,12 +1563,15 @@ function useDemoTaxAndCashDashboard(props) {
1477
1563
  loading: false,
1478
1564
  showNewFormDialog: false,
1479
1565
  hasHold: false,
1566
+ showVerifyIdentity: false,
1567
+ payoutStatus: "DONE",
1480
1568
  },
1481
1569
  callbacks: {
1482
1570
  onClick: () => console.debug("check step"),
1483
1571
  onEditPayoutInfo: () => console.debug("payout info"),
1484
1572
  onNewFormCancel: () => console.log("hide"),
1485
1573
  onNewFormClick: () => console.log("show"),
1574
+ onVerifyIdentityCancel: () => console.log("hide"),
1486
1575
  },
1487
1576
  text: props.getTextProps(),
1488
1577
  }, props.demoData || {}, { arrayMerge: (_, a) => a });
@@ -5,6 +5,7 @@ import { vatLabels } from "../countries";
5
5
  import { TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
6
6
  import { INDIRECT_TAX_PROVINCES, INDIRECT_TAX_SPAIN_REGIONS, } from "../subregions";
7
7
  import { taxTypeToName } from "../utils";
8
+ import { getStatus } from "../sqm-payout-status-alert/usePayoutStatus";
8
9
  function getCountryName(countryCode, locale) {
9
10
  if (!countryCode)
10
11
  return undefined;
@@ -44,6 +45,7 @@ export const useTaxAndCashDashboard = (props) => {
44
45
  const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
45
46
  const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
46
47
  const [showDialog, setShowDialog] = useState(false);
48
+ const [showVerification, setShowVerification] = useState(false);
47
49
  const locale = useLocale();
48
50
  useEffect(() => {
49
51
  // Clear override context once on submitted
@@ -74,6 +76,7 @@ export const useTaxAndCashDashboard = (props) => {
74
76
  setStep("/3");
75
77
  };
76
78
  const provinceName = (_d = 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;
79
+ const payoutStatus = getStatus(data);
77
80
  return {
78
81
  states: {
79
82
  dateSubmitted,
@@ -96,12 +99,15 @@ export const useTaxAndCashDashboard = (props) => {
96
99
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
97
100
  showNewFormDialog: showDialog,
98
101
  hasHold: !!((_m = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _m === void 0 ? void 0 : _m.hold),
102
+ payoutStatus,
103
+ showVerifyIdentity: showVerification,
99
104
  },
100
105
  callbacks: {
101
106
  onClick: () => setShowDialog(true),
102
107
  onEditPayoutInfo,
103
108
  onNewFormCancel: () => setShowDialog(false),
104
109
  onNewFormClick,
110
+ onVerifyIdentityCancel: () => setShowVerification(false),
105
111
  },
106
112
  text: props.getTextProps(),
107
113
  };
@@ -1,17 +1,16 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
2
- import { f as useState, b as browser, u as useMemo } from './stencil-hooks.module-3c7f7c90.js';
3
- import { i as intl } from './global-adae7650.js';
4
- import { z as z$1, K, E as En, b as xe, n as ne, g as getEnvironmentSDK, Q } from './index.module-c0eb7dc2.js';
2
+ import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-6306a9b8.js';
4
+ import { d as dist, z as z$1, K, E as En, c as xe, n as ne, g as getEnvironmentSDK, Q } from './index.module-6c840c4e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { u as useChildElements } from './useChildElements-fe94b660.js';
9
- import { l as luxon } from './luxon-63e24900.js';
10
- import { d as dist } from './index-0c7b14c5.js';
8
+ import { u as useChildElements } from './useChildElements-fc84e640.js';
9
+ import { l as luxon } from './luxon-7600be8d.js';
11
10
  import { l as luxonLocale } from './utils-334c1e34.js';
12
11
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
13
12
  import { p as pathToRegexp } from './index-ffa26b43.js';
14
- import { a as isValidColor, b as isMobile } from './utilities-98445452.js';
13
+ import { a as isValidColor, b as isMobile } from './utilities-443732be.js';
15
14
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-6c582684.js';
16
15
 
17
16
  const medium = {
@@ -1270,9 +1269,12 @@ const payoutBalanceQuery = () => {
1270
1269
  query payoutBalance {
1271
1270
  viewer: viewer {
1272
1271
  ... on User {
1273
- publisher {
1274
- payoutsAccount {
1275
- balance
1272
+ id
1273
+ impactConnection {
1274
+ publisher {
1275
+ payoutsAccount {
1276
+ balance
1277
+ }
1276
1278
  }
1277
1279
  }
1278
1280
  }
@@ -1,5 +1,5 @@
1
- import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-3c7f7c90.js';
2
- import { J } from './index.module-c0eb7dc2.js';
1
+ import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-ac12ca1c.js';
2
+ import { s as src, m as memoize, J } from './index.module-6c840c4e.js';
3
3
 
4
4
  var __assign = (undefined && undefined.__assign) || function () {
5
5
  __assign = Object.assign || function(t) {
@@ -11996,157 +11996,6 @@ function parse(input, opts) {
11996
11996
  return els;
11997
11997
  }
11998
11998
 
11999
- //
12000
- // Main
12001
- //
12002
-
12003
- function memoize (fn, options) {
12004
- var cache = options && options.cache
12005
- ? options.cache
12006
- : cacheDefault;
12007
-
12008
- var serializer = options && options.serializer
12009
- ? options.serializer
12010
- : serializerDefault;
12011
-
12012
- var strategy = options && options.strategy
12013
- ? options.strategy
12014
- : strategyDefault;
12015
-
12016
- return strategy(fn, {
12017
- cache: cache,
12018
- serializer: serializer
12019
- })
12020
- }
12021
-
12022
- //
12023
- // Strategy
12024
- //
12025
-
12026
- function isPrimitive (value) {
12027
- return value == null || typeof value === 'number' || typeof value === 'boolean' // || typeof value === "string" 'unsafe' primitive for our needs
12028
- }
12029
-
12030
- function monadic (fn, cache, serializer, arg) {
12031
- var cacheKey = isPrimitive(arg) ? arg : serializer(arg);
12032
-
12033
- var computedValue = cache.get(cacheKey);
12034
- if (typeof computedValue === 'undefined') {
12035
- computedValue = fn.call(this, arg);
12036
- cache.set(cacheKey, computedValue);
12037
- }
12038
-
12039
- return computedValue
12040
- }
12041
-
12042
- function variadic (fn, cache, serializer) {
12043
- var args = Array.prototype.slice.call(arguments, 3);
12044
- var cacheKey = serializer(args);
12045
-
12046
- var computedValue = cache.get(cacheKey);
12047
- if (typeof computedValue === 'undefined') {
12048
- computedValue = fn.apply(this, args);
12049
- cache.set(cacheKey, computedValue);
12050
- }
12051
-
12052
- return computedValue
12053
- }
12054
-
12055
- function assemble (fn, context, strategy, cache, serialize) {
12056
- return strategy.bind(
12057
- context,
12058
- fn,
12059
- cache,
12060
- serialize
12061
- )
12062
- }
12063
-
12064
- function strategyDefault (fn, options) {
12065
- var strategy = fn.length === 1 ? monadic : variadic;
12066
-
12067
- return assemble(
12068
- fn,
12069
- this,
12070
- strategy,
12071
- options.cache.create(),
12072
- options.serializer
12073
- )
12074
- }
12075
-
12076
- function strategyVariadic (fn, options) {
12077
- var strategy = variadic;
12078
-
12079
- return assemble(
12080
- fn,
12081
- this,
12082
- strategy,
12083
- options.cache.create(),
12084
- options.serializer
12085
- )
12086
- }
12087
-
12088
- function strategyMonadic (fn, options) {
12089
- var strategy = monadic;
12090
-
12091
- return assemble(
12092
- fn,
12093
- this,
12094
- strategy,
12095
- options.cache.create(),
12096
- options.serializer
12097
- )
12098
- }
12099
-
12100
- //
12101
- // Serializer
12102
- //
12103
-
12104
- function serializerDefault () {
12105
- return JSON.stringify(arguments)
12106
- }
12107
-
12108
- //
12109
- // Cache
12110
- //
12111
-
12112
- function ObjectWithoutPrototypeCache () {
12113
- this.cache = Object.create(null);
12114
- }
12115
-
12116
- ObjectWithoutPrototypeCache.prototype.has = function (key) {
12117
- return (key in this.cache)
12118
- };
12119
-
12120
- ObjectWithoutPrototypeCache.prototype.get = function (key) {
12121
- return this.cache[key]
12122
- };
12123
-
12124
- ObjectWithoutPrototypeCache.prototype.set = function (key, value) {
12125
- this.cache[key] = value;
12126
- };
12127
-
12128
- var cacheDefault = {
12129
- create: function create () {
12130
- return new ObjectWithoutPrototypeCache()
12131
- }
12132
- };
12133
-
12134
- //
12135
- // API
12136
- //
12137
-
12138
- var src = memoize;
12139
- var strategies = {
12140
- variadic: strategyVariadic,
12141
- monadic: strategyMonadic
12142
- };
12143
- src.strategies = strategies;
12144
-
12145
- const memoize$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), src, {
12146
- 'default': src,
12147
- strategies: strategies
12148
- }));
12149
-
12150
11999
  var ErrorCode;
12151
12000
  (function (ErrorCode) {
12152
12001
  // When we have a placeholder but no value to format
@@ -12409,7 +12258,7 @@ function createFastMemoizeCache(store) {
12409
12258
  };
12410
12259
  }
12411
12260
  // @ts-ignore this is to deal with rollup's default import shenanigans
12412
- var _memoizeIntl = src || memoize$1;
12261
+ var _memoizeIntl = src || memoize;
12413
12262
  var memoizeIntl = _memoizeIntl;
12414
12263
  function createDefaultFormatters(cache) {
12415
12264
  if (cache === void 0) { cache = {
@@ -12701,7 +12550,7 @@ function createFastMemoizeCache$1(store) {
12701
12550
  };
12702
12551
  }
12703
12552
  // @ts-ignore this is to deal with rollup's default import shenanigans
12704
- var _memoizeIntl$1 = src || memoize$1;
12553
+ var _memoizeIntl$1 = src || memoize;
12705
12554
  var memoizeIntl$1 = _memoizeIntl$1;
12706
12555
  /**
12707
12556
  * Create intl formatters and populate cache
@@ -13680,7 +13529,7 @@ var TemplateResult = class {
13680
13529
  * subject to an additional IP rights grant found at
13681
13530
  * http://polymer.github.io/PATENTS.txt
13682
13531
  */
13683
- var isPrimitive$1 = (value) => {
13532
+ var isPrimitive = (value) => {
13684
13533
  return value === null || !(typeof value === "object" || typeof value === "function");
13685
13534
  };
13686
13535
  var isIterable = (value) => {
@@ -13719,7 +13568,7 @@ var AttributeCommitter = class {
13719
13568
  const part = parts2[i];
13720
13569
  if (part !== void 0) {
13721
13570
  const v = part.value;
13722
- if (isPrimitive$1(v) || !isIterable(v)) {
13571
+ if (isPrimitive(v) || !isIterable(v)) {
13723
13572
  text += typeof v === "string" ? v : String(v);
13724
13573
  } else {
13725
13574
  for (const t of v) {
@@ -13744,7 +13593,7 @@ var AttributePart = class {
13744
13593
  this.committer = committer;
13745
13594
  }
13746
13595
  setValue(value) {
13747
- if (value !== noChange && (!isPrimitive$1(value) || value !== this.value)) {
13596
+ if (value !== noChange && (!isPrimitive(value) || value !== this.value)) {
13748
13597
  this.value = value;
13749
13598
  if (!isDirective(value)) {
13750
13599
  this.committer.dirty = true;
@@ -13802,7 +13651,7 @@ var NodePart = class {
13802
13651
  if (value === noChange) {
13803
13652
  return;
13804
13653
  }
13805
- if (isPrimitive$1(value)) {
13654
+ if (isPrimitive(value)) {
13806
13655
  if (value !== this.value) {
13807
13656
  this.__commitText(value);
13808
13657
  }
@@ -18630,7 +18479,7 @@ var unsafeHTML = directive((value) => (part) => {
18630
18479
  throw new Error("unsafeHTML can only be used in text bindings");
18631
18480
  }
18632
18481
  const previousValue = previousValues$1.get(part);
18633
- if (previousValue !== void 0 && isPrimitive$1(value) && value === previousValue.value && part.value === previousValue.fragment) {
18482
+ if (previousValue !== void 0 && isPrimitive(value) && value === previousValue.value && part.value === previousValue.fragment) {
18634
18483
  return;
18635
18484
  }
18636
18485
  const template = document.createElement("template");
@@ -20309,7 +20158,7 @@ var unsafeSVG = directive((value) => (part) => {
20309
20158
  throw new Error("unsafeSVG can only be used in text bindings");
20310
20159
  }
20311
20160
  const previousValue = previousValues$2.get(part);
20312
- if (previousValue !== void 0 && isPrimitive$1(value) && value === previousValue.value && part.value === previousValue.fragment) {
20161
+ if (previousValue !== void 0 && isPrimitive(value) && value === previousValue.value && part.value === previousValue.fragment) {
20313
20162
  return;
20314
20163
  }
20315
20164
  const template = document.createElement("template");