@saasquatch/mint-components 2.1.9-8 → 2.1.10-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/dist/cjs/{ShadowViewAddon-d679ec76.js → ShadowViewAddon-a26deae6.js} +6 -6
  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 +94 -401
  10. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +37 -397
  11. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  12. package/dist/cjs/sqm-code-verification.cjs.entry.js +7 -6
  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-c81fe7f1.js} +1 -1
  32. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  33. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +4 -4
  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-639337e3.js} +1 -1
  36. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  37. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  38. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  39. package/dist/cjs/{sqm-portal-verify-email-view-90cd89e3.js → sqm-portal-verify-email-view-424e406a.js} +1 -1
  40. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  41. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  42. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  44. package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -200
  45. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  47. package/dist/cjs/{sqm-user-info-form-view-923ff8d9.js → sqm-user-info-form-view-53306f6e.js} +12 -9
  48. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  49. package/dist/cjs/sqm-widget-verification.cjs.entry.js +214 -0
  50. package/dist/cjs/{useChildElements-89bc50a9.js → useChildElements-041127d7.js} +1 -1
  51. package/dist/cjs/{useInstantAccessRegistration-651aa95b.js → useInstantAccessRegistration-2398df36.js} +2 -2
  52. package/dist/cjs/{useLeadFormState-76d3b511.js → useLeadFormState-b4c2ab5b.js} +2 -2
  53. package/dist/cjs/{usePayoutStatus-cf050a03.js → usePayoutStatus-0192fccd.js} +6 -4
  54. package/dist/cjs/{usePortalRegistrationForm-31822dc4.js → usePortalRegistrationForm-23ee2d62.js} +2 -2
  55. package/dist/cjs/{useReferralCodes-89c2b972.js → useReferralCodes-0f7948af.js} +1 -1
  56. package/dist/cjs/{useReferralTable-d3ddfd05.js → useReferralTable-6e9de0d5.js} +3 -3
  57. package/dist/cjs/{useRegistrationFormState-a223f597.js → useRegistrationFormState-4fe5b770.js} +1 -1
  58. package/dist/cjs/{useVerificationEmail-994bc32f.js → useVerificationEmail-5d19aa99.js} +1 -1
  59. package/dist/cjs/{utilities-096934ea.js → utilities-fcdb9504.js} +1 -1
  60. package/dist/collection/collection-manifest.json +0 -1
  61. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +1 -0
  62. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
  63. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +27 -1
  64. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -4
  65. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +4 -3
  66. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +2 -0
  67. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +4 -473
  68. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +5 -20
  69. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +55 -75
  70. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +63 -688
  71. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -95
  72. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
  73. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
  74. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +65 -7
  75. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -10
  76. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
  77. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -7
  78. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +2 -7
  79. package/dist/esm/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-47f1e579.js} +6 -6
  80. package/dist/esm/{data-2b0feb3f.js → data-12e6aae1.js} +2 -2
  81. package/dist/esm/extractProps-54064fb0.js +32 -0
  82. package/dist/esm/{global-39f55ec2.js → global-96c14d63.js} +3126 -3177
  83. package/dist/esm/{index.module-cede12c6.js → index.module-b23fdad8.js} +150 -153
  84. package/dist/esm/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  85. package/dist/esm/loader.js +3 -3
  86. package/dist/esm/mint-components.js +3 -3
  87. package/dist/esm/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  88. package/dist/esm/sqm-banking-info-form_10.entry.js +91 -398
  89. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +34 -393
  90. package/dist/esm/sqm-close-button.entry.js +1 -1
  91. package/dist/esm/sqm-code-verification.entry.js +8 -7
  92. package/dist/esm/sqm-context-router.entry.js +1 -1
  93. package/dist/esm/sqm-email-verification.entry.js +414 -0
  94. package/dist/esm/sqm-empty_4.entry.js +2 -2
  95. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  96. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  97. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  98. package/dist/esm/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  99. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  100. package/dist/esm/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  101. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  102. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  103. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  104. package/dist/esm/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  105. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  106. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  107. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  108. package/dist/esm/sqm-password-field.entry.js +2 -2
  109. package/dist/esm/sqm-popup-container.entry.js +1 -1
  110. package/dist/esm/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
  111. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  112. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  113. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  114. package/dist/esm/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
  115. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  116. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  117. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  118. package/dist/esm/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
  119. package/dist/esm/sqm-qr-code.entry.js +2 -2
  120. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  121. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  122. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  123. package/dist/esm/sqm-stencilbook.entry.js +15 -200
  124. package/dist/esm/sqm-tab.entry.js +2 -2
  125. package/dist/esm/sqm-tabs.entry.js +3 -3
  126. package/dist/esm/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +12 -9
  127. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  128. package/dist/esm/sqm-widget-verification.entry.js +210 -0
  129. package/dist/esm/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  130. package/dist/esm/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +2 -2
  131. package/dist/esm/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +2 -2
  132. package/dist/esm/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +4 -3
  133. package/dist/esm/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +2 -2
  134. package/dist/esm/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  135. package/dist/esm/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +3 -3
  136. package/dist/esm/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  137. package/dist/esm/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  138. package/dist/esm/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  139. package/dist/esm-es5/{ShadowViewAddon-657d18f0.js → ShadowViewAddon-47f1e579.js} +1 -1
  140. package/dist/esm-es5/{data-2b0feb3f.js → data-12e6aae1.js} +1 -1
  141. package/dist/esm-es5/extractProps-54064fb0.js +1 -0
  142. package/dist/esm-es5/global-96c14d63.js +271 -0
  143. package/dist/esm-es5/index.module-b23fdad8.js +1 -0
  144. package/dist/esm-es5/{keys-db1897ae.js → keys-406491dc.js} +1 -1
  145. package/dist/esm-es5/loader.js +1 -1
  146. package/dist/esm-es5/mint-components.js +1 -1
  147. package/dist/esm-es5/{re-render-7a0c7976.js → re-render-f30aeb6b.js} +1 -1
  148. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  149. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
  150. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  151. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  152. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  153. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  154. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  155. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  156. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  157. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  158. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7cee2b4e.js → sqm-lead-checkbox-field-view-7928db07.js} +1 -1
  159. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  160. package/dist/esm-es5/{sqm-lead-input-field-view-11a4f9a9.js → sqm-lead-input-field-view-d1b91650.js} +1 -1
  161. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  162. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  163. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-48e7e0d3.js → sqm-navigation-sidebar-item-view-b3beac5a.js} +1 -1
  165. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  166. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  167. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  168. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  169. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  170. package/dist/esm-es5/{sqm-portal-email-verification-view-80736644.js → sqm-portal-email-verification-view-426370f1.js} +1 -1
  171. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  173. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  174. package/dist/esm-es5/{sqm-portal-profile-view-a6be8558.js → sqm-portal-profile-view-f015fd6a.js} +1 -1
  175. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  176. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  177. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  178. package/dist/esm-es5/{sqm-portal-verify-email-view-92297506.js → sqm-portal-verify-email-view-1a638fae.js} +1 -1
  179. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  180. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  181. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  182. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  183. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  184. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  185. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  186. package/dist/esm-es5/{sqm-user-info-form-view-f9026468.js → sqm-user-info-form-view-19d81a2b.js} +1 -1
  187. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  188. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  189. package/dist/esm-es5/{useChildElements-c26d7347.js → useChildElements-9bccfb72.js} +1 -1
  190. package/dist/esm-es5/{useInstantAccessRegistration-e2392f42.js → useInstantAccessRegistration-69fefed0.js} +1 -1
  191. package/dist/esm-es5/{useLeadFormState-9099c8d4.js → useLeadFormState-dd4e8b08.js} +1 -1
  192. package/dist/esm-es5/{usePayoutStatus-fa504d49.js → usePayoutStatus-46c0c289.js} +2 -2
  193. package/dist/esm-es5/{usePortalRegistrationForm-5844032a.js → usePortalRegistrationForm-62de6fb1.js} +1 -1
  194. package/dist/esm-es5/{useReferralCodes-3cde72d4.js → useReferralCodes-52ca720f.js} +1 -1
  195. package/dist/esm-es5/{useReferralTable-35e6d4c1.js → useReferralTable-92af4133.js} +1 -1
  196. package/dist/esm-es5/{useRegistrationFormState-1813bdef.js → useRegistrationFormState-2c090c38.js} +1 -1
  197. package/dist/esm-es5/{useVerificationEmail-cb3d51e3.js → useVerificationEmail-c13c3b51.js} +1 -1
  198. package/dist/esm-es5/{utilities-c9e730ed.js → utilities-77b1e0cc.js} +1 -1
  199. package/dist/mint-components/mint-components.esm.js +1 -1
  200. package/dist/mint-components/mint-components.js +1 -1
  201. package/dist/mint-components/{p-62212b9a.entry.js → p-013564b3.entry.js} +1 -1
  202. package/dist/mint-components/p-02499e08.entry.js +1 -0
  203. package/dist/mint-components/{p-998c989a.system.entry.js → p-027fc3be.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-32d078a3.js → p-035d9b65.js} +1 -1
  205. package/dist/mint-components/{p-e4dbca9a.system.js → p-036a2617.system.js} +1 -1
  206. package/dist/mint-components/{p-886fb141.entry.js → p-058aefe1.entry.js} +1 -1
  207. package/dist/mint-components/p-0614dcbc.entry.js +9 -0
  208. package/dist/mint-components/p-0706cf9e.system.entry.js +1 -0
  209. package/dist/mint-components/p-0797a946.js +1 -0
  210. package/dist/mint-components/{p-f11d29fd.entry.js → p-09348341.entry.js} +1 -1
  211. package/dist/mint-components/{p-991f60fc.entry.js → p-09f7aacd.entry.js} +2 -2
  212. package/dist/mint-components/{p-a5912b2f.js → p-0c0d4065.js} +3 -3
  213. package/dist/mint-components/{p-8f9c1387.js → p-0d83907e.js} +1 -1
  214. package/dist/mint-components/{p-a86ce218.system.js → p-172675ca.system.js} +1 -1
  215. package/dist/mint-components/{p-d355336b.system.js → p-19c441b2.system.js} +1 -1
  216. package/dist/mint-components/{p-86381dc7.system.js → p-205cfdcd.system.js} +1 -1
  217. package/dist/mint-components/{p-896390f9.js → p-217dedde.js} +2 -2
  218. package/dist/mint-components/{p-e5ee6cf5.entry.js → p-25558a33.entry.js} +2 -2
  219. package/dist/mint-components/{p-45475cf9.system.entry.js → p-2b4af8e8.system.entry.js} +1 -1
  220. package/dist/mint-components/{p-e9e05970.system.entry.js → p-2d5c2bd4.system.entry.js} +1 -1
  221. package/dist/mint-components/p-30c1ef36.system.js +1 -0
  222. package/dist/mint-components/{p-bcadd021.js → p-3286ef38.js} +1 -1
  223. package/dist/mint-components/{p-0d75a207.js → p-3366b81e.js} +2 -2
  224. package/dist/mint-components/p-3687d433.entry.js +106 -0
  225. package/dist/mint-components/p-38c7775a.js +1 -0
  226. package/dist/mint-components/p-3adbfd0b.system.js +6 -0
  227. package/dist/mint-components/{p-160828b4.entry.js → p-3bc62ca6.entry.js} +1 -1
  228. package/dist/mint-components/p-4da5a3fe.system.entry.js +1 -0
  229. package/dist/mint-components/{p-15a703c7.system.entry.js → p-5141769d.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-608da224.entry.js → p-52674798.entry.js} +1 -1
  231. package/dist/mint-components/{p-bba694e4.entry.js → p-55676213.entry.js} +1 -1
  232. package/dist/mint-components/p-57ac2160.system.entry.js +1 -0
  233. package/dist/mint-components/p-57dd28bd.system.js +1 -0
  234. package/dist/mint-components/{p-c84a2512.system.js → p-5b1d2866.system.js} +1 -1
  235. package/dist/mint-components/{p-5c9d030a.system.entry.js → p-5b871e38.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-b5fed7c6.entry.js → p-5c4ba8a0.entry.js} +1 -1
  237. package/dist/mint-components/{p-fb4ab5ba.system.entry.js → p-5ce78407.system.entry.js} +1 -1
  238. package/dist/mint-components/p-5ff7b000.entry.js +33 -0
  239. package/dist/mint-components/{p-9c1b0c8b.entry.js → p-61897e72.entry.js} +1 -1
  240. package/dist/mint-components/{p-52748a87.system.entry.js → p-626b31cb.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-092db51a.js → p-642f2c89.js} +1 -1
  242. package/dist/mint-components/{p-f4a57aed.entry.js → p-653db72e.entry.js} +1 -1
  243. package/dist/mint-components/p-6640bbd6.entry.js +273 -0
  244. package/dist/mint-components/{p-88c9cc1b.entry.js → p-6668f9f0.entry.js} +1 -1
  245. package/dist/mint-components/{p-be63f29b.system.js → p-692e14c5.system.js} +1 -1
  246. package/dist/mint-components/{p-014977d7.js → p-6c4ad51a.js} +1 -1
  247. package/dist/mint-components/p-6e512063.entry.js +25 -0
  248. package/dist/mint-components/{p-71545bfd.system.entry.js → p-70570e4d.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-a7ee6531.js → p-7161e1a6.js} +1 -1
  250. package/dist/mint-components/p-7265bbcb.system.js +271 -0
  251. package/dist/mint-components/p-738dce27.system.entry.js +1 -0
  252. package/dist/mint-components/{p-7547180f.system.js → p-77b9cde8.system.js} +1 -1
  253. package/dist/mint-components/{p-96e4e6a4.entry.js → p-77fa2383.entry.js} +1 -1
  254. package/dist/mint-components/{p-d5a1c979.system.entry.js → p-782af7ae.system.entry.js} +1 -1
  255. package/dist/mint-components/{p-9b33e2a7.system.js → p-7b59e13c.system.js} +1 -1
  256. package/dist/mint-components/p-7efb8782.system.js +1 -0
  257. package/dist/mint-components/{p-60085f20.system.entry.js → p-80e116ec.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-36395228.system.js → p-85721089.system.js} +1 -1
  259. package/dist/mint-components/{p-28e0062c.system.js → p-8583ce0c.system.js} +1 -1
  260. package/dist/mint-components/{p-3461a8cb.entry.js → p-8f2d03c7.entry.js} +1 -1
  261. package/dist/mint-components/{p-357040e6.system.entry.js → p-90833864.system.entry.js} +1 -1
  262. package/dist/mint-components/p-91a96e98.entry.js +1 -0
  263. package/dist/mint-components/{p-0c43b6ff.entry.js → p-95510f27.entry.js} +1 -1
  264. package/dist/mint-components/{p-9e43f1eb.entry.js → p-982d1f6f.entry.js} +2 -2
  265. package/dist/mint-components/{p-77117f6c.system.js → p-a0c5631b.system.js} +1 -1
  266. package/dist/mint-components/{p-095b7128.js → p-a4f8abad.js} +1 -1
  267. package/dist/mint-components/{p-21e7079a.system.entry.js → p-a96c9bbb.system.entry.js} +1 -1
  268. package/dist/mint-components/{p-66c0100c.system.entry.js → p-ab0ea688.system.entry.js} +1 -1
  269. package/dist/mint-components/p-abc28aeb.system.entry.js +1 -0
  270. package/dist/mint-components/{p-dbdb2a46.system.entry.js → p-aefc6c4f.system.entry.js} +1 -1
  271. package/dist/mint-components/{p-86a70151.entry.js → p-b2b85238.entry.js} +1 -1
  272. package/dist/mint-components/p-b395470f.entry.js +16 -0
  273. package/dist/mint-components/{p-1b0cbbae.entry.js → p-b66f45d1.entry.js} +1 -1
  274. package/dist/mint-components/{p-3c88d2ed.js → p-bab4929e.js} +2 -2
  275. package/dist/mint-components/{p-3c555674.js → p-bc386a7b.js} +1 -1
  276. package/dist/mint-components/p-bf545082.system.entry.js +1 -0
  277. package/dist/mint-components/{p-16deb1a9.system.entry.js → p-c30d0049.system.entry.js} +1 -1
  278. package/dist/mint-components/{p-62e1c8b2.system.entry.js → p-c45a929a.system.entry.js} +1 -1
  279. package/dist/mint-components/p-c67f8558.system.entry.js +1 -0
  280. package/dist/mint-components/{p-5dc9e95b.entry.js → p-c8a8d231.entry.js} +2 -2
  281. package/dist/mint-components/{p-9bd53e4d.system.entry.js → p-c8bcbf8b.system.entry.js} +1 -1
  282. package/dist/mint-components/p-ca098be1.system.js +1 -0
  283. package/dist/mint-components/{p-93c5c8ec.entry.js → p-cb0a5990.entry.js} +1 -1
  284. package/dist/mint-components/{p-74aac245.system.js → p-ce050888.system.js} +1 -1
  285. package/dist/mint-components/{p-95aaf35a.system.entry.js → p-d005df28.system.entry.js} +1 -1
  286. package/dist/mint-components/p-d0993bb9.js +1 -0
  287. package/dist/mint-components/{p-7e36a1ff.js → p-d18dedd4.js} +1 -1
  288. package/dist/mint-components/{p-ba953c21.entry.js → p-d4570314.entry.js} +1 -1
  289. package/dist/mint-components/{p-b1b8e629.system.js → p-d6193876.system.js} +1 -1
  290. package/dist/mint-components/{p-b5f57914.js → p-d997001a.js} +1 -1
  291. package/dist/mint-components/{p-37658fec.entry.js → p-db0a2afd.entry.js} +1 -1
  292. package/dist/mint-components/{p-b297016f.system.entry.js → p-dd368927.system.entry.js} +1 -1
  293. package/dist/mint-components/p-de0d6fd7.js +49 -0
  294. package/dist/mint-components/{p-ce11858c.js → p-e00ec007.js} +1 -1
  295. package/dist/mint-components/{p-b5c0bad5.system.entry.js → p-e12754f5.system.entry.js} +1 -1
  296. package/dist/mint-components/{p-098d134a.system.entry.js → p-e3497e0e.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-d798004f.system.js → p-e4f17c21.system.js} +1 -1
  298. package/dist/mint-components/p-e55aafe9.system.js +1 -0
  299. package/dist/mint-components/{p-f972e5c9.entry.js → p-e5ea43b1.entry.js} +2 -2
  300. package/dist/mint-components/{p-8474aa63.js → p-e6240c72.js} +1 -1
  301. package/dist/mint-components/{p-f18a6658.js → p-e6ace3ab.js} +1 -1
  302. package/dist/mint-components/{p-857a2d77.js → p-e84b874c.js} +1 -1
  303. package/dist/mint-components/{p-eaf5d0af.system.js → p-ea03e50e.system.js} +1 -1
  304. package/dist/mint-components/{p-3181e54a.entry.js → p-ec0b649a.entry.js} +1 -1
  305. package/dist/mint-components/{p-8139fdec.entry.js → p-f0baeed0.entry.js} +1 -1
  306. package/dist/mint-components/{p-2f4d8ab8.system.entry.js → p-f1374258.system.entry.js} +1 -1
  307. package/dist/mint-components/{p-31dde9fc.system.js → p-f35d856a.system.js} +1 -1
  308. package/dist/mint-components/{p-6194855b.system.entry.js → p-f39cf252.system.entry.js} +1 -1
  309. package/dist/mint-components/{p-c8e45671.system.entry.js → p-f4e36adf.system.entry.js} +1 -1
  310. package/dist/mint-components/{p-140e6a15.system.js → p-f55ecf35.system.js} +1 -1
  311. package/dist/mint-components/{p-3c333076.js → p-f581aac7.js} +1 -1
  312. package/dist/mint-components/{p-438f6702.js → p-f8a09b0f.js} +152 -152
  313. package/dist/mint-components/p-fbe00c97.system.entry.js +1 -0
  314. package/dist/mint-components/{p-3756d0d1.system.entry.js → p-fc284f91.system.entry.js} +1 -1
  315. package/dist/mint-components/{p-6a4496b3.system.entry.js → p-fe1d3cf8.system.entry.js} +1 -1
  316. package/dist/mint-components/p-fe70e20c.entry.js +1 -0
  317. package/dist/mint-components/{p-54bf015a.system.js → p-ff118a19.system.js} +1 -1
  318. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -0
  319. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +5 -0
  320. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +0 -73
  321. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +0 -2
  322. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +6 -2
  323. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +0 -4
  324. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +8 -165
  325. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
  326. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -0
  327. package/dist/types/components.d.ts +38 -554
  328. package/docs/docs.docx +0 -0
  329. package/docs/raisins.json +1 -1
  330. package/docs/stats.json +122783 -0
  331. package/grapesjs/grapesjs.js +1 -1
  332. package/package.json +1 -1
  333. package/dist/cjs/eventKeys-7af4df4d.js +0 -5
  334. package/dist/cjs/parseStates-d1effc19.js +0 -16
  335. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +0 -810
  336. package/dist/cjs/sqm-partner-info-modal-view-cd758f12.js +0 -107
  337. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +0 -145
  338. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +0 -102
  339. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +0 -553
  340. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +0 -232
  341. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +0 -16
  342. package/dist/esm/eventKeys-f76b6a03.js +0 -3
  343. package/dist/esm/parseStates-ed75e224.js +0 -14
  344. package/dist/esm/sqm-email-verification_2.entry.js +0 -805
  345. package/dist/esm/sqm-partner-info-modal-view-dbedda28.js +0 -105
  346. package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
  347. package/dist/esm-es5/global-39f55ec2.js +0 -285
  348. package/dist/esm-es5/index.module-cede12c6.js +0 -1
  349. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  350. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  351. package/dist/esm-es5/sqm-email-verification_2.entry.js +0 -1
  352. package/dist/esm-es5/sqm-partner-info-modal-view-dbedda28.js +0 -1
  353. package/dist/mint-components/p-115dfc03.system.js +0 -1
  354. package/dist/mint-components/p-13f3a647.js +0 -1
  355. package/dist/mint-components/p-160764bc.system.entry.js +0 -1
  356. package/dist/mint-components/p-1b2fcd7f.entry.js +0 -108
  357. package/dist/mint-components/p-1c413a06.system.js +0 -1
  358. package/dist/mint-components/p-28ed2ae9.js +0 -1
  359. package/dist/mint-components/p-39840341.js +0 -1
  360. package/dist/mint-components/p-59f69bdc.system.entry.js +0 -1
  361. package/dist/mint-components/p-63c299f1.system.js +0 -1
  362. package/dist/mint-components/p-64b56141.system.entry.js +0 -1
  363. package/dist/mint-components/p-64f56cc9.system.js +0 -285
  364. package/dist/mint-components/p-6638c7c6.system.js +0 -1
  365. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  366. package/dist/mint-components/p-70e34ae1.system.js +0 -6
  367. package/dist/mint-components/p-7144ac40.js +0 -1
  368. package/dist/mint-components/p-7a5814ef.system.entry.js +0 -1
  369. package/dist/mint-components/p-996eb820.entry.js +0 -1
  370. package/dist/mint-components/p-a8ecdc44.system.js +0 -1
  371. package/dist/mint-components/p-a9bf9d3c.entry.js +0 -291
  372. package/dist/mint-components/p-adcc37f3.entry.js +0 -105
  373. package/dist/mint-components/p-b2a99637.system.js +0 -1
  374. package/dist/mint-components/p-b2bde2f5.entry.js +0 -1
  375. package/dist/mint-components/p-b451970a.system.entry.js +0 -1
  376. package/dist/mint-components/p-bfbfde38.entry.js +0 -33
  377. package/dist/mint-components/p-c7535e70.system.entry.js +0 -1
  378. package/dist/mint-components/p-d20188db.js +0 -1
  379. package/dist/mint-components/p-d2927531.entry.js +0 -9
  380. package/dist/mint-components/p-d6714617.entry.js +0 -1
  381. package/dist/mint-components/p-dac1f2cb.system.entry.js +0 -1
  382. package/dist/mint-components/p-e95402dc.js +0 -49
  383. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +0 -13
  384. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +0 -43
  385. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +0 -101
  386. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +0 -17
  387. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +0 -8
  388. package/shoelace/assets/icons/twitter-x.svg +0 -4
