@saasquatch/mint-components 1.12.0-8 → 1.12.1-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/dist/cjs/{ShadowViewAddon-040cffad.js → ShadowViewAddon-c3e91cee.js} +22 -25
  2. package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
  3. package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/mint-components.cjs.js +3 -3
  6. package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
  7. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +139 -224
  9. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +218 -386
  10. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  11. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  12. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
  14. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  15. package/dist/cjs/{sqm-invoice-table-view-5d3a2d35.js → sqm-invoice-table-view-e3b03a00.js} +1 -59
  16. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  17. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
  18. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
  19. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
  23. package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
  24. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
  25. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  26. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
  28. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  29. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  30. package/dist/cjs/sqm-portal-registration-form-view-621348a6.js +85 -0
  31. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +13 -88
  32. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
  33. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
  34. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  35. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  36. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  37. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  38. package/dist/cjs/sqm-stencilbook.cjs.entry.js +366 -377
  39. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  40. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  41. package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
  42. package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
  43. package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
  44. package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
  45. package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
  46. package/dist/collection/collection-manifest.json +1 -6
  47. package/dist/collection/components/sqm-big-stat/useBigStat.js +3 -6
  48. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +5 -5
  49. package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +11 -0
  50. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +160 -0
  51. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +5 -1
  52. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
  53. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +3 -2
  54. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -8
  55. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +0 -2
  56. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +0 -56
  57. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1 -5
  58. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +38 -101
  59. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -15
  60. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +0 -6
  61. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +8 -8
  62. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
  63. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +0 -11
  64. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +9 -10
  65. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -2
  66. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +2 -2
  67. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +11 -14
  68. package/dist/esm/{ShadowViewAddon-69b61037.js → ShadowViewAddon-e012b2aa.js} +22 -25
  69. package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  70. package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.js} +3 -40
  71. package/dist/esm/loader.js +3 -3
  72. package/dist/esm/mint-components.js +3 -3
  73. package/dist/esm/{re-render-1bcfd0de.js → re-render-12fd274a.js} +4 -4
  74. package/dist/esm/sqm-asset-card.entry.js +1 -1
  75. package/dist/esm/sqm-banking-info-form_16.entry.js +138 -223
  76. package/dist/esm/sqm-big-stat_39.entry.js +217 -385
  77. package/dist/esm/sqm-close-button.entry.js +1 -1
  78. package/dist/esm/sqm-context-router.entry.js +2 -2
  79. package/dist/esm/sqm-empty_4.entry.js +2 -2
  80. package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
  81. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  82. package/dist/esm/{sqm-invoice-table-view-e9075c0b.js → sqm-invoice-table-view-6e13a323.js} +1 -59
  83. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  84. package/dist/esm/sqm-logout-current-user.entry.js +3 -3
  85. package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-60ef06cc.js} +2 -2
  86. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  87. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
  88. package/dist/esm/sqm-password-field.entry.js +2 -2
  89. package/dist/esm/sqm-popup-container.entry.js +4 -4
  90. package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  91. package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
  92. package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
  93. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  94. package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  95. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  96. package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
  97. package/dist/esm/sqm-portal-registration-form-view-1d3066e1.js +83 -0
  98. package/dist/esm/sqm-portal-registration-form.entry.js +18 -93
  99. package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
  100. package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
  101. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  102. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  103. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  104. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  105. package/dist/esm/sqm-stencilbook.entry.js +366 -377
  106. package/dist/esm/sqm-tab.entry.js +2 -2
  107. package/dist/esm/sqm-tabs.entry.js +4 -4
  108. package/dist/esm/stencil-hooks.module-ac12ca1c.js +1 -1
  109. package/dist/esm/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +2 -2
  110. package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
  111. package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
  112. package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
  113. package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  114. package/dist/esm-es5/ShadowViewAddon-e012b2aa.js +1 -0
  115. package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
  116. package/dist/esm-es5/index.module-def4aec5.js +1 -0
  117. package/dist/esm-es5/loader.js +1 -1
  118. package/dist/esm-es5/mint-components.js +1 -1
  119. package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-12fd274a.js} +1 -1
  120. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  121. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  122. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  123. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  124. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  125. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  126. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  127. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  128. package/dist/esm-es5/sqm-invoice-table-view-6e13a323.js +1 -0
  129. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  130. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  131. package/dist/esm-es5/sqm-navigation-sidebar-item-view-60ef06cc.js +1 -0
  132. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  133. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  134. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  135. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
  137. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  138. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  139. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  140. package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.js} +1 -1
  141. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  142. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  143. package/dist/esm-es5/sqm-portal-registration-form-view-1d3066e1.js +1 -0
  144. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  145. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  146. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  147. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  148. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  149. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  150. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  151. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  152. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  153. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  154. package/dist/esm-es5/stencil-hooks.module-ac12ca1c.js +1 -1
  155. package/dist/esm-es5/{useChildElements-fc84e640.js → useChildElements-32e1bda1.js} +1 -1
  156. package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
  157. package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
  158. package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
  159. package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
  160. package/dist/mint-components/mint-components.esm.js +1 -1
  161. package/dist/mint-components/mint-components.js +1 -1
  162. package/dist/mint-components/{p-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
  163. package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
  164. package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
  165. package/dist/mint-components/p-03494732.entry.js +1 -0
  166. package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
  168. package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
  169. package/dist/mint-components/{p-9eae245f.js → p-10685090.js} +4 -7
  170. package/dist/mint-components/p-10e89d0a.entry.js +1 -0
  171. package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
  172. package/dist/mint-components/p-1c857edb.entry.js +33 -0
  173. package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
  174. package/dist/mint-components/p-2a414b2e.system.js +2 -2
  175. package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
  176. package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
  177. package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
  178. package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
  179. package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
  181. package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
  182. package/dist/mint-components/p-40b1de58.js +1 -0
  183. package/dist/mint-components/p-4112e198.system.js +1 -0
  184. package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
  185. package/dist/mint-components/p-44787d6e.system.js +1 -0
  186. package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
  187. package/dist/mint-components/p-458b2894.entry.js +9 -0
  188. package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
  189. package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
  190. package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
  191. package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
  192. package/dist/mint-components/p-51f517a2.js +1 -0
  193. package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
  194. package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
  196. package/dist/mint-components/p-5b333fa8.system.entry.js +1 -0
  197. package/dist/mint-components/p-5be235f9.entry.js +1 -0
  198. package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
  201. package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
  202. package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
  203. package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
  204. package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
  205. package/dist/mint-components/p-770368bc.system.js +1 -0
  206. package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
  207. package/dist/mint-components/p-79191f88.entry.js +1 -0
  208. package/dist/mint-components/p-7f088154.entry.js +1 -0
  209. package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
  210. package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
  211. package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
  212. package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
  213. package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
  214. package/dist/mint-components/p-91669312.entry.js +1 -0
  215. package/dist/mint-components/p-95771f79.system.js +1 -0
  216. package/dist/mint-components/p-96242551.system.entry.js +1 -0
  217. package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
  218. package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
  220. package/dist/mint-components/p-a6a7dcaa.js +1 -0
  221. package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
  222. package/dist/mint-components/p-a8f7cb95.js +1 -0
  223. package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
  224. package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
  225. package/dist/mint-components/p-aee2304a.entry.js +223 -0
  226. package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
  227. package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
  228. package/dist/mint-components/p-b370fca8.system.js +1 -0
  229. package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
  230. package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
  232. package/dist/mint-components/p-bb00db59.js +1 -0
  233. package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
  234. package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
  235. package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
  236. package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
  237. package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
  238. package/dist/mint-components/p-d5de2646.system.entry.js +1 -0
  239. package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
  240. package/dist/mint-components/p-d8e68e16.entry.js +13 -0
  241. package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
  242. package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
  243. package/dist/mint-components/p-e6d74386.system.entry.js +1 -0
  244. package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
  245. package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
  246. package/dist/mint-components/p-ec41d6a4.entry.js +174 -0
  247. package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
  248. package/dist/mint-components/p-ed17e637.system.js +1 -0
  249. package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
  250. package/dist/mint-components/p-fd2c5407.js +2 -2
  251. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
  252. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -4
  253. package/dist/types/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts +8 -0
  254. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +34 -0
  255. package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +1 -0
  256. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
  257. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -1
  258. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +0 -2
  259. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -2
  260. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
  261. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +0 -5
  262. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +2 -2
  263. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -5
  264. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +2 -2
  265. package/dist/types/components.d.ts +108 -591
  266. package/docs/docs.docx +0 -0
  267. package/docs/raisins.json +1 -1
  268. package/grapesjs/grapesjs.js +1 -1
  269. package/package.json +2 -2
  270. package/dist/cjs/extractProps-fd93ba62.js +0 -21
  271. package/dist/cjs/keys-cff24974.js +0 -11
  272. package/dist/cjs/sqm-code-verification.cjs.entry.js +0 -345
  273. package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -283
  274. package/dist/cjs/sqm-scroll.cjs.entry.js +0 -109
  275. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +0 -103
  276. package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -210
  277. package/dist/cjs/useVerificationEmail-6aacdb71.js +0 -169
  278. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +0 -8
  279. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +0 -23
  280. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +0 -118
  281. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +0 -44
  282. package/dist/collection/components/sqm-widget-verification/keys.js +0 -4
  283. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +0 -36
  284. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +0 -128
  285. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +0 -301
  286. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +0 -156
  287. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +0 -42
  288. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -91
  289. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +0 -226
  290. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +0 -126
  291. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-internal.js +0 -339
  292. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +0 -557
  293. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +0 -165
  294. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -22
  295. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +0 -116
  296. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -354
  297. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +0 -65
  298. package/dist/esm/extractProps-ae1afbb3.js +0 -19
  299. package/dist/esm/keys-db1897ae.js +0 -6
  300. package/dist/esm/sqm-code-verification.entry.js +0 -341
  301. package/dist/esm/sqm-email-verification.entry.js +0 -279
  302. package/dist/esm/sqm-scroll.entry.js +0 -105
  303. package/dist/esm/sqm-widget-verification-internal.entry.js +0 -99
  304. package/dist/esm/sqm-widget-verification.entry.js +0 -206
  305. package/dist/esm/useVerificationEmail-c32696ba.js +0 -167
  306. package/dist/esm-es5/ShadowViewAddon-69b61037.js +0 -1
  307. package/dist/esm-es5/extractProps-ae1afbb3.js +0 -1
  308. package/dist/esm-es5/index.module-6c840c4e.js +0 -1
  309. package/dist/esm-es5/keys-db1897ae.js +0 -1
  310. package/dist/esm-es5/sqm-code-verification.entry.js +0 -1
  311. package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
  312. package/dist/esm-es5/sqm-invoice-table-view-e9075c0b.js +0 -1
  313. package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
  314. package/dist/esm-es5/sqm-scroll.entry.js +0 -1
  315. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +0 -1
  316. package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
  317. package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
  318. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
  319. package/dist/esm-es5/useVerificationEmail-c32696ba.js +0 -1
  320. package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
  321. package/dist/mint-components/p-1649ee1e.entry.js +0 -240
  322. package/dist/mint-components/p-1712a9fd.entry.js +0 -11
  323. package/dist/mint-components/p-1b861be5.entry.js +0 -1
  324. package/dist/mint-components/p-1e616d45.system.js +0 -1
  325. package/dist/mint-components/p-26468242.js +0 -1
  326. package/dist/mint-components/p-2868f475.entry.js +0 -1
  327. package/dist/mint-components/p-3925bcd6.entry.js +0 -13
  328. package/dist/mint-components/p-39840341.js +0 -1
  329. package/dist/mint-components/p-39e412e8.system.entry.js +0 -1
  330. package/dist/mint-components/p-4364001c.entry.js +0 -12
  331. package/dist/mint-components/p-54ffae13.entry.js +0 -194
  332. package/dist/mint-components/p-5a23b560.system.entry.js +0 -1
  333. package/dist/mint-components/p-63ac51e1.system.entry.js +0 -1
  334. package/dist/mint-components/p-64491210.system.entry.js +0 -1
  335. package/dist/mint-components/p-8690f682.system.js +0 -1
  336. package/dist/mint-components/p-93576222.system.js +0 -1
  337. package/dist/mint-components/p-947fe79b.entry.js +0 -1
  338. package/dist/mint-components/p-9596e97c.system.entry.js +0 -1
  339. package/dist/mint-components/p-974070c4.system.entry.js +0 -1
  340. package/dist/mint-components/p-99c15c5e.entry.js +0 -1
  341. package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
  342. package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
  343. package/dist/mint-components/p-a85f57bb.entry.js +0 -1
  344. package/dist/mint-components/p-a8645c1b.system.js +0 -1
  345. package/dist/mint-components/p-b1e8a802.entry.js +0 -1
  346. package/dist/mint-components/p-b2a99637.system.js +0 -1
  347. package/dist/mint-components/p-bdd6bb13.js +0 -1
  348. package/dist/mint-components/p-c3b37bbf.js +0 -1
  349. package/dist/mint-components/p-c510fb88.entry.js +0 -1
  350. package/dist/mint-components/p-c92a743e.entry.js +0 -1
  351. package/dist/mint-components/p-c9fb6102.entry.js +0 -1
  352. package/dist/mint-components/p-ca809fdd.system.js +0 -1
  353. package/dist/mint-components/p-d238372a.system.entry.js +0 -1
  354. package/dist/mint-components/p-d7806f31.js +0 -48
  355. package/dist/mint-components/p-def516b8.system.js +0 -1
  356. package/dist/mint-components/p-e01ac27c.system.js +0 -1
  357. package/dist/mint-components/p-e45a8501.system.entry.js +0 -1
  358. package/dist/mint-components/p-ead27698.system.entry.js +0 -1
  359. package/dist/mint-components/p-f340214f.entry.js +0 -25
  360. package/dist/mint-components/p-f55060db.js +0 -1
  361. package/dist/mint-components/p-f655a7df.js +0 -1
  362. package/dist/mint-components/p-fffc3590.entry.js +0 -9
  363. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +0 -5
  364. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +0 -10
  365. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +0 -26
  366. package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +0 -7
  367. package/dist/types/components/sqm-widget-verification/keys.d.ts +0 -4
  368. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +0 -9
  369. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +0 -26
  370. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +0 -54
  371. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +0 -25
  372. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +0 -10
  373. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +0 -21
  374. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +0 -40
  375. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +0 -10
  376. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-internal.d.ts +0 -20
  377. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -87
  378. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +0 -14
  379. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -10
  380. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +0 -30
  381. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +0 -62
  382. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +0 -19
@@ -194,7 +194,6 @@ const stepTwoProps = {
194
194
  };
195
195
  const stepFourProps = {
196
196
  states: {
197
- showVerification: false,
198
197
  step: "4",
199
198
  hideSteps: false,
200
199
  disabled: false,
@@ -210,7 +209,6 @@ const stepFourProps = {
210
209
  },
211
210
  },
212
211
  callbacks: {
213
- onVerification: () => { },
214
212
  onSubmit: async () => console.log("Submit"),
215
213
  setPaymentMethodChecked: () => { },
216
214
  setPaymentScheduleChecked: () => { },
@@ -258,7 +256,6 @@ const dashboardProps = {
258
256
  indirectTaxNumber: "123456",
259
257
  indirectTaxType: "VAT",
260
258
  showNewFormDialog: false,
261
- hasHold: false,
262
259
  },
263
260
  slots: {
264
261
  payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
@@ -773,7 +770,6 @@ export const TaxAndCashDashboardActiveW8BENForm = () => {
773
770
  indirectTaxType: "VAT",
774
771
  indirectTaxNumber: "123456",
775
772
  showNewFormDialog: false,
776
- hasHold: false,
777
773
  },
778
774
  } }));
