@saasquatch/mint-components 2.1.10-57 → 2.2.0-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 (443) hide show
  1. package/dist/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-2b3f51be.js} +7 -7
  2. package/dist/cjs/{data-8c8a08f6.js → data-6b5095f8.js} +2 -91
  3. package/dist/cjs/eventKeys-7af4df4d.js +5 -0
  4. package/dist/cjs/{global-b7b1b8fe.js → global-0f8b1267.js} +3177 -3126
  5. package/dist/cjs/{index.module-f8c8495f.js → index.module-42d413d9.js} +154 -149
  6. package/dist/cjs/loader.cjs.js +3 -3
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/parseStates-d1effc19.js +16 -0
  9. package/dist/cjs/{re-render-72a0ef45.js → re-render-69bde9ee.js} +1 -1
  10. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +484 -99
  11. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +404 -96
  12. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  13. package/dist/cjs/sqm-code-verification.cjs.entry.js +7 -8
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +892 -0
  16. package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  20. package/dist/cjs/{sqm-lead-checkbox-field-view-0af2a157.js → sqm-lead-checkbox-field-view-d90f8941.js} +1 -1
  21. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +4 -4
  22. package/dist/cjs/{sqm-lead-input-field-view-0cd7ebdb.js → sqm-lead-input-field-view-818d9e9a.js} +1 -1
  23. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +4 -4
  24. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  26. package/dist/cjs/{sqm-navigation-sidebar-item-view-49b152dd.js → sqm-navigation-sidebar-item-view-20693e59.js} +1 -1
  27. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  28. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  29. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  30. package/dist/cjs/sqm-partner-info-modal-view-540886b4.js +138 -0
  31. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  32. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  33. package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-60f8e0a7.js} +2 -2
  34. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +6 -6
  36. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  37. package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-2bfd7afd.js} +2 -2
  38. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  39. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  40. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-fd48f1d3.js} +1 -1
  41. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-d90d77f9.js} +1 -1
  42. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  43. package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-b31638f8.js} +2 -2
  44. package/dist/cjs/sqm-qr-code.cjs.entry.js +2 -2
  45. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +6 -6
  46. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  47. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  49. package/dist/cjs/sqm-stencilbook.cjs.entry.js +265 -84
  50. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  51. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  52. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-8a32dd8c.js} +1 -1
  53. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  54. package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-01bf2f41.js} +33 -40
  55. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  56. package/dist/cjs/{useChildElements-041127d7.js → useChildElements-89bc50a9.js} +1 -1
  57. package/dist/cjs/{useInstantAccessRegistration-2398df36.js → useInstantAccessRegistration-651aa95b.js} +2 -2
  58. package/dist/cjs/{useLeadFormState-b4c2ab5b.js → useLeadFormState-76d3b511.js} +2 -2
  59. package/dist/cjs/{usePayoutStatus-0192fccd.js → usePayoutStatus-cf050a03.js} +4 -6
  60. package/dist/cjs/{usePortalRegistrationForm-23ee2d62.js → usePortalRegistrationForm-31822dc4.js} +2 -2
  61. package/dist/cjs/{useReferralCodes-0f7948af.js → useReferralCodes-89c2b972.js} +1 -1
  62. package/dist/cjs/{useReferralTable-6e9de0d5.js → useReferralTable-d3ddfd05.js} +3 -3
  63. package/dist/cjs/{useRegistrationFormState-4fe5b770.js → useRegistrationFormState-a223f597.js} +1 -1
  64. package/dist/cjs/{useVerificationEmail-5d19aa99.js → useVerificationEmail-994bc32f.js} +1 -1
  65. package/dist/cjs/{utilities-fcdb9504.js → utilities-096934ea.js} +1 -1
  66. package/dist/cjs/utils-a8e0bd9b.js +93 -0
  67. package/dist/collection/collection-manifest.json +1 -1
  68. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +150 -0
  69. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +132 -0
  70. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +670 -0
  71. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +284 -0
  72. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +0 -1
  73. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -1
  74. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +1 -27
  75. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
  76. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +13 -1
  77. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
  78. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +12 -1
  79. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
  80. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  81. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
  82. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
  83. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
  84. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +510 -11
  85. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +20 -5
  86. package/dist/collection/components/tax-and-cash/data.js +1 -0
  87. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +75 -37
  88. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +688 -13
  89. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +95 -1
  90. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +4 -4
  91. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +49 -11
  92. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +2 -2
  93. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  94. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +4 -0
  95. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +2 -2
  96. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +9 -17
  97. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +34 -16
  98. package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-78b791d2.js} +7 -7
  99. package/dist/{mint-components/p-0c0d4065.js → esm/data-33c16dff.js} +24 -5
  100. package/dist/esm/eventKeys-f76b6a03.js +3 -0
  101. package/dist/esm/{global-96c14d63.js → global-39f55ec2.js} +3177 -3126
  102. package/dist/esm/{index.module-b23fdad8.js → index.module-cede12c6.js} +153 -150
  103. package/dist/esm/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  104. package/dist/esm/loader.js +3 -3
  105. package/dist/esm/mint-components.js +3 -3
  106. package/dist/esm/parseStates-ed75e224.js +14 -0
  107. package/dist/esm/{re-render-f30aeb6b.js → re-render-7a0c7976.js} +1 -1
  108. package/dist/esm/sqm-banking-info-form_10.entry.js +474 -89
  109. package/dist/esm/sqm-big-stat_46.entry.js +398 -90
  110. package/dist/esm/sqm-close-button.entry.js +1 -1
  111. package/dist/esm/sqm-code-verification.entry.js +8 -9
  112. package/dist/esm/sqm-context-router.entry.js +1 -1
  113. package/dist/esm/sqm-email-verification_2.entry.js +887 -0
  114. package/dist/esm/sqm-empty_4.entry.js +2 -2
  115. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  116. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  117. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  118. package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  119. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  120. package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  121. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  122. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  123. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  124. package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  125. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  126. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  127. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  128. package/dist/esm/sqm-partner-info-modal-view-eec8606e.js +135 -0
  129. package/dist/esm/sqm-password-field.entry.js +2 -2
  130. package/dist/esm/sqm-popup-container.entry.js +1 -1
  131. package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-33f5c108.js} +2 -2
  132. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  133. package/dist/esm/sqm-portal-forgot-password_6.entry.js +6 -6
  134. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  135. package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-88fd6a93.js} +2 -2
  136. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  137. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  138. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-9bf30b56.js} +1 -1
  139. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f8d1689c.js} +1 -1
  140. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  141. package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-0b70c1b1.js} +2 -2
  142. package/dist/esm/sqm-qr-code.entry.js +2 -2
  143. package/dist/esm/sqm-referral-table_11.entry.js +6 -6
  144. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  145. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  146. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  147. package/dist/esm/sqm-stencilbook.entry.js +231 -50
  148. package/dist/esm/sqm-tab.entry.js +2 -2
  149. package/dist/esm/sqm-tabs.entry.js +3 -3
  150. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-4db9e33f.js} +1 -1
  151. package/dist/esm/sqm-text-span.entry.js +1 -1
  152. package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-365cef98.js} +12 -19
  153. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  154. package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-c26d7347.js} +1 -1
  155. package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-e2392f42.js} +2 -2
  156. package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-9099c8d4.js} +2 -2
  157. package/dist/esm/{usePayoutStatus-46c0c289.js → usePayoutStatus-fa504d49.js} +3 -4
  158. package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-5844032a.js} +2 -2
  159. package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-3cde72d4.js} +1 -1
  160. package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-35e6d4c1.js} +3 -3
  161. package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-1813bdef.js} +1 -1
  162. package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-cb3d51e3.js} +1 -1
  163. package/dist/esm/{utilities-77b1e0cc.js → utilities-c9e730ed.js} +1 -1
  164. package/dist/esm/utils-8267d3d8.js +85 -0
  165. package/dist/esm-es5/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-78b791d2.js} +1 -1
  166. package/dist/esm-es5/data-33c16dff.js +1 -0
  167. package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
  168. package/dist/esm-es5/global-39f55ec2.js +285 -0
  169. package/dist/esm-es5/index.module-cede12c6.js +1 -0
  170. package/dist/esm-es5/{keys-406491dc.js → keys-db1897ae.js} +1 -1
  171. package/dist/esm-es5/loader.js +1 -1
  172. package/dist/esm-es5/mint-components.js +1 -1
  173. package/dist/esm-es5/parseStates-ed75e224.js +1 -0
  174. package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-7a0c7976.js} +1 -1
  175. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  176. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  177. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  178. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  179. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  180. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -0
  181. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  182. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  183. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  184. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  185. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-7cee2b4e.js} +1 -1
  186. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  187. package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-11a4f9a9.js} +1 -1
  188. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  189. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  190. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  191. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-48e7e0d3.js} +1 -1
  192. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  193. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  194. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  195. package/dist/esm-es5/sqm-partner-info-modal-view-eec8606e.js +1 -0
  196. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  197. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  198. package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-33f5c108.js} +1 -1
  199. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  200. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  201. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  202. package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-88fd6a93.js} +1 -1
  203. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  204. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  205. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-9bf30b56.js} +1 -1
  206. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f8d1689c.js} +1 -1
  207. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  208. package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-0b70c1b1.js} +1 -1
  209. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  210. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  211. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  212. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  213. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  214. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  215. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  216. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  217. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-4db9e33f.js} +1 -1
  218. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  219. package/dist/esm-es5/sqm-user-info-form-view-365cef98.js +1 -0
  220. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  221. package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-c26d7347.js} +1 -1
  222. package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-e2392f42.js} +1 -1
  223. package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-9099c8d4.js} +1 -1
  224. package/dist/esm-es5/{usePayoutStatus-46c0c289.js → usePayoutStatus-fa504d49.js} +2 -2
  225. package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-5844032a.js} +1 -1
  226. package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-3cde72d4.js} +1 -1
  227. package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-35e6d4c1.js} +1 -1
  228. package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-1813bdef.js} +1 -1
  229. package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-cb3d51e3.js} +1 -1
  230. package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-c9e730ed.js} +1 -1
  231. package/dist/esm-es5/utils-8267d3d8.js +1 -0
  232. package/dist/mint-components/mint-components.esm.js +1 -1
  233. package/dist/mint-components/mint-components.js +1 -1
  234. package/dist/mint-components/{p-f35d856a.system.js → p-00463c83.system.js} +1 -1
  235. package/dist/mint-components/p-037c1a4f.system.entry.js +1 -0
  236. package/dist/mint-components/p-038d0b8f.entry.js +133 -0
  237. package/dist/mint-components/{p-217dedde.js → p-0553e659.js} +2 -2
  238. package/dist/mint-components/{p-642f2c89.js → p-092db51a.js} +1 -1
  239. package/dist/mint-components/{p-a4f8abad.js → p-095b7128.js} +1 -1
  240. package/dist/mint-components/{p-95510f27.entry.js → p-0c43b6ff.entry.js} +1 -1
  241. package/dist/mint-components/{p-3366b81e.js → p-0d75a207.js} +2 -2
  242. package/dist/mint-components/{p-e4f17c21.system.js → p-0fec43e8.system.js} +1 -1
  243. package/dist/mint-components/p-115dfc03.system.js +1 -0
  244. package/dist/mint-components/p-13f3a647.js +1 -0
  245. package/dist/mint-components/{p-f55ecf35.system.js → p-140e6a15.system.js} +1 -1
  246. package/dist/mint-components/{p-3bc62ca6.entry.js → p-160828b4.entry.js} +1 -1
  247. package/dist/mint-components/{p-c30d0049.system.entry.js → p-16deb1a9.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-f0baeed0.entry.js → p-19293c16.entry.js} +1 -1
  249. package/dist/mint-components/{p-b66f45d1.entry.js → p-1b0cbbae.entry.js} +1 -1
  250. package/dist/mint-components/p-1c413a06.system.js +1 -0
  251. package/dist/mint-components/{p-d4570314.entry.js → p-1d49dddc.entry.js} +1 -1
  252. package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-21e7079a.system.entry.js} +1 -1
  253. package/dist/mint-components/{p-5141769d.system.entry.js → p-247cfbdc.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-8583ce0c.system.js → p-28e0062c.system.js} +1 -1
  255. package/dist/mint-components/p-28ed2ae9.js +1 -0
  256. package/dist/mint-components/{p-e3497e0e.system.entry.js → p-28fe7357.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-25558a33.entry.js → p-2d3a12f2.entry.js} +2 -2
  258. package/dist/mint-components/{p-f1374258.system.entry.js → p-2f4d8ab8.system.entry.js} +1 -1
  259. package/dist/mint-components/{p-ec0b649a.entry.js → p-3181e54a.entry.js} +1 -1
  260. package/dist/mint-components/{p-fb5c9802.entry.js → p-3218bb1d.entry.js} +1 -1
  261. package/dist/mint-components/{p-035d9b65.js → p-32d078a3.js} +1 -1
  262. package/dist/mint-components/{p-8f2d03c7.entry.js → p-3461a8cb.entry.js} +1 -1
  263. package/dist/mint-components/{p-90833864.system.entry.js → p-357040e6.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-85721089.system.js → p-36395228.system.js} +1 -1
  265. package/dist/mint-components/{p-e6ace3ab.js → p-370e0d75.js} +1 -1
  266. package/dist/mint-components/{p-fc284f91.system.entry.js → p-3756d0d1.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-db0a2afd.entry.js → p-37658fec.entry.js} +1 -1
  268. package/dist/mint-components/{p-7b909aa5.system.js → p-379cb9f1.system.js} +1 -1
  269. package/dist/mint-components/{p-55676213.entry.js → p-38dc2f60.entry.js} +1 -1
  270. package/dist/mint-components/p-39840341.js +1 -0
  271. package/dist/mint-components/{p-f581aac7.js → p-3c333076.js} +1 -1
  272. package/dist/mint-components/{p-bc386a7b.js → p-3c555674.js} +1 -1
  273. package/dist/mint-components/{p-bab4929e.js → p-3c88d2ed.js} +2 -2
  274. package/dist/mint-components/{p-f8a09b0f.js → p-438f6702.js} +152 -152
  275. package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-45475cf9.system.entry.js} +1 -1
  276. package/dist/mint-components/{p-56ca7e3c.js → p-45e2a83a.js} +1 -1
  277. package/dist/mint-components/{p-7161e1a6.js → p-4723526d.js} +1 -1
  278. package/dist/mint-components/p-4d009702.system.entry.js +1 -0
  279. package/dist/mint-components/{p-cabf6326.js → p-50d959bd.js} +1 -1
  280. package/dist/mint-components/{p-626b31cb.system.entry.js → p-52748a87.system.entry.js} +1 -1
  281. package/dist/mint-components/p-52eca331.js +1 -0
  282. package/dist/mint-components/{p-cb0a5990.entry.js → p-55627a5c.entry.js} +1 -1
  283. package/dist/mint-components/p-55d4caaa.entry.js +122 -0
  284. package/dist/mint-components/{p-d997001a.js → p-567a5ded.js} +1 -1
  285. package/dist/mint-components/p-574a4089.system.js +1 -0
  286. package/dist/mint-components/{p-5b871e38.system.entry.js → p-5c9d030a.system.entry.js} +1 -1
  287. package/dist/mint-components/{p-c8a8d231.entry.js → p-5dc9e95b.entry.js} +2 -2
  288. package/dist/mint-components/p-5e26014d.system.js +1 -0
  289. package/dist/mint-components/{p-80e116ec.system.entry.js → p-60085f20.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-52674798.entry.js → p-608da224.entry.js} +1 -1
  291. package/dist/mint-components/{p-f39cf252.system.entry.js → p-6194855b.system.entry.js} +1 -1
  292. package/dist/mint-components/{p-013564b3.entry.js → p-62212b9a.entry.js} +1 -1
  293. package/dist/mint-components/{p-c45a929a.system.entry.js → p-62e1c8b2.system.entry.js} +1 -1
  294. package/dist/mint-components/p-63c299f1.system.js +1 -0
  295. package/dist/mint-components/p-64041ee1.entry.js +291 -0
  296. package/dist/mint-components/p-64f56cc9.system.js +285 -0
  297. package/dist/mint-components/{p-70570e4d.system.entry.js → p-691d34f1.system.entry.js} +1 -1
  298. package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-6a4496b3.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-692e14c5.system.js → p-6b1a6b0c.system.js} +1 -1
  300. package/dist/mint-components/p-6f8dde97.system.js +1 -0
  301. package/dist/mint-components/p-70e34ae1.system.js +6 -0
  302. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-71561bb2.system.entry.js} +1 -1
  303. package/dist/mint-components/{p-d65991d0.entry.js → p-731c4d33.entry.js} +1 -1
  304. package/dist/mint-components/{p-77b9cde8.system.js → p-7547180f.system.js} +1 -1
  305. package/dist/mint-components/{p-a0c5631b.system.js → p-77117f6c.system.js} +1 -1
  306. package/dist/mint-components/{p-dd368927.system.entry.js → p-7a08d288.system.entry.js} +1 -1
  307. package/dist/mint-components/p-7d5956ec.system.entry.js +1 -0
  308. package/dist/mint-components/{p-d18dedd4.js → p-7e36a1ff.js} +1 -1
  309. package/dist/mint-components/{p-e6240c72.js → p-8474aa63.js} +1 -1
  310. package/dist/mint-components/{p-e84b874c.js → p-857a2d77.js} +1 -1
  311. package/dist/mint-components/{p-205cfdcd.system.js → p-86381dc7.system.js} +1 -1
  312. package/dist/mint-components/{p-b2b85238.entry.js → p-86a70151.entry.js} +1 -1
  313. package/dist/mint-components/{p-058aefe1.entry.js → p-886fb141.entry.js} +1 -1
  314. package/dist/mint-components/{p-6668f9f0.entry.js → p-88c9cc1b.entry.js} +1 -1
  315. package/dist/mint-components/{p-ce050888.system.js → p-8b258a3e.system.js} +1 -1
  316. package/dist/mint-components/p-8ecc8875.js +116 -0
  317. package/dist/mint-components/{p-0d83907e.js → p-8f9c1387.js} +1 -1
  318. package/dist/mint-components/p-91369a5f.js +1 -0
  319. package/dist/mint-components/{p-d005df28.system.entry.js → p-95aaf35a.system.entry.js} +1 -1
  320. package/dist/mint-components/{p-77fa2383.entry.js → p-96e4e6a4.entry.js} +1 -1
  321. package/dist/mint-components/{p-09f7aacd.entry.js → p-991f60fc.entry.js} +2 -2
  322. package/dist/mint-components/p-996eb820.entry.js +1 -0
  323. package/dist/mint-components/{p-027fc3be.system.entry.js → p-998c989a.system.entry.js} +1 -1
  324. package/dist/mint-components/{p-7b59e13c.system.js → p-9b33e2a7.system.js} +1 -1
  325. package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-9bd53e4d.system.entry.js} +1 -1
  326. package/dist/mint-components/{p-61897e72.entry.js → p-9c1b0c8b.entry.js} +1 -1
  327. package/dist/mint-components/{p-5ff7b000.entry.js → p-9d6984e7.entry.js} +2 -2
  328. package/dist/mint-components/{p-982d1f6f.entry.js → p-9e43f1eb.entry.js} +2 -2
  329. package/dist/mint-components/p-a0986077.system.entry.js +1 -0
  330. package/dist/mint-components/p-a2db4345.system.js +1 -0
  331. package/dist/mint-components/{p-669d52c4.js → p-a7f72a66.js} +1 -1
  332. package/dist/mint-components/{p-172675ca.system.js → p-a86ce218.system.js} +1 -1
  333. package/dist/mint-components/p-a8891ebd.js +1 -0
  334. package/dist/mint-components/p-a8ecdc44.system.js +1 -0
  335. package/dist/mint-components/{p-d6193876.system.js → p-b1b8e629.system.js} +1 -1
  336. package/dist/mint-components/p-b2a99637.system.js +1 -0
  337. package/dist/mint-components/p-b2bde2f5.entry.js +1 -0
  338. package/dist/mint-components/p-b451970a.system.entry.js +1 -0
  339. package/dist/mint-components/{p-e12754f5.system.entry.js → p-b5c0bad5.system.entry.js} +1 -1
  340. package/dist/mint-components/{p-5c4ba8a0.entry.js → p-b5fed7c6.entry.js} +1 -1
  341. package/dist/mint-components/{p-3286ef38.js → p-bcadd021.js} +1 -1
  342. package/dist/mint-components/p-c7535e70.system.entry.js +1 -0
  343. package/dist/mint-components/{p-5b1d2866.system.js → p-c84a2512.system.js} +1 -1
  344. package/dist/mint-components/{p-f4e36adf.system.entry.js → p-c8e45671.system.entry.js} +1 -1
  345. package/dist/mint-components/{p-e00ec007.js → p-ce11858c.js} +1 -1
  346. package/dist/mint-components/{p-ab0ea688.system.entry.js → p-d01949f7.system.entry.js} +1 -1
  347. package/dist/mint-components/p-d20188db.js +1 -0
  348. package/dist/mint-components/p-d273eb05.entry.js +9 -0
  349. package/dist/mint-components/{p-19c441b2.system.js → p-d355336b.system.js} +1 -1
  350. package/dist/mint-components/{p-782af7ae.system.entry.js → p-d5a1c979.system.entry.js} +1 -1
  351. package/dist/mint-components/p-d6714617.entry.js +1 -0
  352. package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-dbdb2a46.system.entry.js} +1 -1
  353. package/dist/mint-components/{p-3c46b4dd.system.js → p-df88dcaa.system.js} +1 -1
  354. package/dist/mint-components/{p-18133026.system.entry.js → p-e1292288.system.entry.js} +1 -1
  355. package/dist/mint-components/{p-036a2617.system.js → p-e4dbca9a.system.js} +1 -1
  356. package/dist/mint-components/p-e95402dc.js +49 -0
  357. package/dist/mint-components/{p-2d5c2bd4.system.entry.js → p-e9e05970.system.entry.js} +1 -1
  358. package/dist/mint-components/p-ea5eec69.system.entry.js +1 -0
  359. package/dist/mint-components/p-ee0f1cf1.system.js +1 -0
  360. package/dist/mint-components/{p-09348341.entry.js → p-f11d29fd.entry.js} +1 -1
  361. package/dist/mint-components/{p-dac20392.system.js → p-f368f04a.system.js} +1 -1
  362. package/dist/mint-components/{p-653db72e.entry.js → p-f4a57aed.entry.js} +1 -1
  363. package/dist/mint-components/{p-e5ea43b1.entry.js → p-f972e5c9.entry.js} +2 -2
  364. package/dist/mint-components/{p-5ce78407.system.entry.js → p-fb4ab5ba.system.entry.js} +1 -1
  365. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +12 -0
  366. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +51 -0
  367. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +122 -0
  368. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +17 -0
  369. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +0 -1
  370. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +0 -5
  371. package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +2 -1
  372. package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +2 -1
  373. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
  374. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +78 -0
  375. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +2 -0
  376. package/dist/types/components/tax-and-cash/data.d.ts +1 -0
  377. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +2 -0
  378. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
  379. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +165 -0
  380. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +7 -0
  381. package/dist/types/components.d.ts +614 -88
  382. package/dist/types/global/android.d.ts +7 -0
  383. package/dist/types/global/demo.d.ts +2 -0
  384. package/dist/types/saasquatch.d.ts +1 -0
  385. package/dist/types/stories/features.d.ts +4 -0
  386. package/dist/types/stories/templates.d.ts +4 -0
  387. package/docs/docs.docx +0 -0
  388. package/docs/raisins.json +1 -1
  389. package/grapesjs/grapesjs.js +1 -1
  390. package/package.json +1 -1
  391. package/shoelace/assets/icons/twitter-x.svg +4 -0
  392. package/dist/cjs/extractProps-e9c55ba8.js +0 -35
  393. package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -418
  394. package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -214
  395. package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +0 -25
  396. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +0 -19
  397. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +0 -172
  398. package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +0 -26
  399. package/dist/esm/data-12e6aae1.js +0 -216
  400. package/dist/esm/extractProps-54064fb0.js +0 -32
  401. package/dist/esm/sqm-email-verification.entry.js +0 -414
  402. package/dist/esm/sqm-widget-verification.entry.js +0 -210
  403. package/dist/esm-es5/data-12e6aae1.js +0 -1
  404. package/dist/esm-es5/extractProps-54064fb0.js +0 -1
  405. package/dist/esm-es5/global-96c14d63.js +0 -271
  406. package/dist/esm-es5/index.module-b23fdad8.js +0 -1
  407. package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
  408. package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +0 -1
  409. package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
  410. package/dist/mint-components/p-02499e08.entry.js +0 -1
  411. package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
  412. package/dist/mint-components/p-0797a946.js +0 -1
  413. package/dist/mint-components/p-30c1ef36.system.js +0 -1
  414. package/dist/mint-components/p-38c7775a.js +0 -1
  415. package/dist/mint-components/p-3adbfd0b.system.js +0 -6
  416. package/dist/mint-components/p-4007afba.system.entry.js +0 -1
  417. package/dist/mint-components/p-445f50cc.entry.js +0 -9
  418. package/dist/mint-components/p-4da5a3fe.system.entry.js +0 -1
  419. package/dist/mint-components/p-5492dd51.system.entry.js +0 -1
  420. package/dist/mint-components/p-57dd28bd.system.js +0 -1
  421. package/dist/mint-components/p-6c4ad51a.js +0 -1
  422. package/dist/mint-components/p-6e512063.entry.js +0 -25
  423. package/dist/mint-components/p-7265bbcb.system.js +0 -271
  424. package/dist/mint-components/p-738dce27.system.entry.js +0 -1
  425. package/dist/mint-components/p-746500b2.entry.js +0 -281
  426. package/dist/mint-components/p-7efb8782.system.js +0 -1
  427. package/dist/mint-components/p-89a20547.system.entry.js +0 -1
  428. package/dist/mint-components/p-91a96e98.entry.js +0 -1
  429. package/dist/mint-components/p-b395470f.entry.js +0 -16
  430. package/dist/mint-components/p-c67f8558.system.entry.js +0 -1
  431. package/dist/mint-components/p-ca098be1.system.js +0 -1
  432. package/dist/mint-components/p-d0993bb9.js +0 -1
  433. package/dist/mint-components/p-d4f332a7.entry.js +0 -106
  434. package/dist/mint-components/p-de0d6fd7.js +0 -49
  435. package/dist/mint-components/p-e55aafe9.system.js +0 -1
  436. package/dist/mint-components/p-ea03e50e.system.js +0 -1
  437. package/dist/mint-components/p-fbe00c97.system.entry.js +0 -1
  438. package/dist/mint-components/p-fe70e20c.entry.js +0 -1
  439. package/dist/mint-components/p-ff118a19.system.js +0 -1
  440. package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +0 -7
  441. package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +0 -8
  442. package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +0 -45
  443. package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +0 -3