@@ -25,95 +25,6 @@ export const paypalFeeMap = {
25
25
  const ACH_PAYMENT_METHOD = 3;
26
26
  const WIRE_PAYMENT_METHOD = 5;
27
27
  const PAYPAL_PAYMENT_METHOD = 7;
28
- /**
29
- * Maps GraphQL validation error field names to form field names.
30
- */
31
- const API_FIELD_TO_FORM_FIELD = {
32
- // bankProvinceState → form uses bankState
33
- bankProvinceState: "bankState",
34
- };
35
- /**
36
- * Maps Impact API error code paths (from validationErrors[].errorPath) to short,
37
- * readable frontend error codes used in the ICU select props.
38
- */
39
- const API_ERROR_PATH_TO_FRONTEND = {
40
- // Beneficiary account name
41
- "withdrawal.settings.error.empty_beneficiaryname": "empty",
42
- "withdrawal.settings.error.invalid_character_beneficiaryname": "invalidCharacters",
43
- "withdrawal.settings.error.numeric_beneficiaryname": "numeric",
44
- "withdrawal_settings.error.beneficiaryname.size": "tooLong",
45
- "withdrawal.settings.error.non_english_beneficiaryname": "nonEnglish",
46
- "withdrawal_settings.error.business_beneficiaryname_match": "businessNameMismatch",
47
- "withdrawal_settings.error.beneficiaryname_match": "nameMismatch",
48
- "withdrawal_settings.error.business_checkpayeename_match": "businessPayeeMismatch",
49
- "withdrawal_settings.error.checkpayeename_match": "payeeMismatch",
50
- // Bank account number
51
- "withdrawal.settings.error.accountnumber.empty": "empty",
52
- "withdrawal.settings.error.accountnumber.uk": "invalidUk",
53
- "withdrawal.settings.error.bankaccount.invalid": "invalid",
54
- // IBAN
55
- "withdrawal.settings.error.iban": "ibanEmpty",
56
- "withdrawal.settings.error.iban.alphanumeric": "ibanAlphanumeric",
57
- "withdrawal.settings.error.iban.invalid": "ibanInvalid",
58
- "withdrawal.settings.error.iban.uk.country.mismatch": "ibanCountryMismatch",
59
- // Routing code
60
- "withdrawal.settings.error.bsbNumber": "invalidBsb",
61
- "withdrawal.settings.error.sortcode": "invalidSortCode",
62
- "withdrawal.settings.error.routingNumber": "empty",
63
- "withdrawal.settings.error.routingcode": "invalid",
64
- // SWIFT / BIC
65
- "withdrawal.settings.error.bic": "empty",
66
- "withdrawal.settings.error.bic.alphanumeric": "alphanumeric",
67
- "withdrawal.settings.error.bic.invalid": "invalid",
68
- // Bank account type
69
- "global.error.invalid.accounttype": "empty",
70
- // Bank name
71
- "withdrawal.settings.error.bankName": "empty",
72
- // Tax payer ID
73
- "withdrawal.settings.error.taxPayerId": "empty",
74
- "withdrawal.settings.error.taxPayerId.ar": "emptyAr",
75
- "withdrawal.settings.error.taxPayerId.kr": "emptyKr",
76
- "withdrawal.settings.error.taxPayerId.alphanumeric": "alphanumeric",
77
- "withdrawal.settings.error.taxPayerId.alphanumeric.ar": "alphanumericAr",
78
- "withdrawal.settings.error.taxPayerId.alphanumeric.kr": "alphanumericKr",
79
- "withdrawal.settings.error.taxPayerId.invalid": "invalid",
80
- "withdrawal.settings.error.taxPayerId.invalid.ar": "invalidAr",
81
- "withdrawal.settings.error.taxPayerId.invalid.kr": "invalidKr",
82
- "withdrawal.settings.error.taxPayerId.invalid.kzt": "invalidKzt",
83
- "withdrawal.settings.error.taxPayerId.cnpj": "cnpjTooShort",
84
- "withdrawal.settings.error.taxPayerId.cpf": "cpfTooShort",
85
- // Patronymic name
86
- "withdrawal.settings.error.patronymicName": "empty",
87
- "withdrawal.settings.error.patronymicName.alphanumeric": "alphanumeric",
88
- // VO code
89
- "withdrawal.settings.error.voCode": "empty",
90
- "withdrawal.settings.error.voCode.alphanumeric": "alphanumeric",
91
- // Agency code
92
- "withdrawal.settings.error.agencyCode": "empty",
93
- "withdrawal.settings.error.agencyCode.alphanumeric": "alphanumeric",
94
- "withdrawal.settings.error.agencyCode.length": "tooShort",
95
- // Bank address fields
96
- "withdrawal.settings.error.bankAddress": "empty",
97
- "withdrawal.settings.error.bankCity": "empty",
98
- "withdrawal.settings.error.bankProvinceState": "empty",
99
- "withdrawal.settings.error.bankPostalCode": "empty",
100
- // Branch code / name
101
- "withdrawal.settings.error.branchCode": "invalid",
102
- "withdrawal.settings.error.branchName": "empty",
103
- // Classification code
104
- "withdrawal.settings.error.classificationCode.invalid": "empty",
105
- "withdrawal.settings.error.classificationCode.invalid.kzt": "invalidKzt",
106
- // PayPal
107
- "payment.error.email": "empty",
108
- "payment.error.paypal_not_supported": "unsupportedCurrency",
109
- "payment.error.email.invalid": "invalidEmail",
110
- "payment.error.paypal_verification_incomplete": "verificationIncomplete",
111
- // Payment schedule
112
- "payment.error.no_threshold": "empty",
113
- "payment.error.invalid_threshold": "invalid",
114
- "payment.error.no_dayOfMonth": "empty",
115
- "payment.error.invalid_dayOfMonth": "invalid",
116
- };
117
28
  export function getFormInputs({ bitset, formMap }) {
118
29
  // Convert bitset to binary representation
119
30
  const binary = bitset.toString(2).padStart(Object.keys(formMap).length, "0");
@@ -137,7 +48,6 @@ const SAVE_WITHDRAWAL_SETTINGS = gql `
137
48
  validationErrors {
138
49
  field
139
50
  message
140
- code
141
51
  }
142
52
  }
143
53
  }
@@ -153,7 +63,6 @@ const UPDATE_WITHDRAWAL_SETTINGS = gql `
153
63
  validationErrors {
154
64
  field
155
65
  message
156
- code
157
66
  }
158
67
  }
159
68
  }
