@saasquatch/mint-components 2.1.9-8 → 2.1.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 (430) hide show
  1. package/dist/cjs/{ShadowViewAddon-d679ec76.js → ShadowViewAddon-1798acd3.js} +410 -24
  2. package/dist/cjs/{data-e83f8a41.js → data-8c8a08f6.js} +2 -2
  3. package/dist/cjs/extractProps-e9c55ba8.js +35 -0
  4. package/dist/cjs/{global-0f8b1267.js → global-b7b1b8fe.js} +3126 -3177
  5. package/dist/cjs/{index.module-42d413d9.js → index.module-f8c8495f.js} +149 -154
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{re-render-69bde9ee.js → re-render-72a0ef45.js} +1 -1
  9. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +68 -401
  10. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +229 -421
  11. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +8 -7
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  14. package/dist/cjs/sqm-email-verification.cjs.entry.js +418 -0
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  16. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  19. package/dist/cjs/{sqm-lead-checkbox-field-view-d90f8941.js → sqm-lead-checkbox-field-view-0af2a157.js} +1 -1
  20. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  21. package/dist/cjs/{sqm-lead-input-field-view-818d9e9a.js → sqm-lead-input-field-view-0cd7ebdb.js} +1 -1
  22. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  23. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  25. package/dist/cjs/{sqm-navigation-sidebar-item-view-20693e59.js → sqm-navigation-sidebar-item-view-49b152dd.js} +1 -1
  26. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  28. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  29. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  31. package/dist/cjs/{sqm-portal-email-verification-view-2b4b92da.js → sqm-portal-email-verification-view-abb773a7.js} +2 -2
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  33. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +8 -8
  34. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  35. package/dist/cjs/{sqm-portal-profile-view-bfdbb98d.js → sqm-portal-profile-view-3515e1e5.js} +2 -2
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  38. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
  39. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
  40. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  41. package/dist/cjs/{sqm-portal-verify-email-view-90cd89e3.js → sqm-portal-verify-email-view-717d0633.js} +2 -2
  42. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +6 -6
  44. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  45. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  47. package/dist/cjs/sqm-stencilbook.cjs.entry.js +174 -220
  48. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  49. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  50. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
  51. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  52. package/dist/cjs/{sqm-user-info-form-view-923ff8d9.js → sqm-user-info-form-view-53306f6e.js} +12 -9
  53. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  54. package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
  55. package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
  56. package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
  57. package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
  58. package/dist/cjs/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
  59. package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
  60. package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
  61. package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
  62. package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
  63. package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
  64. package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
  65. package/dist/collection/collection-manifest.json +0 -1
  66. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
  67. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  68. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  69. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
  70. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
  71. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
  72. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  73. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +132 -11
  74. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  75. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  76. package/dist/collection/components/sqm-share-link/sqm-share-link.js +685 -27
  77. package/dist/collection/components/sqm-share-link/useShareLink.js +210 -14
  78. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
  79. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  80. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
  81. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
  82. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +4 -473
  83. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
  84. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +37 -75
  85. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +13 -688
  86. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
  87. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
  88. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
  89. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  90. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -10
  91. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
  92. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -7
  93. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -7
  94. package/dist/esm/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-44c263e0.js} +411 -26
  95. package/dist/esm/{data-2b0feb3f.js → data-12e6aae1.js} +2 -2
  96. package/dist/esm/extractProps-54064fb0.js +32 -0
  97. package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
  98. package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
  99. package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  100. package/dist/esm/loader.js +3 -3
  101. package/dist/esm/mint-components.js +3 -3
  102. package/dist/esm/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  103. package/dist/esm/sqm-banking-info-form_10.entry.js +65 -398
  104. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +226 -417
  105. package/dist/esm/sqm-close-button.entry.js +1 -1
  106. package/dist/esm/sqm-code-verification.entry.js +9 -8
  107. package/dist/esm/sqm-context-router.entry.js +1 -1
  108. package/dist/esm/sqm-email-verification.entry.js +414 -0
  109. package/dist/esm/sqm-empty_4.entry.js +2 -2
  110. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  111. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  112. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  113. package/dist/esm/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  114. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  115. package/dist/esm/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  116. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  117. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  118. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  119. package/dist/esm/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  120. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  121. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  122. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  123. package/dist/esm/sqm-password-field.entry.js +2 -2
  124. package/dist/esm/sqm-popup-container.entry.js +1 -1
  125. package/dist/esm/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-04528277.js} +2 -2
  126. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  127. package/dist/esm/sqm-portal-forgot-password_6.entry.js +8 -8
  128. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  129. package/dist/esm/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-b5ea620f.js} +2 -2
  130. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  131. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  132. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  133. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  134. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  135. package/dist/esm/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-c61536b7.js} +2 -2
  136. package/dist/esm/sqm-qr-code.entry.js +2 -2
  137. package/dist/esm/sqm-referral-table_11.entry.js +6 -6
  138. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  139. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  140. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  141. package/dist/esm/sqm-stencilbook.entry.js +174 -220
  142. package/dist/esm/sqm-tab.entry.js +2 -2
  143. package/dist/esm/sqm-tabs.entry.js +3 -3
  144. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  145. package/dist/esm/sqm-text-span.entry.js +1 -1
  146. package/dist/esm/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +12 -9
  147. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  148. package/dist/esm/sqm-widget-verification.entry.js +210 -0
  149. package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  150. package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
  151. package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
  152. package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
  153. package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
  154. package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  155. package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
  156. package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  157. package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  158. package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  159. package/dist/esm-es5/ShadowViewAddon-44c263e0.js +1 -0
  160. package/dist/esm-es5/{data-2b0feb3f.js → data-12e6aae1.js} +1 -1
  161. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  162. package/dist/esm-es5/global-96c14d63.js +271 -0
  163. package/dist/esm-es5/index.module-b23fdad8.js +1 -0
  164. package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  165. package/dist/esm-es5/loader.js +1 -1
  166. package/dist/esm-es5/mint-components.js +1 -1
  167. package/dist/esm-es5/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  168. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  169. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
  170. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  171. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  172. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  173. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  174. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  175. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  176. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  177. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  179. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  180. package/dist/esm-es5/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  181. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  182. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  183. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  184. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  185. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  186. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  187. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  188. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  189. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  190. package/dist/esm-es5/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  191. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  192. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  193. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  194. package/dist/esm-es5/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  195. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  196. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  197. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  198. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  199. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  200. package/dist/esm-es5/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  201. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  202. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  203. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  204. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  205. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  206. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  207. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  208. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  209. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  210. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  211. package/dist/esm-es5/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +1 -1
  212. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  213. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  214. package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  215. package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
  216. package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
  217. package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
  218. package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
  219. package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  220. package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
  221. package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  222. package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  223. package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  224. package/dist/mint-components/mint-components.esm.js +1 -1
  225. package/dist/mint-components/mint-components.js +1 -1
  226. package/dist/mint-components/{p-66c0100c.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  227. package/dist/mint-components/{p-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
  228. package/dist/mint-components/p-02499e08.entry.js +1 -0
  229. package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
  231. package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
  232. package/dist/mint-components/{p-886fb141.entry.js → p-058aefe1.entry.js} +1 -1
  233. package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
  234. package/dist/mint-components/p-0797a946.js +1 -0
  235. package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
  236. package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
  237. package/dist/mint-components/{p-a5912b2f.js → p-0c0d4065.js} +3 -3
  238. package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
  239. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  240. package/dist/mint-components/{p-e5ee6cf5.entry.js → p-13292317.entry.js} +2 -2
  241. package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
  242. package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
  243. package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
  244. package/dist/mint-components/{p-ba953c21.entry.js → p-1d92c169.entry.js} +1 -1
  245. package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
  246. package/dist/mint-components/{p-a7ee6531.js → p-2668335b.js} +1 -1
  247. package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
  249. package/dist/mint-components/p-30c1ef36.system.js +1 -0
  250. package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
  251. package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
  252. package/dist/mint-components/p-38c7775a.js +1 -0
  253. package/dist/mint-components/p-3adbfd0b.system.js +6 -0
  254. package/dist/mint-components/p-3af3e2c1.entry.js +25 -0
  255. package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
  256. package/dist/mint-components/p-40bad95a.entry.js +33 -0
  257. package/dist/mint-components/{p-31dde9fc.system.js → p-43c31fd5.system.js} +1 -1
  258. package/dist/mint-components/p-4900c740.system.entry.js +1 -0
  259. package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
  260. package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
  261. package/dist/mint-components/p-5492dd51.system.entry.js +1 -0
  262. package/dist/mint-components/p-57dd28bd.system.js +1 -0
  263. package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
  264. package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
  265. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  266. package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
  267. package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
  268. package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
  269. package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
  270. package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
  271. package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
  272. package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
  273. package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
  274. package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
  275. package/dist/mint-components/p-7265bbcb.system.js +271 -0
  276. package/dist/mint-components/p-738dce27.system.entry.js +1 -0
  277. package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
  278. package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
  279. package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
  280. package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
  281. package/dist/mint-components/{p-93c5c8ec.entry.js → p-7939e4af.entry.js} +1 -1
  282. package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
  283. package/dist/mint-components/p-7efb8782.system.js +1 -0
  284. package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
  285. package/dist/mint-components/{p-f18a6658.js → p-832aea99.js} +1 -1
  286. package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
  287. package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
  288. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  289. package/dist/mint-components/p-892797eb.system.entry.js +1 -0
  290. package/dist/mint-components/{p-b5f57914.js → p-8962e023.js} +1 -1
  291. package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
  292. package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
  293. package/dist/mint-components/p-91a96e98.entry.js +1 -0
  294. package/dist/mint-components/{p-b297016f.system.entry.js → p-9390586b.system.entry.js} +1 -1
  295. package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
  296. package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
  297. package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
  298. package/dist/mint-components/p-a171767a.system.entry.js +1 -0
  299. package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
  300. package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
  301. package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
  302. package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
  303. package/dist/mint-components/p-b04289d6.entry.js +9 -0
  304. package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
  305. package/dist/mint-components/p-b395470f.entry.js +16 -0
  306. package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
  307. package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
  308. package/dist/mint-components/{p-71545bfd.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  309. package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
  310. package/dist/mint-components/p-bba16a46.system.entry.js +1 -0
  311. package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
  312. package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
  313. package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
  314. package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
  315. package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
  316. package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
  317. package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
  318. package/dist/mint-components/p-ca098be1.system.js +1 -0
  319. package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
  320. package/dist/mint-components/p-d0993bb9.js +1 -0
  321. package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
  322. package/dist/mint-components/p-d2e8359a.entry.js +273 -0
  323. package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  324. package/dist/mint-components/p-d4f332a7.entry.js +106 -0
  325. package/dist/mint-components/{p-be63f29b.system.js → p-d55c50af.system.js} +1 -1
  326. package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
  327. package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
  328. package/dist/mint-components/p-de0d6fd7.js +49 -0
  329. package/dist/mint-components/p-df073770.system.js +1 -0
  330. package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
  331. package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.system.entry.js} +1 -1
  332. package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
  333. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  334. package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
  335. package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
  336. package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
  337. package/dist/mint-components/{p-eaf5d0af.system.js → p-ea03e50e.system.js} +1 -1
  338. package/dist/mint-components/p-eab25269.js +499 -0
  339. package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
  340. package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
  341. package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
  342. package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
  343. package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
  344. package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
  345. package/dist/mint-components/{p-8139fdec.entry.js → p-f6528f8a.entry.js} +1 -1
  346. package/dist/mint-components/{p-15a703c7.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  347. package/dist/mint-components/{p-d798004f.system.js → p-f8026ed6.system.js} +1 -1
  348. package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
  349. package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
  350. package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
  351. package/dist/mint-components/p-fe70e20c.entry.js +1 -0
  352. package/dist/mint-components/{p-54bf015a.system.js → p-ff118a19.system.js} +1 -1
  353. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
  354. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
  355. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  356. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  357. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +37 -0
  358. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +140 -2
  359. package/dist/types/components/sqm-share-link/useShareLink.d.ts +27 -4
  360. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -73
  361. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
  362. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +0 -2
  363. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
  364. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +0 -165
  365. package/dist/types/components.d.ts +261 -564
  366. package/docs/docs.docx +0 -0
  367. package/docs/raisins.json +1 -1
  368. package/grapesjs/grapesjs.js +1 -1
  369. package/package.json +2 -2
  370. package/dist/cjs/eventKeys-7af4df4d.js +0 -5
  371. package/dist/cjs/parseStates-d1effc19.js +0 -16
  372. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -810
  373. package/dist/cjs/sqm-partner-info-modal-view-cd758f12.js +0 -107
  374. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -145
  375. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -102
  376. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -553
  377. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -232
  378. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
  379. package/dist/esm/eventKeys-f76b6a03.js +0 -3
  380. package/dist/esm/parseStates-ed75e224.js +0 -14
  381. package/dist/esm/sqm-email-verification_2.entry.js +0 -805
  382. package/dist/esm/sqm-partner-info-modal-view-dbedda28.js +0 -105
  383. package/dist/esm-es5/ShadowViewAddon-657d18f0.js +0 -1
  384. package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
  385. package/dist/esm-es5/global-39f55ec2.js +0 -285
  386. package/dist/esm-es5/index.module-cede12c6.js +0 -1
  387. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  388. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  389. package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
  390. package/dist/esm-es5/sqm-partner-info-modal-view-dbedda28.js +0 -1
  391. package/dist/mint-components/p-098d134a.system.entry.js +0 -1
  392. package/dist/mint-components/p-115dfc03.system.js +0 -1
  393. package/dist/mint-components/p-13f3a647.js +0 -1
  394. package/dist/mint-components/p-160764bc.system.entry.js +0 -1
  395. package/dist/mint-components/p-1b2fcd7f.entry.js +0 -108
  396. package/dist/mint-components/p-1c413a06.system.js +0 -1
  397. package/dist/mint-components/p-28ed2ae9.js +0 -1
  398. package/dist/mint-components/p-39840341.js +0 -1
  399. package/dist/mint-components/p-59f69bdc.system.entry.js +0 -1
  400. package/dist/mint-components/p-63c299f1.system.js +0 -1
  401. package/dist/mint-components/p-64b56141.system.entry.js +0 -1
  402. package/dist/mint-components/p-64f56cc9.system.js +0 -285
  403. package/dist/mint-components/p-6638c7c6.system.js +0 -1
  404. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  405. package/dist/mint-components/p-70e34ae1.system.js +0 -6
  406. package/dist/mint-components/p-7144ac40.js +0 -1
  407. package/dist/mint-components/p-74aac245.system.js +0 -1
  408. package/dist/mint-components/p-7a5814ef.system.entry.js +0 -1
  409. package/dist/mint-components/p-896390f9.js +0 -463
  410. package/dist/mint-components/p-996eb820.entry.js +0 -1
  411. package/dist/mint-components/p-a8ecdc44.system.js +0 -1
  412. package/dist/mint-components/p-a9bf9d3c.entry.js +0 -291
  413. package/dist/mint-components/p-adcc37f3.entry.js +0 -105
  414. package/dist/mint-components/p-b2a99637.system.js +0 -1
  415. package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
  416. package/dist/mint-components/p-b451970a.system.entry.js +0 -1
  417. package/dist/mint-components/p-bba694e4.entry.js +0 -1
  418. package/dist/mint-components/p-bfbfde38.entry.js +0 -33
  419. package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
  420. package/dist/mint-components/p-d20188db.js +0 -1
  421. package/dist/mint-components/p-d2927531.entry.js +0 -9
  422. package/dist/mint-components/p-d6714617.entry.js +0 -1
  423. package/dist/mint-components/p-dac1f2cb.system.entry.js +0 -1
  424. package/dist/mint-components/p-e95402dc.js +0 -49
  425. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
  426. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -43
  427. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -101
  428. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
  429. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
  430. package/shoelace/assets/icons/twitter-x.svg +0 -4
@@ -1,25 +1,24 @@
1
1
  import { h, r as registerInstance, c as Host, g as getElement } from './index-38ad4957.js';
2
- import { i as intl } from './global-39f55ec2.js';
2
+ import { i as intl } from './global-96c14d63.js';
3
3
  import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './dom-context-hooks.module-50442785.js';
4
- import { d as dist, _, L, J, t as Pn, F as Fn, x as $n, $ as $e, i as isDemo, r as En, b as useCallback, R as Rn, w as wn } from './index.module-cede12c6.js';
4
+ import { d as dist, _, L, J, q as Pn, F as Fn, r as $n, $ as $e, i as isDemo, o as En, b as useCallback, R as Rn, w as wn } from './index.module-b23fdad8.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import './mixins-f750863a.js';
10
10
  import { G as GenericTableView } from './GenericTableView-8c72ac30.js';
11
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-7a0c7976.js';
12
- import { u as useChildElements } from './useChildElements-c26d7347.js';
11
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-f30aeb6b.js';
12
+ import { u as useChildElements } from './useChildElements-9bccfb72.js';
13
13
  import { l as luxon } from './luxon-1be92a8e.js';
14
- import { g as generateUserError } from './useReferralTable-35e6d4c1.js';
15
- import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-f9026468.js';
16
- import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-2b0feb3f.js';
17
- import { b as VERIFICATION_EVENT_KEY } from './keys-db1897ae.js';
18
- import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
19
- import { a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-fa504d49.js';
14
+ import { g as generateUserError } from './useReferralTable-92af4133.js';
15
+ import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-19d81a2b.js';
16
+ import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-12e6aae1.js';
17
+ import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
18
+ import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-46c0c289.js';
20
19
 
21
20
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
22
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70;
21
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
23
22
  const { errors, ...formState } = props.states.formState;
24
23
  return {
25
24
  0: {
@@ -28,54 +27,44 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
28
27
  helpText: getValidationErrorMessage({
29
28
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
30
29
  label: props.text.beneficiaryAccountNameLabel,
31
- errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.beneficiaryAccountName) === null || _e === void 0 ? void 0 : _e.errorCode,
32
- fieldName: "beneficiaryAccountName",
33
30
  }),
34
31
  })))),