779
775
  };
@@ -789,7 +785,6 @@ export const TaxAndCashDashboardActiveW8BENEForm = () => {
789
785
  indirectTaxType: "VAT",
790
786
  indirectTaxNumber: "123456",
791
787
  showNewFormDialog: false,
792
- hasHold: false,
793
788
  },
794
789
  } }));
795
790
  };
@@ -806,7 +801,6 @@ export const TaxAndCashDashboardNotActiveW9Form = () => {
806
801
  indirectTaxType: "VAT",
807
802
  indirectTaxNumber: "123456",
808
803
  showNewFormDialog: false,
809
- hasHold: false,
810
804
  },
811
805
  } }));
812
806
  };
@@ -824,7 +818,6 @@ export const TaxAndCashDashboardNotVerifiedW9Form = () => {
824
818
  indirectTaxType: "VAT",
825
819
  indirectTaxNumber: "123456",
826
820
  showNewFormDialog: false,
827
- hasHold: false,
828
821
  },
829
822
  } }));
830
823
  };
@@ -843,7 +836,6 @@ export const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
843
836
  indirectTaxType: "VAT",
844
837
  indirectTaxNumber: "123456",
845
838
  showNewFormDialog: false,
846
- hasHold: false,
847
839
  },
848
840
  } }));