@@ -326,13 +235,10 @@ export function useBankingInfoForm(props) {
326
235
  else if (!success) {
327
236
  console.error("Validation failed: ", validationErrors);
328
237
  const mappedValidationErrors = validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.reduce((agg, error) => {
329
- const formField = API_FIELD_TO_FORM_FIELD[error.field] || error.field;
330
- const errorCode = API_ERROR_PATH_TO_FRONTEND[error.errorPath] || error.errorPath;
331
238
  return {
332
239
  ...agg,
333
- [formField]: {
240
+ [error.field]: {
334
241
  type: "invalid",
335
- errorCode,
336
242
  },
337
243
  };
338
244
  }, {});
@@ -65,7 +65,7 @@ export class IndirectTaxForm {
65
65
  /**
66
66
  * @uiName Indirect tax number field label
67
67
  */
68
- this.indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
68
+ 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}}";
69
69
  /**
70
70
  * Displayed to participants registered for QST.
71
71
  * @uiName QST number field label
@@ -104,7 +104,7 @@ export class IndirectTaxForm {
104
104
  /**
105
105
  * @uiName Missing indirect tax number error message
106
106
  */
107
- 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";
107
+ 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";
108
108
  /**
109
109
  * Placeholder text displayed in the country search dropdown
110
110
  * @uiName Country field placeholder text
@@ -457,7 +457,7 @@ export class IndirectTaxForm {
457
457
  },
458
458
  "attribute": "indirect-tax-number",
459
459
  "reflect": false,
460
- "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}\""
460
+ "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}\""
461
461
  },
462
462
  "qstNumber": {
463
463
  "type": "string",
@@ -631,7 +631,7 @@ export class IndirectTaxForm {
631
631
  },
632
632
  "attribute": "indirect-tax-number-error",
633
633
  "reflect": false,
634
- "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required\""
634
+ "defaultValue": "\"{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\""
635
635
  },
636
636
  "searchForCountryText": {
637
637
  "type": "string",
@@ -15,7 +15,7 @@ export class PayoutDetailsCard {
15
15
  * Badge text indicating payout status
16
16
  * @uiName Payout badge status text
17
17
  */
18
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
18
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}";
19
19
  /**
20
20
  * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
21
21
  * @uiName Payout schedule by threshold text
@@ -73,7 +73,7 @@ export class PayoutDetailsCard {
73
73
  },
74
74
  "attribute": "status-badge-text",
75
75
  "reflect": false,
76
- "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }\""
76
+ "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}\""
77
77
  },
78
78
  "thresholdPayoutText": {
79
79
  "type": "string",
@@ -176,7 +176,7 @@ export class TaxAndCashMonolith {
176
176
  * @uiName Indirect tax number field label
177
177
  * @uiGroup Step 2 Properties
178
178
  */
179
- this.step2_indirectTaxNumber = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}";
179
+ this.step2_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}}";
180
180
  /**
181
181
  * @uiName Province field label
182
182
  * @uiGroup Step 2 Properties
@@ -186,7 +186,7 @@ export class TaxAndCashMonolith {
186
186
  * @uiName Missing indirect tax number error message
187
187
  * @uiGroup Step 2 Properties
188
188
  */