35
32
  },
36
33
  1: {
37
- input: (h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_f = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _f === void 0 ? void 0 : _f.bankAccountType) && {
34
+ input: (h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankAccountType) && {
38
35
  class: "error-input",
39
36
  helpText: getValidationErrorMessage({
40
- type: (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountType) === null || _h === void 0 ? void 0 : _h.type,
37
+ type: (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _e === void 0 ? void 0 : _e.bankAccountType) === null || _f === void 0 ? void 0 : _f.type,
41
38
  label: props.text.bankAccountTypeLabel,
42
- errorCode: (_k = (_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.bankAccountType) === null || _k === void 0 ? void 0 : _k.errorCode,
43
- fieldName: "bankAccountType",
44
39
  }),
45
40
  })),
46
41
  h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
47
42
  h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
48
43
  },
49
44
  2: {
50
- input: (h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) && {
45
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountNumber) && {
51
46
  class: "error-input",
52
47
  helpText: getValidationErrorMessage({
53
- type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.bankAccountNumber) === null || _o === void 0 ? void 0 : _o.type,
48
+ type: (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _h === void 0 ? void 0 : _h.bankAccountNumber) === null || _j === void 0 ? void 0 : _j.type,
54
49
  label: props.text.bankAccountNumberLabel,
55
- errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.bankAccountNumber) === null || _q === void 0 ? void 0 : _q.errorCode,
56
- fieldName: "bankAccountNumber",
57
50
  }),