849
841
  };
@@ -862,7 +854,6 @@ export const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
862
854
  indirectTaxType: "VAT",
863
855
  indirectTaxNumber: "123456",
864
856
  showNewFormDialog: false,
865
- hasHold: false,
866
857
  },
867
858
  } }));
868
859
  };
@@ -881,7 +872,6 @@ export const TaxAndCashDashboardNotActiveW8BENEForm = () => {
881
872
  indirectTaxType: "VAT",
882
873
  country: "United Kingdom",
883
874
  showNewFormDialog: false,
884
- hasHold: false,
885
875
  },
886
876
  } }));
887
877
  };
@@ -900,7 +890,6 @@ export const TaxAndCashDashboardNoFormNeeded = () => {
900
890
  indirectTaxNumber: "123456",
901
891
  indirectTaxType: "GST",
902
892
  showNewFormDialog: false,
903
- hasHold: false,
904
893
  },
905
894
  } }));
906
895
  };
@@ -920,7 +909,6 @@ export const TaxAndCashDashboardIndirectTaxCanada = () => {
920
909
  indirectTaxType: "GST",
921
910
  indirectTaxNumber: "123456",
922
911
  showNewFormDialog: false,
923
- hasHold: false,
924
912
  },
925
913
  } }));
926
914
  };