@@ -1 +1 @@
1
- var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,n){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:n})}else{e.raw=n}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o))e[o]=n[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r["throw"](e))}catch(e){i(e)}}function u(e){e.done?t(e.value):o(e.value).then(a,s)}u((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(n){return u([e,n])}}function u(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-036a2617.system.js","./p-58dbdf63.system.js","./p-97edaf26.system.js"],(function(e){"use strict";var n,t,r,o,i,a,s,u,c,d,l,f,v,g,h,m,p;return{setters:[function(e){n=e.r;t=e.h},function(e){r=e.k;o=e.f;i=e.n},function(e){a=e.d;s=e.H;u=e.J;c=e.B;d=e.F;l=e.w;f=e.$;v=e.i},function(e){g=e.c},function(e){h=e.g},function(){},function(e){m=e.a},function(){},function(e){p=e.Q}],execute:function(){var _=a.gql(__makeTemplateObject(["\n query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {\n user: viewer {\n ... on User {\n shareLink(\n programId: $programId\n engagementMedium: $engagementMedium\n shareMedium: DIRECT\n )\n }\n }\n }\n"],["\n query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {\n user: viewer {\n ... on User {\n shareLink(\n programId: $programId\n engagementMedium: $engagementMedium\n shareMedium: DIRECT\n )\n }\n }\n }\n"]));var w=a.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function y(e){var n=this;var t;var i=s();var a=u();var v=c();var g=d(m);var h=r(null),p=h[0],y=h[1];var b=r(false),C=b[0],T=b[1];var k=r(false),E=k[0],M=k[1];var j=l(_,{programId:i,engagementMedium:v},!(a===null||a===void 0?void 0:a.jwt)||(g===null||g===void 0?void 0:g.shareLink)!==undefined),R=j.data,x=j.errors,q=j.loading;var I=f(w)[0];var O=(t=R===null||R===void 0?void 0:R.user)===null||t===void 0?void 0:t.shareLink;var L=O+"?qrCode";var D=q||E;o((function(){if(!O)return;var e=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){y(O+"?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0");return[2]}))}))};e()}),[O]);var U=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){I({eventMeta:{programId:i,id:a===null||a===void 0?void 0:a.id,accountId:a===null||a===void 0?void 0:a.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:v,shareMedium:"DIRECT"}}});return[2]}))}))};var $=function(){return __awaiter(n,void 0,void 0,(function(){var e,n,t,r,o;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,3,,4]);return[4,fetch(L+"&qrCodeSize=800&qrCodeImageFormat=png")];case 1:e=i.sent();return[4,e.blob()];case 2:n=i.sent();t=URL.createObjectURL(n);if(n)U();r=document.createElement("a");r.href=t;r.download="qrCode.png";document.body.appendChild(r);r.click();document.body.removeChild(r);return[3,4];case 3:o=i.sent();console.error("Failed to fetch QR code:",o);T(true);return[3,4];case 4:return[2]}}))}))};var P=function(){return __awaiter(n,void 0,void 0,(function(){var e,n,t,r,o,i;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,3,,4]);return[4,fetch(L+"&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H")];case 1:e=a.sent();return[4,e.blob()];case 2:n=a.sent();t=URL.createObjectURL(n);if(n)U();r=window.open("about:blank","_new");o=r.document.createElement("img");o.src=t;o.onload=function(){r.print();r.close()};r.document.body.appendChild(o);return[3,4];case 3:i=a.sent();console.error("Failed to fetch QR code: ",i);T(true);return[3,4];case 4:return[2]}}))}))};return __assign(__assign({},e),{loading:D,qrLink:p,error:C,createDownloadable:$,createPrintable:P})}var b=e("sqm_qr_code",function(){function e(e){n(this,e);this.titleText="Share your QR code";this.viewCodeText="View QR code";this.downloadCodeText="Download";this.printCodeText="Print";this.errorHeaderText="There was an error loading your QR code";this.errorDescriptionText="Please refresh this page and try again";this.hideTitle=false;this.alignment="center";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=h(this);var n=v()?C(e):y(e);return t(p,Object.assign({},n))};return e}());function C(e){var n=this;var t=r(false),o=t[0],i=t[1];return g({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:function(){return i(true)},hideDialog:function(){return i(false)},loading:true,titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:function(){console.log("View QR Code clicked")},createDownloadable:function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){console.log("Download QR Code clicked");return[2]}))}))},createPrintable:function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){console.log("Print QR Code clicked");return[2]}))}))}},e.demoData||{},{arrayMerge:function(e,n){return n}})}}}}));
1
+ var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,n){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:n})}else{e.raw=n}return e};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++){n=arguments[t];for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o))e[o]=n[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):o(e.value).then(a,c)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(n){return s([e,n])}}function s(a){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:t.label++;return{value:a[1],done:false};case 5:t.label++;o=a[1];a=[0];continue;case 7:a=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){t.label=a[1];break}if(a[0]===6&&t.label<i[1]){t.label=i[1];i=a;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(a);break}if(i[2])t.ops.pop();t.trys.pop();continue}a=n.call(e,t)}catch(e){a=[6,e];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-a8ecdc44.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-e4dbca9a.system.js","./p-58dbdf63.system.js","./p-97edaf26.system.js"],(function(e){"use strict";var n,t,r,o,i,a,c,s,u,d,l,f,v,g,h,m,p;return{setters:[function(e){n=e.r;t=e.h},function(e){r=e.k;o=e.f;i=e.n},function(e){a=e.d;c=e.H;s=e.J;u=e.B;d=e.F;l=e.w;f=e.$;v=e.i},function(e){g=e.c},function(e){h=e.g},function(){},function(e){m=e.a},function(){},function(e){p=e.Q}],execute:function(){var _=a.gql(__makeTemplateObject(["\n query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {\n user: viewer {\n ... on User {\n shareLink(\n programId: $programId\n engagementMedium: $engagementMedium\n shareMedium: DIRECT\n )\n }\n }\n }\n"],["\n query shareLink($programId: ID, $engagementMedium: UserEngagementMedium!) {\n user: viewer {\n ... on User {\n shareLink(\n programId: $programId\n engagementMedium: $engagementMedium\n shareMedium: DIRECT\n )\n }\n }\n }\n"]));var w=a.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function b(e){var n=this;var t;var i=c();var a=s();var v=u();var g=d(m);var h=r(null),p=h[0],b=h[1];var y=r(false),C=y[0],T=y[1];var k=r(false),E=k[0],M=k[1];var j=l(_,{programId:i,engagementMedium:v},!(a===null||a===void 0?void 0:a.jwt)||(g===null||g===void 0?void 0:g.shareLink)!==undefined),R=j.data,x=j.errors,q=j.loading;var I=f(w)[0];var O=(t=R===null||R===void 0?void 0:R.user)===null||t===void 0?void 0:t.shareLink;var L=O+"?qrCode";var D=q||E;o((function(){if(!O)return;var e=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){b(O+"?qrCode&qrCodeImageFormat=svg&qrCodeQuietZoneSize=0");return[2]}))}))};e()}),[O]);var U=function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){I({eventMeta:{programId:i,id:a===null||a===void 0?void 0:a.id,accountId:a===null||a===void 0?void 0:a.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:v,shareMedium:"DIRECT"}}});return[2]}))}))};var $=function(){return __awaiter(n,void 0,void 0,(function(){var e,n,t,r,o;return __generator(this,(function(i){switch(i.label){case 0:i.trys.push([0,3,,4]);return[4,fetch(L+"&qrCodeSize=800&qrCodeImageFormat=png")];case 1:e=i.sent();return[4,e.blob()];case 2:n=i.sent();t=URL.createObjectURL(n);if(n)U();r=document.createElement("a");r.href=t;r.download="qrCode.png";document.body.appendChild(r);r.click();document.body.removeChild(r);return[3,4];case 3:o=i.sent();console.error("Failed to fetch QR code:",o);T(true);return[3,4];case 4:return[2]}}))}))};var P=function(){return __awaiter(n,void 0,void 0,(function(){var e,n,t,r,o,i;return __generator(this,(function(a){switch(a.label){case 0:a.trys.push([0,3,,4]);return[4,fetch(L+"&qrCodeSize=1000&qrCodeImageFormat=png&qrCodeErrorCorrectionLevel=H")];case 1:e=a.sent();return[4,e.blob()];case 2:n=a.sent();t=URL.createObjectURL(n);if(n)U();r=window.open("about:blank","_new");o=r.document.createElement("img");o.src=t;o.onload=function(){r.print();r.close()};r.document.body.appendChild(o);return[3,4];case 3:i=a.sent();console.error("Failed to fetch QR code: ",i);T(true);return[3,4];case 4:return[2]}}))}))};return __assign(__assign({},e),{loading:D,qrLink:p,error:C,createDownloadable:$,createPrintable:P})}var y=e("sqm_qr_code",function(){function e(e){n(this,e);this.titleText="Share your QR code";this.viewCodeText="View QR code";this.downloadCodeText="Download";this.printCodeText="Print";this.errorHeaderText="There was an error loading your QR code";this.errorDescriptionText="Please refresh this page and try again";this.hideTitle=false;this.alignment="center";i(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=h(this);var n=v()?C(e):b(e);return t(p,Object.assign({},n))};return e}());function C(e){var n=this;var t=r(false),o=t[0],i=t[1];return g({dialogIsOpen:o,hideTitle:e.hideTitle,showDialog:function(){return i(true)},hideDialog:function(){return i(false)},loading:true,titleText:e.titleText,viewCodeText:e.viewCodeText,downloadCodeText:e.downloadCodeText,printCodeText:e.printCodeText,alignment:e.alignment,qrLink:"https://media.istockphoto.com/id/1251071788/vector/qr-code-bar-code-black-icon-digital-technology.jpg?s=612x612&w=0&k=20&c=maw4OqMSEegAdSo8Drm9HO7i1ddddvP2YaL1UuWbRig=",fireViewQrEvent:function(){console.log("View QR Code clicked")},createDownloadable:function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){console.log("Download QR Code clicked");return[2]}))}))},createPrintable:function(){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){console.log("Print QR Code clicked");return[2]}))}))}},e.demoData||{},{arrayMerge:function(e,n){return n}})}}}}));
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const NewPartnerEmpty: () => any;
6
+ export declare const NewPartnerPrefilled: () => any;
7
+ export declare const NewPartnerFullySelected: () => any;
8
+ export declare const ExistingPartnerConfirm: () => any;
9
+ export declare const Submitting: () => any;
10
+ export declare const WithError: () => any;
11
+ export declare const ValidationError: () => any;
12
+ export declare const Closed: () => any;
@@ -0,0 +1,51 @@
1
+ export interface PartnerInfoModalViewProps {
2
+ states: {
3
+ open: boolean;
4
+ loading: boolean;
5
+ submitting: boolean;
6
+ isExistingPartner: boolean;
7
+ countryCode: string;
8
+ currency: string;
9
+ error: string;
10
+ success: boolean;
11
+ brandName: string;
12
+ filteredCountries: {
13
+ countryCode: string;
14
+ displayName: string;
15
+ }[];
16
+ filteredCurrencies: {
17
+ currencyCode: string;
18
+ displayName: string;
19
+ }[];
20
+ allowBankingCollection: boolean;
21
+ checkboxError: string;
22
+ disabled: boolean;
23
+ };
24
+ callbacks: {
25
+ onCountryChange: (e: any) => void;
26
+ onCurrencyChange: (e: any) => void;
27
+ onCheckboxChange: (e: any) => void;
28
+ setCurrencySearch: (c: any) => void;
29
+ setCountrySearch: (c: any) => void;
30
+ onSubmit: () => void;
31
+ onClose: () => void;
32
+ };
33
+ text: {
34
+ modalHeader: string;
35
+ descriptionNewPartner: string;
36
+ descriptionExistingPartner: string;
37
+ countryLabel: string;
38
+ currencyLabel: string;
39
+ submitButtonLabel: string;
40
+ confirmButtonLabel: string;
41
+ searchCountryPlaceholder: string;
42
+ searchCurrencyPlaceholder: string;
43
+ supportDescriptionExistingPartner: string;
44
+ modalHeaderExistingPartner: string;
45
+ allowBankingCollection: string;
46
+ termsAndConditionsLabel: string;
47
+ termsAndConditionsLink: string;
48
+ };
49
+ }
50
+ export declare function PartnerInfoModalContentView(props: PartnerInfoModalViewProps): any;
51
+ export declare function PartnerInfoModalView(props: PartnerInfoModalViewProps): any;
@@ -0,0 +1,122 @@
1
+ import { DemoData } from "../../global/demo";
2
+ import { PartnerInfoModalResult } from "./usePartnerInfoModal";
3
+ /**
4
+ * @uiName Partner Info Modal
5
+ * @exampleGroup Tax and Cash
6
+ * @validParents ["sqm-portal-container", "sqm-portal-frame", "div", "sqm-divided-layout", "sqb-program-section", "sqb-conditional-section"]
7
+ * @example Partner Info Modal - <sqm-partner-info-modal></sqm-partner-info-modal>
8
+ */
9
+ export declare class PartnerInfoModal {
10
+ /**
11
+ * Brand name shown in the modal header
12
+ *
13
+ * @uiName Brand name
14
+ */
15
+ brandName: string;
16
+ /**
17
+ * Header text when user has no existing partner
18
+ *
19
+ * @uiName New partner header
20
+ * @uiWidget textArea
21
+ */
22
+ modalHeader: string;
23
+ /**
24
+ * Header text when user has an existing partner
25
+ *
26
+ * @uiName Existing partner header
27
+ * @uiWidget textArea
28
+ */
29
+ modalHeaderExistingPartner: string;
30
+ /**
31
+ * Description for new partner setup
32
+ *
33
+ * @uiName New partner description
34
+ * @uiWidget textArea
35
+ */
36
+ descriptionNewPartner: string;
37
+ /**
38
+ * Description for existing partner confirmation
39
+ *
40
+ * @uiName Existing partner description
41
+ * @uiWidget textArea
42
+ */
43
+ descriptionExistingPartner: string;
44
+ /**
45
+ * Support description for existing partner confirmation
46
+ *
47
+ * @uiName Existing partner support description
48
+ * @uiWidget textArea
49
+ */
50
+ supportDescriptionExistingPartner: string;
51
+ /**
52
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
53
+ * @uiName Terms and conditions checkbox
54
+ */
55
+ allowBankingCollection: string;
56
+ /**
57
+ * The link text that appears in the terms and conditions checkbox
58
+ * @uiName Terms and conditions text
59
+ * @uiWidget textArea
60
+ */
61
+ termsAndConditionsLabel: string;
62
+ /**
63
+ * The link that appears in the terms and conditions checkbox
64
+ * @uiName Terms and conditions link
65
+ */
66
+ termsAndConditionsLink: string;
67
+ /**
68
+ * @uiName Country label
69
+ */
70
+ countryLabel: string;
71
+ /**
72
+ * @uiName Currency label
73
+ */
74
+ currencyLabel: string;
75
+ /**
76
+ * @uiName Submit button label
77
+ */
78
+ submitButtonLabel: string;
79
+ /**
80
+ * @uiName Confirm button label
81
+ */
82
+ confirmButtonLabel: string;
83
+ /**
84
+ * @uiName Search country placeholder
85
+ */
86
+ searchCountryPlaceholder: string;
87
+ /**
88
+ * @uiName Search currency placeholder
89
+ */
90
+ searchCurrencyPlaceholder: string;
91
+ /**
92
+ * @uiName Network error text
93
+ * @uiWidget textArea
94
+ */
95
+ networkErrorText: string;
96
+ /**
97
+ * @uiName Missing fields error text
98
+ * @uiWidget textArea
99
+ */
100
+ missingFieldsErrorText: string;
101
+ /**
102
+ * Used to render in another modal.
103
+ * @undocumented
104
+ */
105
+ inModal: boolean;
106
+ /**
107
+ * @undocumented
108
+ * @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
109
+ * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
110
+ * @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
111
+ */
112
+ stateController: string;
113
+ /**
114
+ * @undocumented
115
+ * @uiType object
116
+ */
117
+ demoData?: DemoData<PartnerInfoModalResult>;
118
+ constructor();
119
+ disconnectedCallback(): void;
120
+ getTextProps(): this;
121
+ render(): any;
122
+ }
@@ -0,0 +1,17 @@
1
+ import { PartnerInfoModal } from "./sqm-partner-info-modal";
2
+ import { PartnerInfoModalViewProps } from "./sqm-partner-info-modal-view";
3
+ export declare const GET_USER_PARTNER_INFO: string;
4
+ export declare const GET_COUNTRIES: string;
5
+ export declare const GET_CURRENCIES: string;
6
+ export declare const CONNECT_PARTNER: string;
7
+ export declare type TaxCountry = {
8
+ countryCode: string;
9
+ displayName: string;
10
+ };
11
+ export declare type CountriesQuery = {
12
+ impactPayoutCountries: {
13
+ data: TaxCountry[];
14
+ };
15
+ };
16
+ export declare function usePartnerInfoModal(props: PartnerInfoModal): PartnerInfoModalViewProps;
17
+ export declare type PartnerInfoModalResult = ReturnType<typeof usePartnerInfoModal>;
@@ -4,7 +4,6 @@ export declare type ReferralIframeViewProps = {
4
4
  iframeSrc: string;
5
5
  iframeHeight: string;
6
6
  iframeWidth: string;
7
- codeParam: string;
8
7
  };
9
8
  };