58
51
  })))),
59
52
  },
60
53
  3: {
61
- input: (h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_r = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _r === void 0 ? void 0 : _r.bankAccountNumber) && {
54
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.bankAccountNumber) && {
62
55
  class: "error-input",
63
56
  helpText: getValidationErrorMessage({
64
- type: (_t = (_s = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _s === void 0 ? void 0 : _s.bankAccountNumber) === null || _t === void 0 ? void 0 : _t.type,
57
+ type: (_m = (_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) === null || _m === void 0 ? void 0 : _m.type,
65
58
  label: props.text.ibanLabel,
66
- errorCode: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankAccountNumber) === null || _v === void 0 ? void 0 : _v.errorCode,
67
- fieldName: "bankAccountNumber",
68
59
  }),
69
60
  })))),
70
61
  },
71
62
  4: {
72
- input: (h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.swiftCode) && {
63
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_o = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _o === void 0 ? void 0 : _o.swiftCode) && {
73
64
  class: "error-input",
74
65
  helpText: getValidationErrorMessage({
75
- type: (_y = (_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.swiftCode) === null || _y === void 0 ? void 0 : _y.type,
66
+ type: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.swiftCode) === null || _q === void 0 ? void 0 : _q.type,
76
67
  label: props.text.swiftCodeLabel,
77
- errorCode: (_0 = (_z = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _z === void 0 ? void 0 : _z.swiftCode) === null || _0 === void 0 ? void 0 : _0.errorCode,
78
- fieldName: "swiftCode",
79
68
  }),
80
69
  })))),
81
70
  },
@@ -85,41 +74,35 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
85
74
  defaultMessage: props.text.routingCodeLabel,
86
75
  }, {
87
76
  bankCountry,
88
- }), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text" }, (((_1 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _1 === void 0 ? void 0 : _1.routingCode) && {
77
+ }), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text" }, (((_r = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _r === void 0 ? void 0 : _r.routingCode) && {
89
78
  class: "error-input",
90
79
  helpText: getValidationErrorMessage({
91
- type: (_3 = (_2 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _2 === void 0 ? void 0 : _2.routingCode) === null || _3 === void 0 ? void 0 : _3.type,
80
+ type: (_t = (_s = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _s === void 0 ? void 0 : _s.routingCode) === null || _t === void 0 ? void 0 : _t.type,
92
81
  label: intl.formatMessage({
93
82
  id: "routingCodeErrorText",
94
83
  defaultMessage: props.text.routingCodeLabel,
95
84
  }, {
96
85
  bankCountry,
97
86
  }),
98
- errorCode: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.routingCode) === null || _5 === void 0 ? void 0 : _5.errorCode,
99
- fieldName: "routingCode",
100
87
  }),
101
88
  })))),