@@ -941,7 +929,6 @@ export const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
941
929
  indirectTaxNumber: "123456",
942
930
  qstNumber: "44212",
943
931
  showNewFormDialog: false,
944
- hasHold: false,
945
932
  },
946
933
  } }));
947
934
  };
@@ -962,7 +949,6 @@ export const TaxAndCashDashboardIndirectTaxSpain = () => {
962
949
  indirectTaxNumber: "123456",
963
950
  subRegionTaxNumber: "44212",
964
951
  showNewFormDialog: false,
965
- hasHold: false,
966
952
  },
967
953
  } }));
968
954
  };
@@ -978,25 +964,6 @@ export const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
978
964
  noFormNeeded: false,
979
965
  notRegistered: true,
980
966
  showNewFormDialog: false,
981
- hasHold: false,
982
- },
983
- } }));
984
- };
985
- export const TaxAndCashDashboardIdentityVerifcationRequired = () => {
986
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
987
- ...dashboardProps,
988
- states: {
989
- showIdentityVerificationDialog: true,
990
- identiyRequired: true,
991
- canEditPayoutInfo: true,
992
- status: "ACTIVE",
993
- documentType: "W8BEN",
994
- documentTypeString: taxTypeToName("W8BEN"),
995
- dateSubmitted: "Jan 18th, 2025",
996
- noFormNeeded: false,
997
- notRegistered: true,
998
- showNewFormDialog: false,
999
- hasHold: false,
1000
967
  },
1001
968
  } }));
1002
969
  };
@@ -1012,25 +979,6 @@ export const TaxAndCashDashboardNewTaxForm = () => {
1012
979
  noFormNeeded: false,
1013
980
  notRegistered: true,
1014
981
  showNewFormDialog: true,
1015
- hasHold: false,
1016
- },
1017
- } }));
1018
- };
1019
- export const TaxAndCashDashboardPayoutsOnHold = () => {
1020
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1021
- ...dashboardProps,
1022
- states: {
1023
- canEditPayoutInfo: true,
1024
- disabled: true,
1025
- status: "ACTIVE",
1026
- documentType: "W8BEN",
1027
- documentTypeString: taxTypeToName("W8BEN"),
1028
- dateSubmitted: "Jan 18th, 2025",
1029
- noFormNeeded: false,
1030
- indirectTaxNumber: "123456",
1031
- country: "Slovania",
1032
- showNewFormDialog: false,
1033
- hasHold: true,
1034
982
  },
1035
983
  } }));
1036
984
  };
@@ -1047,7 +995,6 @@ export const TaxAndCashDashboardLoading = () => {
1047
995
  noFormNeeded: false,
1048
996
  loading: true,
1049
997
  showNewFormDialog: false,
1050
- hasHold: false,
1051
998
  },
1052
999
  } }));
1053
1000
  };
@@ -1065,7 +1012,6 @@ export const TaxAndCashDashboardWithLoadingError = () => {
1065
1012
  loading: true,
1066
1013
  loadingError: true,
1067
1014
  showNewFormDialog: false,
1068
- hasHold: false,
1069
1015
  },
1070
1016
  } }));
1071
1017
  };
@@ -1084,7 +1030,6 @@ export const TaxAndCashDashboardWithGeneralError = () => {
1084
1030
  indirectTaxType: "VAT",
1085
1031
  country: "Slovania",
1086
1032
  showNewFormDialog: false,
1087
- hasHold: false,
1088
1033
  errors: {
1089
1034
  general: true,
1090
1035
  },
@@ -1105,7 +1050,6 @@ export const TaxAndCashDashboardDisabled = () => {
1105
1050
  indirectTaxNumber: "123456",
1106
1051
  country: "Slovania",
1107
1052
  showNewFormDialog: false,
1108
- hasHold: false,
1109
1053
  },
1110
1054
  } }));
1111
1055
  };
@@ -313,9 +313,6 @@ export class BankingInfoForm {
313
313
  padding: "var(--sl-spacing-x-small)",
314
314
  },
315
315
  };