189
- this.step2_indirectTaxNumberError = "{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required";
189
+ this.step2_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";
190
190
  /**
191
191
  * Displayed to participants registered for QST.
192
192
  * @uiName QST number field label
@@ -499,12 +499,22 @@ export class TaxAndCashMonolith {
499
499
  * @uiGroup Step 4 Properties
500
500
  */
501
501
  this.step4_branchCodeLabel = "Branch code";
502
+ /**
503
+ * @uiName Branch name field label
504
+ * @uiGroup Step 4 Properties
505
+ */
506
+ this.step4_branchNameLabel = "Branch name";
502
507
  /**
503
508
  * Label text for the classification input field
504
509
  * @uiName Classification field label
505
510
  * @uiGroup Step 4 Properties
506
511
  */
507
512
  this.step4_classificationLabel = "Classification";
513
+ /**
514
+ * @uiName Classification code field label
515
+ * @uiGroup Step 4 Properties
516
+ */
517
+ this.step4_classificationCodeLabel = "KBE Code";
508
518
  /**
509
519
  * @uiName Taxpayer ID field label
510
520
  * @uiGroup Step 4 Properties
@@ -754,7 +764,7 @@ export class TaxAndCashMonolith {
754
764
  * @uiName Payout status badge
755
765
  * @uiGroup Dashboard Properties
756
766
  */