102
89
  },
103
90
  6: {
104
- input: (h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.bankName) && {
91
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankName) && {
105
92
  class: "error-input",
106
93
  helpText: getValidationErrorMessage({
107
- type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.bankName) === null || _8 === void 0 ? void 0 : _8.type,
94
+ type: (_w = (_v = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _v === void 0 ? void 0 : _v.bankName) === null || _w === void 0 ? void 0 : _w.type,
108
95
  label: props.text.bankNameLabel,
109
- errorCode: (_10 = (_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.bankName) === null || _10 === void 0 ? void 0 : _10.errorCode,
110
- fieldName: "bankName",
111
96
  }),
112
97
  })))),
113
98
  },
114
99
  7: {
115
100
  input: [
116
- h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_11 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _11 === void 0 ? void 0 : _11.beneficiaryClassification) && {
101
+ h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.beneficiaryClassification) && {
117
102
  class: "error-input",
118
103
  helpText: getValidationErrorMessage({
119
- type: (_13 = (_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.beneficiaryClassification) === null || _13 === void 0 ? void 0 : _13.type,
104
+ type: (_z = (_y = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _y === void 0 ? void 0 : _y.beneficiaryClassification) === null || _z === void 0 ? void 0 : _z.type,
120
105
  label: props.text.classificationLabel,
121
- errorCode: (_15 = (_14 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _14 === void 0 ? void 0 : _14.beneficiaryClassification) === null || _15 === void 0 ? void 0 : _15.errorCode,
122
- fieldName: "beneficiaryClassification",
123
106
  }),
124
107
  })),
125
108
  h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
@@ -130,122 +113,100 @@ function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
130
113
  defaultMessage: props.text.taxPayerIdLabel,
131
114
  }, {
132
115
  bankCountry,
133
- }), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId" }, (((_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.beneficiaryTaxPayerId) && {
116
+ }), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId" }, (((_0 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _0 === void 0 ? void 0 : _0.beneficiaryTaxPayerId) && {
134
117
  class: "error-input",
135
118
  helpText: getValidationErrorMessage({
136
- type: (_18 = (_17 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _17 === void 0 ? void 0 : _17.beneficiaryTaxPayerId) === null || _18 === void 0 ? void 0 : _18.type,
119
+ type: (_2 = (_1 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _1 === void 0 ? void 0 : _1.beneficiaryTaxPayerId) === null || _2 === void 0 ? void 0 : _2.type,
137
120
  label: props.text.taxPayerIdLabel,
138
- errorCode: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.taxPayerId) === null || _20 === void 0 ? void 0 : _20.errorCode,
139
- fieldName: "taxPayerId",
140
121
  }),
141
122
  }))),
142
123
  ],
143
124
  },
144
125
  8: {
145
- input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.beneficiaryClassification) && {
126
+ input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_3 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _3 === void 0 ? void 0 : _3.beneficiaryClassification) && {
146
127
  class: "error-input",
147
128
  helpText: getValidationErrorMessage({
148
- type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.beneficiaryClassification) === null || _23 === void 0 ? void 0 : _23.type,
129
+ type: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.beneficiaryClassification) === null || _5 === void 0 ? void 0 : _5.type,
149
130
  label: props.text.classificationCPFLabel,
150
- errorCode: (_25 = (_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.beneficiaryClassification) === null || _25 === void 0 ? void 0 : _25.errorCode,
151
- fieldName: "beneficiaryClassification",
152
131
  }),
153
132
  })),
154
133
  h("sl-menu-item", { value: "CPF" }, "CPF"),
155
134
  h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
156
135
  },
157
136
  9: {
158
- input: (h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_26 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _26 === void 0 ? void 0 : _26.patronymicName) && {
137
+ input: (h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.patronymicName) && {
159
138
  class: "error-input",
160
139
  helpText: getValidationErrorMessage({
161
- type: (_28 = (_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.patronymicName) === null || _28 === void 0 ? void 0 : _28.type,
140
+ type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.patronymicName) === null || _8 === void 0 ? void 0 : _8.type,
162
141
  label: props.text.patronymicNameLabel,
163
- errorCode: (_30 = (_29 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _29 === void 0 ? void 0 : _29.patronymicName) === null || _30 === void 0 ? void 0 : _30.errorCode,
164
- fieldName: "patronymicName",
165
142
  }),
166
143
  })))),
167
144
  },
168
145
  10: {
169
- input: (h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.voCode) && {
146
+ input: (h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.voCode) && {
170
147
  class: "error-input",
171
148
  helpText: getValidationErrorMessage({
172
- type: (_33 = (_32 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _32 === void 0 ? void 0 : _32.voCode) === null || _33 === void 0 ? void 0 : _33.type,
149
+ type: (_11 = (_10 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _10 === void 0 ? void 0 : _10.voCode) === null || _11 === void 0 ? void 0 : _11.type,
173
150
  label: props.text.voCodeLabel,
174
- errorCode: (_35 = (_34 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _34 === void 0 ? void 0 : _34.voCode) === null || _35 === void 0 ? void 0 : _35.errorCode,
175
- fieldName: "voCode",
176
151
  }),
177
152
  })))),
178
153
  },
179
154
  11: {
180
- input: (h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_36 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _36 === void 0 ? void 0 : _36.agencyCode) && {
155
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.agencyCode) && {
181
156
  class: "error-input",
182
157
  helpText: getValidationErrorMessage({
183
- type: (_38 = (_37 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _37 === void 0 ? void 0 : _37.agencyCode) === null || _38 === void 0 ? void 0 : _38.type,
158
+ type: (_14 = (_13 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _13 === void 0 ? void 0 : _13.agencyCode) === null || _14 === void 0 ? void 0 : _14.type,
184
159
  label: props.text.agencyCodeLabel,
185
- errorCode: (_40 = (_39 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _39 === void 0 ? void 0 : _39.agencyCode) === null || _40 === void 0 ? void 0 : _40.errorCode,
186
- fieldName: "agencyCode",
187
160
  }),
188
161
  })))),
189
162
  },
190
163
  12: {
191
164
  input: [
192
- h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_41 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _41 === void 0 ? void 0 : _41.bankAddress) && {
165
+ h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_15 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _15 === void 0 ? void 0 : _15.bankAddress) && {
193
166
  class: "error-input",
194
167
  helpText: getValidationErrorMessage({
195
- type: (_43 = (_42 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _42 === void 0 ? void 0 : _42.bankAddress) === null || _43 === void 0 ? void 0 : _43.type,
168
+ type: (_17 = (_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.bankAddress) === null || _17 === void 0 ? void 0 : _17.type,
196
169
  label: props.text.bankAddressLabel,
197
- errorCode: (_45 = (_44 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _44 === void 0 ? void 0 : _44.bankAddress) === null || _45 === void 0 ? void 0 : _45.errorCode,
198
- fieldName: "bankAddress",
199
170
  }),
200
171
  }))),
201
- h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_46 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _46 === void 0 ? void 0 : _46.bankCity) && {
172
+ h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_18 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _18 === void 0 ? void 0 : _18.bankCity) && {
202
173
  class: "error-input",
203
174
  helpText: getValidationErrorMessage({
204
- type: (_48 = (_47 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _47 === void 0 ? void 0 : _47.bankCity) === null || _48 === void 0 ? void 0 : _48.type,
175
+ type: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.bankCity) === null || _20 === void 0 ? void 0 : _20.type,
205
176
  label: props.text.bankCityLabel,
206
- errorCode: (_50 = (_49 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _49 === void 0 ? void 0 : _49.bankCity) === null || _50 === void 0 ? void 0 : _50.errorCode,
207
- fieldName: "bankCity",
208
177
  }),
209
178
  }))),