10
9
  data: {
@@ -21,11 +21,6 @@ export declare class SqmReferralIframe {
21
21
  * @uiName IFrame width
22
22
  */
23
23
  iframeWidth: string;
24
- /**
25
- * Override the default parameter name used in the iframe
26
- * @uiName Referral code parameter name
27
- */
28
- codeParam: string;
29
24
  /**
30
25
  * @undocumented
31
26
  * @uiType object
@@ -10,5 +10,6 @@ export declare const PayoutCancelled: () => any;
10
10
  export declare const PendingTaxReview: () => any;
11
11
  export declare const PendingNewTaxForm: () => any;
12
12
  export declare const PendingTaxSubmission: () => any;
13
- export declare const PendingPartnerCreation: () => any;
13
+ export declare const PartnerNotCreatedSetupNotStarted: () => any;
14
+ export declare const PartnerCreatedSetupStartedButIncomplete: () => any;
14
15
  export declare const PendingW9: () => any;
@@ -6,7 +6,8 @@ export declare const CashReward: () => any;
6
6
  export declare const StatusCellPendingTaxReview: () => any;
7
7
  export declare const StatusCellPendingNewTaxForm: () => any;
8
8
  export declare const StatusCellPendingTaxSubmission: () => any;
9
- export declare const StatusCellPendingPartnerCreation: () => any;
9
+ export declare const StatusCellPartnerCreatedSetupStartedButIncomplete: () => any;
10
+ export declare const StatusCellPartnerNotCreatedSetupNotStarted: () => any;
10
11
  export declare const StatusCellPendingW9: () => any;
11
12
  export declare const StatusCellPayoutSent: () => any;
12
13
  export declare const StatusCellPayoutFailed: () => any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Step1Email: () => any;
6
+ export declare const Step2Code: () => any;
7
+ export declare const Step3PartnerModal: () => any;
8
+ export declare const Loading: () => any;
@@ -4,6 +4,11 @@
4
4
  * @example Widget Verification - <sqm-widget-verification></sqm-widget-verification>
5
5
  */
6
6
  export declare class WidgetVerification {
7
+ /**
8
+ * @uiName General widget header text with partner creation
9
+ * @uiGroup General Text
10
+ */
11
+ general_widgetHeaderWithPartnerCreation: string;
7
12
  /**
8
13
  * @uiName General verify widget header text
9
14
  * @uiGroup General Text
@@ -89,10 +94,83 @@ export declare class WidgetVerification {
89
94
  * @uiGroup Code Verification Step
90
95
  */
91
96
  codeStep_networkErrorMessage: string;
97
+ /**
98
+ * @uiName New partner header
99
+ * @uiGroup Partner Creation Step
100
+ * @uiWidget textArea
101
+ */
102
+ createPartnerStep_modalHeader: string;
103
+ /**
104
+ * @uiName Existing partner header
105
+ * @uiGroup Partner Creation Step
106
+ * @uiWidget textArea
107
+ */
108
+ createPartnerStep_modalHeaderExistingPartner: string;
109
+ /**
110
+ * @uiName New partner description
111
+ * @uiGroup Partner Creation Step
112
+ * @uiWidget textArea
113
+ */
114
+ createPartnerStep_descriptionNewPartner: string;
115
+ /**
116
+ * @uiName Existing partner description
117
+ * @uiGroup Partner Creation Step
118
+ * @uiWidget textArea
119
+ */
120
+ createPartnerStep_descriptionExistingPartner: string;
121
+ /**
122
+ * @uiName Existing partner support description
123
+ * @uiGroup Partner Creation Step
124
+ * @uiWidget textArea
125
+ */
126
+ createPartnerStep_supportDescriptionExistingPartner: string;
127
+ /**
128
+ * @uiName Country label
129
+ * @uiGroup Partner Creation Step
130
+ */
131
+ createPartnerStep_countryLabel: string;
132
+ /**
133
+ * @uiName Currency label
134
+ * @uiGroup Partner Creation Step
135
+ */
136
+ createPartnerStep_currencyLabel: string;
137
+ /**
138
+ * @uiName Submit button label
139
+ * @uiGroup Partner Creation Step
140
+ */
141
+ createPartnerStep_submitButtonLabel: string;
142
+ /**
143
+ * @uiName Confirm button label
144
+ * @uiGroup Partner Creation Step
145
+ */
146
+ createPartnerStep_confirmButtonLabel: string;
147
+ /**
148
+ * @uiName Search country placeholder
149
+ * @uiGroup Partner Creation Step
150
+ */
151
+ createPartnerStep_searchCountryPlaceholder: string;
152
+ /**
153
+ * @uiName Search currency placeholder
154
+ * @uiGroup Partner Creation Step
155
+ */
156
+ createPartnerStep_searchCurrencyPlaceholder: string;
157
+ /**
158
+ * @uiName Network error text
159
+ * @uiGroup Partner Creation Step
160
+ * @uiWidget textArea
161
+ */
162
+ createPartnerStep_networkErrorText: string;
163
+ /**
164
+ * @uiName Missing fields error text
165
+ * @uiGroup Partner Creation Step
166
+ * @uiWidget textArea
167
+ */
168
+ createPartnerStep_missingFieldsErrorText: string;
92
169
  /**
93
170
  * @undocumented
94
171
  * @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
95
172
  * @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
173
+ * @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
96
174
  */
97
175
  stateController: string;
98
176
  constructor();
@@ -1,5 +1,7 @@
1
1
  export declare function useWidgetVerification(): {
2
2
  showCode: boolean;
3
+ showPartnerModal: boolean;
3
4
  onVerification: () => void;
5
+ onPartnerModalComplete: () => void;
4
6
  loading: boolean;
5
7
  };
@@ -100,6 +100,7 @@ export declare type UserQuery = {
100
100
  impactConnection: null | {
101
101
  connected: boolean;
102
102
  user: null | ImpactUser;
103
+ connectionStatus: "NOT_STARTED" | "STARTED" | "COMPLETED";
103
104
  publisher: null | ImpactPublisher;
104
105
  };
105
106
  };
@@ -4,6 +4,8 @@ export declare function getFormMap({ props, getValidationErrorMessage, bankCount
4
4
  getValidationErrorMessage: (props: {
5
5
  type: "required" | "invalid";
6
6
  label: string;
7
+ errorCode?: string;
8
+ fieldName?: string;
7
9
  }) => string;
8
10
  bankCountry?: string;
9
11
  }): {
@@ -28,6 +28,7 @@ export interface BankingInfoFormViewProps {
28
28
  inputErrors?: {
29
29
  [field: string]: {
30
30
  type: "required" | "invalid";
31
+ errorCode?: string;
31
32
  };
32
33
  };
33
34
  };
@@ -103,6 +104,9 @@ export interface BankingInfoFormViewProps {
103
104
  generalTitle: string;
104
105
  generalDescription: string;
105
106
  };
107
+ errorMessages?: {
108
+ [field: string]: string;
109
+ };
106
110
  };
107
111
  refs: {
108
112
  formRef: any;
@@ -275,6 +275,149 @@ export declare class BankingInfoForm {
275
275
  * @uiName Information modal button text
276
276
  */
277
277
  modalButtonText: string;
278
+ /**
279
+ * Error messages for the beneficiary / account holder name field.
280
+ * Supports error codes: empty, invalidCharacters, numeric, tooLong,
281
+ * nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
282
+ * @uiName Beneficiary account name error
283
+ * @uiWidget textArea
284
+ */
285
+ beneficiaryAccountNameError: string;
286
+ /**
287
+ * Error messages for the bank account number / IBAN field.
288
+ * Supports error codes: empty, invalidUk, invalid, ibanEmpty,
289
+ * ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
290
+ * @uiName Bank account number / IBAN error
291
+ * @uiWidget textArea
292
+ */
293
+ bankAccountNumberError: string;
294
+ /**
295
+ * Error messages for the routing code / sort code / BSB field.
296
+ * Supports error codes: invalidBsb, invalidSortCode, empty, invalid
297
+ * @uiName Routing code error
298
+ * @uiWidget textArea
299
+ */
300
+ routingCodeError: string;
301
+ /**
302
+ * Error messages for the SWIFT / BIC code field.
303
+ * Supports error codes: empty, alphanumeric, invalid
304
+ * @uiName SWIFT code error
305
+ * @uiWidget textArea
306
+ */
307
+ swiftCodeError: string;
308
+ /**
309
+ * Error messages for the bank account type field.
310
+ * Supports error codes: empty
311
+ * @uiName Bank account type error
312
+ * @uiWidget textArea
313
+ */
314
+ bankAccountTypeError: string;
315
+ /**
316
+ * Error messages for the bank name field.
317
+ * Supports error codes: empty
318
+ * @uiName Bank name error
319
+ * @uiWidget textArea
320
+ */
321
+ bankNameError: string;
322
+ /**
323
+ * Error messages for the tax payer ID / classification entity field.
324
+ * Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
325
+ * alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
326
+ * @uiName Tax payer ID error
327
+ * @uiWidget textArea
328
+ */
329
+ taxPayerIdError: string;
330
+ /**
331
+ * Error messages for the patronymic name field.
332
+ * Supports error codes: empty, alphanumeric
333
+ * @uiName Patronymic name error
334
+ * @uiWidget textArea
335
+ */
336
+ patronymicNameError: string;
337
+ /**
338
+ * Error messages for the VO code field.
339
+ * Supports error codes: empty, alphanumeric
340
+ * @uiName VO code error
341
+ * @uiWidget textArea
342
+ */
343
+ voCodeError: string;
344
+ /**
345
+ * Error messages for the agency code field.
346
+ * Supports error codes: empty, alphanumeric, tooShort
347
+ * @uiName Agency code error
348
+ * @uiWidget textArea
349
+ */
350
+ agencyCodeError: string;
351
+ /**
352
+ * Error messages for the bank address field.
353
+ * Supports error codes: empty
354
+ * @uiName Bank address error
355
+ * @uiWidget textArea
356
+ */
357
+ bankAddressError: string;
358
+ /**
359
+ * Error messages for the bank city field.
360
+ * Supports error codes: empty
361
+ * @uiName Bank city error
362
+ * @uiWidget textArea
363
+ */
364
+ bankCityError: string;
365
+ /**
366
+ * Error messages for the bank province/state field.
367
+ * Supports error codes: empty
368
+ * @uiName Bank province/state error
369
+ * @uiWidget textArea
370
+ */
371
+ bankStateError: string;
372
+ /**
373
+ * Error messages for the bank postal code field.
374
+ * Supports error codes: empty
375
+ * @uiName Bank postal code error
376
+ * @uiWidget textArea
377
+ */
378
+ bankPostalCodeError: string;
379
+ /**
380
+ * Error messages for the branch code field.
381
+ * Supports error codes: invalid
382
+ * @uiName Branch code error
383
+ * @uiWidget textArea
384
+ */
385
+ branchCodeError: string;
386
+ /**
387
+ * Error messages for the branch name field.
388
+ * Supports error codes: empty
389
+ * @uiName Branch name error
390
+ * @uiWidget textArea
391
+ */
392
+ branchNameError: string;
393
+ /**
394
+ * Error messages for the classification code field.
395
+ * Supports error codes: empty, invalidKzt
396
+ * @uiName Classification code error
397
+ * @uiWidget textArea
398
+ */
399
+ classificationCodeError: string;
400
+ /**
401
+ * Error messages for the PayPal email field.
402
+ * Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
403
+ * @uiName PayPal email error
404
+ * @uiWidget textArea
405
+ */
406
+ paypalEmailError: string;
407
+ /**
408
+ * Error messages for the payment threshold field.
409
+ * Supports error codes: empty, invalid
410
+ * @uiName Payment threshold error
411
+ * @uiWidget textArea
412
+ */
413
+ paymentThresholdError: string;
414
+ /**
415
+ * Error messages for the payment day field.
416
+ * Supports error codes: empty, invalid
417
+ * @uiName Payment day error
418
+ * @uiWidget textArea
419
+ */
420
+ paymentDayError: string;
278
421
  /**
279
422
  * @undocumented
280
423
  * @uiType object
@@ -289,6 +432,28 @@ export declare class BankingInfoForm {
289
432
  loadingErrorAlertDescription: string;
290
433
  loadingErrorAlertHeader: string;
291
434
  };
435
+ errorMessages: {
436
+ beneficiaryAccountName: string;
437
+ bankAccountNumber: string;
438
+ routingCode: string;
439
+ swiftCode: string;
440
+ bankAccountType: string;
441
+ bankName: string;
442
+ taxPayerId: string;
443
+ patronymicName: string;
444
+ voCode: string;
445
+ agencyCode: string;
446
+ bankAddress: string;
447
+ bankCity: string;
448
+ bankState: string;
449
+ bankPostalCode: string;
450
+ branchCode: string;
451
+ branchName: string;
452
+ beneficiaryClassification: string;
453
+ paypalEmailAddress: string;
454
+ paymentThreshold: string;
455
+ paymentDay: string;
456
+ };
292
457
  };
293
458
  render(): any;
294
459
  }
@@ -22,7 +22,14 @@ export declare type ConnectPartnerResult = {
22
22
  } | null;
23
23
  };
24
24
  };
25
+ export declare type StartImpactConnectionResult = {
26
+ startImpactConnection: ConnectPartnerResult["createImpactConnection"];
27
+ };
28
+ export declare type CompletePartnerResult = {
29
+ completeImpactConnection: ConnectPartnerResult["createImpactConnection"];
30
+ };
25
31
  export declare const CONNECT_PARTNER: string;
32
+ export declare const COMPLETE_PARTNER: string;
26
33
  export declare function useIndirectTaxForm(props: IndirectTaxForm): {
27
34
  states: {
28
35
  step: string;