757
- this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
767
+ this.dashboard_statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
758
768
  /**
759
769
  * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
760
770
  * @uiName Payout schedule by threshold text
@@ -1844,7 +1854,7 @@ export class TaxAndCashMonolith {
1844
1854
  },
1845
1855
  "attribute": "step-2_indirect-tax-number",
1846
1856
  "reflect": false,
1847
- "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}}\""
1857
+ "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number} other {Tax number}}\""
1848
1858
  },
1849
1859
  "step2_province": {
1850
1860
  "type": "string",
@@ -1892,7 +1902,7 @@ export class TaxAndCashMonolith {
1892
1902
  },
1893
1903
  "attribute": "step-2_indirect-tax-number-error",
1894
1904
  "reflect": false,
1895
- "defaultValue": "\"{taxType, select, GST {GST number} HST {HST number} VAT {VAT number} CT {CT number} SST {SST number} GENERAL {Indirect tax number}} is required\""
1905
+ "defaultValue": "\"{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\""
1896
1906
  },
1897
1907
  "step2_qstNumber": {
1898
1908
  "type": "string",
@@ -3238,6 +3248,30 @@ export class TaxAndCashMonolith {
3238
3248
  "reflect": false,
3239
3249
  "defaultValue": "\"Branch code\""
3240
3250
  },
3251
+ "step4_branchNameLabel": {
3252
+ "type": "string",
3253
+ "mutable": false,
3254
+ "complexType": {
3255
+ "original": "string",
3256
+ "resolved": "string",
3257
+ "references": {}
3258
+ },
3259
+ "required": false,
3260
+ "optional": false,
3261
+ "docs": {
3262
+ "tags": [{
3263
+ "text": "Branch name field label",
3264
+ "name": "uiName"
3265
+ }, {
3266
+ "text": "Step 4 Properties",
3267
+ "name": "uiGroup"
3268
+ }],
3269
+ "text": ""
3270
+ },
3271
+ "attribute": "step-4_branch-name-label",
3272
+ "reflect": false,
3273
+ "defaultValue": "\"Branch name\""
3274
+ },
3241
3275
  "step4_classificationLabel": {
3242
3276
  "type": "string",
3243
3277
  "mutable": false,
@@ -3262,6 +3296,30 @@ export class TaxAndCashMonolith {
3262
3296
  "reflect": false,
3263
3297
  "defaultValue": "\"Classification\""
3264
3298
  },
3299
+ "step4_classificationCodeLabel": {
3300
+ "type": "string",
3301
+ "mutable": false,
3302
+ "complexType": {
3303
+ "original": "string",
3304
+ "resolved": "string",
3305
+ "references": {}
3306
+ },
3307
+ "required": false,
3308
+ "optional": false,
3309
+ "docs": {
3310
+ "tags": [{
3311
+ "text": "Classification code field label",
3312
+ "name": "uiName"
3313
+ }, {
3314
+ "text": "Step 4 Properties",
3315
+ "name": "uiGroup"
3316
+ }],
3317
+ "text": ""
3318
+ },
3319
+ "attribute": "step-4_classification-code-label",
3320
+ "reflect": false,
3321
+ "defaultValue": "\"KBE Code\""
3322
+ },
3265
3323
  "step4_taxPayerIdLabel": {
3266
3324
  "type": "string",
3267
3325
  "mutable": false,
@@ -4259,7 +4317,7 @@ export class TaxAndCashMonolith {
4259
4317
  },
4260
4318
  "attribute": "dashboard_status-badge-text",
4261
4319
  "reflect": false,
4262
- "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }\""
4320
+ "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }\""
4263
4321
  },
4264
4322
  "dashboard_thresholdPayoutText": {
4265
4323
  "type": "string",
@@ -5838,7 +5896,7 @@ export class TaxAndCashMonolith {
5838
5896
  "mutable": false,
5839
5897
  "complexType": {
5840
5898
  "original": "DemoData<TaxAndCashMonolith>",
5841
- "resolved": "{ step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_currencyHelpText?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_classificationLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string; dashboard_bankNameMismatchHeader?: string; dashboard_bankNameMismatchDescription?: string; dashboard_withdrawalSettingsInvalidHeader?: string; dashboard_withdrawalSettingsInvalidDescription?: string; dashboard_paymentReturnedHeader?: string; dashboard_paymentReturnedDescription?: string; dashboard_termsAndConditions?: string; dashboard_w9RequiredButtonText?: string; formStep?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; invalidCharacterError?: string; fieldInvalidError?: string; continueButton?: string; backButton?: string; cancelButton?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; searchForCountryText?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; taxAndPayoutsDescription?: string; supportLink?: string; termsAndConditions?: string; stateController?: string; demoData?: Partial<Pick<TaxAndCashMonolith, \"step1_firstName\" | \"step1_lastName\" | \"step1_email\" | \"step1_country\" | \"step1_phoneNumber\" | \"step1_address\" | \"step1_city\" | \"step1_state\" | \"step1_province\" | \"step1_region\" | \"step1_postalCode\" | \"step1_currency\" | \"step1_currencyHelpText\" | \"step1_allowBankingCollection\" | \"step1_personalInformation\" | \"step1_termsAndConditionsLabel\" | \"step1_termsAndConditionsLink\" | \"step1_searchForCurrencyText\" | \"step2_indirectTax\" | \"step2_indirectTaxDescription\" | \"step2_indirectTaxDetails\" | \"step2_otherRegion\" | \"step2_otherRegionSubtext\" | \"step2_notRegistered\" | \"step2_notRegisteredSubtext\" | \"step2_selectedRegion\" | \"step2_indirectTaxNumber\" | \"step2_province\" | \"step2_indirectTaxNumberError\" | \"step2_qstNumber\" | \"step2_isRegisteredQST\" | \"step2_isRegisteredSubRegionIncomeTax\" | \"step2_subRegion\" | \"step2_subRegionTaxNumberLabel\" | \"step2_cannotChangeInfoAlert\" | \"step3_taxForm\" | \"step3_taxFormLabel\" | \"step3_participantType\" | \"step3_businessEntity\" | \"step3_individualParticipant\" | \"step3_taxFormDescription\" | \"step3_taxFormDescriptionIndividualParticipant\" | \"step3_taxFormDescriptionBusinessEntity\" | \"step3_docusignExpired\" | \"step3_docusignSessionWarning\" | \"step3_docusignError\" | \"step3_refreshButton\" | \"step3_exitButton\" | \"step3_modalTitle\" | \"step3_modalDescription\" | \"step3_modalButtonText\" | \"step4_taxAndPayouts\" | \"step4_directlyToBankAccount\" | \"step4_toPayPalAccount\" | \"step4_paymentScheduleBalanceThreshold\" | \"step4_paymentScheduleFixedDay\" | \"step4_paymentDaySelectLabel\" | \"step4_paymentThresholdSelectLabel\" | \"step4_paymentDayFirstOfMonthLabelText\" | \"step4_paymentDayFifteenthOfMonthLabelText\" | \"step4_paymentMethod\" | \"step4_paymentSchedule\" | \"step4_paymentMethodSubtext\" | \"step4_payPalInputLabel\" | \"step4_bankLocationLabel\" | \"step4_beneficiaryAccountNameLabel\" | \"step4_beneficiaryAccountNameDescription\" | \"step4_bankAccountTypeLabel\" | \"step4_checkingSelectItemLabel\" | \"step4_savingsSelectItemLabel\" | \"step4_bankAccountNumberLabel\" | \"step4_ibanLabel\" | \"step4_swiftCodeLabel\" | \"step4_routingCodeLabel\" | \"step4_bankNameLabel\" | \"step4_classificationEntityLabel\" | \"step4_businessSelectItemLabel\" | \"step4_individualSelectItemLabel\" | \"step4_foreignSelectItemLabel\" | \"step4_classificationCPFLabel\" | \"step4_patronymicNameLabel\" | \"step4_voCodeLabel\" | \"step4_agencyCodeLabel\" | \"step4_branchCodeLabel\" | \"step4_classificationLabel\" | \"step4_taxPayerIdLabel\" | \"step4_bankAddressLabel\" | \"step4_bankCityLabel\" | \"step4_bankStateLabel\" | \"step4_bankPostalCodeLabel\" | \"step4_eftWithdrawalLabel\" | \"step4_fxWireProcessingFeeLabel\" | \"step4_verifyEmailHeaderText\" | \"step4_verifyEmailDescriptionText\" | \"step4_modalTitle\" | \"step4_modalDescription\" | \"step4_modalButtonText\" | \"dashboard_statusTextActive\" | \"dashboard_statusTextNotActive\" | \"dashboard_statusTextNotVerified\" | \"dashboard_statusTextRequired\" | \"dashboard_requiredTaxForm\" | \"dashboard_badgeTextSubmittedOn\" | \"dashboard_badgeTextSubmittedOnW8\" | \"dashboard_badgeTextAwaitingReview\" | \"dashboard_taxAlertHeaderNotActiveW9\" | \"dashboard_taxAlertHeaderNotActiveW8\" | \"dashboard_taxAlertNotActiveMessageW9\" | \"dashboard_taxAlertNotActiveMessageW8\" | \"dashboard_invalidForm\" | \"dashboard_bankingInformationSectionHeader\" | \"dashboard_taxDocumentSectionHeader\" | \"dashboard_taxDocumentSectionSubHeader\" | \"dashboard_noFormNeededSubtext\" | \"dashboard_indirectTaxInfoSectionHeader\" | \"dashboard_indirectTaxInfoCanada\" | \"dashboard_indirectTaxInfoOtherCountry\" | \"dashboard_indirectTaxInfoSpain\" | \"dashboard_indirectTaxTooltipSupport\" | \"dashboard_indirectTaxDetails\" | \"dashboard_newFormButton\" | \"dashboard_editPaymentInformationButton\" | \"dashboard_notRegisteredForTax\" | \"dashboard_qstNumber\" | \"dashboard_subRegionTaxNumber\" | \"dashboard_statusBadgeText\" | \"dashboard_thresholdPayoutText\" | \"dashboard_accountText\" | \"dashboard_invoiceColumnTitle\" | \"dashboard_dateColumnTitle\" | \"dashboard_earningsColumnTitle\" | \"dashboard_indirectTaxColumnTitle\" | \"dashboard_payoutFromImpact\" | \"dashboard_earningsAfterTaxColumnTitle\" | \"dashboard_payoutHoldAlertHeader\" | \"dashboard_payoutHoldAlertDescription\" | \"dashboard_payoutMissingInformationText\" | \"dashboard_invoiceDescription\" | \"dashboard_invoicePrevLabel\" | \"dashboard_invoiceMoreLabel\" | \"dashboard_invoiceHeader\" | \"dashboard_invoiceEmptyStateHeader\" | \"dashboard_invoiceEmptyStateText\" | \"dashboard_replaceTaxFormModalHeader\" | \"dashboard_replaceTaxFormModalBodyText\" | \"dashboard_verificationRequiredHeader\" | \"dashboard_verificationRequiredDescription\" | \"dashboard_verificationRequiredInternalHeader\" | \"dashboard_verificationRequiredInternalDescription\" | \"dashboard_verificationReviewInternalHeader\" | \"dashboard_verificationReviewInternalDescription\" | \"dashboard_verificationFailedInternalHeader\" | \"dashboard_verificationFailedInternalDescription\" | \"dashboard_verificationRequiredButtonText\" | \"dashboard_w9RequiredHeader\" | \"dashboard_w9RequiredDescription\" | \"dashboard_accountReviewHeader\" | \"dashboard_accountReviewDescription\" | \"dashboard_paymentOnHoldHeader\" | \"dashboard_paymentOnHoldDescription\" | \"dashboard_beneficiaryNameInvalidHeader\" | \"dashboard_beneficiaryNameInvalidDescription\" | \"dashboard_beneficiaryNameMismatchHeader\" | \"dashboard_beneficiaryNameMismatchDescription\" | \"dashboard_bankNameMismatchHeader\" | \"dashboard_bankNameMismatchDescription\" | \"dashboard_withdrawalSettingsInvalidHeader\" | \"dashboard_withdrawalSettingsInvalidDescription\" | \"dashboard_paymentReturnedHeader\" | \"dashboard_paymentReturnedDescription\" | \"dashboard_termsAndConditions\" | \"dashboard_w9RequiredButtonText\" | \"formStep\" | \"generalErrorTitle\" | \"generalErrorDescription\" | \"fieldRequiredError\" | \"invalidCharacterError\" | \"fieldInvalidError\" | \"continueButton\" | \"backButton\" | \"cancelButton\" | \"isPartnerAlertHeader\" | \"isPartnerAlertDescription\" | \"searchForCountryText\" | \"loadingErrorAlertHeader\" | \"loadingErrorAlertDescription\" | \"taxAndPayoutsDescription\" | \"supportLink\" | \"termsAndConditions\" | \"stateController\" | \"demoData\" | \"disconnectedCallback\" | \"getGeneralStepTextProps\" | \"render\">>; disconnectedCallback?: () => void; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; render?: () => any; }",
5899
+ "resolved": "{ step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_currencyHelpText?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_branchNameLabel?: string; step4_classificationLabel?: string; step4_classificationCodeLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string; dashboard_bankNameMismatchHeader?: string; dashboard_bankNameMismatchDescription?: string; dashboard_withdrawalSettingsInvalidHeader?: string; dashboard_withdrawalSettingsInvalidDescription?: string; dashboard_paymentReturnedHeader?: string; dashboard_paymentReturnedDescription?: string; dashboard_termsAndConditions?: string; dashboard_w9RequiredButtonText?: string; formStep?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; invalidCharacterError?: string; fieldInvalidError?: string; continueButton?: string; backButton?: string; cancelButton?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; searchForCountryText?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; taxAndPayoutsDescription?: string; supportLink?: string; termsAndConditions?: string; stateController?: string; demoData?: Partial<Pick<TaxAndCashMonolith, \"step1_firstName\" | \"step1_lastName\" | \"step1_email\" | \"step1_country\" | \"step1_phoneNumber\" | \"step1_address\" | \"step1_city\" | \"step1_state\" | \"step1_province\" | \"step1_region\" | \"step1_postalCode\" | \"step1_currency\" | \"step1_currencyHelpText\" | \"step1_allowBankingCollection\" | \"step1_personalInformation\" | \"step1_termsAndConditionsLabel\" | \"step1_termsAndConditionsLink\" | \"step1_searchForCurrencyText\" | \"step2_indirectTax\" | \"step2_indirectTaxDescription\" | \"step2_indirectTaxDetails\" | \"step2_otherRegion\" | \"step2_otherRegionSubtext\" | \"step2_notRegistered\" | \"step2_notRegisteredSubtext\" | \"step2_selectedRegion\" | \"step2_indirectTaxNumber\" | \"step2_province\" | \"step2_indirectTaxNumberError\" | \"step2_qstNumber\" | \"step2_isRegisteredQST\" | \"step2_isRegisteredSubRegionIncomeTax\" | \"step2_subRegion\" | \"step2_subRegionTaxNumberLabel\" | \"step2_cannotChangeInfoAlert\" | \"step3_taxForm\" | \"step3_taxFormLabel\" | \"step3_participantType\" | \"step3_businessEntity\" | \"step3_individualParticipant\" | \"step3_taxFormDescription\" | \"step3_taxFormDescriptionIndividualParticipant\" | \"step3_taxFormDescriptionBusinessEntity\" | \"step3_docusignExpired\" | \"step3_docusignSessionWarning\" | \"step3_docusignError\" | \"step3_refreshButton\" | \"step3_exitButton\" | \"step3_modalTitle\" | \"step3_modalDescription\" | \"step3_modalButtonText\" | \"step4_taxAndPayouts\" | \"step4_directlyToBankAccount\" | \"step4_toPayPalAccount\" | \"step4_paymentScheduleBalanceThreshold\" | \"step4_paymentScheduleFixedDay\" | \"step4_paymentDaySelectLabel\" | \"step4_paymentThresholdSelectLabel\" | \"step4_paymentDayFirstOfMonthLabelText\" | \"step4_paymentDayFifteenthOfMonthLabelText\" | \"step4_paymentMethod\" | \"step4_paymentSchedule\" | \"step4_paymentMethodSubtext\" | \"step4_payPalInputLabel\" | \"step4_bankLocationLabel\" | \"step4_beneficiaryAccountNameLabel\" | \"step4_beneficiaryAccountNameDescription\" | \"step4_bankAccountTypeLabel\" | \"step4_checkingSelectItemLabel\" | \"step4_savingsSelectItemLabel\" | \"step4_bankAccountNumberLabel\" | \"step4_ibanLabel\" | \"step4_swiftCodeLabel\" | \"step4_routingCodeLabel\" | \"step4_bankNameLabel\" | \"step4_classificationEntityLabel\" | \"step4_businessSelectItemLabel\" | \"step4_individualSelectItemLabel\" | \"step4_foreignSelectItemLabel\" | \"step4_classificationCPFLabel\" | \"step4_patronymicNameLabel\" | \"step4_voCodeLabel\" | \"step4_agencyCodeLabel\" | \"step4_branchCodeLabel\" | \"step4_branchNameLabel\" | \"step4_classificationLabel\" | \"step4_classificationCodeLabel\" | \"step4_taxPayerIdLabel\" | \"step4_bankAddressLabel\" | \"step4_bankCityLabel\" | \"step4_bankStateLabel\" | \"step4_bankPostalCodeLabel\" | \"step4_eftWithdrawalLabel\" | \"step4_fxWireProcessingFeeLabel\" | \"step4_verifyEmailHeaderText\" | \"step4_verifyEmailDescriptionText\" | \"step4_modalTitle\" | \"step4_modalDescription\" | \"step4_modalButtonText\" | \"dashboard_statusTextActive\" | \"dashboard_statusTextNotActive\" | \"dashboard_statusTextNotVerified\" | \"dashboard_statusTextRequired\" | \"dashboard_requiredTaxForm\" | \"dashboard_badgeTextSubmittedOn\" | \"dashboard_badgeTextSubmittedOnW8\" | \"dashboard_badgeTextAwaitingReview\" | \"dashboard_taxAlertHeaderNotActiveW9\" | \"dashboard_taxAlertHeaderNotActiveW8\" | \"dashboard_taxAlertNotActiveMessageW9\" | \"dashboard_taxAlertNotActiveMessageW8\" | \"dashboard_invalidForm\" | \"dashboard_bankingInformationSectionHeader\" | \"dashboard_taxDocumentSectionHeader\" | \"dashboard_taxDocumentSectionSubHeader\" | \"dashboard_noFormNeededSubtext\" | \"dashboard_indirectTaxInfoSectionHeader\" | \"dashboard_indirectTaxInfoCanada\" | \"dashboard_indirectTaxInfoOtherCountry\" | \"dashboard_indirectTaxInfoSpain\" | \"dashboard_indirectTaxTooltipSupport\" | \"dashboard_indirectTaxDetails\" | \"dashboard_newFormButton\" | \"dashboard_editPaymentInformationButton\" | \"dashboard_notRegisteredForTax\" | \"dashboard_qstNumber\" | \"dashboard_subRegionTaxNumber\" | \"dashboard_statusBadgeText\" | \"dashboard_thresholdPayoutText\" | \"dashboard_accountText\" | \"dashboard_invoiceColumnTitle\" | \"dashboard_dateColumnTitle\" | \"dashboard_earningsColumnTitle\" | \"dashboard_indirectTaxColumnTitle\" | \"dashboard_payoutFromImpact\" | \"dashboard_earningsAfterTaxColumnTitle\" | \"dashboard_payoutHoldAlertHeader\" | \"dashboard_payoutHoldAlertDescription\" | \"dashboard_payoutMissingInformationText\" | \"dashboard_invoiceDescription\" | \"dashboard_invoicePrevLabel\" | \"dashboard_invoiceMoreLabel\" | \"dashboard_invoiceHeader\" | \"dashboard_invoiceEmptyStateHeader\" | \"dashboard_invoiceEmptyStateText\" | \"dashboard_replaceTaxFormModalHeader\" | \"dashboard_replaceTaxFormModalBodyText\" | \"dashboard_verificationRequiredHeader\" | \"dashboard_verificationRequiredDescription\" | \"dashboard_verificationRequiredInternalHeader\" | \"dashboard_verificationRequiredInternalDescription\" | \"dashboard_verificationReviewInternalHeader\" | \"dashboard_verificationReviewInternalDescription\" | \"dashboard_verificationFailedInternalHeader\" | \"dashboard_verificationFailedInternalDescription\" | \"dashboard_verificationRequiredButtonText\" | \"dashboard_w9RequiredHeader\" | \"dashboard_w9RequiredDescription\" | \"dashboard_accountReviewHeader\" | \"dashboard_accountReviewDescription\" | \"dashboard_paymentOnHoldHeader\" | \"dashboard_paymentOnHoldDescription\" | \"dashboard_beneficiaryNameInvalidHeader\" | \"dashboard_beneficiaryNameInvalidDescription\" | \"dashboard_beneficiaryNameMismatchHeader\" | \"dashboard_beneficiaryNameMismatchDescription\" | \"dashboard_bankNameMismatchHeader\" | \"dashboard_bankNameMismatchDescription\" | \"dashboard_withdrawalSettingsInvalidHeader\" | \"dashboard_withdrawalSettingsInvalidDescription\" | \"dashboard_paymentReturnedHeader\" | \"dashboard_paymentReturnedDescription\" | \"dashboard_termsAndConditions\" | \"dashboard_w9RequiredButtonText\" | \"formStep\" | \"generalErrorTitle\" | \"generalErrorDescription\" | \"fieldRequiredError\" | \"invalidCharacterError\" | \"fieldInvalidError\" | \"continueButton\" | \"backButton\" | \"cancelButton\" | \"isPartnerAlertHeader\" | \"isPartnerAlertDescription\" | \"searchForCountryText\" | \"loadingErrorAlertHeader\" | \"loadingErrorAlertDescription\" | \"taxAndPayoutsDescription\" | \"supportLink\" | \"termsAndConditions\" | \"stateController\" | \"demoData\" | \"disconnectedCallback\" | \"getGeneralStepTextProps\" | \"render\">>; disconnectedCallback?: () => void; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; render?: () => any; }",
5842
5900
  "references": {
5843
5901
  "DemoData": {
5844
5902
  "location": "import",
@@ -7,16 +7,7 @@ function getCurrentStep(user) {
7
7
  if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
8
8
  return "/1";
9
9
  }
10
- const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, billingAddress, phoneNumber, billingCity, billingPostalCode, billingState, } = user.impactConnection.publisher;
11
- console.log(phoneNumber, "phone number in getCurrentStep");
12
- // Early partner creation does not collect these fields
13
- if (!billingAddress ||
14
- !billingCity ||
15
- !billingPostalCode ||
16
- !billingState ||
17
- !phoneNumber) {
18
- return "/1";
19
- }
10
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
20
11
  // If they do have a required document, look at current document
21
12
  if (requiredTaxDocumentType && !currentTaxDocument) {
22
13
  // Specific to custom CASH setting,
@@ -168,7 +168,7 @@ export class TaxAndCashDashboard {
168
168
  /**
169
169
  * @uiName Payout status badge
170
170
  */