210
- h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_51 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _51 === void 0 ? void 0 : _51.bankState) && {
179
+ h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.bankState) && {
211
180
  class: "error-input",
212
181
  helpText: getValidationErrorMessage({
213
- type: (_53 = (_52 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _52 === void 0 ? void 0 : _52.bankState) === null || _53 === void 0 ? void 0 : _53.type,
182
+ type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.bankState) === null || _23 === void 0 ? void 0 : _23.type,
214
183
  label: props.text.bankStateLabel,
215
- errorCode: (_55 = (_54 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _54 === void 0 ? void 0 : _54.bankState) === null || _55 === void 0 ? void 0 : _55.errorCode,
216
- fieldName: "bankState",
217
184
  }),
218
185
  }))),
219
- h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_56 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _56 === void 0 ? void 0 : _56.bankPostalCode) && {
186
+ h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.bankPostalCode) && {
220
187
  class: "error-input",
221
188
  helpText: getValidationErrorMessage({
222
- type: (_58 = (_57 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _57 === void 0 ? void 0 : _57.bankPostalCode) === null || _58 === void 0 ? void 0 : _58.type,
189
+ type: (_26 = (_25 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _25 === void 0 ? void 0 : _25.bankPostalCode) === null || _26 === void 0 ? void 0 : _26.type,
223
190
  label: props.text.bankPostalCodeLabel,
224
- errorCode: (_60 = (_59 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _59 === void 0 ? void 0 : _59.bankPostalCode) === null || _60 === void 0 ? void 0 : _60.errorCode,
225
- fieldName: "bankPostalCode",
226
191
  }),
227
192
  }))),
228
193
  ],
229
194
  },
230
195
  13: {
231
- input: (h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_61 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _61 === void 0 ? void 0 : _61.branchCode) && {
196
+ input: (h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.branchCode) && {
232
197
  class: "error-input",
233
198
  helpText: getValidationErrorMessage({
234
- type: (_63 = (_62 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _62 === void 0 ? void 0 : _62.branchCode) === null || _63 === void 0 ? void 0 : _63.type,
199
+ type: (_29 = (_28 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _28 === void 0 ? void 0 : _28.branchCode) === null || _29 === void 0 ? void 0 : _29.type,
235
200
  label: props.text.branchCodeLabel,
236
- errorCode: (_65 = (_64 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _64 === void 0 ? void 0 : _64.branchCode) === null || _65 === void 0 ? void 0 : _65.errorCode,
237
- fieldName: "branchCode",
238
201
  }),
239
202
  })))),
240
203
  },