316
- if (props.states.isPartner && props.states.showVerification) {
317
- return (h("sqm-code-verification", { onVerification: props.callbacks.onVerification }));
318
- }
319
316
  return (h(Host, null,
320
317
  h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
321
318
  formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
@@ -1500,7 +1497,7 @@ export class BankingInfoForm {
1500
1497
  "mutable": false,
1501
1498
  "complexType": {
1502
1499
  "original": "DemoData<BankingInfoFormViewProps>",
1503
- "resolved": "{ states?: { showVerification: boolean; step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\"; }; }; }; }; bitset?: number; currency?: string; thresholds: string[]; countries?: { countryCode: string; displayName: string; }[]; allCountries?: { countryCode: string; displayName: string; }[]; currentPaymentOption?: any; showInputs?: boolean; bankCountry?: string; countrySearch?: string; }; slots?: { formInputsSlot?: VNode[]; countryInputSlot?: VNode; paymentMethodSlot?: VNode; paymentThresholdSelectSlot?: VNode; paymentFixedDaySelectSlot?: VNode; paypalInputSlot?: VNode; }; refs?: { formRef: any; }; }",
1500
+ "resolved": "{ states?: { step?: string; locale?: string; loading: boolean; saveLoading?: boolean; disabled: boolean; saveDisabled: boolean; hideSteps?: boolean; hasPayPal: boolean; hideBanking?: boolean; hidePayPal?: boolean; hideBalanceThreshold?: boolean; hideFixedDay?: boolean; hideBackButton: boolean; feeCap?: string; isPartner: boolean; paymentMethodFeeLabel?: string; loadingError: boolean; formState: BankingInfoFormData & { paymentMethodChecked?: \"toBankAccount\" | \"toPayPalAccount\"; paymentScheduleChecked?: \"BALANCE_THRESHOLD\" | \"FIXED_DAY\"; errors?: { general?: boolean; inputErrors?: { [field: string]: { type: \"required\" | \"invalid\"; }; }; }; }; bitset?: number; currency?: string; thresholds: string[]; countries?: { countryCode: string; displayName: string; }[]; allCountries?: { countryCode: string; displayName: string; }[]; currentPaymentOption?: any; showInputs?: boolean; bankCountry?: string; countrySearch?: string; }; slots?: { formInputsSlot?: VNode[]; countryInputSlot?: VNode; paymentMethodSlot?: VNode; paymentThresholdSelectSlot?: VNode; paymentFixedDaySelectSlot?: VNode; paypalInputSlot?: VNode; }; refs?: { formRef: any; }; }",
1504
1501
  "references": {
1505
1502
  "DemoData": {
1506
1503
  "location": "import",
@@ -1619,7 +1616,6 @@ function useDemoBankingInfoForm(props) {
1619
1616
  setPaymentScheduleChecked,
1620
1617
  setCountrySearch: () => { },
1621
1618
  onBack: async () => setStep("/dashboard"),
1622
- onVerification: () => { },
1623
1619
  },
1624
1620
  text: props.getTextProps(),
1625
1621
  refs: {
@@ -1,10 +1,9 @@
1
- import { useHost, useLocale, useMutation, useParent, useParentQueryValue, useParentValue, useUserIdentity, } from "@saasquatch/component-boilerplate";
1
+ import { useLocale, useMutation, useParent, useParentQueryValue, useParentValue, useUserIdentity, } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useRef, useState } from "@saasquatch/universal-hooks";
3
3
  import { gql } from "graphql-request";
4
4
  import JSONPointer from "jsonpointer";
5
5
  import { intl } from "../../../global/global";
6
6
  import { FINANCE_NETWORK_SETTINGS_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
7
- import { VERIFICATION_EVENT_KEY } from "../../sqm-widget-verification/keys";
8
7
  // Hardcoded in Impact backend
9
8
  export const paypalFeeMap = {
10
9
  USD: "USD20.00",
@@ -51,21 +50,6 @@ const SAVE_WITHDRAWAL_SETTINGS = gql `
51
50
  }
52
51
  }
53
52
  `;
54
- const UPDATE_WITHDRAWAL_SETTINGS = gql `
55
- mutation updateImpactPublisherWithdrawalSettings(
56
- $updateImpactPublisherWithdrawalSettingsInput: UpdateImpactPublisherWithdrawalSettingsInput!
57
- ) {
58
- updateImpactPublisherWithdrawalSettings(
59
- updateImpactPublisherWithdrawalSettingsInput: $updateImpactPublisherWithdrawalSettingsInput
60
- ) {
61
- success
62
- validationErrors {
63
- field
64
- message
65
- }
66
- }
67
- }
68
- `;
69
53
  function getPaymentMethod(paymentOption) {
70
54
  if (paymentOption.defaultFinancePaymentMethodId === 3 ||
71
55
  paymentOption.defaultFinancePaymentMethodId === 5)
@@ -83,7 +67,6 @@ function parseImpactThreshold(threshold) {
83
67
  }
84
68
  export function useBankingInfoForm(props) {
85
69
  var _a, _b, _c, _d, _e, _f, _g, _h;
86
- const host = useHost();
87
70
  const locale = useLocale();
88
71
  const user = useUserIdentity();
89
72
  const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
@@ -93,9 +76,6 @@ export function useBankingInfoForm(props) {
93
76
  const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = useParentQueryValue(FINANCE_NETWORK_SETTINGS_NAMESPACE);
94
77
  const { data: userData, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
95
78
  const [saveWithdrawalSettings] = useMutation(SAVE_WITHDRAWAL_SETTINGS);
96
- const [updateWithdrawalSettings] = useMutation(UPDATE_WITHDRAWAL_SETTINGS);
97
- const [showVerification, setShowVerification] = useState(false);
98
- const [currentFormData, setCurrentFormData] = useState(null);
99
79
  const [formState, setFormState] = useState({});
100
80
  const [currentPaymentOption, setCurrentPaymentOption] = useState(null);
101
81
  const [loading, setLoading] = useState(false);
@@ -105,9 +85,8 @@ export function useBankingInfoForm(props) {
105
85
  const [countrySearch, setCountrySearch] = useState("");
106
86
  const [filteredCountries, setFilteredCountries] = useState(countries || []);
107
87
  const currency = ((_c = (_b = (_a = userData === null || userData === void 0 ? void 0 : userData.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency) || "";
108
- const isPartner = !!((_f = (_e = (_d = userData === null || userData === void 0 ? void 0 : userData.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher) === null || _f === void 0 ? void 0 : _f.withdrawalSettings);
109
88
  const feeCap = paypalFeeMap[currency] || "";
110
- const paymentOptions = (_g = paymentOptionsData === null || paymentOptionsData === void 0 ? void 0 : paymentOptionsData.impactFinanceNetworkSettings) === null || _g === void 0 ? void 0 : _g.data;
89
+ const paymentOptions = (_d = paymentOptionsData === null || paymentOptionsData === void 0 ? void 0 : paymentOptionsData.impactFinanceNetworkSettings) === null || _d === void 0 ? void 0 : _d.data;
111
90
  const paymentMethodFeeMap = {
112
91
  [ACH_PAYMENT_METHOD]: props.eftWithdrawalLabel,
113
92
  [WIRE_PAYMENT_METHOD]: intl.formatMessage({
@@ -186,50 +165,49 @@ export function useBankingInfoForm(props) {
186
165
  setFormState((p) => ({ ...p, bankCountry }));
187
166
  setCurrentPaymentOption(currentPaymentOption);
188
167
  };
189
- const runMutation = async (formData, token) => {
190
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
168
+ const onSubmit = async (event) => {
169
+ var _a, _b, _c, _d;
170
+ let formData = {};
171
+ let validationErrors = {};
172
+ const controls = event.target.getFormControls();
173
+ controls.forEach((control) => {
174
+ if (!control.name || !control.id)
175
+ return;
176
+ const key = control.name;
177
+ const value = control.value;
178
+ JSONPointer.set(formData, key, value);
179
+ if (control.required && !value) {
180
+ JSONPointer.set(validationErrors, key, { type: "required" });
181
+ }
182
+ });
183
+ setErrors({ inputErrors: validationErrors });
184
+ if (Object.keys(validationErrors).length) {
185
+ return;
186
+ }
191
187
  setLoading(true);
192
188
  try {
193
189
  if (!currentPaymentOption)
194
190
  throw new Error("No currentPaymentOption");
195
- const body = {
196
- user: {
197
- id: user.id,
198
- accountId: user.accountId,
191
+ const input = {
192
+ setImpactPublisherWithdrawalSettingsInput: {
193
+ user: {
194
+ id: user.id,
195
+ accountId: user.accountId,
196
+ },
197
+ ...formData,
198
+ paymentMethod: getPaymentMethod(currentPaymentOption),
199
+ paymentSchedulingType: paymentScheduleChecked,
199
200
  },
200
- ...formData,
201
- paymentMethod: getPaymentMethod(currentPaymentOption),
202
- paymentSchedulingType: paymentScheduleChecked,
203
201
  };
204
- let response = null;
205
- let success = null;
206
- let validationErrors = null;
207
- // Call difference mutations based on whether the user is updating
208
- // the info for setting it for the first time
209
- if (isPartner) {
210
- response = await updateWithdrawalSettings({
211
- updateImpactPublisherWithdrawalSettingsInput: {
212
- ...body,
213
- accessKey: token,
214
- },
215
- });
216
- success = (_b = (_a = response) === null || _a === void 0 ? void 0 : _a.updateImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.success;
217
- validationErrors = (_d = (_c = response) === null || _c === void 0 ? void 0 : _c.updateImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
218
- }
219
- else {
220
- response = await saveWithdrawalSettings({
221
- setImpactPublisherWithdrawalSettingsInput: {
222
- ...body,
223
- },
224
- });
225
- success = (_f = (_e = response) === null || _e === void 0 ? void 0 : _e.setImpactPublisherWithdrawalSettings) === null || _f === void 0 ? void 0 : _f.success;
226
- validationErrors = (_h = (_g = response) === null || _g === void 0 ? void 0 : _g.setImpactPublisherWithdrawalSettings) === null || _h === void 0 ? void 0 : _h.validationErrors;
227
- }
228
- if (!response || ((_j = response) === null || _j === void 0 ? void 0 : _j.message)) {
202
+ const response = await saveWithdrawalSettings(input);
203
+ if (!response || ((_a = response) === null || _a === void 0 ? void 0 : _a.message)) {
229
204
  throw new Error();
230
205
  }
231
- else if (!success) {
232
- console.error("Validation failed: ", validationErrors);
206
+ else if (!((_b = response
207
+ .setImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.success)) {
208
+ console.error("Validation failed: ", (_c = response
209
+ .setImpactPublisherWithdrawalSettings) === null || _c === void 0 ? void 0 : _c.validationErrors);
210
+ const validationErrors = (_d = response.setImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
233
211
  const mappedValidationErrors = validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.reduce((agg, error) => {
234
212
  return {
235
213
  ...agg,
@@ -255,45 +233,6 @@ export function useBankingInfoForm(props) {
255
233
  setLoading(false);
256
234
  }
257
235
  };
258
- const onSubmit = async (event) => {
259
- let formData = {};
260
- let validationErrors = {};
261
- const controls = event.target.getFormControls();
262
- controls.forEach((control) => {
263
- if (!control.name || !control.id)
264
- return;
265
- const key = control.name;
266
- const value = control.value;
267
- JSONPointer.set(formData, key, value);
268
- if (control.required && !value) {
269
- JSONPointer.set(validationErrors, key, { type: "required" });
270
- }
271
- });
272
- setErrors({ inputErrors: validationErrors });
273
- if (Object.keys(validationErrors).length) {
274
- return;
275
- }
276
- let token = undefined;
277
- if (isPartner) {
278
- setShowVerification(true);
279
- token = await new Promise((res) => {
280
- const cb = (e) => {
281
- e.stopPropagation();
282
- host.removeEventListener(VERIFICATION_EVENT_KEY, cb);
283
- res(e.detail.token);
284
- };
285
- host.addEventListener(VERIFICATION_EVENT_KEY, cb);
286
- });
287
- setShowVerification(false);
288
- }
289
- await runMutation(formData, token);
290
- };
291
- const onVerification = async (token) => {
292
- host.dispatchEvent(new CustomEvent(VERIFICATION_EVENT_KEY, {
293
- detail: { token },
294
- bubbles: false,
295
- }));
296
- };
297
236
  function setPaymentMethodChecked(paymentMethod) {
298
237
  _setPaymentMethodChecked(paymentMethod);
299
238
  if (paymentMethod === "toPayPalAccount") {
@@ -318,15 +257,13 @@ export function useBankingInfoForm(props) {
318
257
  setPaymentScheduleChecked,
319
258
  onBack: () => setStep("/dashboard"),
320
259
  setCountrySearch,
321
- onVerification,
322
260
  },
323
261
  states: {
324
- showVerification,
325
262
  step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
326
263
  hideSteps: !!context.hideSteps,
327
264
  saveDisabled: !paymentMethodChecked || !paymentScheduleChecked,
328
265
  locale,
329
- isPartner,
266
+ isPartner: !!((_g = (_f = (_e = userData === null || userData === void 0 ? void 0 : userData.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.publisher) === null || _g === void 0 ? void 0 : _g.withdrawalSettings),
330
267
  feeCap,
331
268
  paymentMethodFeeLabel,
332
269
  disabled: loading,
@@ -20,14 +20,6 @@ const style = {
20
20
  MessageContainer: {
21
21
  maxWidth: "400px",
22
22
  },
23
- IFrameContainer: {
24
- "@media screen and (max-width: 440px)": {
25
- position: "absolute",
26
- width: "100vw",
27
- left: "-30px",
28
- zIndex: "9999",
29
- },
30
- },
31
23
  };
32
24
  const sheet = createStyleSheet(style);
33
25
  const styleString = sheet.toString();
@@ -69,7 +61,6 @@ export const DocusignLoadingView = () => {
69
61
  h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
70
62
  };
71
63
  export const DocusignIframe = ({ states, data, callbacks, text, }) => {
72
- const { classes } = sheet;
73
64
  const [iFrameHeight, setiFrameHeight] = useState("100%");
74
65
  const allowedDomains = [
75
66
  "referralsaasquatch.com",
@@ -92,7 +83,7 @@ export const DocusignIframe = ({ states, data, callbacks, text, }) => {
92
83
  return () => {
93
84
  window.removeEventListener("message", callback, false);
94
85
  };
95
- }, [iFrameHeight]);
86
+ }, []);
96
87
  if (states.urlLoading)
97
88
  return h(DocusignLoadingView, null);
98
89
  if (DOCUSIGN_ERROR_STATES.includes(states.status)) {
@@ -100,9 +91,5 @@ export const DocusignIframe = ({ states, data, callbacks, text, }) => {
100
91
  }
101
92
  if (DOCUSIGN_EXPIRED_STATES.includes(states.status))
102
93
  return h(DocusignExpiredView, { text: text });
103
- // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
104
- return (h("div", { style: { height: iFrameHeight } },
105
- h("style", { type: "text/css" }, styleString),
106
- h("div", { class: classes.IFrameContainer },
107
- h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
94
+ return (h("iframe", { scrolling: "yes", frameBorder: "0", src: data.documentUrl, width: "100%", height: iFrameHeight }));
108
95
  };
@@ -13,17 +13,11 @@ export const GET_USER = gql `
13
13
  query getUserTaxInfo {
14
14
  user: viewer {
15
15
  ... on User {
16
- id
17
16
  firstName
18
17
  lastName
19
18
  email
20
19
  countryCode
21
20
  customFields
22
- managedIdentity {
23
- uid
24
- email
25
- emailVerified
26
- }
27
21
  impactConnection {
28
22
  connected
29
23
  user {
@@ -748,14 +748,14 @@ export class TaxAndCashMonolith {
748
748
  * @uiGroup Dashboard Properties
749
749
  * @uiWidget textArea
750
750
  */
751
- this.payoutHoldAlertHeader = "Your payout is on hold";
751
+ this.dashboard_errorTitleText = "Your payout is on hold ";
752
752
  /**
753
753
  * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
754
754
  * @uiName Payout error message description
755
755
  * @uiGroup Dashboard Properties
756
756
  * @uiWidget textArea
757
757
  */
758
- this.payoutHoldAlertDescription = "Please contact Support or check your inbox for an email from our referral program provider, impact.com.";
758
+ this.dashboard_errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
759
759
  /**
760
760
  * Text displayed for existing publishers that do not have saved banking information.
761
761
  * @uiName Payout missing information subtext
@@ -3972,7 +3972,7 @@ export class TaxAndCashMonolith {
3972
3972
  "reflect": false,
3973
3973
  "defaultValue": "\"Earnings after tax\""
3974
3974
  },
3975
- "payoutHoldAlertHeader": {
3975
+ "dashboard_errorTitleText": {
3976
3976
  "type": "string",
3977
3977
  "mutable": false,
3978
3978
  "complexType": {
@@ -3995,11 +3995,11 @@ export class TaxAndCashMonolith {
3995
3995
  }],
3996
3996
  "text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
3997
3997
  },
3998
- "attribute": "payout-hold-alert-header",
3998
+ "attribute": "dashboard_error-title-text",
3999
3999
  "reflect": false,
4000
- "defaultValue": "\"Your payout is on hold\""
4000
+ "defaultValue": "\"Your payout is on hold \""
4001
4001
  },
4002
- "payoutHoldAlertDescription": {
4002
+ "dashboard_errorDescriptionText": {
4003
4003
  "type": "string",
4004
4004
  "mutable": false,
4005
4005
  "complexType": {
@@ -4022,9 +4022,9 @@ export class TaxAndCashMonolith {
4022
4022
  }],
4023
4023
  "text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
4024
4024
  },
4025
- "attribute": "payout-hold-alert-description",
4025
+ "attribute": "dashboard_error-description-text",
4026
4026
  "reflect": false,
4027
- "defaultValue": "\"Please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
4027
+ "defaultValue": "\"If you\u2019ve recently added your payout information, please wait while we verify your information. If it\u2019s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
4028
4028
  },
4029
4029
  "dashboard_payoutMissingInformationText": {
4030
4030
  "type": "string",
@@ -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, _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)) {
6
+ var _a;
7
+ if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected)) {
8
8
  return "/1";
9
9
  }
10
10
  const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, } = user.impactConnection.publisher;
@@ -8,12 +8,6 @@ const style = {
8
8
  borderTop: "none",
9
9
  },
10
10
  },
11
- HoldAlertContainer: {
12
- "&::part(base)": {
13
- border: "none",
14
- backgroundColor: "transparent",
15
- },
16
- },
17
11
  ExpiringSoonAlertContainer: {
18
12
  "&::part(base)": {
19
13
  backgroundColor: "var(--sl-color-yellow-100)",
@@ -253,11 +247,6 @@ export const TaxAndCashDashboardView = (props) => {
253
247
  h("strong", null, text.error.generalTitle),
254
248
  h("br", null),
255
249
  text.error.generalDescription)),
256
- states.hasHold && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet.classes.HoldAlertContainer },
257
- h("sl-icon", { slot: "icon", name: "exclamation-triangle" }),
258
- h("strong", null, text.payoutHoldAlertHeader),
259
- h("br", null),
260
- text.payoutHoldAlertDescription)),
261
250
  h("sl-dialog", { label: text.replaceTaxFormModalHeader, class: sheet.classes.Dialog, open: states.showNewFormDialog, "onSl-hide": callbacks.onNewFormCancel },
262
251
  h("p", null, text.replaceTaxFormModalBodyText),
263
252
  h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onNewFormClick }, text.newFormButton),
@@ -173,13 +173,13 @@ export class TaxAndCashDashboard {
173
173
  * @uiName Payout error message title
174
174
  * @uiWidget textArea
175
175
  */
176
- this.payoutHoldAlertHeader = "Your payout is on hold";
176
+ this.errorTitleText = "Your payout is on hold ";
177
177
  /**
178
178
  * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
179
179
  * @uiName Payout error message description
180
180
  * @uiWidget textArea
181
181
  */
182
- this.payoutHoldAlertDescription = "Please contact Support or check your inbox for an email from our referral program provider, impact.com.";
182
+ this.errorDescriptionText = "If you’ve recently added your payout information, please wait while we verify your information. If it’s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.";
183
183
  /**
184
184
  * Text displayed for existing publishers that do not have saved banking information.
185
185
  * @uiName Payout missing information subtext
@@ -926,7 +926,7 @@ export class TaxAndCashDashboard {
926
926
  "reflect": false,
927
927
  "defaultValue": "\"Account\""
928
928
  },
929
- "payoutHoldAlertHeader": {
929
+ "errorTitleText": {
930
930
  "type": "string",
931
931
  "mutable": false,
932
932
  "complexType": {
@@ -946,11 +946,11 @@ export class TaxAndCashDashboard {
946
946
  }],
947
947
  "text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
948
948
  },
949
- "attribute": "payout-hold-alert-header",
949
+ "attribute": "error-title-text",
950
950
  "reflect": false,
951
- "defaultValue": "\"Your payout is on hold\""
951
+ "defaultValue": "\"Your payout is on hold \""
952
952
  },
953
- "payoutHoldAlertDescription": {
953
+ "errorDescriptionText": {
954
954
  "type": "string",
955
955
  "mutable": false,
956
956
  "complexType": {
@@ -970,9 +970,9 @@ export class TaxAndCashDashboard {
970
970
  }],
971
971
  "text": "Part of the alert displayed at the top of the page when there\u2019s been an issue preventing payouts."
972
972
  },
973
- "attribute": "payout-hold-alert-description",
973
+ "attribute": "error-description-text",
974
974
  "reflect": false,
975
- "defaultValue": "\"Please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
975
+ "defaultValue": "\"If you\u2019ve recently added your payout information, please wait while we verify your information. If it\u2019s still on hold after a few days, please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
976
976
  },
977
977
  "payoutMissingInformationText": {
978
978
  "type": "string",
@@ -1435,7 +1435,7 @@ export class TaxAndCashDashboard {
1435
1435
  "mutable": false,
1436
1436
  "complexType": {
1437
1437
  "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; }; }; }",
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; errors?: { general?: boolean; }; }; }",
1439
1439
  "references": {
1440
1440
  "DemoData": {
1441
1441
  "location": "import",
@@ -1476,7 +1476,6 @@ function useDemoTaxAndCashDashboard(props) {
1476
1476
  disabled: false,
1477
1477
  loading: false,
1478
1478
  showNewFormDialog: false,
1479
- hasHold: false,
1480
1479
  },
1481
1480
  callbacks: {
1482
1481
  onClick: () => console.debug("check step"),
@@ -40,7 +40,7 @@ function getIndirectTaxType(taxInformation) {
40
40
  return "Indirect Tax";
41
41
  }
42
42
  export const useTaxAndCashDashboard = (props) => {
43
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
43
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
44
44
  const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
45
45
  const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
46
46
  const [showDialog, setShowDialog] = useState(false);
@@ -95,7 +95,6 @@ export const useTaxAndCashDashboard = (props) => {
95
95
  loading,
96
96
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
97
97
  showNewFormDialog: showDialog,
98
- hasHold: !!((_m = publisher === null || publisher === void 0 ? void 0 : publisher.payoutsAccount) === null || _m === void 0 ? void 0 : _m.hold),
99
98
  },
100
99
  callbacks: {
101
100
  onClick: () => setShowDialog(true),