171
- this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }";
171
+ this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
172
172
  /**
173
173
  * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
174
174
  * @uiName Payout schedule by threshold text
@@ -1049,7 +1049,7 @@ export class TaxAndCashDashboard {
1049
1049
  },
1050
1050
  "attribute": "status-badge-text",
1051
1051
  "reflect": false,
1052
- "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} }\""
1052
+ "defaultValue": "\"{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }\""
1053
1053
  },
1054
1054
  "thresholdPayoutText": {
1055
1055
  "type": "string",
@@ -287,14 +287,9 @@ export const UserInfoFormView = (props) => {
287
287
  default:
288
288
  regionLabel = text.state;
289
289
  }
290
- // when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "000000" and the phoneNumberCountryCode to "DZ"
291
290
  function isDisabledPartnerInput(field) {
292
- var _a, _b;
293
- if (((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a.phoneNumber) === "0000000" &&
294
- (field === "phoneNumber" || field === "phoneNumberCountryCode")) {
295
- return false;
296
- }
297
- return states.isPartner && !!((_b = data.partnerData) === null || _b === void 0 ? void 0 : _b[field]);
291
+ var _a;
292
+ return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
298
293
  }
299
294
  function isDisabledUserInput(field) {
300
295
  var _a;
@@ -330,6 +325,14 @@ export const UserInfoFormView = (props) => {
330
325
  }, {
331
326
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
332
327
  })))),
328
+ (states.isPartner || states.isUser) && (h("sqm-form-message", { loading: states.loading, type: "info" },
329
+ h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
330
+ h("p", { part: "alert-description" }, intl.formatMessage({
331
+ id: "isPartnerAlertDescription",
332
+ defaultMessage: text.isPartnerAlertDescription,
333
+ }, {
334
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
335
+ })))),
333
336
  h("div", null,
334
337
  h("div", { class: classes.InputContainer },
335
338
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -60,13 +60,8 @@ export function useUserInfoForm(props) {
60
60
  lastName: user.impactConnection.user.lastName,
61
61
  countryCode: user.impactConnection.publisher.countryCode,
62
62
  currency: user.impactConnection.publisher.currency,
63
- // when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "000000" and the phoneNumberCountryCode to "DZ"
64
- phoneNumberCountryCode: user.impactConnection.publisher.phoneNumber === "0000000"
65
- ? null
66
- : user.impactConnection.publisher.phoneNumberCountryCode,
67
- phoneNumber: user.impactConnection.publisher.phoneNumber === "0000000"
68
- ? null
69
- : user.impactConnection.publisher.phoneNumber,
63
+ phoneNumberCountryCode: user.impactConnection.publisher.phoneNumberCountryCode,
64
+ phoneNumber: user.impactConnection.publisher.phoneNumber,
70
65
  address: user.impactConnection.publisher.billingAddress,
71
66
  city: user.impactConnection.publisher.billingCity,
72
67
  state: user.impactConnection.publisher.billingState,
@@ -1,19 +1,19 @@
1
1
  import { h, c as Host, d as getAssetPath, F as Fragment, 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 { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-50442785.js';
4
- import { H, L, J, d as dist, w as wn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-cede12c6.js';
4
+ import { H, L, J, d as dist, w as wn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-b23fdad8.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { l as luxonLocale } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-3cde72d4.js';
8
+ import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-52ca720f.js';
9
9
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
10
10
  import { C as CopyTextView } from './copy-text-view-87259b11.js';
11
11
  import { T as TextSpanView } from './sqm-text-span-view-738acfb3.js';
12
- import { u as useChildElements } from './useChildElements-c26d7347.js';
12
+ import { u as useChildElements } from './useChildElements-9bccfb72.js';
13
13
  import { l as luxon } from './luxon-1be92a8e.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
15
  import { o as optimizeCloudinaryUrl } from './imageUrl-4775f17b.js';
16
- import { a as isValidColor, b as isMobile } from './utilities-c9e730ed.js';
16
+ import { a as isValidColor, b as isMobile } from './utilities-77b1e0cc.js';
17
17
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-a8c708cd.js';
18
18
 
19
19
  function BigStatView(props) {
@@ -3022,7 +3022,7 @@ function ReferralIframeView(props) {
3022
3022
  const styleString = sheet.toString();
3023
3023
  return (h("div", { class: sheet.classes.Container },
3024
3024
  h("style", { type: "text/css" }, styleString),
3025
- h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
3025
+ h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?${encodeURIComponent(content.codeParam)}=${data.shareCode}` })));
3026
3026
  }
3027
3027
 
3028
3028
  const CheckMark = () => (h("svg", { width: 12, height: 10, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-38ad4957.js';
2
- import { i as intl } from './global-39f55ec2.js';
3
- import { d as dist } from './index.module-cede12c6.js';
2
+ import { i as intl } from './global-96c14d63.js';
3
+ import { d as dist } from './index.module-b23fdad8.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
6
6
  const style = {
@@ -0,0 +1,32 @@
1
+ function parseStates(states) {
2
+ if (typeof states === "string") {
3
+ try {
4
+ return JSON.parse(states);
5
+ }
6
+ catch (e) {
7
+ return undefined;
8
+ }
9
+ }
10
+ if (typeof states === "object")
11
+ return states;
12
+ }
13
+
14
+ /**
15
+ * Util function for getting just the props with a certain prefix.
16
+ * @param props Text props on stencil component
17
+ * @param prefix Prefix denoting which group the text prop belongs to
18
+ * @returns A new object with all keys with the prefix provided. The prefix is removed from each key.
19
+ */
20
+ function extractProps(props, prefix) {
21
+ const keys = Object.keys(props).filter((k) => k.startsWith(prefix));
22
+ const formattedProps = keys.reduce((prev, k) => {
23
+ const key = k.replace(prefix, "");
24
+ return {
25
+ ...prev,
26
+ [key]: props[k],
27
+ };
28
+ }, {});
29
+ return formattedProps;
30
+ }
31
+
32
+ export { extractProps as e, parseStates as p };