241
204
  14: {
242
- input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_66 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _66 === void 0 ? void 0 : _66.beneficiaryClassification) && {
205
+ input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_30 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _30 === void 0 ? void 0 : _30.beneficiaryClassification) && {
243
206
  class: "error-input",
244
207
  helpText: getValidationErrorMessage({
245
- type: (_68 = (_67 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _67 === void 0 ? void 0 : _67.beneficiaryClassification) === null || _68 === void 0 ? void 0 : _68.type,
208
+ type: (_32 = (_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.beneficiaryClassification) === null || _32 === void 0 ? void 0 : _32.type,
246
209
  label: props.text.classificationLabel,
247
- errorCode: (_70 = (_69 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _69 === void 0 ? void 0 : _69.beneficiaryClassification) === null || _70 === void 0 ? void 0 : _70.errorCode,
248
- fieldName: "beneficiaryClassification",
249
210
  }),
250
211
  })),
251
212
  h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
@@ -838,95 +799,6 @@ const paypalFeeMap = {
838
799
  const ACH_PAYMENT_METHOD = 3;
839
800
  const WIRE_PAYMENT_METHOD = 5;
840
801
  const PAYPAL_PAYMENT_METHOD = 7;
841
- /**
842
- * Maps GraphQL validation error field names to form field names.
843
- */
844
- const API_FIELD_TO_FORM_FIELD = {
845
- // bankProvinceState → form uses bankState
846
- bankProvinceState: "bankState",
847
- };
848
- /**
849
- * Maps Impact API error code paths (from validationErrors[].errorPath) to short,
850
- * readable frontend error codes used in the ICU select props.
851
- */
852
- const API_ERROR_PATH_TO_FRONTEND = {
853
- // Beneficiary account name
854
- "withdrawal.settings.error.empty_beneficiaryname": "empty",
855
- "withdrawal.settings.error.invalid_character_beneficiaryname": "invalidCharacters",
856
- "withdrawal.settings.error.numeric_beneficiaryname": "numeric",
857
- "withdrawal_settings.error.beneficiaryname.size": "tooLong",
858
- "withdrawal.settings.error.non_english_beneficiaryname": "nonEnglish",
859
- "withdrawal_settings.error.business_beneficiaryname_match": "businessNameMismatch",
860
- "withdrawal_settings.error.beneficiaryname_match": "nameMismatch",
861
- "withdrawal_settings.error.business_checkpayeename_match": "businessPayeeMismatch",
862
- "withdrawal_settings.error.checkpayeename_match": "payeeMismatch",
863
- // Bank account number
864
- "withdrawal.settings.error.accountnumber.empty": "empty",
865
- "withdrawal.settings.error.accountnumber.uk": "invalidUk",
866
- "withdrawal.settings.error.bankaccount.invalid": "invalid",
867
- // IBAN
868
- "withdrawal.settings.error.iban": "ibanEmpty",
869
- "withdrawal.settings.error.iban.alphanumeric": "ibanAlphanumeric",
870
- "withdrawal.settings.error.iban.invalid": "ibanInvalid",
871
- "withdrawal.settings.error.iban.uk.country.mismatch": "ibanCountryMismatch",
872
- // Routing code
873
- "withdrawal.settings.error.bsbNumber": "invalidBsb",
874
- "withdrawal.settings.error.sortcode": "invalidSortCode",
875
- "withdrawal.settings.error.routingNumber": "empty",
876
- "withdrawal.settings.error.routingcode": "invalid",
877
- // SWIFT / BIC
878
- "withdrawal.settings.error.bic": "empty",
879
- "withdrawal.settings.error.bic.alphanumeric": "alphanumeric",
880
- "withdrawal.settings.error.bic.invalid": "invalid",
881
- // Bank account type
882
- "global.error.invalid.accounttype": "empty",
883
- // Bank name
884
- "withdrawal.settings.error.bankName": "empty",
885
- // Tax payer ID
886
- "withdrawal.settings.error.taxPayerId": "empty",
887
- "withdrawal.settings.error.taxPayerId.ar": "emptyAr",
888
- "withdrawal.settings.error.taxPayerId.kr": "emptyKr",
889
- "withdrawal.settings.error.taxPayerId.alphanumeric": "alphanumeric",
890
- "withdrawal.settings.error.taxPayerId.alphanumeric.ar": "alphanumericAr",
891
- "withdrawal.settings.error.taxPayerId.alphanumeric.kr": "alphanumericKr",
892
- "withdrawal.settings.error.taxPayerId.invalid": "invalid",
893
- "withdrawal.settings.error.taxPayerId.invalid.ar": "invalidAr",
894
- "withdrawal.settings.error.taxPayerId.invalid.kr": "invalidKr",
895
- "withdrawal.settings.error.taxPayerId.invalid.kzt": "invalidKzt",
896
- "withdrawal.settings.error.taxPayerId.cnpj": "cnpjTooShort",
897
- "withdrawal.settings.error.taxPayerId.cpf": "cpfTooShort",
898
- // Patronymic name
899
- "withdrawal.settings.error.patronymicName": "empty",
900
- "withdrawal.settings.error.patronymicName.alphanumeric": "alphanumeric",
901
- // VO code
902
- "withdrawal.settings.error.voCode": "empty",
903
- "withdrawal.settings.error.voCode.alphanumeric": "alphanumeric",
904
- // Agency code
905
- "withdrawal.settings.error.agencyCode": "empty",
906
- "withdrawal.settings.error.agencyCode.alphanumeric": "alphanumeric",
907
- "withdrawal.settings.error.agencyCode.length": "tooShort",
908
- // Bank address fields
909
- "withdrawal.settings.error.bankAddress": "empty",
910
- "withdrawal.settings.error.bankCity": "empty",
911
- "withdrawal.settings.error.bankProvinceState": "empty",
912
- "withdrawal.settings.error.bankPostalCode": "empty",
913
- // Branch code / name
914
- "withdrawal.settings.error.branchCode": "invalid",
915
- "withdrawal.settings.error.branchName": "empty",
916
- // Classification code
917
- "withdrawal.settings.error.classificationCode.invalid": "empty",
918
- "withdrawal.settings.error.classificationCode.invalid.kzt": "invalidKzt",
919
- // PayPal
920
- "payment.error.email": "empty",
921
- "payment.error.paypal_not_supported": "unsupportedCurrency",
922
- "payment.error.email.invalid": "invalidEmail",
923
- "payment.error.paypal_verification_incomplete": "verificationIncomplete",
924
- // Payment schedule
925
- "payment.error.no_threshold": "empty",
926
- "payment.error.invalid_threshold": "invalid",
927
- "payment.error.no_dayOfMonth": "empty",
928
- "payment.error.invalid_dayOfMonth": "invalid",
929
- };
930
802
  function getFormInputs({ bitset, formMap }) {
931
803
  // Convert bitset to binary representation
932
804
  const binary = bitset.toString(2).padStart(Object.keys(formMap).length, "0");
@@ -950,7 +822,6 @@ const SAVE_WITHDRAWAL_SETTINGS = dist.gql `
950
822
  validationErrors {
951
823
  field
952
824
  message
953
- code
954
825
  }
955
826
  }
956
827
  }
@@ -966,7 +837,6 @@ const UPDATE_WITHDRAWAL_SETTINGS = dist.gql `
966
837
  validationErrors {
967
838
  field
968
839
  message
969
- code
970
840
  }
971
841
  }
972
842
  }
@@ -1139,13 +1009,10 @@ function useBankingInfoForm(props) {
1139
1009
  else if (!success) {
1140
1010
  console.error("Validation failed: ", validationErrors);
1141
1011
  const mappedValidationErrors = validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.reduce((agg, error) => {
1142
- const formField = API_FIELD_TO_FORM_FIELD[error.field] || error.field;
1143
- const errorCode = API_ERROR_PATH_TO_FRONTEND[error.errorPath] || error.errorPath;
1144
1012
  return {
1145
1013
  ...agg,
1146
- [formField]: {
1014
+ [error.field]: {
1147
1015
  type: "invalid",
1148
- errorCode,
1149
1016
  },
1150
1017
  };
1151
1018
  }, {});
@@ -1560,156 +1427,6 @@ const BankingInfoForm = class {
1560
1427
  * @uiName Information modal button text
1561
1428
  */
1562
1429
  this.modalButtonText = "I understand, update my information";
1563
- // ──────────────────────────────────────────────────────────────────
1564
- // Per-field validation error messages
1565
- // Each prop uses ICU select on {errorCode} to pick the right message.
1566
- // Error codes are short frontend keys mapped from the API error codes.
1567
- // The `other` branch displays the raw API message directly via {errorCode},
1568
- // which is already human-readable English (e.g. "Invalid Routing Code").
1569
- // ──────────────────────────────────────────────────────────────────
1570
- /**
1571
- * Error messages for the beneficiary / account holder name field.
1572
- * Supports error codes: empty, invalidCharacters, numeric, tooLong,
1573
- * nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
1574
- * @uiName Beneficiary account name error
1575
- * @uiWidget textArea
1576
- */
1577
- this.beneficiaryAccountNameError = "{errorCode, select, empty {Account holder name is required} invalidCharacters {Account holder name contains invalid characters} numeric {Account holder name cannot be purely numeric} tooLong {Account holder name must be 70 characters or fewer} nonEnglish {Account holder name must contain only English characters for this currency} businessNameMismatch {Beneficiary name must match the name on your tax document} nameMismatch {Beneficiary name must match the name on your tax document} businessPayeeMismatch {Payee name must match the name on your tax document} payeeMismatch {Payee name must match the name on your tax document} other {{errorCode}}}";
1578
- /**
1579
- * Error messages for the bank account number / IBAN field.
1580
- * Supports error codes: empty, invalidUk, invalid, ibanEmpty,
1581
- * ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
1582
- * @uiName Bank account number / IBAN error
1583
- * @uiWidget textArea
1584
- */
1585
- this.bankAccountNumberError = "{errorCode, select, empty {Account number is required} invalidUk {Please enter a valid UK account number} invalid {Account number is invalid} ibanEmpty {IBAN is required} ibanAlphanumeric {IBAN must contain only letters and numbers} ibanInvalid {IBAN is invalid} ibanCountryMismatch {UK accounts must use an IBAN starting with GB} other {{errorCode}}}";
1586
- /**
1587
- * Error messages for the routing code / sort code / BSB field.
1588
- * Supports error codes: invalidBsb, invalidSortCode, empty, invalid
1589
- * @uiName Routing code error
1590
- * @uiWidget textArea
1591
- */
1592
- this.routingCodeError = "{errorCode, select, invalidBsb {Please enter a valid BSB number} invalidSortCode {Please enter a valid sort code} empty {Routing number is required} invalid {Routing number is invalid} other {{errorCode}}}";
1593
- /**
1594
- * Error messages for the SWIFT / BIC code field.
1595
- * Supports error codes: empty, alphanumeric, invalid
1596
- * @uiName SWIFT code error
1597
- * @uiWidget textArea
1598
- */
1599
- this.swiftCodeError = "{errorCode, select, empty {SWIFT/BIC code is required} alphanumeric {SWIFT/BIC code must contain only letters and numbers} invalid {SWIFT/BIC code is invalid} other {{errorCode}}}";
1600
- /**
1601
- * Error messages for the bank account type field.
1602
- * Supports error codes: empty
1603
- * @uiName Bank account type error
1604
- * @uiWidget textArea
1605
- */
1606
- this.bankAccountTypeError = "{errorCode, select, empty {Bank account type is required} other {{errorCode}}}";
1607
- /**
1608
- * Error messages for the bank name field.
1609
- * Supports error codes: empty
1610
- * @uiName Bank name error
1611
- * @uiWidget textArea
1612
- */
1613
- this.bankNameError = "{errorCode, select, empty {Bank name is required} other {{errorCode}}}";
1614
- /**
1615
- * Error messages for the tax payer ID / classification entity field.
1616
- * Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
1617
- * alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
1618
- * @uiName Tax payer ID error
1619
- * @uiWidget textArea
1620
- */
1621
- this.taxPayerIdError = "{errorCode, select, empty {Tax payer ID is required} emptyAr {CUIT/CUIL is required} emptyKr {Classification ID is required} alphanumeric {Tax payer ID must contain only letters and numbers} alphanumericAr {CUIT/CUIL must contain only letters and numbers} alphanumericKr {Classification ID must contain only letters and numbers} invalid {Tax payer ID is invalid} invalidAr {CUIT/CUIL must be 11 characters} invalidKr {Classification ID length is invalid} invalidKzt {Tax payer ID must be 12 characters for KZT} cnpjTooShort {CNPJ must be at least 14 characters} cpfTooShort {CPF must be at least 11 characters} other {{errorCode}}}";
1622
- /**
1623
- * Error messages for the patronymic name field.
1624
- * Supports error codes: empty, alphanumeric
1625
- * @uiName Patronymic name error
1626
- * @uiWidget textArea
1627
- */
1628
- this.patronymicNameError = "{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}";
1629
- /**
1630
- * Error messages for the VO code field.
1631
- * Supports error codes: empty, alphanumeric
1632
- * @uiName VO code error
1633
- * @uiWidget textArea
1634
- */
1635
- this.voCodeError = "{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}";
1636
- /**
1637
- * Error messages for the agency code field.
1638
- * Supports error codes: empty, alphanumeric, tooShort
1639
- * @uiName Agency code error
1640
- * @uiWidget textArea
1641
- */
1642
- this.agencyCodeError = "{errorCode, select, empty {Agency code is required} alphanumeric {Agency code must contain only letters and numbers} tooShort {Agency code must be at least 5 characters} other {{errorCode}}}";
1643
- /**
1644
- * Error messages for the bank address field.
1645
- * Supports error codes: empty
1646
- * @uiName Bank address error
1647
- * @uiWidget textArea
1648
- */
1649
- this.bankAddressError = "{errorCode, select, empty {Bank address is required} other {{errorCode}}}";
1650
- /**
1651
- * Error messages for the bank city field.
1652
- * Supports error codes: empty
1653
- * @uiName Bank city error
1654
- * @uiWidget textArea
1655
- */
1656
- this.bankCityError = "{errorCode, select, empty {Bank city is required} other {{errorCode}}}";
1657
- /**
1658
- * Error messages for the bank province/state field.
1659
- * Supports error codes: empty
1660
- * @uiName Bank province/state error
1661
- * @uiWidget textArea
1662
- */
1663
- this.bankStateError = "{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}";
1664
- /**
1665
- * Error messages for the bank postal code field.
1666
- * Supports error codes: empty
1667
- * @uiName Bank postal code error
1668
- * @uiWidget textArea
1669
- */
1670
- this.bankPostalCodeError = "{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}";
1671
- /**
1672
- * Error messages for the branch code field.
1673
- * Supports error codes: invalid
1674
- * @uiName Branch code error
1675
- * @uiWidget textArea
1676
- */
1677
- this.branchCodeError = "{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}";
1678
- /**
1679
- * Error messages for the branch name field.
1680
- * Supports error codes: empty
1681
- * @uiName Branch name error
1682
- * @uiWidget textArea
1683
- */
1684
- this.branchNameError = "{errorCode, select, empty {Branch name is required} other {{errorCode}}}";
1685
- /**
1686
- * Error messages for the classification code field.
1687
- * Supports error codes: empty, invalidKzt
1688
- * @uiName Classification code error
1689
- * @uiWidget textArea
1690
- */
1691
- this.classificationCodeError = "{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}";
1692
- /**
1693
- * Error messages for the PayPal email field.
1694
- * Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
1695
- * @uiName PayPal email error
1696
- * @uiWidget textArea
1697
- */
1698
- this.paypalEmailError = "{errorCode, select, empty {PayPal email is required} unsupportedCurrency {PayPal is not supported for this currency} invalidEmail {Please enter a valid email address} verificationIncomplete {PayPal verification is not complete} other {{errorCode}}}";
1699
- /**
1700
- * Error messages for the payment threshold field.
1701
- * Supports error codes: empty, invalid
1702
- * @uiName Payment threshold error
1703
- * @uiWidget textArea
1704
- */
1705
- this.paymentThresholdError = "{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}";
1706
- /**
1707
- * Error messages for the payment day field.
1708
- * Supports error codes: empty, invalid
1709
- * @uiName Payment day error
1710
- * @uiWidget textArea
1711
- */
1712
- this.paymentDayError = "{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}";
1713
1430
  h$1(this);
1714
1431
  }
1715
1432
  disconnectedCallback() { }
@@ -1723,54 +1440,17 @@ const BankingInfoForm = class {
1723
1440
  loadingErrorAlertDescription: props.loadingErrorAlertDescription,
1724
1441
  loadingErrorAlertHeader: props.loadingErrorAlertHeader,
1725
1442
  },
1726
- errorMessages: {
1727
- beneficiaryAccountName: props.beneficiaryAccountNameError,
1728
- bankAccountNumber: props.bankAccountNumberError,
1729
- routingCode: props.routingCodeError,
1730
- swiftCode: props.swiftCodeError,
1731
- bankAccountType: props.bankAccountTypeError,
1732
- bankName: props.bankNameError,
1733
- taxPayerId: props.taxPayerIdError,
1734
- patronymicName: props.patronymicNameError,
1735
- voCode: props.voCodeError,
1736
- agencyCode: props.agencyCodeError,
1737
- bankAddress: props.bankAddressError,
1738
- bankCity: props.bankCityError,
1739
- bankState: props.bankStateError,
1740
- bankPostalCode: props.bankPostalCodeError,
1741
- branchCode: props.branchCodeError,
1742
- branchName: props.branchNameError,
1743
- beneficiaryClassification: props.classificationCodeError,
1744
- paypalEmailAddress: props.paypalEmailError,
1745
- paymentThreshold: props.paymentThresholdError,
1746
- paymentDay: props.paymentDayError,
1747
- },
1748
1443
  };
1749
1444
  }
1750
1445
  render() {
1751
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10;
1446
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
1752
1447
  const props = isDemo()
1753
1448
  ? useDemoBankingInfoForm(this)
1754
1449
  : useBankingInfoForm(this);
1755
1450
  const { errors } = props.states.formState;
1756
1451
  const fieldRequiredError = this.fieldRequiredError;
1757
1452
  const fieldInvalidError = this.fieldInvalidError;
1758
- function getValidationErrorMessage({ type, label, errorCode, fieldName, }) {
1759
- var _a;
1760
- // If we have a specific error code from the API, try to use
1761
- // the per-field ICU error message template for a rich message
1762
- if (type === "invalid" && errorCode && fieldName) {
1763
- const errorTemplate = (_a = props.text.errorMessages) === null || _a === void 0 ? void 0 : _a[fieldName];
1764
- if (errorTemplate) {
1765
- return intl.formatMessage({
1766
- id: `fieldError-${fieldName}-${errorCode}`,
1767
- defaultMessage: errorTemplate,
1768
- }, {
1769
- errorCode,
1770
- fieldName: label,
1771
- });
1772
- }
1773
- }
1453
+ function getValidationErrorMessage({ type, label, }) {
1774
1454
  if (type === "required") {
1775
1455
  return intl.formatMessage({
1776
1456
  id: `requiredText-${label}`,
@@ -1853,45 +1533,37 @@ const BankingInfoForm = class {
1853
1533
  helpText: getValidationErrorMessage({
1854
1534
  type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
1855
1535
  label: props.text.bankLocationLabel,
1856
- errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankCountry) === null || _e === void 0 ? void 0 : _e.errorCode,
1857
- fieldName: "bankCountry",
1858
1536
  }),
1859
1537
  })), h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1860
1538
  // Stop shoelace intercepting key presses
1861
1539
  e.stopPropagation();
1862
1540
  }, "onSl-input": (e) => {
1863
1541
  props.callbacks.setCountrySearch(e.target.value);
1864
- } }), (_f = props.states.countries) === null || _f === void 0 ? void 0 :
1865
- _f.map((country) => {
1542
+ } }), (_d = props.states.countries) === null || _d === void 0 ? void 0 :
1543
+ _d.map((country) => {
1866
1544
  return (h("sl-menu-item", { value: country.countryCode }, country.displayName));
1867
- }), (_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.allCountries) === null || _h === void 0 ? void 0 :
1868
- _h.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1545
+ }), (_f = (_e = props.states) === null || _e === void 0 ? void 0 : _e.allCountries) === null || _f === void 0 ? void 0 :
1546
+ _f.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1869
1547
  paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1870
- paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_k = (_j = props.states) === null || _j === void 0 ? void 0 : _j.formState) === null || _k === void 0 ? void 0 : _k.paymentThreshold) || "" }, (((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.paymentThreshold) && {
1548
+ paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.formState) === null || _h === void 0 ? void 0 : _h.paymentThreshold) || "" }, (((_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.paymentThreshold) && {
1871
1549
  class: "error-input",
1872
1550
  helpText: getValidationErrorMessage({
1873
- type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.paymentThreshold) === null || _o === void 0 ? void 0 : _o.type,
1551
+ type: (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _k === void 0 ? void 0 : _k.paymentThreshold) === null || _l === void 0 ? void 0 : _l.type,
1874
1552
  label: props.text.paymentThresholdSelectLabel,
1875
- errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentThreshold) === null || _q === void 0 ? void 0 : _q.errorCode,
1876
- fieldName: "paymentThreshold",
1877
1553
  }),
1878
1554
  })), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1879
- paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_s = (_r = props.states) === null || _r === void 0 ? void 0 : _r.formState) === null || _s === void 0 ? void 0 : _s.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_t = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _t === void 0 ? void 0 : _t.paymentDay) && {
1555
+ paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_o = (_m = props.states) === null || _m === void 0 ? void 0 : _m.formState) === null || _o === void 0 ? void 0 : _o.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentDay) && {
1880
1556
  class: "error-input",
1881
1557
  helpText: getValidationErrorMessage({
1882
- type: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.paymentDay) === null || _v === void 0 ? void 0 : _v.type,
1558
+ type: (_r = (_q = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _q === void 0 ? void 0 : _q.paymentDay) === null || _r === void 0 ? void 0 : _r.type,
1883
1559
  label: props.text.paymentDaySelectLabel,
1884
- errorCode: (_x = (_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.paymentDay) === null || _x === void 0 ? void 0 : _x.errorCode,
1885
- fieldName: "paymentDay",
1886
1560
  }),
1887
1561
  })), h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1888
- paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_z = (_y = props.states) === null || _y === void 0 ? void 0 : _y.formState) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_2 = (_1 = (_0 = props.states.formState) === null || _0 === void 0 ? void 0 : _0.errors) === null || _1 === void 0 ? void 0 : _1.inputErrors) === null || _2 === void 0 ? void 0 : _2.paypalEmailAddress) && {
1562
+ paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_t = (_s = props.states) === null || _s === void 0 ? void 0 : _s.formState) === null || _t === void 0 ? void 0 : _t.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_w = (_v = (_u = props.states.formState) === null || _u === void 0 ? void 0 : _u.errors) === null || _v === void 0 ? void 0 : _v.inputErrors) === null || _w === void 0 ? void 0 : _w.paypalEmailAddress) && {
1889
1563
  class: "error-input",
1890
1564
  helpText: getValidationErrorMessage({
1891
- type: (_6 = (_5 = (_4 = (_3 = props.states.formState) === null || _3 === void 0 ? void 0 : _3.errors) === null || _4 === void 0 ? void 0 : _4.inputErrors) === null || _5 === void 0 ? void 0 : _5.paypalEmailAddress) === null || _6 === void 0 ? void 0 : _6.type,
1565
+ type: (_0 = (_z = (_y = (_x = props.states.formState) === null || _x === void 0 ? void 0 : _x.errors) === null || _y === void 0 ? void 0 : _y.inputErrors) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) === null || _0 === void 0 ? void 0 : _0.type,
1892
1566
  label: props.text.payPalInputLabel,
1893
- errorCode: (_10 = (_9 = (_8 = (_7 = props.states.formState) === null || _7 === void 0 ? void 0 : _7.errors) === null || _8 === void 0 ? void 0 : _8.inputErrors) === null || _9 === void 0 ? void 0 : _9.paypalEmailAddress) === null || _10 === void 0 ? void 0 : _10.errorCode,
1894
- fieldName: "paypalEmailAddress",
1895
1567
  }),
1896
1568
  })))),
1897
1569
  } })));
@@ -3140,7 +2812,7 @@ const IndirectTaxForm = class {
3140
2812
  /**
3141
2813
  * @uiName Indirect tax number field label
3142
2814
  */
3143
- this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
2815
+ this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}";
3144
2816
  /**
3145
2817
  * Displayed to participants registered for QST.
3146
2818
  * @uiName QST number field label
@@ -3179,7 +2851,7 @@ const IndirectTaxForm = class {
3179
2851
  /**
3180
2852
  * @uiName Missing indirect tax number error message
3181
2853
  */
3182
- this.indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
2854
+ this.indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}} is required";
3183
2855
  /**
3184
2856
  * Placeholder text displayed in the country search dropdown
3185
2857
  * @uiName Country field placeholder text
@@ -3990,7 +3662,7 @@ const PayoutDetailsCard = class {
3990
3662
  * Badge text indicating payout status
3991
3663
  * @uiName Payout badge status text
3992
3664
  */
3993
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
3665
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}";
3994
3666
  /**
3995
3667
  * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
3996
3668
  * @uiName Payout schedule by threshold text
@@ -5044,7 +4716,7 @@ const TaxAndCashDashboard = class {
5044
4716
  /**
5045
4717
  * @uiName Payout status badge
5046
4718
  */
5047
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
4719
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
5048
4720
  /**
5049
4721
  * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
5050
4722
  * @uiName Payout schedule by threshold text
@@ -5395,13 +5067,8 @@ function useUserInfoForm(props) {
5395
5067
  lastName: user.impactConnection.user.lastName,
5396
5068
  countryCode: user.impactConnection.publisher.countryCode,
5397
5069
  currency: user.impactConnection.publisher.currency,
5398
- // when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "000000" and the phoneNumberCountryCode to "DZ"
5399
- phoneNumberCountryCode: user.impactConnection.publisher.phoneNumber === "0000000"
5400
- ? null
5401
- : user.impactConnection.publisher.phoneNumberCountryCode,
5402
- phoneNumber: user.impactConnection.publisher.phoneNumber === "0000000"
5403
- ? null
5404
- : user.impactConnection.publisher.phoneNumber,
5070
+ phoneNumberCountryCode: user.impactConnection.publisher.phoneNumberCountryCode,
5071
+ phoneNumber: user.impactConnection.publisher.phoneNumber,
5405
5072
  address: user.impactConnection.publisher.billingAddress,
5406
5073
  city: user.impactConnection.publisher.billingCity,
5407
5074
  state: user.impactConnection.publisher.billingState,