@saasquatch/mint-components 2.5.5-2 → 2.5.5

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 (1068) hide show
  1. package/dist/cjs/AsYouType-5f15a922.js +4764 -0
  2. package/dist/cjs/{ErrorView-17578c10.js → ErrorView-8f6cf1cb.js} +1 -1
  3. package/dist/cjs/{GenericTableView-4c48c630.js → GenericTableView-12d35117.js} +17 -15
  4. package/dist/cjs/{JSS-8503a151.js → JSS-bf8078e9.js} +342 -338
  5. package/dist/cjs/{ShadowViewAddon-f57cb460.js → ShadowViewAddon-ee16ec1d.js} +312 -292
  6. package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-49517b2a.js} +2 -2
  7. package/dist/cjs/{data-ae38fa86.js → data-77273531.js} +5 -5
  8. package/dist/cjs/demoMerge-6f125494.js +203 -0
  9. package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-735c3942.js} +133 -76
  10. package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-36a74293.js} +10 -9
  11. package/dist/cjs/{global-3ba30270.js → global-973bc63c.js} +587 -583
  12. package/dist/cjs/{index.module-3221a469.js → index-8530c62f.js} +2911 -511
  13. package/dist/cjs/{index-8277cbb3.js → index-d41c2c94.js} +766 -340
  14. package/dist/cjs/{index-8c6255f5.js → index-f1dd6136.js} +47 -29
  15. package/dist/cjs/{jsonpointer-11327262.js → jsonpointer-0db21316.js} +8 -4
  16. package/dist/cjs/loader.cjs.js +6 -5
  17. package/dist/cjs/{luxon-c1ad356a.js → luxon-d3612a3d.js} +486 -299
  18. package/dist/cjs/mint-components.cjs.js +11 -7
  19. package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-e6a0a048.js} +5 -3
  20. package/dist/cjs/{parseStates-d1effc19.js → parseStates-35013ba4.js} +3 -0
  21. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  22. package/dist/cjs/{re-render-34b36aca.js → re-render-51c48d7c.js} +5 -5
  23. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +399 -1395
  24. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +813 -2891
  25. package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-74e5e1e9.js} +2 -2
  26. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -11
  27. package/dist/cjs/sqm-code-verification.cjs.entry.js +20 -47
  28. package/dist/cjs/sqm-context-router.cjs.entry.js +9 -8
  29. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +71 -182
  30. package/dist/cjs/sqm-empty_4.cjs.entry.js +21 -58
  31. package/dist/cjs/sqm-form-message_2.cjs.entry.js +7 -19
  32. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +10 -9
  33. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +11 -10
  34. package/dist/cjs/sqm-header-logo.cjs.entry.js +4 -19
  35. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +14 -89
  36. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +6 -8
  37. package/dist/cjs/{sqm-lead-checkbox-field-view-d6df81c7.js → sqm-lead-checkbox-field-view-24ac7358.js} +12 -11
  38. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +14 -30
  39. package/dist/cjs/sqm-lead-input-field-view-7dfbc714.js +52 -0
  40. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +15 -31
  41. package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-e992762c.js} +1 -1
  42. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +25 -22
  43. package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-ebee238e.js} +2 -2
  44. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +17 -28
  45. package/dist/cjs/{sqm-navigation-sidebar-item-view-9134e64e.js → sqm-navigation-sidebar-item-view-a2cab80e.js} +4 -4
  46. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +23 -18
  47. package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-873e0c44.js} +2 -2
  48. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +12 -17
  49. package/dist/cjs/sqm-pagination_3.cjs.entry.js +40 -102
  50. package/dist/cjs/{sqm-partner-info-modal-view-6173c618.js → sqm-partner-info-modal-view-c8972001.js} +4 -4
  51. package/dist/cjs/sqm-password-field.cjs.entry.js +186 -86
  52. package/dist/cjs/sqm-popup-container.cjs.entry.js +12 -12
  53. package/dist/cjs/{sqm-portal-container-view-757f921b.js → sqm-portal-container-view-c0cf9af9.js} +2 -2
  54. package/dist/cjs/{sqm-portal-email-verification-view-38d8344c.js → sqm-portal-email-verification-view-92866725.js} +4 -4
  55. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +22 -52
  56. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +101 -429
  57. package/dist/cjs/sqm-portal-logout.cjs.entry.js +7 -13
  58. package/dist/cjs/{sqm-portal-profile-view-062eda68.js → sqm-portal-profile-view-60e78cdb.js} +20 -17
  59. package/dist/cjs/sqm-portal-profile.cjs.entry.js +20 -56
  60. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -24
  61. package/dist/cjs/{sqm-portal-registration-form-view-a45f7a52.js → sqm-portal-registration-form-view-5473e24d.js} +26 -21
  62. package/dist/cjs/{sqm-portal-reset-password-view-b2c546bd.js → sqm-portal-reset-password-view-7a6f55c5.js} +3 -3
  63. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +21 -89
  64. package/dist/cjs/{sqm-portal-verify-email-view-2a120d0a.js → sqm-portal-verify-email-view-7efa70c9.js} +48 -45
  65. package/dist/cjs/{sqm-qr-code-view-0d43424e.js → sqm-qr-code-view-70da70f9.js} +3 -3
  66. package/dist/cjs/sqm-qr-code.cjs.entry.js +22 -48
  67. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +37 -140
  68. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +5 -4
  69. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -7
  70. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +98 -217
  71. package/dist/cjs/sqm-route.cjs.entry.js +2 -1
  72. package/dist/cjs/sqm-scroll.cjs.entry.js +12 -8
  73. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2892 -2264
  74. package/dist/cjs/sqm-tab.cjs.entry.js +5 -4
  75. package/dist/cjs/sqm-tabs.cjs.entry.js +9 -8
  76. package/dist/cjs/{sqm-text-span-view-b9e10f5d.js → sqm-text-span-view-c6938acd.js} +2 -2
  77. package/dist/cjs/sqm-text-span.cjs.entry.js +8 -4
  78. package/dist/cjs/{sqm-user-info-form-view-aedca5fe.js → sqm-user-info-form-view-e878a9a3.js} +173 -163
  79. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +6 -11
  80. package/dist/cjs/subregions-3dbacb18.js +1467 -0
  81. package/dist/cjs/{useChildElements-36f7e4bb.js → useChildElements-e5e26816.js} +3 -3
  82. package/dist/cjs/{useIndirectTaxForm-7656fc63.js → useIndirectTaxForm-691691c2.js} +42 -38
  83. package/dist/cjs/{useInstantAccessRegistration-43514e50.js → useInstantAccessRegistration-9201777d.js} +6 -6
  84. package/dist/cjs/{useLeadFormState-34f9834b.js → useLeadFormState-f5b768b9.js} +20 -20
  85. package/dist/cjs/{usePortalRegistrationForm-b18a1f6b.js → usePortalRegistrationForm-b3c0451b.js} +16 -13
  86. package/dist/cjs/{useReferralCodes-25d5320a.js → useReferralCodes-5794a177.js} +11 -11
  87. package/dist/cjs/{useReferralTable-ad86986b.js → useReferralTable-32b3541b.js} +19 -19
  88. package/dist/cjs/{useRegistrationFormState-ea81d55a.js → useRegistrationFormState-feccd2c8.js} +3 -3
  89. package/dist/cjs/{useVerificationEmail-70aad5f1.js → useVerificationEmail-f0807562.js} +17 -15
  90. package/dist/cjs/{utilities-dfc34bea.js → utilities-04345466.js} +3 -3
  91. package/dist/collection/ShadowViewAddon.js +1 -2
  92. package/dist/collection/collection-manifest.json +2 -2
  93. package/dist/collection/components/raisins-plop-target/raisins-plop-target.js +36 -34
  94. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +3 -7
  95. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +11 -23
  96. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +11 -27
  97. package/dist/collection/components/sqm-big-stat/UseBigStat.stories.js +2 -16
  98. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +1 -4
  99. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +294 -298
  100. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +3 -3
  101. package/dist/collection/components/sqm-brand/SqmBrand.stories.js +4 -72
  102. package/dist/collection/components/sqm-brand/sqm-brand.js +61 -58
  103. package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +43 -120
  104. package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -5
  105. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +55 -59
  106. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +17 -22
  107. package/dist/collection/components/sqm-checkbox-field/UseCheckboxField.stories.js +5 -19
  108. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +18 -21
  109. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +167 -179
  110. package/dist/collection/components/sqm-close-button/CloseButton.stories.js +3 -5
  111. package/dist/collection/components/sqm-close-button/sqm-close-button-view.js +1 -5
  112. package/dist/collection/components/sqm-close-button/sqm-close-button.js +32 -35
  113. package/dist/collection/components/sqm-context-router/ContextRouter.js +4 -33
  114. package/dist/collection/components/sqm-context-router/sqm-context-router.js +39 -33
  115. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +13 -13
  116. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +1 -7
  117. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +601 -695
  118. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +10 -5
  119. package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +19 -36
  120. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -5
  121. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +129 -135
  122. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +7 -7
  123. package/dist/collection/components/sqm-dropdown-field/UseDropdownField.stories.js +3 -15
  124. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +13 -15
  125. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +128 -133
  126. package/dist/collection/components/sqm-edit-profile/EditProfileForm.stories.js +2 -2
  127. package/dist/collection/components/sqm-edit-profile/UseEditProfile.stories.js +9 -9
  128. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +27 -45
  129. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +272 -264
  130. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +4 -3
  131. package/dist/collection/components/sqm-empty/EmptyState.stories.js +4 -7
  132. package/dist/collection/components/sqm-empty/sqm-empty-view.js +6 -12
  133. package/dist/collection/components/sqm-empty/sqm-empty.js +102 -95
  134. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +9 -27
  135. package/dist/collection/components/sqm-form-message/sqm-form-message.js +102 -108
  136. package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +61 -56
  137. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +32 -28
  138. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +147 -161
  139. package/dist/collection/components/sqm-hero/Hero.stories.js +20 -54
  140. package/dist/collection/components/sqm-hero/sqm-hero-view.js +5 -11
  141. package/dist/collection/components/sqm-hero/sqm-hero.js +177 -202
  142. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +9 -26
  143. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +533 -590
  144. package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +28 -23
  145. package/dist/collection/components/sqm-image/sqm-image-view.js +1 -6
  146. package/dist/collection/components/sqm-image/sqm-image.js +131 -131
  147. package/dist/collection/components/sqm-input-field/InputField.stories.js +17 -17
  148. package/dist/collection/components/sqm-input-field/UseInputField.stories.js +7 -22
  149. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +14 -15
  150. package/dist/collection/components/sqm-input-field/sqm-input-field.js +156 -162
  151. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +410 -481
  152. package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +2 -18
  153. package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -14
  154. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +27 -23
  155. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-date-cell.js +44 -40
  156. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +29 -29
  157. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +85 -80
  158. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +68 -64
  159. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +40 -39
  160. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -8
  161. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +287 -310
  162. package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +1 -3
  163. package/dist/collection/components/sqm-lead-form/LeadCheckboxField.stories.js +7 -7
  164. package/dist/collection/components/sqm-lead-form/LeadForm.stories.js +6 -10
  165. package/dist/collection/components/sqm-lead-form/LeadFormDropdownField.stories.js +10 -10
  166. package/dist/collection/components/sqm-lead-form/LeadInputField.stories.js +7 -7
  167. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field-view.js +20 -24
  168. package/dist/collection/components/sqm-lead-form/sqm-lead-checkbox-field.js +167 -179
  169. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +13 -17
  170. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field.js +174 -189
  171. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +22 -48
  172. package/dist/collection/components/sqm-lead-form/sqm-lead-form.js +365 -420
  173. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +13 -16
  174. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field.js +179 -191
  175. package/dist/collection/components/sqm-lead-form/useLeadForm.js +3 -1
  176. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +23 -29
  177. package/dist/collection/components/sqm-leaderboard/UseLeaderboard.stories.js +3 -15
  178. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +11 -35
  179. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +553 -563
  180. package/dist/collection/components/sqm-leaderboard-rank/LeaderboardRank.stories.js +3 -12
  181. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +200 -192
  182. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +4 -3
  183. package/dist/collection/components/sqm-link-button/LinkButton.stories.js +2 -2
  184. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +1 -6
  185. package/dist/collection/components/sqm-link-button/sqm-link-button.js +73 -77
  186. package/dist/collection/components/sqm-logout-current-user/LogoutCurrentUser.stories.js +1 -1
  187. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user-view.js +1 -9
  188. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +106 -115
  189. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +104 -109
  190. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +2 -2
  191. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +21 -20
  192. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +104 -109
  193. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +6 -9
  194. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +92 -82
  195. package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +1 -3
  196. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +1 -8
  197. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +71 -73
  198. package/dist/collection/components/sqm-navigation-sidebar-item/SidebarItem.stories.js +2 -2
  199. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +1 -4
  200. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +315 -308
  201. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +1 -9
  202. package/dist/collection/components/sqm-pagination/sqm-pagination.js +94 -100
  203. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +13 -13
  204. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +22 -54
  205. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +515 -603
  206. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +3 -3
  207. package/dist/collection/components/sqm-password-field/passwordValidation.js +8 -20
  208. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +16 -18
  209. package/dist/collection/components/sqm-password-field/sqm-password-field.js +197 -219
  210. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +1 -7
  211. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -4
  212. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +82 -84
  213. package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +1 -2
  214. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -5
  215. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +161 -155
  216. package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +5 -5
  217. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +8 -17
  218. package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +142 -154
  219. package/dist/collection/components/sqm-portal-change-password/ChangePassword.stories.js +6 -6
  220. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -24
  221. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +380 -436
  222. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +5 -2
  223. package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +16 -119
  224. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -5
  225. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +280 -299
  226. package/dist/collection/components/sqm-portal-email-verification/PortalEmailVerification.stories.js +5 -5
  227. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +13 -25
  228. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +216 -243
  229. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -1
  230. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +6 -6
  231. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +1 -12
  232. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -16
  233. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +317 -351
  234. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  235. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -14
  236. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +279 -316
  237. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -1
  238. package/dist/collection/components/sqm-portal-frame/PortalFrame.stories.js +14 -55
  239. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +1 -7
  240. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +141 -158
  241. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +295 -342
  242. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +19 -26
  243. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +645 -749
  244. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -5
  245. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -17
  246. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +255 -292
  247. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
  248. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +33 -36
  249. package/dist/collection/components/sqm-portal-profile/PortalProfile.stories.js +6 -6
  250. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +15 -26
  251. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +282 -314
  252. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +72 -82
  253. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +8 -13
  254. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +15 -28
  255. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +525 -610
  256. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -1
  257. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +10 -15
  258. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +20 -33
  259. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +573 -663
  260. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +5 -2
  261. package/dist/collection/components/sqm-portal-reset-password/PortalResetPassword.stories.js +6 -6
  262. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -29
  263. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +449 -514
  264. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +2 -1
  265. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -2
  266. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +2 -14
  267. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +196 -222
  268. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +4 -2
  269. package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +20 -32
  270. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +1 -7
  271. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +84 -78
  272. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -10
  273. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +231 -220
  274. package/dist/collection/components/sqm-program-menu/ProgramMenu.stories.js +8 -25
  275. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +8 -9
  276. package/dist/collection/components/sqm-qr-code/QRCode.stories.js +8 -8
  277. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +2 -11
  278. package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +206 -230
  279. package/dist/collection/components/sqm-radio-card/RadioCard.stories.js +2 -2
  280. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +1 -9
  281. package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +29 -86
  282. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +3 -11
  283. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +304 -335
  284. package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +14 -14
  285. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +369 -410
  286. package/dist/collection/components/sqm-referral-code/useReferralCode.js +3 -3
  287. package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +9 -36
  288. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +3 -14
  289. package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +167 -175
  290. package/dist/collection/components/sqm-referral-iframe/ReferralIframe.stories.js +2 -4
  291. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +1 -3
  292. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +125 -132
  293. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +9 -24
  294. package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +1 -1
  295. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +5 -8
  296. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +1 -1
  297. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +30 -30
  298. package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +8 -30
  299. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +28 -23
  300. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +44 -40
  301. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +219 -278
  302. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +81 -76
  303. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +24 -20
  304. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +65 -61
  305. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +120 -139
  306. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +260 -300
  307. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +208 -225
  308. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +124 -133
  309. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +229 -253
  310. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
  311. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +479 -557
  312. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +1 -1
  313. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -0
  314. package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +5 -26
  315. package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -18
  316. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +26 -28
  317. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +96 -174
  318. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +618 -726
  319. package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +16 -31
  320. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +12 -15
  321. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +11 -11
  322. package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +8 -30
  323. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js +45 -40
  324. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +44 -40
  325. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +97 -103
  326. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +160 -156
  327. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +336 -332
  328. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +96 -105
  329. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +67 -66
  330. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +127 -135
  331. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +173 -197
  332. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +390 -463
  333. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +4 -2
  334. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +206 -219
  335. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -3
  336. package/dist/collection/components/sqm-route/sqm-route.js +31 -26
  337. package/dist/collection/components/sqm-router/Router.stories.js +4 -33
  338. package/dist/collection/components/sqm-router/sqm-router.js +17 -14
  339. package/dist/collection/components/sqm-scroll/Scroll.stories.js +6 -89
  340. package/dist/collection/components/sqm-scroll/sqm-scroll.js +259 -255
  341. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +12 -46
  342. package/dist/collection/components/sqm-share-button/UseShareButton.stories.js +2 -7
  343. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -6
  344. package/dist/collection/components/sqm-share-button/sqm-share-button.js +509 -521
  345. package/dist/collection/components/sqm-share-code/ShareCode.stories.js +13 -13
  346. package/dist/collection/components/sqm-share-code/sqm-share-code.js +329 -360
  347. package/dist/collection/components/sqm-share-code/useShareCode.js +3 -3
  348. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +85 -86
  349. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +17 -20
  350. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +21 -49
  351. package/dist/collection/components/sqm-share-link/sqm-share-link.js +987 -1192
  352. package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
  353. package/dist/collection/components/sqm-skeleton/sqm-skeleton.js +55 -59
  354. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +1 -5
  355. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +162 -185
  356. package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
  357. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +12 -15
  358. package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +1 -5
  359. package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +1 -2
  360. package/dist/collection/components/sqm-stencilbook/Matrix.js +4 -13
  361. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -13
  362. package/dist/collection/components/sqm-tab/sqm-tab.js +27 -25
  363. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +47 -49
  364. package/dist/collection/components/sqm-table-row/sqm-table-row.js +27 -30
  365. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +10 -17
  366. package/dist/collection/components/sqm-tabs/sqm-tabs.js +62 -59
  367. package/dist/collection/components/sqm-tabs/useTabs.js +1 -2
  368. package/dist/collection/components/sqm-task-card/DetailsView.js +1 -7
  369. package/dist/collection/components/sqm-task-card/SVGs.js +3 -7
  370. package/dist/collection/components/sqm-task-card/TaskCard.stories.js +31 -277
  371. package/dist/collection/components/sqm-task-card/UseTaskCard.stories.js +1 -17
  372. package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +1 -1
  373. package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +2 -10
  374. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +10 -13
  375. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +56 -83
  376. package/dist/collection/components/sqm-task-card/sqm-task-card.js +780 -860
  377. package/dist/collection/components/sqm-text/Text.stories.js +2 -4
  378. package/dist/collection/components/sqm-text/sqm-text.js +61 -57
  379. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -5
  380. package/dist/collection/components/sqm-text-span/sqm-text-span.js +109 -101
  381. package/dist/collection/components/sqm-timeline/SVGs.js +3 -9
  382. package/dist/collection/components/sqm-timeline/Timeline.stories.js +5 -57
  383. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -16
  384. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +178 -166
  385. package/dist/collection/components/sqm-timeline/sqm-timeline.js +41 -45
  386. package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +5 -206
  387. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +1 -4
  388. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +129 -148
  389. package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -7
  390. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +1 -3
  391. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +146 -137
  392. package/dist/collection/components/sqm-user-name/sqm-user-name.js +82 -84
  393. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +6 -26
  394. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +215 -240
  395. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +12 -22
  396. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +12 -30
  397. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +177 -195
  398. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +33 -41
  399. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +771 -921
  400. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +4 -2
  401. package/dist/collection/components/tax-and-cash/SVGs.js +1 -4
  402. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -3
  403. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +188 -198
  404. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +34 -83
  405. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +1864 -2210
  406. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -7
  407. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +13 -31
  408. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +26 -53
  409. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +565 -660
  410. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -3
  411. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +24 -63
  412. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +699 -816
  413. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +11 -7
  414. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +1 -4
  415. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +5 -20
  416. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +130 -147
  417. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +12 -33
  418. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +910 -1035
  419. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +1 -3
  420. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/LoadingView.js +2 -19
  421. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +4760 -5686
  422. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +89 -176
  423. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +1857 -2159
  424. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -0
  425. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +27 -27
  426. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +5 -9
  427. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +24 -44
  428. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +6 -6
  429. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +120 -157
  430. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +713 -823
  431. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -7
  432. package/dist/collection/components/views/EmailRegistration.stories.js +60 -60
  433. package/dist/collection/components/views/copy-text-view.js +6 -17
  434. package/dist/collection/components/views/email-registration-view.js +14 -28
  435. package/dist/collection/global/styles.js +8 -4
  436. package/dist/collection/stories/NewPortal.stories.js +106 -178
  437. package/dist/collection/tables/GenericTableView.js +19 -27
  438. package/dist/collection/tables/TableSlots.js +5 -19
  439. package/dist/collection/utils/DefaultTemplateView.js +6 -24
  440. package/dist/collection/utils/RequiredPropsError.js +10 -24
  441. package/dist/collection/utils/TemplateView.js +1 -3
  442. package/dist/collection/utils/demoMerge.js +10 -0
  443. package/dist/esm/AsYouType-cc09fa68.js +4746 -0
  444. package/dist/esm/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
  445. package/dist/esm/{GenericTableView-471a9386.js → GenericTableView-4f7ac63d.js} +17 -15
  446. package/dist/esm/{JSS-67b5cff8.js → JSS-e97b34f4.js} +341 -337
  447. package/dist/esm/{ShadowViewAddon-e1375e0d.js → ShadowViewAddon-0c8005bd.js} +284 -264
  448. package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-e1c3f2cd.js} +2 -2
  449. package/dist/esm/{data-04d2da44.js → data-510cc9b7.js} +1 -1
  450. package/dist/esm/demoMerge-a0320a8e.js +201 -0
  451. package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-f88a3e54.js} +129 -72
  452. package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-7a63a912.js} +10 -9
  453. package/dist/esm/{global-f019575d.js → global-cf0cc6b1.js} +586 -582
  454. package/dist/esm/{index-38ad4957.js → index-7a8b0c0b.js} +766 -341
  455. package/dist/esm/{index.module-cc08450c.js → index-b04013cc.js} +2873 -473
  456. package/dist/esm/{index-ffa26b43.js → index-e6f5153e.js} +47 -29
  457. package/dist/esm/{jsonpointer-388a7082.js → jsonpointer-c5423376.js} +8 -4
  458. package/dist/esm/loader.js +6 -5
  459. package/dist/esm/{luxon-1be92a8e.js → luxon-40b943cb.js} +486 -299
  460. package/dist/esm/mint-components.js +8 -7
  461. package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-2cceba7a.js} +5 -3
  462. package/dist/esm/{parseStates-ed75e224.js → parseStates-0c27f2de.js} +3 -1
  463. package/dist/esm/polyfills/css-shim.js +1 -1
  464. package/dist/esm/raisins-plop-target.entry.js +1 -1
  465. package/dist/esm/{re-render-380499f8.js → re-render-e911a0f7.js} +5 -5
  466. package/dist/esm/sqm-banking-info-form_10.entry.js +381 -1377
  467. package/dist/esm/sqm-big-stat_47.entry.js +762 -2840
  468. package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +2 -2
  469. package/dist/esm/sqm-close-button.entry.js +5 -10
  470. package/dist/esm/sqm-code-verification.entry.js +19 -46
  471. package/dist/esm/sqm-context-router.entry.js +6 -5
  472. package/dist/esm/sqm-email-verification_2.entry.js +43 -154
  473. package/dist/esm/sqm-empty_4.entry.js +21 -58
  474. package/dist/esm/sqm-form-message_2.entry.js +7 -19
  475. package/dist/esm/sqm-google-sign-in.entry.js +4 -3
  476. package/dist/esm/sqm-graphql-client-provider.entry.js +9 -8
  477. package/dist/esm/sqm-header-logo.entry.js +4 -19
  478. package/dist/esm/sqm-instant-access-registration.entry.js +12 -87
  479. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +6 -8
  480. package/dist/esm/{sqm-lead-checkbox-field-view-04aa32a7.js → sqm-lead-checkbox-field-view-d055e7bd.js} +12 -11
  481. package/dist/esm/sqm-lead-checkbox-field.entry.js +12 -28
  482. package/dist/esm/sqm-lead-input-field-view-b0d62f1c.js +50 -0
  483. package/dist/esm/sqm-lead-input-field.entry.js +13 -29
  484. package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
  485. package/dist/esm/sqm-leaderboard-rank.entry.js +22 -19
  486. package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +2 -2
  487. package/dist/esm/sqm-logout-current-user.entry.js +12 -23
  488. package/dist/esm/{sqm-navigation-sidebar-item-view-40837457.js → sqm-navigation-sidebar-item-view-754b2484.js} +4 -4
  489. package/dist/esm/sqm-navigation-sidebar-item.entry.js +21 -16
  490. package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-e2094399.js} +2 -2
  491. package/dist/esm/sqm-navigation-sidebar.entry.js +11 -16
  492. package/dist/esm/sqm-pagination_3.entry.js +35 -97
  493. package/dist/esm/{sqm-partner-info-modal-view-e02fb63a.js → sqm-partner-info-modal-view-3b59be37.js} +4 -4
  494. package/dist/esm/sqm-password-field.entry.js +185 -85
  495. package/dist/esm/sqm-popup-container.entry.js +12 -12
  496. package/dist/esm/{sqm-portal-container-view-200c9df8.js → sqm-portal-container-view-fcd53673.js} +2 -2
  497. package/dist/esm/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +4 -4
  498. package/dist/esm/sqm-portal-email-verification.entry.js +18 -48
  499. package/dist/esm/sqm-portal-forgot-password_6.entry.js +73 -401
  500. package/dist/esm/sqm-portal-logout.entry.js +5 -11
  501. package/dist/esm/{sqm-portal-profile-view-41894261.js → sqm-portal-profile-view-f27adfba.js} +20 -17
  502. package/dist/esm/sqm-portal-profile.entry.js +16 -52
  503. package/dist/esm/sqm-portal-protected-route.entry.js +8 -21
  504. package/dist/esm/{sqm-portal-registration-form-view-79265df5.js → sqm-portal-registration-form-view-113e1969.js} +26 -21
  505. package/dist/esm/{sqm-portal-reset-password-view-c7dd1c01.js → sqm-portal-reset-password-view-f9fb6355.js} +3 -3
  506. package/dist/esm/sqm-portal-reset-password.entry.js +18 -86
  507. package/dist/esm/{sqm-portal-verify-email-view-c102aa7c.js → sqm-portal-verify-email-view-ee40e3f2.js} +48 -45
  508. package/dist/esm/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +3 -3
  509. package/dist/esm/sqm-qr-code.entry.js +18 -44
  510. package/dist/esm/sqm-referral-table_11.entry.js +36 -139
  511. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +5 -4
  512. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -7
  513. package/dist/esm/sqm-rewards-table_9.entry.js +55 -174
  514. package/dist/esm/sqm-route.entry.js +2 -1
  515. package/dist/esm/sqm-scroll.entry.js +12 -8
  516. package/dist/esm/sqm-stencilbook.entry.js +4808 -4180
  517. package/dist/esm/sqm-tab.entry.js +5 -4
  518. package/dist/esm/sqm-tabs.entry.js +9 -8
  519. package/dist/esm/{sqm-text-span-view-72f43dff.js → sqm-text-span-view-ed92b3c6.js} +2 -2
  520. package/dist/esm/sqm-text-span.entry.js +8 -4
  521. package/dist/esm/{sqm-user-info-form-view-8a95c5eb.js → sqm-user-info-form-view-c044a385.js} +173 -163
  522. package/dist/esm/sqm-widget-verification-controller.entry.js +4 -9
  523. package/dist/esm/subregions-d9f177f6.js +1452 -0
  524. package/dist/esm/{useChildElements-aa9eb7c9.js → useChildElements-a69f208f.js} +3 -3
  525. package/dist/esm/{useIndirectTaxForm-8d2e873d.js → useIndirectTaxForm-64a3ca69.js} +32 -28
  526. package/dist/esm/{useInstantAccessRegistration-7b11eb02.js → useInstantAccessRegistration-8c678a5a.js} +6 -6
  527. package/dist/esm/{useLeadFormState-b67018f2.js → useLeadFormState-34e05463.js} +7 -7
  528. package/dist/esm/{usePortalRegistrationForm-91e5786d.js → usePortalRegistrationForm-c6519939.js} +14 -11
  529. package/dist/esm/{useReferralCodes-a0a271ca.js → useReferralCodes-d0a384e4.js} +9 -9
  530. package/dist/esm/{useReferralTable-670580ff.js → useReferralTable-214dff06.js} +11 -11
  531. package/dist/esm/{useRegistrationFormState-95a75c57.js → useRegistrationFormState-72b4786d.js} +3 -3
  532. package/dist/esm/{useVerificationEmail-99d9f705.js → useVerificationEmail-b2c349a3.js} +12 -10
  533. package/dist/esm/{utilities-23a276e0.js → utilities-ceab25cd.js} +2 -2
  534. package/dist/esm-es5/AsYouType-cc09fa68.js +1 -0
  535. package/dist/esm-es5/{ErrorView-c6fc1d9b.js → ErrorView-19af8137.js} +1 -1
  536. package/dist/esm-es5/GenericTableView-4f7ac63d.js +1 -0
  537. package/dist/esm-es5/JSS-e97b34f4.js +8 -0
  538. package/dist/esm-es5/ShadowViewAddon-0c8005bd.js +1 -0
  539. package/dist/esm-es5/copy-text-view-e1c3f2cd.js +1 -0
  540. package/dist/esm-es5/data-510cc9b7.js +1 -0
  541. package/dist/esm-es5/demoMerge-a0320a8e.js +1 -0
  542. package/dist/esm-es5/dom-context-hooks.module-f88a3e54.js +53 -0
  543. package/dist/esm-es5/email-registration-view-7a63a912.js +1 -0
  544. package/dist/esm-es5/global-cf0cc6b1.js +271 -0
  545. package/dist/esm-es5/imageUrl-4775f17b.js +1 -1
  546. package/dist/esm-es5/index-7a8b0c0b.js +2 -0
  547. package/dist/esm-es5/index-b04013cc.js +1 -0
  548. package/dist/esm-es5/index-e6f5153e.js +1 -0
  549. package/dist/esm-es5/jsonpointer-c5423376.js +1 -0
  550. package/dist/esm-es5/loader.js +1 -1
  551. package/dist/esm-es5/luxon-40b943cb.js +1 -0
  552. package/dist/esm-es5/mint-components.js +1 -1
  553. package/dist/esm-es5/mockRewardData-2cceba7a.js +1 -0
  554. package/dist/esm-es5/parseStates-0c27f2de.js +1 -0
  555. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  556. package/dist/esm-es5/re-render-e911a0f7.js +1 -0
  557. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  558. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  559. package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-1deb12b1.js} +1 -1
  560. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  561. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  562. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  563. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
  564. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  565. package/dist/esm-es5/sqm-form-message_2.entry.js +1 -1
  566. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  567. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  568. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  569. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  570. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  571. package/dist/esm-es5/sqm-lead-checkbox-field-view-d055e7bd.js +1 -0
  572. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  573. package/dist/esm-es5/sqm-lead-input-field-view-b0d62f1c.js +1 -0
  574. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  575. package/dist/esm-es5/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-cd52cc80.js} +1 -1
  576. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  577. package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-9bda187a.js} +1 -1
  578. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  579. package/dist/esm-es5/sqm-navigation-sidebar-item-view-754b2484.js +1 -0
  580. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  581. package/dist/esm-es5/sqm-navigation-sidebar-view-e2094399.js +1 -0
  582. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  583. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  584. package/dist/esm-es5/sqm-partner-info-modal-view-3b59be37.js +1 -0
  585. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  586. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  587. package/dist/esm-es5/sqm-portal-container-view-fcd53673.js +1 -0
  588. package/dist/esm-es5/{sqm-portal-email-verification-view-3fa9587c.js → sqm-portal-email-verification-view-88fbf496.js} +1 -1
  589. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  590. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  591. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  592. package/dist/esm-es5/sqm-portal-profile-view-f27adfba.js +1 -0
  593. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  594. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  595. package/dist/esm-es5/sqm-portal-registration-form-view-113e1969.js +1 -0
  596. package/dist/esm-es5/sqm-portal-reset-password-view-f9fb6355.js +1 -0
  597. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  598. package/dist/esm-es5/sqm-portal-verify-email-view-ee40e3f2.js +1 -0
  599. package/dist/esm-es5/{sqm-qr-code-view-dd46daa3.js → sqm-qr-code-view-f8de4606.js} +1 -1
  600. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  601. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  602. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  603. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  604. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  605. package/dist/esm-es5/sqm-route.entry.js +1 -1
  606. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  607. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  608. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  609. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  610. package/dist/esm-es5/sqm-text-span-view-ed92b3c6.js +1 -0
  611. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  612. package/dist/esm-es5/sqm-user-info-form-view-c044a385.js +1 -0
  613. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  614. package/dist/esm-es5/subregions-d9f177f6.js +1 -0
  615. package/dist/esm-es5/useChildElements-a69f208f.js +1 -0
  616. package/dist/esm-es5/useIndirectTaxForm-64a3ca69.js +6 -0
  617. package/dist/esm-es5/useInstantAccessRegistration-8c678a5a.js +1 -0
  618. package/dist/esm-es5/useLeadFormState-34e05463.js +1 -0
  619. package/dist/esm-es5/usePortalRegistrationForm-c6519939.js +1 -0
  620. package/dist/esm-es5/useReferralCodes-d0a384e4.js +1 -0
  621. package/dist/esm-es5/useReferralTable-214dff06.js +1 -0
  622. package/dist/esm-es5/useRegistrationFormState-72b4786d.js +1 -0
  623. package/dist/esm-es5/useVerificationEmail-b2c349a3.js +1 -0
  624. package/dist/esm-es5/utilities-ceab25cd.js +1 -0
  625. package/dist/esm-es5/utils-334c1e34.js +1 -1
  626. package/dist/loader/index.d.ts +9 -1
  627. package/dist/loader/package.json +1 -0
  628. package/dist/mint-components/mint-components.esm.js +1 -1
  629. package/dist/mint-components/mint-components.js +2 -1
  630. package/dist/mint-components/p-029ee766.system.js +1 -0
  631. package/dist/mint-components/p-04eaa3bb.system.js +1 -0
  632. package/dist/mint-components/p-056845fb.js +56 -0
  633. package/dist/mint-components/p-05715d8c.system.entry.js +1 -0
  634. package/dist/mint-components/p-0650e0f1.system.js +1 -0
  635. package/dist/mint-components/p-09a6ab1f.entry.js +1 -0
  636. package/dist/mint-components/p-0a8c9f35.system.entry.js +1 -0
  637. package/dist/mint-components/{p-11c127f5.js → p-0b77b3fe.js} +1 -1
  638. package/dist/mint-components/p-0bc61e27.system.entry.js +1 -0
  639. package/dist/mint-components/p-0bdacc2d.system.js +1 -0
  640. package/dist/mint-components/p-0c81f11f.system.entry.js +1 -0
  641. package/dist/mint-components/p-0c97293e.entry.js +1 -0
  642. package/dist/mint-components/p-0d69fc17.system.entry.js +1 -0
  643. package/dist/mint-components/p-0daa339e.entry.js +1 -0
  644. package/dist/mint-components/p-0f65e4ad.system.js +1 -0
  645. package/dist/mint-components/p-11028f98.system.js +1 -0
  646. package/dist/mint-components/p-119b9680.system.js +1 -0
  647. package/dist/mint-components/{p-ed741b3b.js → p-125c5bec.js} +6 -6
  648. package/dist/mint-components/p-12ae9c97.entry.js +1 -0
  649. package/dist/mint-components/p-139825b2.entry.js +1 -0
  650. package/dist/mint-components/p-14f0af4c.system.entry.js +1 -0
  651. package/dist/mint-components/{p-1a3a57c0.js → p-159a9368.js} +1 -1
  652. package/dist/mint-components/{p-78e98761.js → p-15f170d4.js} +4 -4
  653. package/dist/mint-components/p-162e5426.system.js +1 -0
  654. package/dist/mint-components/p-1933e4cc.system.entry.js +1 -0
  655. package/dist/mint-components/p-1aa5cdff.entry.js +1 -0
  656. package/dist/mint-components/p-1b673705.system.js +1 -0
  657. package/dist/mint-components/p-1e1543c7.entry.js +1 -0
  658. package/dist/mint-components/p-201ae45a.js +1 -0
  659. package/dist/mint-components/p-20b90db3.system.entry.js +1 -0
  660. package/dist/mint-components/p-2380b28e.system.entry.js +1 -0
  661. package/dist/mint-components/p-258152c8.system.entry.js +1 -0
  662. package/dist/mint-components/p-29be0454.system.entry.js +1 -0
  663. package/dist/mint-components/p-2af001d4.system.js +1 -0
  664. package/dist/mint-components/{p-88e16945.js → p-2b052eed.js} +1 -1
  665. package/dist/mint-components/p-2b5c577a.system.js +1 -0
  666. package/dist/mint-components/p-2ff39583.entry.js +33 -0
  667. package/dist/mint-components/p-3104b4ba.entry.js +1 -0
  668. package/dist/mint-components/p-324dd9c9.system.entry.js +1 -0
  669. package/dist/mint-components/p-32b3c92e.system.entry.js +1 -0
  670. package/dist/mint-components/{p-c813ec64.js → p-3595dbe3.js} +1 -1
  671. package/dist/mint-components/p-384d4366.system.entry.js +1 -0
  672. package/dist/mint-components/{p-a417a4c7.js → p-388fdcdc.js} +1 -1
  673. package/dist/mint-components/{p-acaf505d.entry.js → p-39e59497.entry.js} +1 -1
  674. package/dist/mint-components/p-3a8fa8df.system.entry.js +1 -0
  675. package/dist/mint-components/{p-456ccda6.system.js → p-3aab5e80.system.js} +1 -1
  676. package/dist/mint-components/p-3b7eac48.js +1 -0
  677. package/dist/mint-components/p-3f9d4025.js +254 -0
  678. package/dist/mint-components/p-4639a9ed.entry.js +1 -0
  679. package/dist/mint-components/p-483c2ce0.system.entry.js +1 -0
  680. package/dist/mint-components/p-487dac4b.system.js +271 -0
  681. package/dist/mint-components/p-49ca1533.system.entry.js +1 -0
  682. package/dist/mint-components/p-49d4188a.system.js +1 -0
  683. package/dist/mint-components/p-4be3689e.system.entry.js +1 -0
  684. package/dist/mint-components/p-4d690bf1.system.js +1 -0
  685. package/dist/mint-components/p-4ea630ba.system.js +1 -0
  686. package/dist/mint-components/p-5a1be3aa.entry.js +83 -0
  687. package/dist/mint-components/p-5a2c495f.js +1 -0
  688. package/dist/mint-components/p-5b043988.system.entry.js +1 -0
  689. package/dist/mint-components/p-5bacacba.entry.js +13 -0
  690. package/dist/mint-components/p-5e7e4e54.system.entry.js +1 -0
  691. package/dist/mint-components/p-6333265f.system.js +1 -1
  692. package/dist/mint-components/p-643a756b.system.js +53 -0
  693. package/dist/mint-components/p-647ca265.entry.js +1 -0
  694. package/dist/mint-components/p-647ffff2.entry.js +1 -0
  695. package/dist/mint-components/p-64c93b03.system.js +1 -0
  696. package/dist/mint-components/p-6708043c.entry.js +1 -0
  697. package/dist/mint-components/p-6a7c9ae4.system.entry.js +1 -0
  698. package/dist/mint-components/p-6a7cd966.system.js +1 -0
  699. package/dist/mint-components/p-6b9ff091.system.js +1 -0
  700. package/dist/mint-components/p-6be0e0a7.system.entry.js +1 -0
  701. package/dist/mint-components/p-6ccdf33a.js +1 -0
  702. package/dist/mint-components/p-6cdde5e8.system.js +1 -0
  703. package/dist/mint-components/p-6cfca206.js +1 -0
  704. package/dist/mint-components/{p-d276468c.js → p-6e00edce.js} +1 -1
  705. package/dist/mint-components/p-6eb14db9.system.entry.js +1 -0
  706. package/dist/mint-components/p-6f3ba1ad.system.js +1 -0
  707. package/dist/mint-components/p-6f66bb97.system.js +1 -0
  708. package/dist/mint-components/p-7127e360.system.entry.js +1 -0
  709. package/dist/mint-components/{p-d0559e66.js → p-71759064.js} +1 -1
  710. package/dist/mint-components/p-72f11f03.js +1 -0
  711. package/dist/mint-components/p-732ac03d.js +1 -0
  712. package/dist/mint-components/p-74f50554.js +1 -0
  713. package/dist/mint-components/p-7558fe46.js +499 -0
  714. package/dist/mint-components/{p-c43e1d3b.js → p-75b7496e.js} +1 -1
  715. package/dist/mint-components/p-76d36b05.js +1 -0
  716. package/dist/mint-components/p-7a8ed2f3.system.entry.js +1 -0
  717. package/dist/mint-components/{p-3390f1f2.system.js → p-7d992af1.system.js} +2 -2
  718. package/dist/mint-components/p-7f71b56b.system.entry.js +1 -0
  719. package/dist/mint-components/p-81b63e83.system.entry.js +1 -0
  720. package/dist/mint-components/p-83330731.system.js +1 -0
  721. package/dist/mint-components/p-834cd992.js +2 -0
  722. package/dist/mint-components/p-843c9997.system.js +1 -0
  723. package/dist/mint-components/{p-956f9479.system.js → p-8680e52b.system.js} +1 -1
  724. package/dist/mint-components/p-8740794e.system.js +2 -0
  725. package/dist/mint-components/p-885630e6.entry.js +1 -0
  726. package/dist/mint-components/p-8886a874.system.js +1 -0
  727. package/dist/mint-components/p-88b65807.system.js +1 -0
  728. package/dist/mint-components/p-89b410d5.system.entry.js +1 -0
  729. package/dist/mint-components/p-89eef397.entry.js +1 -0
  730. package/dist/mint-components/p-8aae5dba.system.entry.js +1 -0
  731. package/dist/mint-components/p-8ba39302.entry.js +1 -0
  732. package/dist/mint-components/{p-c2254b88.js → p-8d85f34c.js} +1 -1
  733. package/dist/mint-components/p-8f67c580.js +1 -0
  734. package/dist/mint-components/p-8fa1f8e3.entry.js +1 -0
  735. package/dist/mint-components/p-930cc94f.system.js +1 -0
  736. package/dist/mint-components/p-94f3e0a2.js +1 -0
  737. package/dist/mint-components/p-96e332db.entry.js +17 -0
  738. package/dist/mint-components/p-9755e82a.system.entry.js +1 -0
  739. package/dist/mint-components/p-9a7f186b.entry.js +1 -0
  740. package/dist/mint-components/p-9c2e286c.entry.js +11 -0
  741. package/dist/mint-components/{p-e30abc44.js → p-9cabd2d1.js} +1 -1
  742. package/dist/mint-components/p-9d06abb3.entry.js +13 -0
  743. package/dist/mint-components/p-9d1659c4.entry.js +308 -0
  744. package/dist/mint-components/p-9d6ef5ca.entry.js +11 -0
  745. package/dist/mint-components/p-a0e6ccbc.system.js +1 -0
  746. package/dist/mint-components/p-a35191ca.system.js +1 -0
  747. package/dist/mint-components/p-a3d1c665.system.entry.js +1 -0
  748. package/dist/mint-components/p-a43a9fa9.system.js +1 -1
  749. package/dist/mint-components/{p-04da3964.system.js → p-a6c96b8a.system.js} +1 -1
  750. package/dist/mint-components/p-a75748c4.js +13 -0
  751. package/dist/mint-components/{p-f9fcc772.js → p-a7a74002.js} +1 -1
  752. package/dist/mint-components/{p-3484f1c1.js → p-a8e2f45b.js} +1 -1
  753. package/dist/mint-components/p-a976d930.system.entry.js +1 -0
  754. package/dist/mint-components/p-aadbe44d.js +1 -0
  755. package/dist/mint-components/p-aaf15612.entry.js +1 -0
  756. package/dist/mint-components/p-ab1e96ea.system.js +1 -0
  757. package/dist/mint-components/p-abd9e52b.system.entry.js +1 -0
  758. package/dist/mint-components/{p-19aebd7d.js → p-ac32d96a.js} +1 -1
  759. package/dist/mint-components/{p-381af581.js → p-acd3e9e3.js} +1 -1
  760. package/dist/mint-components/{p-9a69f781.system.js → p-ae5f7df6.system.js} +1 -1
  761. package/dist/mint-components/p-af9d3491.js +1 -0
  762. package/dist/mint-components/p-b1f880ee.entry.js +1 -0
  763. package/dist/mint-components/p-b492fd4b.system.entry.js +1 -0
  764. package/dist/mint-components/p-b652d3b3.js +1 -0
  765. package/dist/mint-components/p-b6f5ab75.system.entry.js +1 -0
  766. package/dist/mint-components/p-b907384d.entry.js +1 -0
  767. package/dist/mint-components/p-bbb494a8.system.js +1 -0
  768. package/dist/mint-components/p-bd1a14ba.js +1 -0
  769. package/dist/mint-components/p-bd66c171.js +1 -0
  770. package/dist/mint-components/p-be38ae67.js +1 -0
  771. package/dist/mint-components/p-c30dfd5d.entry.js +92 -0
  772. package/dist/mint-components/p-c380988f.system.js +1 -0
  773. package/dist/mint-components/{p-104f6ced.entry.js → p-c3a07f51.entry.js} +1 -1
  774. package/dist/mint-components/p-c50c206e.system.js +1 -0
  775. package/dist/mint-components/p-c6d2a452.js +1 -0
  776. package/dist/mint-components/p-c7dd2eaa.system.entry.js +1 -0
  777. package/dist/mint-components/p-c8f697e4.system.js +1 -0
  778. package/dist/mint-components/p-c980e369.entry.js +1 -0
  779. package/dist/mint-components/p-cb714df1.system.js +1 -0
  780. package/dist/mint-components/p-cdf099fe.js +108 -0
  781. package/dist/mint-components/p-ce06d498.js +52 -0
  782. package/dist/mint-components/p-d08ebaa9.js +1 -0
  783. package/dist/mint-components/p-d8fac546.entry.js +1 -0
  784. package/dist/mint-components/p-d91a97d2.js +1 -0
  785. package/dist/mint-components/p-da6cb2c3.system.entry.js +1 -0
  786. package/dist/mint-components/p-dd7e8c95.system.js +8 -0
  787. package/dist/mint-components/p-dd82a675.system.entry.js +1 -0
  788. package/dist/mint-components/p-df1206f0.entry.js +1 -0
  789. package/dist/mint-components/p-df45273e.js +1 -0
  790. package/dist/mint-components/p-df531a5d.entry.js +1 -0
  791. package/dist/mint-components/p-e1c55f04.system.entry.js +1 -0
  792. package/dist/mint-components/p-e33839b3.system.js +1 -0
  793. package/dist/mint-components/p-e389aded.entry.js +1 -0
  794. package/dist/mint-components/p-e73e0fc4.system.js +1 -0
  795. package/dist/mint-components/p-e7f7b9c6.entry.js +1 -0
  796. package/dist/mint-components/{p-b47e3740.system.js → p-e9942aae.system.js} +1 -1
  797. package/dist/mint-components/p-eac100d1.system.js +1 -0
  798. package/dist/mint-components/p-eb47b174.entry.js +1 -0
  799. package/dist/mint-components/p-eba82926.js +1 -0
  800. package/dist/mint-components/p-ec00bb5f.js +1 -0
  801. package/dist/mint-components/p-edc8d9bc.system.js +1 -0
  802. package/dist/mint-components/p-f0e1d538.entry.js +147 -0
  803. package/dist/mint-components/{p-ff75998a.system.entry.js → p-f53c7a87.system.entry.js} +1 -1
  804. package/dist/mint-components/p-f686c142.system.js +1 -0
  805. package/dist/mint-components/{p-5b0de730.js → p-fa2edc58.js} +152 -152
  806. package/dist/mint-components/p-fab41ea8.system.entry.js +1 -0
  807. package/dist/mint-components/p-fd14377b.entry.js +1 -0
  808. package/dist/mint-components/p-ff1336b3.entry.js +148 -0
  809. package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -1
  810. package/dist/types/components/sqm-context-router/useContextRouter.d.ts +1 -1
  811. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -1
  812. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -1
  813. package/dist/types/components/sqm-lead-form/useLeadForm.d.ts +2 -2
  814. package/dist/types/components/sqm-lead-form/useLeadFormState.d.ts +3 -3
  815. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +2 -2
  816. package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
  817. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +3 -3
  818. package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
  819. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  820. package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +1 -1
  821. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
  822. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +1 -1
  823. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -1
  824. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
  825. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +3 -3
  826. package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +2 -2
  827. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +1 -1
  828. package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
  829. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +2 -2
  830. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +5 -5
  831. package/dist/types/components/sqm-router/useRouter.d.ts +1 -1
  832. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
  833. package/dist/types/components/sqm-stencilbook/Matrix.d.ts +1 -1
  834. package/dist/types/components/sqm-tab/sqm-tab-view.d.ts +1 -1
  835. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -1
  836. package/dist/types/components/sqm-task-card/progress-bar/progress-bar-view.d.ts +1 -1
  837. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
  838. package/dist/types/components/sqm-widget-verification/getVerificationStep.d.ts +2 -2
  839. package/dist/types/components/tax-and-cash/data.d.ts +13 -13
  840. package/dist/types/components/tax-and-cash/sqm-banking-info-form/mockData.d.ts +1 -1
  841. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -2
  842. package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +1 -1
  843. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -5
  844. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +6 -6
  845. package/dist/types/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.d.ts +1 -1
  846. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -3
  847. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +1 -1
  848. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  849. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.d.ts +1 -1
  850. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  851. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +5 -5
  852. package/dist/types/components/tax-and-cash/subregions.d.ts +1 -1
  853. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  854. package/dist/types/components.d.ts +3771 -3
  855. package/dist/types/global/mixins.d.ts +5 -5
  856. package/dist/types/stencil-public-runtime.d.ts +275 -193
  857. package/dist/types/utils/RequiredPropsError.d.ts +1 -1
  858. package/dist/types/utils/demoMerge.d.ts +8 -0
  859. package/dist/types/utils/utils.d.ts +1 -1
  860. package/docs/docs.docx +0 -0
  861. package/docs/stats.json +120116 -0
  862. package/grapesjs/grapesjs.js +1 -1
  863. package/package.json +34 -45
  864. package/dist/cjs/AsYouType-d15caac8.js +0 -4128
  865. package/dist/cjs/cjs-1066ec21.js +0 -135
  866. package/dist/cjs/eventKeys-7af4df4d.js +0 -5
  867. package/dist/cjs/sqm-lead-input-field-view-cd3f8076.js +0 -51
  868. package/dist/cjs/subregions-36662566.js +0 -1101
  869. package/dist/esm/AsYouType-2d56519e.js +0 -4108
  870. package/dist/esm/cjs-bdfb4486.js +0 -133
  871. package/dist/esm/eventKeys-f76b6a03.js +0 -3
  872. package/dist/esm/sqm-lead-input-field-view-919dc0a9.js +0 -49
  873. package/dist/esm/subregions-16dc47a9.js +0 -1086
  874. package/dist/esm-es5/AsYouType-2d56519e.js +0 -1
  875. package/dist/esm-es5/GenericTableView-471a9386.js +0 -1
  876. package/dist/esm-es5/JSS-67b5cff8.js +0 -8
  877. package/dist/esm-es5/ShadowViewAddon-e1375e0d.js +0 -1
  878. package/dist/esm-es5/cjs-bdfb4486.js +0 -1
  879. package/dist/esm-es5/copy-text-view-87259b11.js +0 -1
  880. package/dist/esm-es5/data-04d2da44.js +0 -1
  881. package/dist/esm-es5/dom-context-hooks.module-50442785.js +0 -53
  882. package/dist/esm-es5/email-registration-view-4cdb4129.js +0 -1
  883. package/dist/esm-es5/eventKeys-f76b6a03.js +0 -1
  884. package/dist/esm-es5/global-f019575d.js +0 -271
  885. package/dist/esm-es5/index-38ad4957.js +0 -1
  886. package/dist/esm-es5/index-ffa26b43.js +0 -1
  887. package/dist/esm-es5/index.module-cc08450c.js +0 -1
  888. package/dist/esm-es5/jsonpointer-388a7082.js +0 -1
  889. package/dist/esm-es5/luxon-1be92a8e.js +0 -1
  890. package/dist/esm-es5/mockRewardData-9b27d6f1.js +0 -1
  891. package/dist/esm-es5/parseStates-ed75e224.js +0 -1
  892. package/dist/esm-es5/re-render-380499f8.js +0 -1
  893. package/dist/esm-es5/sqm-lead-checkbox-field-view-04aa32a7.js +0 -1
  894. package/dist/esm-es5/sqm-lead-input-field-view-919dc0a9.js +0 -1
  895. package/dist/esm-es5/sqm-navigation-sidebar-item-view-40837457.js +0 -1
  896. package/dist/esm-es5/sqm-navigation-sidebar-view-2b66457a.js +0 -1
  897. package/dist/esm-es5/sqm-partner-info-modal-view-e02fb63a.js +0 -1
  898. package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +0 -1
  899. package/dist/esm-es5/sqm-portal-profile-view-41894261.js +0 -1
  900. package/dist/esm-es5/sqm-portal-registration-form-view-79265df5.js +0 -1
  901. package/dist/esm-es5/sqm-portal-reset-password-view-c7dd1c01.js +0 -1
  902. package/dist/esm-es5/sqm-portal-verify-email-view-c102aa7c.js +0 -1
  903. package/dist/esm-es5/sqm-text-span-view-72f43dff.js +0 -1
  904. package/dist/esm-es5/sqm-user-info-form-view-8a95c5eb.js +0 -1
  905. package/dist/esm-es5/subregions-16dc47a9.js +0 -1
  906. package/dist/esm-es5/useChildElements-aa9eb7c9.js +0 -1
  907. package/dist/esm-es5/useIndirectTaxForm-8d2e873d.js +0 -6
  908. package/dist/esm-es5/useInstantAccessRegistration-7b11eb02.js +0 -1
  909. package/dist/esm-es5/useLeadFormState-b67018f2.js +0 -1
  910. package/dist/esm-es5/usePortalRegistrationForm-91e5786d.js +0 -1
  911. package/dist/esm-es5/useReferralCodes-a0a271ca.js +0 -1
  912. package/dist/esm-es5/useReferralTable-670580ff.js +0 -1
  913. package/dist/esm-es5/useRegistrationFormState-95a75c57.js +0 -1
  914. package/dist/esm-es5/useVerificationEmail-99d9f705.js +0 -1
  915. package/dist/esm-es5/utilities-23a276e0.js +0 -1
  916. package/dist/mint-components/p-0306ce68.js +0 -1
  917. package/dist/mint-components/p-03361685.system.entry.js +0 -1
  918. package/dist/mint-components/p-036b876f.system.js +0 -1
  919. package/dist/mint-components/p-083180bf.js +0 -1
  920. package/dist/mint-components/p-08f36275.entry.js +0 -92
  921. package/dist/mint-components/p-08f82f9e.system.entry.js +0 -1
  922. package/dist/mint-components/p-092305db.entry.js +0 -1
  923. package/dist/mint-components/p-0ac8d8f4.system.js +0 -1
  924. package/dist/mint-components/p-0b1e90fe.system.js +0 -1
  925. package/dist/mint-components/p-0dca7884.entry.js +0 -148
  926. package/dist/mint-components/p-0ec9eb9b.entry.js +0 -1
  927. package/dist/mint-components/p-115dfc03.system.js +0 -1
  928. package/dist/mint-components/p-128610fb.system.js +0 -1
  929. package/dist/mint-components/p-13d1b10d.entry.js +0 -1
  930. package/dist/mint-components/p-13f3a647.js +0 -1
  931. package/dist/mint-components/p-16bd4751.system.entry.js +0 -1
  932. package/dist/mint-components/p-1a673057.system.js +0 -8
  933. package/dist/mint-components/p-1cf59d96.system.js +0 -1
  934. package/dist/mint-components/p-1ee1dd9c.system.entry.js +0 -1
  935. package/dist/mint-components/p-1f292473.entry.js +0 -1
  936. package/dist/mint-components/p-220cd813.system.entry.js +0 -1
  937. package/dist/mint-components/p-2392aabe.entry.js +0 -1
  938. package/dist/mint-components/p-263ca1be.system.js +0 -1
  939. package/dist/mint-components/p-274816ae.entry.js +0 -1
  940. package/dist/mint-components/p-2786819c.js +0 -1
  941. package/dist/mint-components/p-28ed2ae9.js +0 -1
  942. package/dist/mint-components/p-28fa5159.entry.js +0 -1
  943. package/dist/mint-components/p-290314a6.js +0 -52
  944. package/dist/mint-components/p-2cc01e0a.system.js +0 -1
  945. package/dist/mint-components/p-319bf866.system.entry.js +0 -1
  946. package/dist/mint-components/p-31b7d861.entry.js +0 -1
  947. package/dist/mint-components/p-31c5f477.entry.js +0 -1
  948. package/dist/mint-components/p-31cfa118.system.entry.js +0 -1
  949. package/dist/mint-components/p-3268c98c.system.entry.js +0 -1
  950. package/dist/mint-components/p-34917ee4.system.js +0 -1
  951. package/dist/mint-components/p-34bea1be.system.js +0 -1
  952. package/dist/mint-components/p-3db7a3c0.system.entry.js +0 -1
  953. package/dist/mint-components/p-429fa431.js +0 -1
  954. package/dist/mint-components/p-44ce74b6.js +0 -1
  955. package/dist/mint-components/p-45be99ae.system.js +0 -1
  956. package/dist/mint-components/p-47dc2362.system.entry.js +0 -1
  957. package/dist/mint-components/p-48b25874.system.js +0 -1
  958. package/dist/mint-components/p-4bd679a7.system.js +0 -1
  959. package/dist/mint-components/p-4ca6cc3c.system.entry.js +0 -1
  960. package/dist/mint-components/p-51d06654.system.js +0 -1
  961. package/dist/mint-components/p-5218d9dd.system.entry.js +0 -1
  962. package/dist/mint-components/p-5264ea68.js +0 -1
  963. package/dist/mint-components/p-5300edb5.js +0 -1
  964. package/dist/mint-components/p-556338c3.system.js +0 -1
  965. package/dist/mint-components/p-573ea3fd.system.entry.js +0 -1
  966. package/dist/mint-components/p-57c693ef.system.entry.js +0 -1
  967. package/dist/mint-components/p-59d5f239.system.entry.js +0 -1
  968. package/dist/mint-components/p-5c3cdefe.entry.js +0 -1
  969. package/dist/mint-components/p-5cda271c.system.entry.js +0 -1
  970. package/dist/mint-components/p-5d99dbc9.js +0 -1
  971. package/dist/mint-components/p-6196e0f6.entry.js +0 -308
  972. package/dist/mint-components/p-641f968d.system.js +0 -1
  973. package/dist/mint-components/p-686dd5eb.system.js +0 -1
  974. package/dist/mint-components/p-6b5528b1.entry.js +0 -33
  975. package/dist/mint-components/p-6c3a1d86.js +0 -1
  976. package/dist/mint-components/p-6c8758ac.entry.js +0 -1
  977. package/dist/mint-components/p-6dffb326.entry.js +0 -13
  978. package/dist/mint-components/p-6e9738a4.js +0 -1
  979. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  980. package/dist/mint-components/p-7010498f.js +0 -1
  981. package/dist/mint-components/p-7062154c.system.js +0 -1
  982. package/dist/mint-components/p-717fa601.js +0 -1
  983. package/dist/mint-components/p-732907b1.system.entry.js +0 -1
  984. package/dist/mint-components/p-7562cd98.system.js +0 -1
  985. package/dist/mint-components/p-7ae8fb53.system.js +0 -1
  986. package/dist/mint-components/p-808f7f22.entry.js +0 -1
  987. package/dist/mint-components/p-80cee817.system.js +0 -1
  988. package/dist/mint-components/p-8452837a.system.js +0 -1
  989. package/dist/mint-components/p-85996c52.system.entry.js +0 -1
  990. package/dist/mint-components/p-8629d0be.system.entry.js +0 -1
  991. package/dist/mint-components/p-86c430f8.system.entry.js +0 -1
  992. package/dist/mint-components/p-8707c7fb.entry.js +0 -1
  993. package/dist/mint-components/p-8899ff38.system.entry.js +0 -1
  994. package/dist/mint-components/p-88a5350b.entry.js +0 -11
  995. package/dist/mint-components/p-8d363802.js +0 -1
  996. package/dist/mint-components/p-952eefec.system.js +0 -1
  997. package/dist/mint-components/p-95f82a6f.entry.js +0 -9
  998. package/dist/mint-components/p-9715be5b.entry.js +0 -1
  999. package/dist/mint-components/p-97b8073f.system.js +0 -1
  1000. package/dist/mint-components/p-99f7e6f1.js +0 -1
  1001. package/dist/mint-components/p-9f517f81.entry.js +0 -1
  1002. package/dist/mint-components/p-9f7d1197.system.entry.js +0 -1
  1003. package/dist/mint-components/p-a04be06d.system.entry.js +0 -1
  1004. package/dist/mint-components/p-a08157c4.js +0 -1
  1005. package/dist/mint-components/p-a495e3a5.entry.js +0 -1
  1006. package/dist/mint-components/p-a52a961e.entry.js +0 -1
  1007. package/dist/mint-components/p-a6920cc9.system.entry.js +0 -1
  1008. package/dist/mint-components/p-a7fc1e02.js +0 -42
  1009. package/dist/mint-components/p-ab8a551f.system.entry.js +0 -1
  1010. package/dist/mint-components/p-ac65d2c1.entry.js +0 -1
  1011. package/dist/mint-components/p-ad9ea625.system.entry.js +0 -1
  1012. package/dist/mint-components/p-b0aa9348.entry.js +0 -1
  1013. package/dist/mint-components/p-b2295bc5.system.js +0 -1
  1014. package/dist/mint-components/p-b56f3e55.js +0 -1
  1015. package/dist/mint-components/p-b61be711.entry.js +0 -1
  1016. package/dist/mint-components/p-b6504987.system.js +0 -53
  1017. package/dist/mint-components/p-b69dbed8.system.js +0 -1
  1018. package/dist/mint-components/p-b6b5fa4f.system.entry.js +0 -1
  1019. package/dist/mint-components/p-bc625793.system.js +0 -1
  1020. package/dist/mint-components/p-bee4af5d.js +0 -1
  1021. package/dist/mint-components/p-c03131dd.js +0 -1
  1022. package/dist/mint-components/p-c09ae087.system.js +0 -1
  1023. package/dist/mint-components/p-c1086930.js +0 -1
  1024. package/dist/mint-components/p-c50e77ad.entry.js +0 -1
  1025. package/dist/mint-components/p-c5698ef9.system.js +0 -1
  1026. package/dist/mint-components/p-ca872769.system.entry.js +0 -1
  1027. package/dist/mint-components/p-ca90ea64.js +0 -499
  1028. package/dist/mint-components/p-cdf5354f.entry.js +0 -1
  1029. package/dist/mint-components/p-cef45012.js +0 -1
  1030. package/dist/mint-components/p-d0318b41.entry.js +0 -13
  1031. package/dist/mint-components/p-d0ce74bd.system.js +0 -1
  1032. package/dist/mint-components/p-d267f4bb.system.js +0 -1
  1033. package/dist/mint-components/p-d26df2da.entry.js +0 -1
  1034. package/dist/mint-components/p-d3b1ab20.system.entry.js +0 -1
  1035. package/dist/mint-components/p-d463fa82.system.js +0 -1
  1036. package/dist/mint-components/p-d46a048d.system.entry.js +0 -1
  1037. package/dist/mint-components/p-d533ff7b.system.js +0 -271
  1038. package/dist/mint-components/p-d6a7f402.entry.js +0 -1
  1039. package/dist/mint-components/p-d6fd8f37.system.entry.js +0 -1
  1040. package/dist/mint-components/p-d9dbbf22.system.entry.js +0 -1
  1041. package/dist/mint-components/p-db30fbd1.js +0 -13
  1042. package/dist/mint-components/p-de8d7e90.entry.js +0 -17
  1043. package/dist/mint-components/p-df28013f.system.entry.js +0 -1
  1044. package/dist/mint-components/p-dffad4a8.entry.js +0 -1
  1045. package/dist/mint-components/p-e006b6ad.entry.js +0 -1
  1046. package/dist/mint-components/p-e0578030.system.js +0 -1
  1047. package/dist/mint-components/p-e31c7242.system.entry.js +0 -1
  1048. package/dist/mint-components/p-e4eac70d.js +0 -108
  1049. package/dist/mint-components/p-e506bf7f.entry.js +0 -1
  1050. package/dist/mint-components/p-e66187b6.system.entry.js +0 -1
  1051. package/dist/mint-components/p-e7cf6632.js +0 -1
  1052. package/dist/mint-components/p-e7d6e1e0.entry.js +0 -11
  1053. package/dist/mint-components/p-e7e129ac.js +0 -1
  1054. package/dist/mint-components/p-eb992f94.js +0 -1
  1055. package/dist/mint-components/p-ec3e44c8.system.js +0 -1
  1056. package/dist/mint-components/p-ec58040a.system.js +0 -1
  1057. package/dist/mint-components/p-eedda43c.system.js +0 -1
  1058. package/dist/mint-components/p-f0b63c48.entry.js +0 -83
  1059. package/dist/mint-components/p-f1584abb.system.entry.js +0 -1
  1060. package/dist/mint-components/p-f381533a.js +0 -1
  1061. package/dist/mint-components/p-f45e076d.system.js +0 -1
  1062. package/dist/mint-components/p-f507b364.system.entry.js +0 -1
  1063. package/dist/mint-components/p-f69a4eb1.system.entry.js +0 -1
  1064. package/dist/mint-components/p-f89c6a57.system.js +0 -1
  1065. package/dist/mint-components/p-f982278b.entry.js +0 -1
  1066. package/dist/mint-components/p-fbdd8c2a.system.entry.js +0 -1
  1067. package/dist/mint-components/p-fdc4f293.system.entry.js +0 -1
  1068. package/dist/mint-components/p-ff1a5481.system.js +0 -1
@@ -1,276 +1,276 @@
1
- import { h, r as registerInstance, c as Host, g as getElement } from './index-38ad4957.js';
2
- import { i as intl } from './global-f019575d.js';
3
- import { m as useRef, k as useState, f as useEffect, n as h$1, b as browser, j as useReducer, u as useMemo } from './dom-context-hooks.module-50442785.js';
4
- import { d as dist, _, L, J, q as Pn, F as Fn, r as $n, $ as $e, i as isDemo, p as En, b as useCallback, R as Rn, w as wn } from './index.module-cc08450c.js';
5
- import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
- import { c as cjs } from './cjs-bdfb4486.js';
1
+ import { h, r as registerInstance, c as Host, g as getElement } from './index-7a8b0c0b.js';
2
+ import { d as dist, x as useHost, v as useLocale, b as useUserIdentity, P as useParent, u as useParentValue, Q as useParentQueryValue, f as useMutation, i as isDemo, O as useSetParent, q as useCallback, j as usePaginatedQuery, e as useQuery } from './index-b04013cc.js';
3
+ import { m as useRef, k as useState, j as useEffect, n as h$1, b as browser, i as useReducer, u as useMemo } from './dom-context-hooks.module-f88a3e54.js';
4
+ import { d as demoMerge } from './demoMerge-a0320a8e.js';
5
+ import { i as intl } from './global-cf0cc6b1.js';
6
+ import { c as createStyleSheet } from './JSS-e97b34f4.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import './mixins-f750863a.js';
10
- import './AsYouType-2d56519e.js';
11
- import { t as taxTypeToName, d as validTaxDocument, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES, c as formatPayoutThreshold, b as isBalanceUnderPayoutThreshold, o as objectIsFull, e as toDomesticNumber, A as ADDRESS_REGIONS } from './subregions-16dc47a9.js';
12
- import { G as GenericTableView } from './GenericTableView-471a9386.js';
13
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-380499f8.js';
14
- import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-670580ff.js';
15
- import { u as useChildElements } from './useChildElements-aa9eb7c9.js';
16
- import { l as luxon } from './luxon-1be92a8e.js';
17
- import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-8a95c5eb.js';
18
- import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE } from './data-04d2da44.js';
8
+ import { F as FORM_STEPS, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, c as USER_QUERY_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE } from './data-510cc9b7.js';
9
+ import { j as jsonpointer } from './jsonpointer-c5423376.js';
19
10
  import { c as VERIFICATION_EVENT_KEY } from './keys-1054056a.js';
20
- import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
21
- import { a as useIndirectTaxForm, b as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, c as CONNECT_PARTNER, C as COMPLETE_PARTNER } from './useIndirectTaxForm-8d2e873d.js';
11
+ import { T as TAX_FORM_UPDATED_EVENT_KEY, p as parseStates } from './parseStates-0c27f2de.js';
12
+ import { t as taxTypeToName, d as validTaxDocument, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES, c as formatPayoutThreshold, b as isBalanceUnderPayoutThreshold, o as objectIsFull, e as toDomesticNumber, A as ADDRESS_REGIONS } from './subregions-d9f177f6.js';
13
+ import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-c044a385.js';
14
+ import { a as useIndirectTaxForm, b as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, c as CONNECT_PARTNER, C as COMPLETE_PARTNER } from './useIndirectTaxForm-64a3ca69.js';
15
+ import { G as GenericTableView } from './GenericTableView-4f7ac63d.js';
16
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-e911a0f7.js';
17
+ import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-214dff06.js';
18
+ import { u as useChildElements } from './useChildElements-a69f208f.js';
19
+ import { l as luxon } from './luxon-40b943cb.js';
20
+ import './AsYouType-cc09fa68.js';
21
+ import './mixins-f750863a.js';
22
22
 
23
23
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
24
24
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76;
25
25
  const { errors, ...formState } = props.states.formState;
26
26
  return {
27
27
  0: {
28
- input: (h("sl-input", Object.assign({ required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text", "help-text": props.text.beneficiaryAccountNameDescription }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
29
- class: "error-input",
30
- helpText: getValidationErrorMessage({
31
- type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
32
- label: props.text.beneficiaryAccountNameLabel,
33
- errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.beneficiaryAccountName) === null || _e === void 0 ? void 0 : _e.errorCode,
34
- fieldName: "beneficiaryAccountName",
35
- }),
36
- })))),
28
+ input: (h("sl-input", { required: true, label: props.text.beneficiaryAccountNameLabel, name: "/beneficiaryAccountName", id: "beneficiaryAccountName", key: "beneficiaryAccountName", type: "text", "help-text": props.text.beneficiaryAccountNameDescription, ...(((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.beneficiaryAccountName) && {
29
+ class: "error-input",
30
+ helpText: getValidationErrorMessage({
31
+ type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.beneficiaryAccountName) === null || _c === void 0 ? void 0 : _c.type,
32
+ label: props.text.beneficiaryAccountNameLabel,
33
+ errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.beneficiaryAccountName) === null || _e === void 0 ? void 0 : _e.errorCode,
34
+ fieldName: "beneficiaryAccountName",
35
+ }),
36
+ }) })),
37
37
  },
38
38
  1: {
39
- input: (h("sl-select", Object.assign({ required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType" }, (((_f = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _f === void 0 ? void 0 : _f.bankAccountType) && {
40
- class: "error-input",
41
- helpText: getValidationErrorMessage({
42
- type: (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountType) === null || _h === void 0 ? void 0 : _h.type,
43
- label: props.text.bankAccountTypeLabel,
44
- errorCode: (_k = (_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.bankAccountType) === null || _k === void 0 ? void 0 : _k.errorCode,
45
- fieldName: "bankAccountType",
46
- }),
47
- })),
39
+ input: (h("sl-select", { required: true, label: props.text.bankAccountTypeLabel, name: "/bankAccountType", id: "bankAccountType", key: "bankAccountType", ...(((_f = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _f === void 0 ? void 0 : _f.bankAccountType) && {
40
+ class: "error-input",
41
+ helpText: getValidationErrorMessage({
42
+ type: (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _g === void 0 ? void 0 : _g.bankAccountType) === null || _h === void 0 ? void 0 : _h.type,
43
+ label: props.text.bankAccountTypeLabel,
44
+ errorCode: (_k = (_j = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _j === void 0 ? void 0 : _j.bankAccountType) === null || _k === void 0 ? void 0 : _k.errorCode,
45
+ fieldName: "bankAccountType",
46
+ }),
47
+ }) },
48
48
  h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
49
49
  h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
50
50
  },
51
51
  2: {
52
- input: (h("sl-input", Object.assign({ required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text" }, (((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) && {
53
- class: "error-input",
54
- helpText: getValidationErrorMessage({
55
- type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.bankAccountNumber) === null || _o === void 0 ? void 0 : _o.type,
56
- label: props.text.bankAccountNumberLabel,
57
- errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.bankAccountNumber) === null || _q === void 0 ? void 0 : _q.errorCode,
58
- fieldName: "bankAccountNumber",
59
- }),
60
- })))),
52
+ input: (h("sl-input", { required: true, label: props.text.bankAccountNumberLabel, name: "/bankAccountNumber", id: "bankAccountNumber", key: "bankAccountNumber", value: formState.bankAccountNumber, type: "text", ...(((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.bankAccountNumber) && {
53
+ class: "error-input",
54
+ helpText: getValidationErrorMessage({
55
+ type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.bankAccountNumber) === null || _o === void 0 ? void 0 : _o.type,
56
+ label: props.text.bankAccountNumberLabel,
57
+ errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.bankAccountNumber) === null || _q === void 0 ? void 0 : _q.errorCode,
58
+ fieldName: "bankAccountNumber",
59
+ }),
60
+ }) })),
61
61
  },
62
62
  3: {
63
- input: (h("sl-input", Object.assign({ required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber }, (((_r = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _r === void 0 ? void 0 : _r.bankAccountNumber) && {
64
- class: "error-input",
65
- helpText: getValidationErrorMessage({
66
- type: (_t = (_s = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _s === void 0 ? void 0 : _s.bankAccountNumber) === null || _t === void 0 ? void 0 : _t.type,
67
- label: props.text.ibanLabel,
68
- errorCode: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankAccountNumber) === null || _v === void 0 ? void 0 : _v.errorCode,
69
- fieldName: "bankAccountNumber",
70
- }),
71
- })))),
63
+ input: (h("sl-input", { required: true, label: props.text.ibanLabel, name: "/bankAccountNumber", id: "iban", key: "iban", type: "text", value: formState.bankAccountNumber, ...(((_r = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _r === void 0 ? void 0 : _r.bankAccountNumber) && {
64
+ class: "error-input",
65
+ helpText: getValidationErrorMessage({
66
+ type: (_t = (_s = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _s === void 0 ? void 0 : _s.bankAccountNumber) === null || _t === void 0 ? void 0 : _t.type,
67
+ label: props.text.ibanLabel,
68
+ errorCode: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.bankAccountNumber) === null || _v === void 0 ? void 0 : _v.errorCode,
69
+ fieldName: "bankAccountNumber",
70
+ }),
71
+ }) })),
72
72
  },
73
73
  4: {
74
- input: (h("sl-input", Object.assign({ required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text" }, (((_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.swiftCode) && {
75
- class: "error-input",
76
- helpText: getValidationErrorMessage({
77
- type: (_y = (_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.swiftCode) === null || _y === void 0 ? void 0 : _y.type,
78
- label: props.text.swiftCodeLabel,
79
- errorCode: (_0 = (_z = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _z === void 0 ? void 0 : _z.swiftCode) === null || _0 === void 0 ? void 0 : _0.errorCode,
80
- fieldName: "swiftCode",
81
- }),
82
- })))),
74
+ input: (h("sl-input", { required: true, label: props.text.swiftCodeLabel, name: "/swiftCode", id: "swiftCode", key: "swiftCode", type: "text", ...(((_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.swiftCode) && {
75
+ class: "error-input",
76
+ helpText: getValidationErrorMessage({
77
+ type: (_y = (_x = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _x === void 0 ? void 0 : _x.swiftCode) === null || _y === void 0 ? void 0 : _y.type,
78
+ label: props.text.swiftCodeLabel,
79
+ errorCode: (_0 = (_z = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _z === void 0 ? void 0 : _z.swiftCode) === null || _0 === void 0 ? void 0 : _0.errorCode,
80
+ fieldName: "swiftCode",
81
+ }),
82
+ }) })),
83
83
  },
84
84
  5: {
85
- input: (h("sl-input", Object.assign({ required: true, label: intl.formatMessage({
85
+ input: (h("sl-input", { required: true, label: intl.formatMessage({
86
86
  id: "routingCodeText",
87
87
  defaultMessage: props.text.routingCodeLabel,
88
88
  }, {
89
89
  bankCountry,
90
- }), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text" }, (((_1 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _1 === void 0 ? void 0 : _1.routingCode) && {
91
- class: "error-input",
92
- helpText: getValidationErrorMessage({
93
- type: (_3 = (_2 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _2 === void 0 ? void 0 : _2.routingCode) === null || _3 === void 0 ? void 0 : _3.type,
94
- label: intl.formatMessage({
95
- id: "routingCodeErrorText",
96
- defaultMessage: props.text.routingCodeLabel,
97
- }, {
98
- bankCountry,
90
+ }), name: "/routingCode", id: "routingCode", key: "routingCode", type: "text", ...(((_1 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _1 === void 0 ? void 0 : _1.routingCode) && {
91
+ class: "error-input",
92
+ helpText: getValidationErrorMessage({
93
+ type: (_3 = (_2 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _2 === void 0 ? void 0 : _2.routingCode) === null || _3 === void 0 ? void 0 : _3.type,
94
+ label: intl.formatMessage({
95
+ id: "routingCodeErrorText",
96
+ defaultMessage: props.text.routingCodeLabel,
97
+ }, {
98
+ bankCountry,
99
+ }),
100
+ errorCode: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.routingCode) === null || _5 === void 0 ? void 0 : _5.errorCode,
101
+ fieldName: "routingCode",
99
102
  }),
100
- errorCode: (_5 = (_4 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _4 === void 0 ? void 0 : _4.routingCode) === null || _5 === void 0 ? void 0 : _5.errorCode,
101
- fieldName: "routingCode",
102
- }),
103
- })))),
103
+ }) })),
104
104
  },
105
105
  6: {
106
- input: (h("sl-input", Object.assign({ required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text" }, (((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.bankName) && {
107
- class: "error-input",
108
- helpText: getValidationErrorMessage({
109
- type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.bankName) === null || _8 === void 0 ? void 0 : _8.type,
110
- label: props.text.bankNameLabel,
111
- errorCode: (_10 = (_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.bankName) === null || _10 === void 0 ? void 0 : _10.errorCode,
112
- fieldName: "bankName",
113
- }),
114
- })))),
115
- },
116
- 7: {
117
- input: [
118
- h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_11 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _11 === void 0 ? void 0 : _11.beneficiaryClassification) && {
106
+ input: (h("sl-input", { required: true, label: props.text.bankNameLabel, name: "/bankName", id: "bankName", key: "bankName", type: "text", ...(((_6 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _6 === void 0 ? void 0 : _6.bankName) && {
119
107
  class: "error-input",
120
108
  helpText: getValidationErrorMessage({
121
- type: (_13 = (_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.beneficiaryClassification) === null || _13 === void 0 ? void 0 : _13.type,
122
- label: props.text.classificationLabel,
123
- errorCode: (_15 = (_14 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _14 === void 0 ? void 0 : _14.beneficiaryClassification) === null || _15 === void 0 ? void 0 : _15.errorCode,
124
- fieldName: "beneficiaryClassification",
109
+ type: (_8 = (_7 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _7 === void 0 ? void 0 : _7.bankName) === null || _8 === void 0 ? void 0 : _8.type,
110
+ label: props.text.bankNameLabel,
111
+ errorCode: (_10 = (_9 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _9 === void 0 ? void 0 : _9.bankName) === null || _10 === void 0 ? void 0 : _10.errorCode,
112
+ fieldName: "bankName",
125
113
  }),
126
- })),
114
+ }) })),
115
+ },
116
+ 7: {
117
+ input: [
118
+ h("sl-select", { required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification", ...(((_11 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _11 === void 0 ? void 0 : _11.beneficiaryClassification) && {
119
+ class: "error-input",
120
+ helpText: getValidationErrorMessage({
121
+ type: (_13 = (_12 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _12 === void 0 ? void 0 : _12.beneficiaryClassification) === null || _13 === void 0 ? void 0 : _13.type,
122
+ label: props.text.classificationLabel,
123
+ errorCode: (_15 = (_14 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _14 === void 0 ? void 0 : _14.beneficiaryClassification) === null || _15 === void 0 ? void 0 : _15.errorCode,
124
+ fieldName: "beneficiaryClassification",
125
+ }),
126
+ }) },
127
127
  h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
128
128
  h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
129
129
  h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
130
- h("sl-input", Object.assign({ required: true, label: intl.formatMessage({
130
+ h("sl-input", { required: true, label: intl.formatMessage({
131
131
  id: "fxWireText",
132
132
  defaultMessage: props.text.taxPayerIdLabel,
133
133
  }, {
134
134
  bankCountry,
135
- }), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId" }, (((_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.beneficiaryTaxPayerId) && {
136
- class: "error-input",
137
- helpText: getValidationErrorMessage({
138
- type: (_18 = (_17 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _17 === void 0 ? void 0 : _17.beneficiaryTaxPayerId) === null || _18 === void 0 ? void 0 : _18.type,
139
- label: props.text.taxPayerIdLabel,
140
- errorCode: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.taxPayerId) === null || _20 === void 0 ? void 0 : _20.errorCode,
141
- fieldName: "taxPayerId",
142
- }),
143
- }))),
135
+ }), type: "text", name: "/beneficiaryTaxPayerId", id: "beneficiaryTaxPayerId", key: "beneficiaryTaxPayerId", ...(((_16 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _16 === void 0 ? void 0 : _16.beneficiaryTaxPayerId) && {
136
+ class: "error-input",
137
+ helpText: getValidationErrorMessage({
138
+ type: (_18 = (_17 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _17 === void 0 ? void 0 : _17.beneficiaryTaxPayerId) === null || _18 === void 0 ? void 0 : _18.type,
139
+ label: props.text.taxPayerIdLabel,
140
+ errorCode: (_20 = (_19 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _19 === void 0 ? void 0 : _19.taxPayerId) === null || _20 === void 0 ? void 0 : _20.errorCode,
141
+ fieldName: "taxPayerId",
142
+ }),
143
+ }) }),
144
144
  ],
145
145
  },
146
146
  8: {
147
- input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.beneficiaryClassification) && {
148
- class: "error-input",
149
- helpText: getValidationErrorMessage({
150
- type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.beneficiaryClassification) === null || _23 === void 0 ? void 0 : _23.type,
151
- label: props.text.classificationCPFLabel,
152
- errorCode: (_25 = (_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.beneficiaryClassification) === null || _25 === void 0 ? void 0 : _25.errorCode,
153
- fieldName: "beneficiaryClassification",
154
- }),
155
- })),
147
+ input: (h("sl-select", { required: true, label: props.text.classificationCPFLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification", ...(((_21 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _21 === void 0 ? void 0 : _21.beneficiaryClassification) && {
148
+ class: "error-input",
149
+ helpText: getValidationErrorMessage({
150
+ type: (_23 = (_22 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _22 === void 0 ? void 0 : _22.beneficiaryClassification) === null || _23 === void 0 ? void 0 : _23.type,
151
+ label: props.text.classificationCPFLabel,
152
+ errorCode: (_25 = (_24 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _24 === void 0 ? void 0 : _24.beneficiaryClassification) === null || _25 === void 0 ? void 0 : _25.errorCode,
153
+ fieldName: "beneficiaryClassification",
154
+ }),
155
+ }) },
156
156
  h("sl-menu-item", { value: "CPF" }, "CPF"),
157
157
  h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
158
158
  },
159
159
  9: {
160
- input: (h("sl-input", Object.assign({ key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text" }, (((_26 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _26 === void 0 ? void 0 : _26.patronymicName) && {
161
- class: "error-input",
162
- helpText: getValidationErrorMessage({
163
- type: (_28 = (_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.patronymicName) === null || _28 === void 0 ? void 0 : _28.type,
164
- label: props.text.patronymicNameLabel,
165
- errorCode: (_30 = (_29 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _29 === void 0 ? void 0 : _29.patronymicName) === null || _30 === void 0 ? void 0 : _30.errorCode,
166
- fieldName: "patronymicName",
167
- }),
168
- })))),
169
- },
170
- 10: {
171
- input: (h("sl-input", Object.assign({ key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text" }, (((_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.voCode) && {
172
- class: "error-input",
173
- helpText: getValidationErrorMessage({
174
- type: (_33 = (_32 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _32 === void 0 ? void 0 : _32.voCode) === null || _33 === void 0 ? void 0 : _33.type,
175
- label: props.text.voCodeLabel,
176
- errorCode: (_35 = (_34 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _34 === void 0 ? void 0 : _34.voCode) === null || _35 === void 0 ? void 0 : _35.errorCode,
177
- fieldName: "voCode",
178
- }),
179
- })))),
180
- },
181
- 11: {
182
- input: (h("sl-input", Object.assign({ required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text" }, (((_36 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _36 === void 0 ? void 0 : _36.agencyCode) && {
183
- class: "error-input",
184
- helpText: getValidationErrorMessage({
185
- type: (_38 = (_37 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _37 === void 0 ? void 0 : _37.agencyCode) === null || _38 === void 0 ? void 0 : _38.type,
186
- label: props.text.agencyCodeLabel,
187
- errorCode: (_40 = (_39 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _39 === void 0 ? void 0 : _39.agencyCode) === null || _40 === void 0 ? void 0 : _40.errorCode,
188
- fieldName: "agencyCode",
189
- }),
190
- })))),
191
- },
192
- 12: {
193
- input: [
194
- h("sl-input", Object.assign({ required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text" }, (((_41 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _41 === void 0 ? void 0 : _41.bankAddress) && {
195
- class: "error-input",
196
- helpText: getValidationErrorMessage({
197
- type: (_43 = (_42 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _42 === void 0 ? void 0 : _42.bankAddress) === null || _43 === void 0 ? void 0 : _43.type,
198
- label: props.text.bankAddressLabel,
199
- errorCode: (_45 = (_44 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _44 === void 0 ? void 0 : _44.bankAddress) === null || _45 === void 0 ? void 0 : _45.errorCode,
200
- fieldName: "bankAddress",
201
- }),
202
- }))),
203
- h("sl-input", Object.assign({ required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text" }, (((_46 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _46 === void 0 ? void 0 : _46.bankCity) && {
160
+ input: (h("sl-input", { key: "patronymicName", required: true, label: props.text.patronymicNameLabel, name: "/patronymicName", id: "patronymicName", type: "text", ...(((_26 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _26 === void 0 ? void 0 : _26.patronymicName) && {
204
161
  class: "error-input",
205
162
  helpText: getValidationErrorMessage({
206
- type: (_48 = (_47 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _47 === void 0 ? void 0 : _47.bankCity) === null || _48 === void 0 ? void 0 : _48.type,
207
- label: props.text.bankCityLabel,
208
- errorCode: (_50 = (_49 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _49 === void 0 ? void 0 : _49.bankCity) === null || _50 === void 0 ? void 0 : _50.errorCode,
209
- fieldName: "bankCity",
163
+ type: (_28 = (_27 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _27 === void 0 ? void 0 : _27.patronymicName) === null || _28 === void 0 ? void 0 : _28.type,
164
+ label: props.text.patronymicNameLabel,
165
+ errorCode: (_30 = (_29 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _29 === void 0 ? void 0 : _29.patronymicName) === null || _30 === void 0 ? void 0 : _30.errorCode,
166
+ fieldName: "patronymicName",
210
167
  }),
211
- }))),
212
- h("sl-input", Object.assign({ required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text" }, (((_51 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _51 === void 0 ? void 0 : _51.bankState) && {
168
+ }) })),
169
+ },
170
+ 10: {
171
+ input: (h("sl-input", { key: "voCode", label: props.text.voCodeLabel, name: "/voCode", id: "voCode", type: "text", ...(((_31 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _31 === void 0 ? void 0 : _31.voCode) && {
213
172
  class: "error-input",
214
173
  helpText: getValidationErrorMessage({
215
- type: (_53 = (_52 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _52 === void 0 ? void 0 : _52.bankState) === null || _53 === void 0 ? void 0 : _53.type,
216
- label: props.text.bankStateLabel,
217
- errorCode: (_55 = (_54 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _54 === void 0 ? void 0 : _54.bankState) === null || _55 === void 0 ? void 0 : _55.errorCode,
218
- fieldName: "bankState",
174
+ type: (_33 = (_32 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _32 === void 0 ? void 0 : _32.voCode) === null || _33 === void 0 ? void 0 : _33.type,
175
+ label: props.text.voCodeLabel,
176
+ errorCode: (_35 = (_34 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _34 === void 0 ? void 0 : _34.voCode) === null || _35 === void 0 ? void 0 : _35.errorCode,
177
+ fieldName: "voCode",
219
178
  }),
220
- }))),
221
- h("sl-input", Object.assign({ required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text" }, (((_56 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _56 === void 0 ? void 0 : _56.bankPostalCode) && {
179
+ }) })),
180
+ },
181
+ 11: {
182
+ input: (h("sl-input", { required: true, label: props.text.agencyCodeLabel, name: "/agencyCode", id: "agencyCode", key: "agencyCode", type: "text", ...(((_36 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _36 === void 0 ? void 0 : _36.agencyCode) && {
222
183
  class: "error-input",
223
184
  helpText: getValidationErrorMessage({
224
- type: (_58 = (_57 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _57 === void 0 ? void 0 : _57.bankPostalCode) === null || _58 === void 0 ? void 0 : _58.type,
225
- label: props.text.bankPostalCodeLabel,
226
- errorCode: (_60 = (_59 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _59 === void 0 ? void 0 : _59.bankPostalCode) === null || _60 === void 0 ? void 0 : _60.errorCode,
227
- fieldName: "bankPostalCode",
185
+ type: (_38 = (_37 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _37 === void 0 ? void 0 : _37.agencyCode) === null || _38 === void 0 ? void 0 : _38.type,
186
+ label: props.text.agencyCodeLabel,
187
+ errorCode: (_40 = (_39 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _39 === void 0 ? void 0 : _39.agencyCode) === null || _40 === void 0 ? void 0 : _40.errorCode,
188
+ fieldName: "agencyCode",
228
189
  }),
229
- }))),
190
+ }) })),
191
+ },
192
+ 12: {
193
+ input: [
194
+ h("sl-input", { required: true, label: props.text.bankAddressLabel, name: "/bankAddress", id: "bankAddress", key: "bankAddress", type: "text", ...(((_41 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _41 === void 0 ? void 0 : _41.bankAddress) && {
195
+ class: "error-input",
196
+ helpText: getValidationErrorMessage({
197
+ type: (_43 = (_42 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _42 === void 0 ? void 0 : _42.bankAddress) === null || _43 === void 0 ? void 0 : _43.type,
198
+ label: props.text.bankAddressLabel,
199
+ errorCode: (_45 = (_44 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _44 === void 0 ? void 0 : _44.bankAddress) === null || _45 === void 0 ? void 0 : _45.errorCode,
200
+ fieldName: "bankAddress",
201
+ }),
202
+ }) }),
203
+ h("sl-input", { required: true, label: props.text.bankCityLabel, name: "/bankCity", id: "bankCity", key: "bankCity", type: "text", ...(((_46 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _46 === void 0 ? void 0 : _46.bankCity) && {
204
+ class: "error-input",
205
+ helpText: getValidationErrorMessage({
206
+ type: (_48 = (_47 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _47 === void 0 ? void 0 : _47.bankCity) === null || _48 === void 0 ? void 0 : _48.type,
207
+ label: props.text.bankCityLabel,
208
+ errorCode: (_50 = (_49 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _49 === void 0 ? void 0 : _49.bankCity) === null || _50 === void 0 ? void 0 : _50.errorCode,
209
+ fieldName: "bankCity",
210
+ }),
211
+ }) }),
212
+ h("sl-input", { required: true, label: props.text.bankStateLabel, name: "/bankState", id: "bankState", key: "bankState", type: "text", ...(((_51 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _51 === void 0 ? void 0 : _51.bankState) && {
213
+ class: "error-input",
214
+ helpText: getValidationErrorMessage({
215
+ type: (_53 = (_52 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _52 === void 0 ? void 0 : _52.bankState) === null || _53 === void 0 ? void 0 : _53.type,
216
+ label: props.text.bankStateLabel,
217
+ errorCode: (_55 = (_54 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _54 === void 0 ? void 0 : _54.bankState) === null || _55 === void 0 ? void 0 : _55.errorCode,
218
+ fieldName: "bankState",
219
+ }),
220
+ }) }),
221
+ h("sl-input", { required: true, label: props.text.bankPostalCodeLabel, name: "/bankPostalCode", id: "bankPostalCode", key: "bankPostalCode", type: "text", ...(((_56 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _56 === void 0 ? void 0 : _56.bankPostalCode) && {
222
+ class: "error-input",
223
+ helpText: getValidationErrorMessage({
224
+ type: (_58 = (_57 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _57 === void 0 ? void 0 : _57.bankPostalCode) === null || _58 === void 0 ? void 0 : _58.type,
225
+ label: props.text.bankPostalCodeLabel,
226
+ errorCode: (_60 = (_59 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _59 === void 0 ? void 0 : _59.bankPostalCode) === null || _60 === void 0 ? void 0 : _60.errorCode,
227
+ fieldName: "bankPostalCode",
228
+ }),
229
+ }) }),
230
230
  ],
231
231
  },
232
232
  13: {
233
- input: (h("sl-input", Object.assign({ required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text" }, (((_61 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _61 === void 0 ? void 0 : _61.branchCode) && {
234
- class: "error-input",
235
- helpText: getValidationErrorMessage({
236
- type: (_63 = (_62 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _62 === void 0 ? void 0 : _62.branchCode) === null || _63 === void 0 ? void 0 : _63.type,
237
- label: props.text.branchCodeLabel,
238
- errorCode: (_65 = (_64 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _64 === void 0 ? void 0 : _64.branchCode) === null || _65 === void 0 ? void 0 : _65.errorCode,
239
- fieldName: "branchCode",
240
- }),
241
- })))),
233
+ input: (h("sl-input", { required: true, label: props.text.branchCodeLabel, name: "/branchCode", id: "branchCode", key: "branchCode", type: "text", ...(((_61 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _61 === void 0 ? void 0 : _61.branchCode) && {
234
+ class: "error-input",
235
+ helpText: getValidationErrorMessage({
236
+ type: (_63 = (_62 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _62 === void 0 ? void 0 : _62.branchCode) === null || _63 === void 0 ? void 0 : _63.type,
237
+ label: props.text.branchCodeLabel,
238
+ errorCode: (_65 = (_64 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _64 === void 0 ? void 0 : _64.branchCode) === null || _65 === void 0 ? void 0 : _65.errorCode,
239
+ fieldName: "branchCode",
240
+ }),
241
+ }) })),
242
242
  },
243
243
  14: {
244
- input: (h("sl-select", Object.assign({ required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification" }, (((_66 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _66 === void 0 ? void 0 : _66.beneficiaryClassification) && {
245
- class: "error-input",
246
- helpText: getValidationErrorMessage({
247
- type: (_68 = (_67 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _67 === void 0 ? void 0 : _67.beneficiaryClassification) === null || _68 === void 0 ? void 0 : _68.type,
248
- label: props.text.classificationLabel,
249
- errorCode: (_70 = (_69 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _69 === void 0 ? void 0 : _69.beneficiaryClassification) === null || _70 === void 0 ? void 0 : _70.errorCode,
250
- fieldName: "beneficiaryClassification",
251
- }),
252
- })),
244
+ input: (h("sl-select", { required: true, label: props.text.classificationLabel, name: "/beneficiaryClassification", id: "beneficiaryClassification", key: "beneficiaryClassification", ...(((_66 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _66 === void 0 ? void 0 : _66.beneficiaryClassification) && {
245
+ class: "error-input",
246
+ helpText: getValidationErrorMessage({
247
+ type: (_68 = (_67 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _67 === void 0 ? void 0 : _67.beneficiaryClassification) === null || _68 === void 0 ? void 0 : _68.type,
248
+ label: props.text.classificationLabel,
249
+ errorCode: (_70 = (_69 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _69 === void 0 ? void 0 : _69.beneficiaryClassification) === null || _70 === void 0 ? void 0 : _70.errorCode,
250
+ fieldName: "beneficiaryClassification",
251
+ }),
252
+ }) },
253
253
  h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
254
254
  h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
255
255
  h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
256
256
  },
257
257
  15: {
258
- input: (h("sl-input", Object.assign({ required: true, label: props.text.branchNameLabel, name: "/branchName", id: "branchName", key: "branchName", type: "text" }, (((_71 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _71 === void 0 ? void 0 : _71.branchName) && {
259
- class: "error-input",
260
- helpText: getValidationErrorMessage({
261
- type: (_73 = (_72 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _72 === void 0 ? void 0 : _72.branchName) === null || _73 === void 0 ? void 0 : _73.type,
262
- label: props.text.branchNameLabel,
263
- }),
264
- })))),
258
+ input: (h("sl-input", { required: true, label: props.text.branchNameLabel, name: "/branchName", id: "branchName", key: "branchName", type: "text", ...(((_71 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _71 === void 0 ? void 0 : _71.branchName) && {
259
+ class: "error-input",
260
+ helpText: getValidationErrorMessage({
261
+ type: (_73 = (_72 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _72 === void 0 ? void 0 : _72.branchName) === null || _73 === void 0 ? void 0 : _73.type,
262
+ label: props.text.branchNameLabel,
263
+ }),
264
+ }) })),
265
265
  },
266
266
  16: {
267
- input: (h("sl-input", Object.assign({ required: true, label: props.text.classificationCodeLabel, name: "/classificationCode", id: "classificationCode", key: "classificationCode", type: "text" }, (((_74 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _74 === void 0 ? void 0 : _74.classificationCode) && {
268
- class: "error-input",
269
- helpText: getValidationErrorMessage({
270
- type: (_76 = (_75 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _75 === void 0 ? void 0 : _75.classificationCode) === null || _76 === void 0 ? void 0 : _76.type,
271
- label: props.text.classificationCodeLabel,
272
- }),
273
- })))),
267
+ input: (h("sl-input", { required: true, label: props.text.classificationCodeLabel, name: "/classificationCode", id: "classificationCode", key: "classificationCode", type: "text", ...(((_74 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _74 === void 0 ? void 0 : _74.classificationCode) && {
268
+ class: "error-input",
269
+ helpText: getValidationErrorMessage({
270
+ type: (_76 = (_75 = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _75 === void 0 ? void 0 : _75.classificationCode) === null || _76 === void 0 ? void 0 : _76.type,
271
+ label: props.text.classificationCodeLabel,
272
+ }),
273
+ }) })),
274
274
  },
275
275
  };
276
276
  }
@@ -582,7 +582,7 @@ const mockPaymentOptions = {
582
582
  ],
583
583
  };
584
584
 
585
- const style = {
585
+ const style$4 = {
586
586
  ModalTitleContainer: {
587
587
  display: "flex",
588
588
  gap: "var(--sl-spacing-small)",
@@ -708,9 +708,9 @@ const style = {
708
708
  },
709
709
  DialogButton: { margin: "auto", width: "100%" },
710
710
  };
711
- const sheet = createStyleSheet(style);
712
- const styleString = sheet.toString();
713
- const vanillaStyle = `
711
+ const sheet$3 = createStyleSheet(style$4);
712
+ const styleString$3 = sheet$3.toString();
713
+ const vanillaStyle$2 = `
714
714
  :host{
715
715
  display: block;
716
716
  }
@@ -741,7 +741,7 @@ const vanillaStyle = `
741
741
  const BankingInfoFormView = (props) => {
742
742
  var _a;
743
743
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
744
- const { classes } = sheet;
744
+ const { classes } = sheet$3;
745
745
  const getLoadingSkeleton = (checkedValue, inputNumber) => {
746
746
  let inputNumArray = Array(inputNumber).fill(0);
747
747
  const flexBoxStyle = {
@@ -770,14 +770,14 @@ const BankingInfoFormView = (props) => {
770
770
  };
771
771
  return (h("sl-form", { part: "container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
772
772
  h("style", { type: "text/css" },
773
- styleString,
774
- vanillaStyle),
775
- h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
773
+ styleString$3,
774
+ vanillaStyle$2),
775
+ h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
776
776
  h("div", { class: classes.ModalTitleContainer, slot: "label" },
777
777
  h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
778
778
  h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
779
779
  h("p", null, text.modalDescription),
780
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
780
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
781
781
  h("div", { class: classes.TextContainer },
782
782
  h("div", null,
783
783
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -833,9 +833,9 @@ const BankingInfoFormView = (props) => {
833
833
  ? getLoadingSkeleton("toPayPalAccount")
834
834
  : slots.paymentFixedDaySelectSlot))))),
835
835
  h("div", { class: classes.BtnContainer },
836
- h("sl-button", Object.assign({ type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading }, (states.hideSteps
837
- ? { onClick: callbacks.onModalOpen }
838
- : { submit: "submit" }), { exportparts: "base: primarybutton-base" }), text.continueButton),
836
+ h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, ...(states.hideSteps
837
+ ? { onClick: callbacks.onModalOpen }
838
+ : { submit: "submit" }), exportparts: "base: primarybutton-base" }, text.continueButton),
839
839
  !states.hideBackButton && (h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
840
840
  };
841
841
 
@@ -1008,19 +1008,19 @@ function parseImpactThreshold(threshold) {
1008
1008
  }
1009
1009
  function useBankingInfoForm(props) {
1010
1010
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1011
- const host = _();
1012
- const locale = L();
1013
- const user = J();
1014
- const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
1015
- const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
1016
- const countries = Fn(SORTED_COUNTRIES_NAMESPACE);
1011
+ const host = useHost();
1012
+ const locale = useLocale();
1013
+ const user = useUserIdentity();
1014
+ const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
1015
+ const context = useParentValue(TAX_FORM_CONTEXT_NAMESPACE);
1016
+ const countries = useParentValue(SORTED_COUNTRIES_NAMESPACE);
1017
1017
  const formRef = useRef(null);
1018
- const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = $n(FINANCE_NETWORK_SETTINGS_NAMESPACE);
1019
- const { data: userData, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
1020
- const [saveWithdrawalSettings] = $e(SAVE_WITHDRAWAL_SETTINGS);
1021
- const [updateWithdrawalSettings] = $e(UPDATE_WITHDRAWAL_SETTINGS);
1018
+ const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = useParentQueryValue(FINANCE_NETWORK_SETTINGS_NAMESPACE);
1019
+ const { data: userData, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
1020
+ const [saveWithdrawalSettings] = useMutation(SAVE_WITHDRAWAL_SETTINGS);
1021
+ const [updateWithdrawalSettings] = useMutation(UPDATE_WITHDRAWAL_SETTINGS);
1022
1022
  const [showVerification, setShowVerification] = useState(false);
1023
- const [currentFormData, setCurrentFormData] = useState(null);
1023
+ useState(null);
1024
1024
  const [formState, setFormState] = useState({});
1025
1025
  const [currentPaymentOption, setCurrentPaymentOption] = useState(null);
1026
1026
  const [loading, setLoading] = useState(false);
@@ -1062,7 +1062,8 @@ function useBankingInfoForm(props) {
1062
1062
  bankCountry: (withdrawalSettings === null || withdrawalSettings === void 0 ? void 0 : withdrawalSettings.bankCountry) || publisherCountry,
1063
1063
  paymentMethod: "BANK_TRANSFER",
1064
1064
  };
1065
- if (withdrawalSettings && ((_j = (_h = (_g = userData.user) === null || _g === void 0 ? void 0 : _g.impactConnection) === null || _h === void 0 ? void 0 : _h.publisher) === null || _j === void 0 ? void 0 : _j.brandedSignup)) {
1065
+ if (withdrawalSettings &&
1066
+ ((_j = (_h = (_g = userData.user) === null || _g === void 0 ? void 0 : _g.impactConnection) === null || _h === void 0 ? void 0 : _h.publisher) === null || _j === void 0 ? void 0 : _j.brandedSignup)) {
1066
1067
  initialData = {
1067
1068
  ...initialData,
1068
1069
  paymentMethod: withdrawalSettings.paymentMethod,
@@ -1113,7 +1114,7 @@ function useBankingInfoForm(props) {
1113
1114
  setCurrentPaymentOption(currentPaymentOption);
1114
1115
  };
1115
1116
  const runMutation = async (formData, token) => {
1116
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1117
+ var _a, _b, _c, _d;
1117
1118
  setLoading(true);
1118
1119
  try {
1119
1120
  if (!currentPaymentOption)
@@ -1141,8 +1142,8 @@ function useBankingInfoForm(props) {
1141
1142
  accessKey: token,
1142
1143
  },
1143
1144
  });
1144
- success = (_b = (_a = response) === null || _a === void 0 ? void 0 : _a.updateImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.success;
1145
- validationErrors = (_d = (_c = response) === null || _c === void 0 ? void 0 : _c.updateImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
1145
+ success = (_a = response === null || response === void 0 ? void 0 : response.updateImpactPublisherWithdrawalSettings) === null || _a === void 0 ? void 0 : _a.success;
1146
+ validationErrors = (_b = response === null || response === void 0 ? void 0 : response.updateImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.validationErrors;
1146
1147
  }
1147
1148
  else {
1148
1149
  response = await saveWithdrawalSettings({
@@ -1150,10 +1151,10 @@ function useBankingInfoForm(props) {
1150
1151
  ...body,
1151
1152
  },
1152
1153
  });
1153
- success = (_f = (_e = response) === null || _e === void 0 ? void 0 : _e.setImpactPublisherWithdrawalSettings) === null || _f === void 0 ? void 0 : _f.success;
1154
- validationErrors = (_h = (_g = response) === null || _g === void 0 ? void 0 : _g.setImpactPublisherWithdrawalSettings) === null || _h === void 0 ? void 0 : _h.validationErrors;
1154
+ success = (_c = response === null || response === void 0 ? void 0 : response.setImpactPublisherWithdrawalSettings) === null || _c === void 0 ? void 0 : _c.success;
1155
+ validationErrors = (_d = response === null || response === void 0 ? void 0 : response.setImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
1155
1156
  }
1156
- if (!response || ((_j = response) === null || _j === void 0 ? void 0 : _j.message)) {
1157
+ if (!response || (response === null || response === void 0 ? void 0 : response.message)) {
1157
1158
  throw new Error();
1158
1159
  }
1159
1160
  else if (!success) {
@@ -1312,432 +1313,89 @@ const BankingInfoForm = class {
1312
1313
  constructor(hostRef) {
1313
1314
  registerInstance(this, hostRef);
1314
1315
  this.ignored = true;
1315
- /**
1316
- * @uiName Setup progress
1317
- */
1318
1316
  this.formStep = "Step {step} of {count}";
1319
- /**
1320
- * @uiName Step 4 title
1321
- */
1322
1317
  this.taxAndPayouts = "Payouts";
1323
- /**
1324
- * Displayed at the top of the page on all set up steps.
1325
- * @uiName Page description
1326
- */
1327
1318
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
1328
- /**
1329
- * @uiName Direct to bank payout option
1330
- */
1331
1319
  this.directlyToBankAccount = "Directly to my bank account";
1332
- /**
1333
- * @uiName PayPal payout option
1334
- */
1335
1320
  this.toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
1336
- /**
1337
- * @uiName Threshold balance payment schedule option
1338
- */
1339
1321
  this.paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
1340
- /**
1341
- * @uiName Fixed day payment schedule option
1342
- */
1343
1322
  this.paymentScheduleFixedDay = "Pay me on a fixed day of the month";
1344
- /**
1345
- * Let the participant choose what day of the month they’ll get paid
1346
- * @uiName Payment day field label
1347
- */
1348
1323
  this.paymentDaySelectLabel = "Payment Day";
1349
- /**
1350
- * Participant use this field to select the balance at which they want to be paid
1351
- * @uiName Payment threshold field label
1352
- */
1353
1324
  this.paymentThresholdSelectLabel = "Payment Threshold";
1354
- /**
1355
- * One of two payment day options
1356
- * @uiName First of month payday option
1357
- */
1358
1325
  this.paymentDayFirstOfMonthLabelText = "1st of the month";
1359
- /**
1360
- * Label text for the payment day select option for the fifteenth of the month
1361
- * @uiName Fifteenth of month payday option
1362
- */
1363
1326
  this.paymentDayFifteenthOfMonthLabelText = "15th of the month";
1364
- /**
1365
- * @uiName Payment method section header
1366
- */
1367
1327
  this.paymentMethod = "Payment method";
1368
- /**
1369
- * @uiName Payment schedule section header
1370
- */
1371
1328
  this.paymentSchedule = "Payment schedule";
1372
- /**
1373
- * @uiName Payment method section description
1374
- */
1375
1329
  this.paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
1376
- /**
1377
- * Displayed to participants who choose PayPal as their payout method
1378
- * @uiName PayPal email field label
1379
- */
1380
1330
  this.payPalInputLabel = "PayPal email";
1381
- /**
1382
- * @uiName Bank country field label
1383
- */
1384
1331
  this.bankLocationLabel = "Bank country location";
1385
- /**
1386
- * @uiName Beneficiary account field label
1387
- */
1388
1332
  this.beneficiaryAccountNameLabel = "Account holder name";
1389
- /**
1390
- * @uiName Beneficiary account field description
1391
- */
1392
1333
  this.beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
1393
- /**
1394
- * @uiName Bank account type field label
1395
- */
1396
1334
  this.bankAccountTypeLabel = "Bank account type";
1397
- /**
1398
- * @uiName Checking account option
1399
- */
1400
1335
  this.checkingSelectItemLabel = "Checking";
1401
- /**
1402
- * @uiName Savings account options
1403
- */
1404
1336
  this.savingsSelectItemLabel = "Savings";
1405
- /**
1406
- * @uiName Bank account number field label
1407
- */
1408
1337
  this.bankAccountNumberLabel = "Bank account number";
1409
- /**
1410
- * @uiName IBAN field label
1411
- */
1412
1338
  this.ibanLabel = "IBAN";
1413
- /**
1414
- * @uiName SWIFT code field label
1415
- */
1416
1339
  this.swiftCodeLabel = "SWIFT code";
1417
- /**
1418
- * @uiName Routing code field label
1419
- */
1420
1340
  this.routingCodeLabel = "{bankCountry, select, AU {BSB number} CA {Routing number} CZ {Bank code} HK {Clearing code} SG {Clearing code} US {ABA routing number} NZ {BSB number} ZA {Bank/Branch number} IN {IFSC} CNY {CNAPS} other {Routing code} }";
1421
- /**
1422
- * @uiName Bank name field label
1423
- */
1424
1341
  this.bankNameLabel = "Bank Name";
1425
- /**
1426
- * @uiName Classification entity field label
1427
- */
1428
1342
  this.classificationEntityLabel = "Classification Entity";
1429
- /**
1430
- * One of three options listed for the classification field
1431
- * @uiName Business classification option
1432
- */
1433
1343
  this.businessSelectItemLabel = "Business";
1434
- /**
1435
- * One of three options listed for the classification field
1436
- * @uiName Individual classification option
1437
- */
1438
1344
  this.individualSelectItemLabel = "Individual";
1439
- /**
1440
- * One of three options listed for the classification field
1441
- * @uiName Foreign classification option
1442
- */
1443
1345
  this.foreignSelectItemLabel = "Foreign";
1444
- /**
1445
- * @uiName Classification CPF field label
1446
- */
1447
1346
  this.classificationCPFLabel = "Classification CPF";
1448
- /**
1449
- * @uiName Patronymic name field label
1450
- */
1451
1347
  this.patronymicNameLabel = "Patronymic name";
1452
- /**
1453
- * @uiName VO code field label
1454
- */
1455
1348
  this.voCodeLabel = "VO code";
1456
- /**
1457
- * @uiName Agency code field label
1458
- */
1459
1349
  this.agencyCodeLabel = "Agency code";
1460
- /**
1461
- * @uiName Branch code field label
1462
- */
1463
1350
  this.branchCodeLabel = "Branch code";
1464
- /**
1465
- * @uiName Branch name field label
1466
- */
1467
1351
  this.branchNameLabel = "Branch name";
1468
- /**
1469
- * Label text for the classification input field
1470
- * @uiName Classification field label
1471
- */
1472
1352
  this.classificationLabel = "Classification";
1473
- /**
1474
- * @uiName Classification code field label
1475
- */
1476
1353
  this.classificationCodeLabel = "KBE code";
1477
- /**
1478
- * @uiName Taxpayer ID field label
1479
- */
1480
1354
  this.taxPayerIdLabel = "{country, select, AR {CUIT/CUIL} KR {Classification ID} other { Beneficiary INN } }";
1481
- /**
1482
- * @uiName Bank address field label
1483
- */
1484
1355
  this.bankAddressLabel = "Bank address";
1485
- /**
1486
- * @uiName Bank city field label
1487
- */
1488
1356
  this.bankCityLabel = "Bank city";
1489
- /**
1490
- * @uiName Bank province/state field label
1491
- */
1492
1357
  this.bankStateLabel = "Bank province/state";
1493
- /**
1494
- * @uiName Bank postal code field label
1495
- */
1496
1358
  this.bankPostalCodeLabel = "Bank postal code";
1497
- /**
1498
- * Default payment method to the participants’ bank account.
1499
- * @uiName EFT withdrawal payment method
1500
- */
1501
1359
  this.eftWithdrawalLabel = "EFT withdrawal (free)";
1502
- /**
1503
- * @uiName FX Wire Processing fee text
1504
- */
1505
1360
  this.fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
1506
- /**
1507
- * Placeholder text displayed in the country search dropdown
1508
- * @uiName Country field placeholder text
1509
- */
1510
1361
  this.searchForCountryText = "Search for country..";
1511
- /**
1512
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1513
- * @uiName Participant is a partner alert title
1514
- * @uiWidget textArea
1515
- */
1516
1362
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
1517
- /**
1518
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1519
- * @uiName Participant is a partner alert description
1520
- * @uiWidget textArea
1521
- */
1522
1363
  this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
1523
- /**
1524
- * Text for verify email dialog
1525
- * @uiName Verify email header
1526
- */
1527
1364
  this.verifyEmailHeaderText = "Verify your email";
1528
- /**
1529
- * @uiName Verify code widget header text
1530
- */
1531
1365
  this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
1532
- /**
1533
- * Part of the alert displayed at the top of the page.
1534
- * @uiName Form submission error message title
1535
- * @uiWidget textArea
1536
- */
1537
1366
  this.generalErrorTitle = "There was a problem submitting your information";
1538
- /**
1539
- * Part of the alert displayed at the top of the page.
1540
- * @uiName Form submission error message description
1541
- * @uiWidget textArea
1542
- */
1543
1367
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
1544
- /**
1545
- * Displayed under a field that is missing required information.
1546
- * @uiName Empty form field error message
1547
- */
1548
1368
  this.fieldRequiredError = "{fieldName} is required";
1549
- /**
1550
- * Displayed under a field when it has an invalid entry.
1551
- * @uiName Form field error message
1552
- */
1553
1369
  this.fieldInvalidError = "{fieldName} is invalid";
1554
- /**
1555
- * @uiName Support link text
1556
- */
1557
1370
  this.supportLink = "support team";
1558
- /**
1559
- * @uiName Continue button label
1560
- */
1561
1371
  this.continueButton = "Save";
1562
- /**
1563
- * Text for the back button in the form
1564
- * @uiName Back button label
1565
- */
1566
1372
  this.backButton = "Back";
1567
- /**
1568
- * Part of the alert displayed at the top of the page.
1569
- * @uiName Page load error message title
1570
- * @uiWidget textArea
1571
- */
1572
1373
  this.loadingErrorAlertHeader = "There was a problem loading your form";
1573
- /**
1574
- * Part of the alert displayed at the top of the page.
1575
- * @uiName Page load error message description
1576
- * @uiWidget textArea
1577
- */
1578
1374
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
1579
- /**
1580
- * @uiName Information modal title
1581
- */
1582
1375
  this.modalTitle = "Important Note";
1583
- /**
1584
- * @uiName Information modal description text
1585
- */
1586
1376
  this.modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
1587
- /**
1588
- * @uiName Information modal button text
1589
- */
1590
1377
  this.modalButtonText = "I understand, update my information";
1591
- // ──────────────────────────────────────────────────────────────────
1592
- // Per-field validation error messages
1593
- // Each prop uses ICU select on {errorCode} to pick the right message.
1594
- // Error codes are short frontend keys mapped from the API error codes.
1595
- // The `other` branch displays the raw API message directly via {errorCode},
1596
- // which is already human-readable English (e.g. "Invalid Routing Code").
1597
- // ──────────────────────────────────────────────────────────────────
1598
- /**
1599
- * Error messages for the beneficiary / account holder name field.
1600
- * Supports error codes: empty, invalidCharacters, numeric, tooLong,
1601
- * nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
1602
- * @uiName Beneficiary account name error
1603
- * @uiWidget textArea
1604
- */
1605
1378
  this.beneficiaryAccountNameError = "{errorCode, select, empty {Account holder name is required} invalidCharacters {Account holder name contains invalid characters} numeric {Account holder name cannot be purely numeric} tooLong {Account holder name must be 70 characters or fewer} nonEnglish {Account holder name must contain only English characters for this currency} businessNameMismatch {Beneficiary name must match the name on your tax document} nameMismatch {Beneficiary name must match the name on your tax document} businessPayeeMismatch {Payee name must match the name on your tax document} payeeMismatch {Payee name must match the name on your tax document} other {{errorCode}}}";
1606
- /**
1607
- * Error messages for the bank account number / IBAN field.
1608
- * Supports error codes: empty, invalidUk, invalid, ibanEmpty,
1609
- * ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
1610
- * @uiName Bank account number / IBAN error
1611
- * @uiWidget textArea
1612
- */
1613
1379
  this.bankAccountNumberError = "{errorCode, select, empty {Account number is required} invalidUk {Please enter a valid UK account number} invalid {Account number is invalid} ibanEmpty {IBAN is required} ibanAlphanumeric {IBAN must contain only letters and numbers} ibanInvalid {IBAN is invalid} ibanCountryMismatch {UK accounts must use an IBAN starting with GB} other {{errorCode}}}";
1614
- /**
1615
- * Error messages for the routing code / sort code / BSB field.
1616
- * Supports error codes: invalidBsb, invalidSortCode, empty, invalid
1617
- * @uiName Routing code error
1618
- * @uiWidget textArea
1619
- */
1620
1380
  this.routingCodeError = "{errorCode, select, invalidBsb {Please enter a valid BSB number} invalidSortCode {Please enter a valid sort code} empty {Routing number is required} invalid {Routing number is invalid} other {{errorCode}}}";
1621
- /**
1622
- * Error messages for the SWIFT / BIC code field.
1623
- * Supports error codes: empty, alphanumeric, invalid
1624
- * @uiName SWIFT code error
1625
- * @uiWidget textArea
1626
- */
1627
1381
  this.swiftCodeError = "{errorCode, select, empty {SWIFT/BIC code is required} alphanumeric {SWIFT/BIC code must contain only letters and numbers} invalid {SWIFT/BIC code is invalid} other {{errorCode}}}";
1628
- /**
1629
- * Error messages for the bank account type field.
1630
- * Supports error codes: empty
1631
- * @uiName Bank account type error
1632
- * @uiWidget textArea
1633
- */
1634
1382
  this.bankAccountTypeError = "{errorCode, select, empty {Bank account type is required} other {{errorCode}}}";
1635
- /**
1636
- * Error messages for the bank name field.
1637
- * Supports error codes: empty
1638
- * @uiName Bank name error
1639
- * @uiWidget textArea
1640
- */
1641
1383
  this.bankNameError = "{errorCode, select, empty {Bank name is required} other {{errorCode}}}";
1642
- /**
1643
- * Error messages for the tax payer ID / classification entity field.
1644
- * Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
1645
- * alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
1646
- * @uiName Tax payer ID error
1647
- * @uiWidget textArea
1648
- */
1649
1384
  this.taxPayerIdError = "{errorCode, select, empty {Tax payer ID is required} emptyAr {CUIT/CUIL is required} emptyKr {Classification ID is required} alphanumeric {Tax payer ID must contain only letters and numbers} alphanumericAr {CUIT/CUIL must contain only letters and numbers} alphanumericKr {Classification ID must contain only letters and numbers} invalid {Tax payer ID is invalid} invalidAr {CUIT/CUIL must be 11 characters} invalidKr {Classification ID length is invalid} invalidKzt {Tax payer ID must be 12 characters for KZT} cnpjTooShort {CNPJ must be at least 14 characters} cpfTooShort {CPF must be at least 11 characters} other {{errorCode}}}";
1650
- /**
1651
- * Error messages for the patronymic name field.
1652
- * Supports error codes: empty, alphanumeric
1653
- * @uiName Patronymic name error
1654
- * @uiWidget textArea
1655
- */
1656
1385
  this.patronymicNameError = "{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}";
1657
- /**
1658
- * Error messages for the VO code field.
1659
- * Supports error codes: empty, alphanumeric
1660
- * @uiName VO code error
1661
- * @uiWidget textArea
1662
- */
1663
1386
  this.voCodeError = "{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}";
1664
- /**
1665
- * Error messages for the agency code field.
1666
- * Supports error codes: empty, alphanumeric, tooShort
1667
- * @uiName Agency code error
1668
- * @uiWidget textArea
1669
- */
1670
1387
  this.agencyCodeError = "{errorCode, select, empty {Agency code is required} alphanumeric {Agency code must contain only letters and numbers} tooShort {Agency code must be at least 5 characters} other {{errorCode}}}";
1671
- /**
1672
- * Error messages for the bank address field.
1673
- * Supports error codes: empty
1674
- * @uiName Bank address error
1675
- * @uiWidget textArea
1676
- */
1677
1388
  this.bankAddressError = "{errorCode, select, empty {Bank address is required} other {{errorCode}}}";
1678
- /**
1679
- * Error messages for the bank city field.
1680
- * Supports error codes: empty
1681
- * @uiName Bank city error
1682
- * @uiWidget textArea
1683
- */
1684
1389
  this.bankCityError = "{errorCode, select, empty {Bank city is required} other {{errorCode}}}";
1685
- /**
1686
- * Error messages for the bank province/state field.
1687
- * Supports error codes: empty
1688
- * @uiName Bank province/state error
1689
- * @uiWidget textArea
1690
- */
1691
1390
  this.bankStateError = "{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}";
1692
- /**
1693
- * Error messages for the bank postal code field.
1694
- * Supports error codes: empty
1695
- * @uiName Bank postal code error
1696
- * @uiWidget textArea
1697
- */
1698
1391
  this.bankPostalCodeError = "{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}";
1699
- /**
1700
- * Error messages for the branch code field.
1701
- * Supports error codes: invalid
1702
- * @uiName Branch code error
1703
- * @uiWidget textArea
1704
- */
1705
1392
  this.branchCodeError = "{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}";
1706
- /**
1707
- * Error messages for the branch name field.
1708
- * Supports error codes: empty
1709
- * @uiName Branch name error
1710
- * @uiWidget textArea
1711
- */
1712
1393
  this.branchNameError = "{errorCode, select, empty {Branch name is required} other {{errorCode}}}";
1713
- /**
1714
- * Error messages for the classification code field.
1715
- * Supports error codes: empty, invalidKzt
1716
- * @uiName Classification code error
1717
- * @uiWidget textArea
1718
- */
1719
1394
  this.classificationCodeError = "{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}";
1720
- /**
1721
- * Error messages for the PayPal email field.
1722
- * Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
1723
- * @uiName PayPal email error
1724
- * @uiWidget textArea
1725
- */
1726
1395
  this.paypalEmailError = "{errorCode, select, empty {PayPal email is required} unsupportedCurrency {PayPal is not supported for this currency} invalidEmail {Please enter a valid email address} verificationIncomplete {PayPal verification is not complete} other {{errorCode}}}";
1727
- /**
1728
- * Error messages for the payment threshold field.
1729
- * Supports error codes: empty, invalid
1730
- * @uiName Payment threshold error
1731
- * @uiWidget textArea
1732
- */
1733
1396
  this.paymentThresholdError = "{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}";
1734
- /**
1735
- * Error messages for the payment day field.
1736
- * Supports error codes: empty, invalid
1737
- * @uiName Payment day error
1738
- * @uiWidget textArea
1739
- */
1740
1397
  this.paymentDayError = "{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}";
1398
+ this.demoData = undefined;
1741
1399
  h$1(this);
1742
1400
  }
1743
1401
  disconnectedCallback() { }
@@ -1879,15 +1537,15 @@ const BankingInfoForm = class {
1879
1537
  `;
1880
1538
  return (h(Host, null, h("style", { type: "text/css" }, styleString), h("style", { type: "text/css" }, vanillaStyle), props.states.isPartner && props.states.showVerification ? (h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText }, h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null, h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1881
1539
  formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
1882
- countryInputSlot: (h("sl-select", Object.assign({ label: props.text.bankLocationLabel, disabled: props.states.saveLoading, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); } }, (((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1883
- class: "error-input",
1884
- helpText: getValidationErrorMessage({
1885
- type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
1886
- label: props.text.bankLocationLabel,
1887
- errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankCountry) === null || _e === void 0 ? void 0 : _e.errorCode,
1888
- fieldName: "bankCountry",
1889
- }),
1890
- })), h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1540
+ countryInputSlot: (h("sl-select", { label: props.text.bankLocationLabel, disabled: props.states.saveLoading, required: true, name: "/bankCountry", id: "bankCountry", value: props.states.formState.bankCountry || "", "onSl-select": (e) => { var _a, _b; return props.callbacks.setBankCountry((_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value); }, ...(((_a = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _a === void 0 ? void 0 : _a.bankCountry) && {
1541
+ class: "error-input",
1542
+ helpText: getValidationErrorMessage({
1543
+ type: (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _b === void 0 ? void 0 : _b.bankCountry) === null || _c === void 0 ? void 0 : _c.type,
1544
+ label: props.text.bankLocationLabel,
1545
+ errorCode: (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _d === void 0 ? void 0 : _d.bankCountry) === null || _e === void 0 ? void 0 : _e.errorCode,
1546
+ fieldName: "bankCountry",
1547
+ }),
1548
+ }) }, h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1891
1549
  // Stop shoelace intercepting key presses
1892
1550
  e.stopPropagation();
1893
1551
  }, "onSl-input": (e) => {
@@ -1898,33 +1556,33 @@ const BankingInfoForm = class {
1898
1556
  }), (_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.allCountries) === null || _h === void 0 ? void 0 :
1899
1557
  _h.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1900
1558
  paymentMethodSlot: (h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1901
- paymentThresholdSelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_k = (_j = props.states) === null || _j === void 0 ? void 0 : _j.formState) === null || _k === void 0 ? void 0 : _k.paymentThreshold) || "" }, (((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.paymentThreshold) && {
1902
- class: "error-input",
1903
- helpText: getValidationErrorMessage({
1904
- type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.paymentThreshold) === null || _o === void 0 ? void 0 : _o.type,
1905
- label: props.text.paymentThresholdSelectLabel,
1906
- errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentThreshold) === null || _q === void 0 ? void 0 : _q.errorCode,
1907
- fieldName: "paymentThreshold",
1908
- }),
1909
- })), props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1910
- paymentFixedDaySelectSlot: (h("sl-select", Object.assign({ required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_s = (_r = props.states) === null || _r === void 0 ? void 0 : _r.formState) === null || _s === void 0 ? void 0 : _s.paymentDay) || "", name: "/paymentDay", id: "paymentDay" }, (((_t = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _t === void 0 ? void 0 : _t.paymentDay) && {
1911
- class: "error-input",
1912
- helpText: getValidationErrorMessage({
1913
- type: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.paymentDay) === null || _v === void 0 ? void 0 : _v.type,
1914
- label: props.text.paymentDaySelectLabel,
1915
- errorCode: (_x = (_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.paymentDay) === null || _x === void 0 ? void 0 : _x.errorCode,
1916
- fieldName: "paymentDay",
1917
- }),
1918
- })), h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1919
- paypalInputSlot: (h("sl-input", Object.assign({ required: true, disabled: props.states.saveLoading, value: ((_z = (_y = props.states) === null || _y === void 0 ? void 0 : _y.formState) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text" }, (((_2 = (_1 = (_0 = props.states.formState) === null || _0 === void 0 ? void 0 : _0.errors) === null || _1 === void 0 ? void 0 : _1.inputErrors) === null || _2 === void 0 ? void 0 : _2.paypalEmailAddress) && {
1920
- class: "error-input",
1921
- helpText: getValidationErrorMessage({
1922
- type: (_6 = (_5 = (_4 = (_3 = props.states.formState) === null || _3 === void 0 ? void 0 : _3.errors) === null || _4 === void 0 ? void 0 : _4.inputErrors) === null || _5 === void 0 ? void 0 : _5.paypalEmailAddress) === null || _6 === void 0 ? void 0 : _6.type,
1923
- label: props.text.payPalInputLabel,
1924
- errorCode: (_10 = (_9 = (_8 = (_7 = props.states.formState) === null || _7 === void 0 ? void 0 : _7.errors) === null || _8 === void 0 ? void 0 : _8.inputErrors) === null || _9 === void 0 ? void 0 : _9.paypalEmailAddress) === null || _10 === void 0 ? void 0 : _10.errorCode,
1925
- fieldName: "paypalEmailAddress",
1926
- }),
1927
- })))),
1559
+ paymentThresholdSelectSlot: (h("sl-select", { required: true, disabled: props.states.saveLoading, label: props.text.paymentThresholdSelectLabel, name: "/paymentThreshold", id: "paymentThreshold", value: ((_k = (_j = props.states) === null || _j === void 0 ? void 0 : _j.formState) === null || _k === void 0 ? void 0 : _k.paymentThreshold) || "", ...(((_l = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _l === void 0 ? void 0 : _l.paymentThreshold) && {
1560
+ class: "error-input",
1561
+ helpText: getValidationErrorMessage({
1562
+ type: (_o = (_m = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _m === void 0 ? void 0 : _m.paymentThreshold) === null || _o === void 0 ? void 0 : _o.type,
1563
+ label: props.text.paymentThresholdSelectLabel,
1564
+ errorCode: (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _p === void 0 ? void 0 : _p.paymentThreshold) === null || _q === void 0 ? void 0 : _q.errorCode,
1565
+ fieldName: "paymentThreshold",
1566
+ }),
1567
+ }) }, props.states.thresholds.map((t) => (h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1568
+ paymentFixedDaySelectSlot: (h("sl-select", { required: true, disabled: props.states.saveLoading, label: props.text.paymentDaySelectLabel, value: ((_s = (_r = props.states) === null || _r === void 0 ? void 0 : _r.formState) === null || _s === void 0 ? void 0 : _s.paymentDay) || "", name: "/paymentDay", id: "paymentDay", ...(((_t = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _t === void 0 ? void 0 : _t.paymentDay) && {
1569
+ class: "error-input",
1570
+ helpText: getValidationErrorMessage({
1571
+ type: (_v = (_u = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _u === void 0 ? void 0 : _u.paymentDay) === null || _v === void 0 ? void 0 : _v.type,
1572
+ label: props.text.paymentDaySelectLabel,
1573
+ errorCode: (_x = (_w = errors === null || errors === void 0 ? void 0 : errors.inputErrors) === null || _w === void 0 ? void 0 : _w.paymentDay) === null || _x === void 0 ? void 0 : _x.errorCode,
1574
+ fieldName: "paymentDay",
1575
+ }),
1576
+ }) }, h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1577
+ paypalInputSlot: (h("sl-input", { required: true, disabled: props.states.saveLoading, value: ((_z = (_y = props.states) === null || _y === void 0 ? void 0 : _y.formState) === null || _z === void 0 ? void 0 : _z.paypalEmailAddress) || "", label: props.text.payPalInputLabel, key: "paypalEmailAddress", name: "/paypalEmailAddress", id: "paypalEmailAddress", type: "text", ...(((_2 = (_1 = (_0 = props.states.formState) === null || _0 === void 0 ? void 0 : _0.errors) === null || _1 === void 0 ? void 0 : _1.inputErrors) === null || _2 === void 0 ? void 0 : _2.paypalEmailAddress) && {
1578
+ class: "error-input",
1579
+ helpText: getValidationErrorMessage({
1580
+ type: (_6 = (_5 = (_4 = (_3 = props.states.formState) === null || _3 === void 0 ? void 0 : _3.errors) === null || _4 === void 0 ? void 0 : _4.inputErrors) === null || _5 === void 0 ? void 0 : _5.paypalEmailAddress) === null || _6 === void 0 ? void 0 : _6.type,
1581
+ label: props.text.payPalInputLabel,
1582
+ errorCode: (_10 = (_9 = (_8 = (_7 = props.states.formState) === null || _7 === void 0 ? void 0 : _7.errors) === null || _8 === void 0 ? void 0 : _8.inputErrors) === null || _9 === void 0 ? void 0 : _9.paypalEmailAddress) === null || _10 === void 0 ? void 0 : _10.errorCode,
1583
+ fieldName: "paypalEmailAddress",
1584
+ }),
1585
+ }) })),
1928
1586
  } })));
1929
1587
  }
1930
1588
  };
@@ -1934,7 +1592,7 @@ function useDemoBankingInfoForm(props) {
1934
1592
  const defaultPaymentScheduleChecked = (_f = (_e = (_d = props.demoData) === null || _d === void 0 ? void 0 : _d.states) === null || _e === void 0 ? void 0 : _e.formState) === null || _f === void 0 ? void 0 : _f.paymentScheduleChecked;
1935
1593
  const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
1936
1594
  const defaultCountry = (_l = (_k = (_j = props.demoData) === null || _j === void 0 ? void 0 : _j.states) === null || _k === void 0 ? void 0 : _k.formState) === null || _l === void 0 ? void 0 : _l.bankCountry;
1937
- const setStep = En(TAX_CONTEXT_NAMESPACE);
1595
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
1938
1596
  const [paymentMethodChecked, setPaymentMethodChecked] = useState(undefined);
1939
1597
  const [paymentScheduleChecked, setPaymentScheduleChecked] = useState(undefined);
1940
1598
  const [currency, setCurrency] = useState(defaultCurrency);
@@ -1944,7 +1602,8 @@ function useDemoBankingInfoForm(props) {
1944
1602
  return true;
1945
1603
  return false;
1946
1604
  });
1947
- const bitset = (currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.withdrawalSettingId) || ((_p = (_o = props.demoData) === null || _o === void 0 ? void 0 : _o.states) === null || _p === void 0 ? void 0 : _p.bitset) ||
1605
+ const bitset = (currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.withdrawalSettingId) ||
1606
+ ((_p = (_o = props.demoData) === null || _o === void 0 ? void 0 : _o.states) === null || _p === void 0 ? void 0 : _p.bitset) ||
1948
1607
  0;
1949
1608
  useEffect(() => {
1950
1609
  if (defaultPaymentMethodChecked !== paymentMethodChecked)
@@ -1965,7 +1624,7 @@ function useDemoBankingInfoForm(props) {
1965
1624
  }),
1966
1625
  };
1967
1626
  const paymentMethodFeeLabel = paymentMethodFeeMap[currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.defaultFinancePaymentMethodId];
1968
- return cjs({
1627
+ return demoMerge({
1969
1628
  states: {
1970
1629
  step: "4",
1971
1630
  isPartner: false,
@@ -2027,7 +1686,7 @@ function useDemoBankingInfoForm(props) {
2027
1686
  refs: {
2028
1687
  formRef: { current: null },
2029
1688
  },
2030
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
1689
+ }, props.demoData || {});
2031
1690
  }
2032
1691
 
2033
1692
  const GET_TAX_DOCUMENT = dist.gql `
@@ -2057,13 +1716,13 @@ const DOCUSIGN_ERROR_STATES = [
2057
1716
  const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
2058
1717
  function useDocusignForm(props) {
2059
1718
  var _a, _b, _c;
2060
- const user = J();
2061
- const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
2062
- const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
2063
- const { data, loading: userLoading, refetch, } = $n(USER_QUERY_NAMESPACE);
1719
+ const user = useUserIdentity();
1720
+ const context = useParentValue(TAX_FORM_CONTEXT_NAMESPACE);
1721
+ const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
1722
+ const { data, loading: userLoading, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
2064
1723
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
2065
- const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = $e(GET_TAX_DOCUMENT);
2066
- const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = $e(COMPLETE_TAX_DOCUMENT);
1724
+ const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = useMutation(GET_TAX_DOCUMENT);
1725
+ const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = useMutation(COMPLETE_TAX_DOCUMENT);
2067
1726
  const [docusignStatus, setDocusignStatus] = useState(undefined);
2068
1727
  const [participantType, setParticipantType] = useState(undefined);
2069
1728
  const [errors, setErrors] = useState({});
@@ -2071,10 +1730,13 @@ function useDocusignForm(props) {
2071
1730
  const [showExitButton, setShowExitButton] = useState(false);
2072
1731
  const [showModal, setShowModal] = useState(true);
2073
1732
  // Only look at current document if it's valid (same as required type)
2074
- const existingDocumentType = validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
2075
- ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
1733
+ const existingDocumentType = validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) &&
1734
+ (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
1735
+ ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType
1736
+ : undefined;
2076
1737
  const actualDocumentType = existingDocumentType ||
2077
- getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
1738
+ getDocumentType(participantType) ||
1739
+ (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
2078
1740
  useEffect(() => {
2079
1741
  if (!existingDocumentType)
2080
1742
  return;
@@ -2197,7 +1859,7 @@ function getDocumentType(p) {
2197
1859
  return undefined;
2198
1860
  }
2199
1861
 
2200
- const style$1 = {
1862
+ const style$3 = {
2201
1863
  DocusignStatusContainer: {
2202
1864
  width: "100%",
2203
1865
  minHeight: "600px",
@@ -2224,13 +1886,13 @@ const style$1 = {
2224
1886
  },
2225
1887
  },
2226
1888
  };
2227
- const sheet$1 = createStyleSheet(style$1);
2228
- const styleString$1 = sheet$1.toString();
1889
+ const sheet$2 = createStyleSheet(style$3);
1890
+ const styleString$2 = sheet$2.toString();
2229
1891
  const DocusignExpiredView = (props) => {
2230
- const { classes } = sheet$1;
1892
+ const { classes } = sheet$2;
2231
1893
  const { text } = props;
2232
1894
  return (h("div", null,
2233
- h("style", { type: "text/css" }, styleString$1),
1895
+ h("style", { type: "text/css" }, styleString$2),
2234
1896
  h("div", { class: classes.DocusignStatusContainer },
2235
1897
  h("sl-icon", { style: {
2236
1898
  width: "50px",
@@ -2242,10 +1904,10 @@ const DocusignExpiredView = (props) => {
2242
1904
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2243
1905
  };
2244
1906
  const DocusignErrorView = (props) => {
2245
- const { classes } = sheet$1;
1907
+ const { classes } = sheet$2;
2246
1908
  const { text } = props;
2247
1909
  return (h("div", null,
2248
- h("style", { type: "text/css" }, styleString$1),
1910
+ h("style", { type: "text/css" }, styleString$2),
2249
1911
  h("div", { class: classes.DocusignStatusContainer },
2250
1912
  h("sl-icon", { style: {
2251
1913
  width: "50px",
@@ -2257,19 +1919,19 @@ const DocusignErrorView = (props) => {
2257
1919
  h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2258
1920
  };
2259
1921
  const DocusignLoadingView = () => {
2260
- const { classes } = sheet$1;
1922
+ const { classes } = sheet$2;
2261
1923
  return (h("div", null,
2262
- h("style", { type: "text/css" }, styleString$1),
1924
+ h("style", { type: "text/css" }, styleString$2),
2263
1925
  h("div", { class: classes.DocusignStatusContainer },
2264
1926
  h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
2265
1927
  };
2266
1928
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
2267
- const { classes } = sheet$1;
1929
+ const { classes } = sheet$2;
2268
1930
  const [iFrameHeight, setiFrameHeight] = useState("100%");
2269
1931
  const allowedDomains = [
2270
1932
  "referralsaasquatch.com",
2271
1933
  "impacttech.complysandbox.com",
2272
- "impacttech.complytaxforms.com",
1934
+ "impacttech.complytaxforms.com", // prod env domain
2273
1935
  ];
2274
1936
  const callback = useCallback((e) => {
2275
1937
  const allowed = allowedDomains.some((d) => { var _a; return (_a = e.origin) === null || _a === void 0 ? void 0 : _a.includes(d); });
@@ -2297,7 +1959,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2297
1959
  return h(DocusignExpiredView, { text: text });
2298
1960
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
2299
1961
  return (h("div", { style: { height: iFrameHeight } },
2300
- h("style", { type: "text/css" }, styleString$1),
1962
+ h("style", { type: "text/css" }, styleString$2),
2301
1963
  h("div", { class: classes.IFrameContainer },
2302
1964
  h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
2303
1965
  };
@@ -2394,8 +2056,8 @@ const style$2 = {
2394
2056
  },
2395
2057
  DialogButton: { margin: "auto", width: "100%" },
2396
2058
  };
2397
- const sheet$2 = createStyleSheet(style$2);
2398
- const styleString$2 = sheet$2.toString();
2059
+ const sheet$1 = createStyleSheet(style$2);
2060
+ const styleString$1 = sheet$1.toString();
2399
2061
  const vanillaStyle$1 = `
2400
2062
  :host{
2401
2063
  display: block;
@@ -2418,12 +2080,12 @@ const vanillaStyle$1 = `
2418
2080
  const DocusignFormView = (props) => {
2419
2081
  var _a;
2420
2082
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2421
- const { classes } = sheet$2;
2083
+ const { classes } = sheet$1;
2422
2084
  return (h("div", { class: classes.Container, part: "container" },
2423
2085
  h("style", { type: "text/css" },
2424
- styleString$2,
2086
+ styleString$1,
2425
2087
  vanillaStyle$1),
2426
- h("sl-dialog", { class: sheet$2.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2088
+ h("sl-dialog", { class: sheet$1.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2427
2089
  h("div", { class: classes.ModalTitleContainer, slot: "label" },
2428
2090
  h("sl-icon", { name: "info-circle", style: { color: "var(--sqm-informative-color-icon)" } }),
2429
2091
  h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
@@ -2433,7 +2095,7 @@ const DocusignFormView = (props) => {
2433
2095
  }, {
2434
2096
  br: h("br", null),
2435
2097
  })),
2436
- h("sl-button", { slot: "footer", type: "primary", class: sheet$2.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2098
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$1.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2437
2099
  h("div", { class: classes.TextContainer },
2438
2100
  h("div", null,
2439
2101
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -2478,123 +2140,30 @@ const DocusignForm = class {
2478
2140
  constructor(hostRef) {
2479
2141
  registerInstance(this, hostRef);
2480
2142
  this.ignored = true;
2481
- /**
2482
- * @uiName Setup progress
2483
- */
2484
2143
  this.formStep = "Step {step} of {count}";
2485
- /**
2486
- * @uiName Step 3 title
2487
- */
2488
2144
  this.taxForm = "Tax form";
2489
- /**
2490
- * Display the type of tax form that the participant must submit.
2491
- * @uiName Tax form name
2492
- */
2493
2145
  this.taxFormLabel = "{documentType} Tax Form";
2494
- /**
2495
- * Displayed at the top of the page to participants based in the US.
2496
- * @uiName W-9 tax form description
2497
- * @uiWidget textArea
2498
- */
2499
2146
  this.taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
2500
- /**
2501
- * @uiName Support link text
2502
- */
2503
2147
  this.supportLink = "support team";
2504
- /**
2505
- * Displayed at the top of the page to individuals joining a US program who reside outside the country.
2506
- * @uiName W-8 BEN tax form description
2507
- * @uiWidget textArea
2508
- */
2509
2148
  this.taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
2510
- /**
2511
- * Displayed at the top of the page to participants representing a business.
2512
- * @uiName W-8 BEN-E tax form description
2513
- * @uiWidget textArea
2514
- */
2515
2149
  this.taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
2516
- /**
2517
- * This appears inside the Docusign frame.
2518
- * @uiName Docusign session expired messag
2519
- * @uiWidget textArea
2520
- */
2521
2150
  this.docusignExpired = "For your security and privacy, we automatically end your session after 20 minutes of inactivity. Please refresh and re-enter your tax information to continue.";
2522
- /**
2523
- * Remind participants their session will time out after 20 minutes of inactivity.
2524
- * @uiName Docusign timed session message
2525
- * @uiWidget textArea
2526
- */
2527
2151
  this.docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
2528
- /**
2529
- * @uiName Participant type field label
2530
- */
2531
2152
  this.participantType = "Participant type";
2532
- /**
2533
- * An option for the participant type field. Used to determine which W-8 form is required.
2534
- * @uiName Business representative participant type label
2535
- */
2536
2153
  this.businessEntity = "I represent a business";
2537
- /**
2538
- * An option for the participant type field. Used to determine which W-8 form is required.
2539
- * @uiName Individual participant type label
2540
- */
2541
2154
  this.individualParticipant = "I am an individual participant";
2542
- /**
2543
- * This appears inside the Docusign frame.
2544
- * @uiName Docusign form error message
2545
- * @uiWidget textArea
2546
- */
2547
2155
  this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
2548
- /**
2549
- * @uiName Refresh page button label
2550
- */
2551
2156
  this.refreshButton = "Refresh Page";
2552
- /**
2553
- * Part of the alert displayed at the top of the page.
2554
- * @uiName Form submission error message title
2555
- * @uiWidget textArea
2556
- */
2557
2157
  this.generalErrorTitle = "There was a problem submitting your information";
2558
- /**
2559
- * Part of the alert displayed at the top of the page.
2560
- * @uiName Form submission error message description
2561
- * @uiWidget textArea
2562
- */
2563
2158
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
2564
- /**
2565
- * Part of the alert displayed at the top of the page.
2566
- * @uiName Page load error message title
2567
- * @uiWidget textArea
2568
- */
2569
2159
  this.loadingErrorAlertHeader = "There was a problem loading your form";
2570
- /**
2571
- * Part of the alert displayed at the top of the page.
2572
- * @uiName Page load error message description
2573
- * @uiWidget textArea
2574
- */
2575
2160
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
2576
- /**
2577
- * Displayed at the top of the page on all set up steps.
2578
- * @uiName Page description
2579
- */
2580
2161
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2581
- /**
2582
- * Exit button text displayed at the end of the Comply Exchange form flow
2583
- * @uiName Exit button text
2584
- */
2585
2162
  this.exitButton = "Exit";
2586
- /**
2587
- * @uiName Information modal title
2588
- */
2589
2163
  this.modalTitle = "Important Note";
2590
- /**
2591
- * @uiName Information modal description text
2592
- */
2593
2164
  this.modalDescription = "Remember the name you enter in your tax form. It must exactly match the bank account holder name configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
2594
- /**
2595
- * @uiName Information modal button text
2596
- */
2597
2165
  this.modalButtonText = "I understand";
2166
+ this.demoData = undefined;
2598
2167
  h$1(this);
2599
2168
  }
2600
2169
  disconnectedCallback() { }
@@ -2632,8 +2201,8 @@ const DocusignForm = class {
2632
2201
  get el() { return getElement(this); }
2633
2202
  };
2634
2203
  function useDocusignFormDemo(props) {
2635
- const setStep = En(TAX_CONTEXT_NAMESPACE);
2636
- return cjs({
2204
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
2205
+ return demoMerge({
2637
2206
  text: props.getTextProps(),
2638
2207
  states: {
2639
2208
  step: "3",
@@ -2666,7 +2235,7 @@ function useDocusignFormDemo(props) {
2666
2235
  setParticipantType: (p) => console.log({ p }),
2667
2236
  setDocusignStatus: (status) => console.log(status),
2668
2237
  },
2669
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2238
+ }, props.demoData || {});
2670
2239
  }
2671
2240
  const DemoDocusignIframe = ({ callbacks }) => {
2672
2241
  return (h("div", { style: {
@@ -2684,7 +2253,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2684
2253
  } }, h("span", null, "Placeholder for docusign iframe"), h("div", { style: { display: "flex", gap: "8px" } }, h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2685
2254
  };
2686
2255
 
2687
- const style$3 = {
2256
+ const style$1 = {
2688
2257
  FormWrapper: {
2689
2258
  display: "flex",
2690
2259
  justifyContent: "flex-start",
@@ -2779,9 +2348,9 @@ const style$3 = {
2779
2348
  },
2780
2349
  },
2781
2350
  };
2782
- const sheet$3 = createStyleSheet(style$3);
2783
- const styleString$3 = sheet$3.toString();
2784
- const vanillaStyle$2 = `
2351
+ const sheet = createStyleSheet(style$1);
2352
+ const styleString = sheet.toString();
2353
+ const vanillaStyle = `
2785
2354
  :host{
2786
2355
  display: block;
2787
2356
  }
@@ -2806,11 +2375,11 @@ const vanillaStyle$2 = `
2806
2375
  const IndirectTaxFormView = (props) => {
2807
2376
  var _a;
2808
2377
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2809
- const { classes } = sheet$3;
2378
+ const { classes } = sheet;
2810
2379
  return (h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2811
2380
  h("style", { type: "text/css" },
2812
- styleString$3,
2813
- vanillaStyle$2),
2381
+ styleString,
2382
+ vanillaStyle),
2814
2383
  h("div", { class: classes.TextContainer },
2815
2384
  h("div", null,
2816
2385
  !states.hideSteps && (h("p", null,
@@ -2875,155 +2444,37 @@ const IndirectTaxFormView = (props) => {
2875
2444
  const IndirectTaxForm = class {
2876
2445
  constructor(hostRef) {
2877
2446
  registerInstance(this, hostRef);
2878
- /**
2879
- * @uiName Setup progress
2880
- */
2881
2447
  this.formStep = "Step {step} of {count}";
2882
- /**
2883
- * @uiName Step 2 title
2884
- */
2885
2448
  this.indirectTax = "Indirect Tax";
2886
- /**
2887
- * Displayed under the title of this step.
2888
- * @uiName Step 2 description
2889
- * @uiWidget textArea
2890
- */
2891
2449
  this.indirectTaxDescription = "Indirect taxes (e.g. VAT, HST, GST) are transaction based taxes often applied to goods and services. Service providers are typically required to register with their tax authority and collect these taxes on behalf governments.";
2892
- /**
2893
- * Displayed with indirect tax registration options.
2894
- * @uiName Indirect tax details section title
2895
- */
2896
2450
  this.indirectTaxDetails = "Indirect tax details";
2897
- /**
2898
- * @uiName Registered for indirect tax option
2899
- * @uiWidget textArea
2900
- */
2901
2451
  this.otherRegion = "Registered for indirect tax";
2902
- /**
2903
- * Selecting this option will display fields to enter indirect tax details.
2904
- * @uiName Registered for indirect tax option description
2905
- */
2906
2452
  this.otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
2907
- /**
2908
- * @uiName Not registered for indirect tax option
2909
- * @uiWidget textArea
2910
- */
2911
2453
  this.notRegistered = "Not registered for indirect tax";
2912
- /**
2913
- * Participants based in the US are considered not registered.
2914
- * @uiName Not registered for indirect tax option description
2915
- */
2916
2454
  this.notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
2917
- /**
2918
- * @uiName Region of indirect tax field label
2919
- */
2920
2455
  this.selectedRegion = "Country / region of indirect tax";
2921
- /**
2922
- * @uiName Province field label
2923
- */
2924
2456
  this.province = "Province";
2925
- /**
2926
- * @uiName Indirect tax number field label
2927
- */
2928
2457
  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}}";
2929
- /**
2930
- * Displayed to participants registered for QST.
2931
- * @uiName QST number field label
2932
- */
2933
2458
  this.qstNumber = "QST number";
2934
- /**
2935
- * Displayed to participants registered for indirect tax in Quebec, Canada.
2936
- * @uiName QST tax checkbox
2937
- */
2938
2459
  this.isRegisteredQST = "I am registered for QST Tax";
2939
- /**
2940
- * Displayed to participants registered for indirect tax in Spain.
2941
- * @uiName Spain income tax checkbox
2942
- * @uiWidget textArea
2943
- */
2944
2460
  this.isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
2945
- /**
2946
- * Displayed to participants registered in Spain.
2947
- * @uiName Sub-region of indirect tax field label
2948
- */
2949
2461
  this.subRegion = "Sub-region";
2950
- /**
2951
- * @uiName Income tax field label
2952
- */
2953
2462
  this.subRegionTaxNumberLabel = "Income tax number";
2954
- /**
2955
- * @uiName Back button label
2956
- */
2957
2463
  this.backButton = "Back";
2958
- /**
2959
- * Communicate that after this step, only Support can change personal and indirect tax information.
2960
- * @uiName Submission confirmation alert
2961
- * @uiWidget textArea
2962
- */
2963
2464
  this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
2964
- /**
2965
- * @uiName Missing indirect tax number error message
2966
- */
2967
2465
  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";
2968
- /**
2969
- * Placeholder text displayed in the country search dropdown
2970
- * @uiName Country field placeholder text
2971
- */
2972
2466
  this.searchForCountryText = "Search for country..";
2973
- /**
2974
- * Displayed under a field that is missing required information.
2975
- * @uiName Empty form field error message
2976
- */
2977
2467
  this.fieldRequiredError = "{fieldName} is required";
2978
- /**
2979
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
2980
- * @uiName Participant is a partner alert title
2981
- * @uiWidget textArea
2982
- */
2983
2468
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
2984
- /**
2985
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
2986
- * @uiName Participant is a partner alert description
2987
- * @uiWidget textArea
2988
- */
2989
2469
  this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
2990
- /**
2991
- * @uiName Continue button label
2992
- */
2993
2470
  this.continueButton = "Continue";
2994
- /**
2995
- * @uiName Support link text
2996
- */
2997
2471
  this.supportLink = "support team";
2998
- /**
2999
- * Part of the alert displayed at the top of the page.
3000
- * @uiName Form submission error message title
3001
- * @uiWidget textArea
3002
- */
3003
2472
  this.generalErrorTitle = "There was a problem submitting your information";
3004
- /**
3005
- * Part of the alert displayed at the top of the page.
3006
- * @uiName Form submission error message description
3007
- * @uiWidget textArea
3008
- */
3009
2473
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
3010
- /**
3011
- * Part of the alert displayed at the top of the page.
3012
- * @uiName Page load error message title
3013
- * @uiWidget textArea
3014
- */
3015
2474
  this.loadingErrorAlertHeader = "There was a problem loading your form";
3016
- /**
3017
- * Part of the alert displayed at the top of the page.
3018
- * @uiName Page load error message description
3019
- * @uiWidget textArea
3020
- */
3021
2475
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
3022
- /**
3023
- * Displayed at the top of the page on all set up steps.
3024
- * @uiName Page description
3025
- */
3026
2476
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2477
+ this.demoData = undefined;
3027
2478
  h$1(this);
3028
2479
  }
3029
2480
  disconnectedCallback() { }
@@ -3077,10 +2528,10 @@ const IndirectTaxForm = class {
3077
2528
  }
3078
2529
  };
3079
2530
  function useDemoIndirectTaxForm(props) {
3080
- const setStep = En(TAX_CONTEXT_NAMESPACE);
2531
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
3081
2532
  const [option, setOption] = useState("otherRegion");
3082
2533
  const [demoFormState, setDemoFormState] = useState({});
3083
- return cjs({
2534
+ return demoMerge({
3084
2535
  states: {
3085
2536
  step: "2",
3086
2537
  disabled: false,
@@ -3157,7 +2608,7 @@ function useDemoIndirectTaxForm(props) {
3157
2608
  },
3158
2609
  },
3159
2610
  },
3160
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2611
+ }, props.demoData || {});
3161
2612
  }
3162
2613
 
3163
2614
  const mockInvoiceData = (count = 4) => {
@@ -3208,8 +2659,8 @@ const GET_INVOICES = dist.gql `
3208
2659
  `;
3209
2660
  function useInvoiceTable(props, emptyElement, loadingElement) {
3210
2661
  var _a;
3211
- const user = J();
3212
- const locale = L();
2662
+ const user = useUserIdentity();
2663
+ const locale = useLocale();
3213
2664
  const [content, setContent] = useReducer((state, next) => ({
3214
2665
  ...state,
3215
2666
  ...next,
@@ -3219,7 +2670,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3219
2670
  loading: false,
3220
2671
  page: 0,
3221
2672
  });
3222
- const { envelope: invoicesData, states, callbacks, } = Rn(GET_INVOICES, (data) => { var _a, _b, _c; return (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.invoices; }, {
2673
+ const { envelope: invoicesData, states, callbacks, } = usePaginatedQuery(GET_INVOICES, (data) => { var _a, _b, _c; return (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.invoices; }, {
3223
2674
  limit: props.perPage,
3224
2675
  offset: 0,
3225
2676
  }, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
@@ -3331,36 +2782,19 @@ async function tryMethod(c, callback) {
3331
2782
  const InvoiceTable = class {
3332
2783
  constructor(hostRef) {
3333
2784
  registerInstance(this, hostRef);
3334
- /**
3335
- * Number of invoices displayed per page
3336
- *
3337
- * @uiName Invoices per page
3338
- */
2785
+ this.programId = undefined;
3339
2786
  this.perPage = 4;
3340
- /** @uiName Hide column labels */
3341
2787
  this.hideLabels = false;
3342
- /** @uiName Invoice table previous page button label */
3343
2788
  this.prevLabel = "Prev";
3344
- /** @uiName Invoice table next page button label */
3345
2789
  this.moreLabel = "Next";
3346
- /**
3347
- * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
3348
- *
3349
- * @uiName Hidden mobile columns
3350
- */
3351
2790
  this.hiddenColumns = "0";
3352
- /** @uiName Mobile breakpoint */
3353
2791
  this.smBreakpoint = 599;
3354
- /** @uiName Tablet breakpoint */
3355
2792
  this.mdBreakpoint = 799;
3356
- /** @uiName Invoice table title */
3357
2793
  this.header = "Invoices";
3358
- /** @uiName Invoice table description */
3359
2794
  this.description = "View and download your invoices to report your earnings and stay tax compliant.";
3360
- /** @uiName Empty invoice table header */
3361
2795
  this.emptyStateHeader = "View your invoice details";
3362
- /** @uiName Empty invoice table description */
3363
2796
  this.emptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
2797
+ this.demoData = undefined;
3364
2798
  h$1(this);
3365
2799
  }
3366
2800
  disconnectedCallback() { }
@@ -3446,7 +2880,7 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3446
2880
  setContent({ loading: true });
3447
2881
  (mockData === null || mockData === void 0 ? void 0 : mockData.data) && getComponentData(components);
3448
2882
  }, [mockData === null || mockData === void 0 ? void 0 : mockData.data, components, tick]);
3449
- const demoProps = cjs({
2883
+ const demoProps = demoMerge({
3450
2884
  states: {
3451
2885
  hasPrev: false,
3452
2886
  hasNext: false,
@@ -3473,13 +2907,15 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3473
2907
  emptyElement,
3474
2908
  loadingElement,
3475
2909
  },
3476
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2910
+ }, props.demoData || {});
3477
2911
  return demoProps;
3478
2912
  }
3479
2913
 
3480
2914
  const InvoiceTableDataColumn = class {
3481
2915
  constructor(hostRef) {
3482
2916
  registerInstance(this, hostRef);
2917
+ this.columnTitle = undefined;
2918
+ this.property = undefined;
3483
2919
  h$1(this);
3484
2920
  }
3485
2921
  disconnectedCallback() { }
@@ -3498,6 +2934,7 @@ const InvoiceTableDataColumn = class {
3498
2934
  const InvoiceTableDateColumn = class {
3499
2935
  constructor(hostRef) {
3500
2936
  registerInstance(this, hostRef);
2937
+ this.columnTitle = undefined;
3501
2938
  h$1(this);
3502
2939
  }
3503
2940
  disconnectedCallback() { }
@@ -3535,7 +2972,7 @@ const PayPalIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width:
3535
2972
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.71826 -0.15332H9.30607C10.8808 -0.15332 12.7478 -0.099593 13.9903 1.00853C14.8208 1.754 15.2593 2.936 15.1597 4.21203C14.8142 8.52364 12.2694 10.9347 8.84762 10.9347H6.09026C5.61852 10.9347 5.31288 11.2503 5.18 12.0965L4.40926 17.0461C4.35611 17.3685 4.22323 17.5566 3.97739 17.5767H0.53567C0.156948 17.5767 0.0174187 17.2879 0.117082 16.6432L2.59539 0.786908C2.69505 0.148896 3.04055 -0.15332 3.71826 -0.15332Z", fill: "#113984" }),
3536
2973
  h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.25973 11.5995L6.23643 5.36045C6.32281 4.81646 6.61515 4.54782 7.20649 4.54782H12.7877C13.7112 4.54782 14.4554 4.69557 15.0401 4.96421C14.4819 8.799 12.0236 10.9347 8.80775 10.9347H6.06368C5.6916 10.9347 5.42583 11.1227 5.25973 11.5995Z", fill: "#172C70" })));
3537
2974
 
3538
- const style$4 = {
2975
+ const style = {
3539
2976
  CardContainer: {
3540
2977
  display: "grid",
3541
2978
  gridTemplateColumns: "1fr",
@@ -3673,7 +3110,7 @@ const style$4 = {
3673
3110
  },
3674
3111
  };
3675
3112
  function PayoutDetailsCardView(props) {
3676
- const sheet = createStyleSheet(style$4);
3113
+ const sheet = createStyleSheet(style);
3677
3114
  const styleString = sheet.toString();
3678
3115
  const { classes } = sheet;
3679
3116
  const { states, text } = props;
@@ -3732,7 +3169,7 @@ function PayoutDetailsCardView(props) {
3732
3169
 
3733
3170
  function usePayoutDetailsCard(props) {
3734
3171
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3735
- const { data, loading } = $n(USER_QUERY_NAMESPACE);
3172
+ const { data, loading } = useParentQueryValue(USER_QUERY_NAMESPACE);
3736
3173
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3737
3174
  function getPayoutDetailedStatusText(paymentDay) {
3738
3175
  var _a;
@@ -3791,30 +3228,12 @@ function usePayoutDetailsCard(props) {
3791
3228
  const PayoutDetailsCard = class {
3792
3229
  constructor(hostRef) {
3793
3230
  registerInstance(this, hostRef);
3794
- /**
3795
- * Badge text indicating payout status
3796
- * @uiName Payout badge status text
3797
- */
3798
3231
  this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}";
3799
- /**
3800
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
3801
- * @uiName Payout schedule by threshold text
3802
- */
3803
3232
  this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
3804
- /**
3805
- * Shown before the participant’s bank account information.
3806
- * @uiName Bank account field label
3807
- */
3808
3233
  this.accountText = "Account";
3809
- /**
3810
- * Text displayed for existing publishers that do not have saved banking information.
3811
- * @uiName Payout missing information subtext
3812
- */
3813
3234
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
3814
- /**
3815
- * @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
3816
- */
3817
3235
  this.stateController = "{}";
3236
+ this.demoData = undefined;
3818
3237
  h$1(this);
3819
3238
  }
3820
3239
  disconnectedCallback() { }
@@ -3832,7 +3251,7 @@ const PayoutDetailsCard = class {
3832
3251
  }
3833
3252
  };
3834
3253
  function useDemoPayoutDetailsCard(props) {
3835
- return cjs({
3254
+ return demoMerge({
3836
3255
  states: {
3837
3256
  loading: false,
3838
3257
  error: false,
@@ -3850,7 +3269,7 @@ function useDemoPayoutDetailsCard(props) {
3850
3269
  balance: "20.00 USD",
3851
3270
  },
3852
3271
  text: props.getTextProps(),
3853
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
3272
+ }, props.demoData || {});
3854
3273
  }
3855
3274
 
3856
3275
  const GET_TAX_SETTING = dist.gql `
@@ -3866,6 +3285,7 @@ function getCountryName(countryCode, locale) {
3866
3285
  // @ts-ignore: DisplayNames exists on Intl
3867
3286
  return new Intl.DisplayNames([(locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en-US"], {
3868
3287
  type: "region",
3288
+ // @ts-ignore: Bad DisplayNames type (has to be array)
3869
3289
  }).of([countryCode]);
3870
3290
  }
3871
3291
  function getSubRegionName(regionCode) {
@@ -3896,12 +3316,12 @@ function getIndirectTaxType(taxInformation) {
3896
3316
  }
3897
3317
  const useTaxAndCashDashboard = (props) => {
3898
3318
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
3899
- const setStep = En(TAX_CONTEXT_NAMESPACE);
3900
- const setContext = En(TAX_FORM_CONTEXT_NAMESPACE);
3319
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
3320
+ const setContext = useSetParent(TAX_FORM_CONTEXT_NAMESPACE);
3901
3321
  const [showDialog, setShowDialog] = useState(false);
3902
3322
  const { render, loading: veriffLoading, errors: veriffErrors, } = useVeriffApp();
3903
- const { data: taxSettingRes } = wn(GET_TAX_SETTING, {});
3904
- const locale = L();
3323
+ const { data: taxSettingRes } = useQuery(GET_TAX_SETTING, {});
3324
+ const locale = useLocale();
3905
3325
  useEffect(() => {
3906
3326
  // Clear override context once on submitted
3907
3327
  setContext({});
@@ -3914,7 +3334,7 @@ const useTaxAndCashDashboard = (props) => {
3914
3334
  setStep(`/${window.location.hash.replace("#", "")}`);
3915
3335
  }
3916
3336
  }, []);
3917
- const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);
3337
+ const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
3918
3338
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3919
3339
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
3920
3340
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
@@ -3990,400 +3410,90 @@ const useTaxAndCashDashboard = (props) => {
3990
3410
  const TaxAndCashDashboard = class {
3991
3411
  constructor(hostRef) {
3992
3412
  registerInstance(this, hostRef);
3993
- /**
3994
- * @uiName Active tax form badge label
3995
- */
3996
3413
  this.statusTextActive = "Active";
3997
- /**
3998
- * @uiName Invalid tax form badge label
3999
- */
4000
3414
  this.statusTextNotActive = "Invalid Tax Form";
4001
- /**
4002
- * Displayed when the participant submitted their form but it is awaiting review.
4003
- *
4004
- * @uiName Not verified tax form badge label
4005
- */
4006
3415
  this.statusTextNotVerified = "Not Verified";
4007
- /**
4008
- * Displayed when the participant has not submitted their required tax form.
4009
- *
4010
- * @uiName Required tax form badge label
4011
- */
4012
3416
  this.statusTextRequired = "Required";
4013
- /**
4014
- * Additional text displayed next to the tax form's status badge
4015
- *
4016
- * @uiName Required tax form description
4017
- */
4018
3417
  this.requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
4019
- /**
4020
- * Additional text displayed next to the tax form's status badge
4021
- *
4022
- * @uiName Active W-9 description
4023
- */
4024
3418
  this.badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
4025
- /**
4026
- * Additional text displayed next to the tax form's status badge.
4027
- *
4028
- * @uiName Active W-8 description
4029
- */
4030
3419
  this.badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
4031
- /**
4032
- * Additional text displayed next to the tax form's status badge.
4033
- *
4034
- * @uiName Tax form in review description
4035
- */
4036
3420
  this.badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
4037
- /**
4038
- * Part of the alert displayed at the top of the page.
4039
- *
4040
- * @uiName Inactive W-9 error message title
4041
- * @uiWidget textArea
4042
- */
4043
3421
  this.taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
4044
- /**
4045
- * Part of the alert displayed at the top of the page.
4046
- *
4047
- * @uiName Inactive W-8 error message title
4048
- * @uiWidget textArea
4049
- */
4050
3422
  this.taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
4051
- /**
4052
- * Part of the alert displayed at the top of the page.
4053
- *
4054
- * @uiName Inactive W-9 error message description
4055
- * @uiWidget textArea
4056
- */
4057
3423
  this.taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
4058
- /**
4059
- * Part of the alert displayed at the top of the page.
4060
- *
4061
- * @uiName Inactive W-8 error message description
4062
- */
4063
3424
  this.taxAlertNotActiveMessageW8 = "Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";
4064
- /**
4065
- * Additional text displayed next to the tax form's status badge.
4066
- *
4067
- * @uiName Invalid tax form description
4068
- * @uiWidget textArea
4069
- */
4070
3425
  this.invalidForm = "Make sure your information is correct and submit new form.";
4071
- /**
4072
- * @uiName Payout information section header
4073
- */
4074
3426
  this.bankingInformationSectionHeader = "Payout information";
4075
- /**
4076
- * @uiName Tax document section header
4077
- */
4078
3427
  this.taxDocumentSectionHeader = "Tax documents";
4079
- /**
4080
- * Displayed under the tax document section header.
4081
- *
4082
- * @uiName Tax documents section description
4083
- */
4084
3428
  this.taxDocumentSectionSubHeader = "{documentType} tax form";
4085
- /**
4086
- * Displayed under the tax document section header.
4087
- *
4088
- * @uiName Tax documents section description
4089
- */
4090
3429
  this.taxDocumentSectionSubHeaderNoDocument = "Tax form";
4091
- /**
4092
- *
4093
- * @uiName Indirect tax section header
4094
- */
4095
3430
  this.indirectTaxInfoSectionHeader = "Indirect tax";
4096
- /**
4097
- * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
4098
- *
4099
- * @uiName Canadian province of indirect tax
4100
- */
4101
3431
  this.indirectTaxInfoCanada = "Registered in {province}, {country}";
4102
- /**
4103
- * If the participant is registered for indirect tax, display the country they’re registered in.
4104
- *
4105
- * @uiName Indirect tax country
4106
- */
4107
3432
  this.indirectTaxInfoOtherCountry = "Registered in {country}";
4108
- /**
4109
- * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
4110
- *
4111
- * @uiName Spanish region of indirect tax
4112
- */
4113
3433
  this.indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
4114
- /**
4115
- * @uiName Indirect tax tooltip
4116
- * @uiWidget textArea
4117
- */
4118
3434
  this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
4119
- /**
4120
- * Displayed to participants who have submitted their indirect tax information.
4121
- *
4122
- * @uiName Indirect tax details
4123
- */
4124
3435
  this.indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
4125
- /**
4126
- * @uiName Submit new tax form button label
4127
- */
4128
3436
  this.newFormButton = "Submit new tax form";
4129
- /**
4130
- *
4131
- * @uiName Edit payment info button label
4132
- */
4133
3437
  this.editPaymentInformationButton = "Edit payout information";
4134
- /**
4135
- * @uiName Not registered for indirect tax text
4136
- * @uiWidget textArea
4137
- */
4138
3438
  this.notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
4139
- /**
4140
- * Displayed to participants registered in Quebec, Canada.
4141
- * @uiName QST indirect tax details
4142
- */
4143
3439
  this.qstNumber = "QST number: {qstNumber}";
4144
- /**
4145
- * @uiName Spain sub-region indirect tax number
4146
- */
4147
3440
  this.subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
4148
- /**
4149
- * @uiName Payout status badge
4150
- */
4151
3441
  this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
4152
- /**
4153
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
4154
- * @uiName Payout schedule by threshold text
4155
- */
4156
3442
  this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
4157
- /**
4158
- * Shown before the participant’s bank account information.
4159
- * @uiName Bank account field label
4160
- */
4161
3443
  this.accountText = "Account";
4162
- /**
4163
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
4164
- * @uiName Payout error message title
4165
- * @uiWidget textArea
4166
- */
4167
3444
  this.payoutHoldAlertHeader = "Your payout is on hold";
4168
- /**
4169
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
4170
- * @uiName Payout error message description
4171
- * @uiWidget textArea
4172
- */
4173
3445
  this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
4174
- /**
4175
- * Text displayed for existing publishers that do not have saved banking information.
4176
- * @uiName Payout missing information subtext
4177
- */
4178
3446
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
4179
- /**
4180
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
4181
- * @uiName Verification required alert message title
4182
- * @uiWidget textArea
4183
- */
4184
3447
  this.verificationRequiredHeader = "Verify your identity";
4185
- /**
4186
- * Part of the alert displayed at the top of the page when the user needs to verify their identity
4187
- * @uiName Verification required alert message description
4188
- * @uiWidget textArea
4189
- */
4190
3448
  this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
4191
- /**
4192
- * @uiName Verification required internal alert header
4193
- */
4194
3449
  this.verificationRequiredInternalHeader = "Identity verification in progress";
4195
- /**
4196
- * @uiName Verification required internal alert description
4197
- */
4198
3450
  this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
4199
- /**
4200
- * @uiName Verification review internal alert header
4201
- */
4202
3451
  this.verificationReviewInternalHeader = "Identity verification under review";
4203
- /**
4204
- * @uiName Verification review internal alert description
4205
- */
4206
3452
  this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
4207
- /**
4208
- * @uiName Verification failed internal alert header
4209
- */
4210
3453
  this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4211
- /**
4212
- * @uiName Verification failed internal alert description
4213
- */
4214
3454
  this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
4215
- /**
4216
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
4217
- * @uiName Verification required alert button text
4218
- */
4219
3455
  this.verificationRequiredButtonText = "Start Verification";
4220
- /**
4221
- * @uiName W-9 payment threshold alert header
4222
- */
4223
3456
  this.w9RequiredHeader = "Your next payout is on hold";
4224
- /**
4225
- * @uiName W-9 payment threshold alert description
4226
- */
4227
3457
  this.w9RequiredDescription = "You have surpassed the $2000 threshold requiring a W-9 form or have multiple accounts with impact.com. To remove the hold, please submit your W-9 form.";
4228
- /**
4229
- * @uiName Account review alert header
4230
- */
4231
3458
  this.accountReviewHeader = "Your account is under review";
4232
- /**
4233
- * @uiName Account review alert description
4234
- */
4235
3459
  this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
4236
- /**
4237
- * @uiName Balance under payout minimum alert header
4238
- */
4239
3460
  this.balanceUnderThresholdHeader = "Your balance is under the minimum payout";
4240
- /**
4241
- * @uiName Balance under payout minimum alert description
4242
- */
4243
3461
  this.balanceUnderThresholdDescription = "Your total balance is under {minPayoutAmount}, the minimum required for payout.";
4244
- /**
4245
- * @uiName Payment hold on change alert header
4246
- */
4247
3462
  this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
4248
- /**
4249
- * @uiName Payment hold on change alert description
4250
- */
4251
3463
  this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
4252
- /**
4253
- * @uiName Beneficiary name invalid alert header
4254
- */
4255
3464
  this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
4256
- /**
4257
- * @uiName Beneficiary name invalid description
4258
- */
4259
3465
  this.beneficiaryNameInvalidDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
4260
- /**
4261
- * @uiName Beneficiary name mismatch alert header
4262
- */
4263
3466
  this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
4264
- /**
4265
- * @uiName Beneficiary name mismatch alert description
4266
- */
4267
3467
  this.beneficiaryNameMismatchDescription = "The account holder (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
4268
- /**
4269
- * @uiName Bank name mismatch alert header
4270
- */
4271
3468
  this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
4272
- /**
4273
- * @uiName Bank name mismatch alert description
4274
- */
4275
3469
  this.bankTaxNameMismatchDescription = "The bank account (beneficiary) name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
4276
- /**
4277
- * @uiName Withdrawal settings invalid alert header
4278
- */
4279
3470
  this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
4280
- /**
4281
- * @uiName Withdrawal settings invalid alert description
4282
- */
4283
3471
  this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
4284
- /**
4285
- * @uiName Payment returned alert header
4286
- */
4287
3472
  this.paymentReturnedHeader = "Payout unsuccessful";
4288
- /**
4289
- * @uiName Payment returned alert description
4290
- */
4291
3473
  this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
4292
- /**
4293
- * @uiName Terms and Conditions text
4294
- */
4295
3474
  this.termsAndConditions = "Terms and Conditions";
4296
- /**
4297
- * @uiName W-9 payment threshold alert button text
4298
- */
4299
3475
  this.w9RequiredButtonText = "Submit W-9";
4300
- /**
4301
- * Part of the alert displayed at the top of the page.
4302
- * @uiName Form submission error message title
4303
- * @uiWidget textArea
4304
- */
4305
3476
  this.generalErrorTitle = "There was a problem submitting your information";
4306
- /**
4307
- * Part of the alert displayed at the top of the page.
4308
- * @uiName Form submission error message description
4309
- * @uiWidget textArea
4310
- */
4311
3477
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
4312
- /**
4313
- * Displayed under the payout details card.
4314
- * @uiName Payout from impact text
4315
- * @uiWidget textArea
4316
- */
4317
3478
  this.payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
4318
- /**
4319
- * Part of the alert displayed at the top of the page.
4320
- * @uiName Page load error message title
4321
- * @uiWidget textArea
4322
- */
4323
3479
  this.loadingErrorAlertHeader = "There was a problem loading your form";
4324
- /**
4325
- * Part of the alert displayed at the top of the page.
4326
- * @uiName Page load error message description
4327
- * @uiWidget textArea
4328
- */
4329
3480
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
4330
- /**
4331
- * Part of the Invoice table displayed at the bottom of the page.
4332
- * @uiName Invoice number column title
4333
- */
4334
3481
  this.invoiceColumnTitle = "Invoice";
4335
- /**
4336
- * Part of the Invoice table displayed at the bottom of the page.
4337
- * @uiName Date column title
4338
- */
4339
3482
  this.dateColumnTitle = "Date";
4340
- /**
4341
- * Part of the Invoice table displayed at the bottom of the page.
4342
- * @uiName Earnings column title
4343
- */
4344
3483
  this.earningsColumnTitle = "Earnings";
4345
- /**
4346
- * Part of the Invoice table displayed at the bottom of the page.
4347
- * @uiName Indirect tax column title
4348
- */
4349
3484
  this.indirectTaxColumnTitle = "Indirect tax";
4350
- /**
4351
- * Part of the Invoice table displayed at the bottom of the page.
4352
- * @uiName Earnings after tax column title
4353
- */
4354
3485
  this.earningsAfterTaxColumnTitle = "Earnings after tax";
4355
- /** @uiName Invoice table description */
4356
3486
  this.invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
4357
- /** @uiName Invoice table previous page button label */
4358
3487
  this.invoicePrevLabel = "Prev";
4359
- /** @uiName Invoice table next page button label */
4360
3488
  this.invoiceMoreLabel = "Next";
4361
- /** @uiName Invoice table title */
4362
3489
  this.invoiceHeader = "Invoices";
4363
- /** @uiName Empty invoice table header */
4364
3490
  this.invoiceEmptyStateHeader = "View your invoice details";
4365
- /** @uiName Empty invoice table description */
4366
3491
  this.invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
4367
- /**
4368
- * @uiName Replace tax form modal header
4369
- */
4370
3492
  this.replaceTaxFormModalHeader = "Replace existing tax form";
4371
- /**
4372
- * @uiName Replace tax form modal body text
4373
- */
4374
3493
  this.replaceTaxFormModalBodyText = "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";
4375
- /**
4376
- * @uiName Support link text
4377
- */
4378
3494
  this.supportLink = "support team";
4379
- /**
4380
- * @uiName Cancel button label
4381
- */
4382
3495
  this.cancelButton = "Cancel";
4383
- /**
4384
- * @undocumented
4385
- * @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
4386
- */
3496
+ this.demoData = undefined;
4387
3497
  this.stateController = "{}";
4388
3498
  h$1(this);
4389
3499
  }
@@ -4405,13 +3515,19 @@ const TaxAndCashDashboard = class {
4405
3515
  ? useDemoTaxAndCashDashboard(this)
4406
3516
  : useTaxAndCashDashboard(this);
4407
3517
  return (h(Host, null, h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
4408
- payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
3518
+ payoutDetailsCardSlot: (h("sqm-payout-details-card", { ...this.getTextProps() })),
4409
3519
  } })));
4410
3520
  }
4411
3521
  };
4412
3522
  function useDemoTaxAndCashDashboard(props) {
3523
+ const parsedStates = parseStates(props.stateController);
3524
+ const stateOverride = parsedStates &&
3525
+ typeof parsedStates === "object" &&
3526
+ !Array.isArray(parsedStates)
3527
+ ? parsedStates
3528
+ : {};
4413
3529
  // @ts-ignore
4414
- return cjs({
3530
+ return demoMerge({
4415
3531
  states: {
4416
3532
  dateSubmitted: "today",
4417
3533
  documentType: "W9",
@@ -4451,7 +3567,7 @@ function useDemoTaxAndCashDashboard(props) {
4451
3567
  },
4452
3568
  } })),
4453
3569
  },
4454
- }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
3570
+ }, props.demoData || stateOverride);
4455
3571
  }
4456
3572
 
4457
3573
  const GET_INDIRECT_TAX_COUNTRY_CODE = dist.gql `
@@ -4467,16 +3583,16 @@ function useUserInfoForm(props) {
4467
3583
  const currencyRef = useRef(undefined);
4468
3584
  const phoneCountryRef = useRef(undefined);
4469
3585
  const formRef = useRef(null);
4470
- const context = Fn(TAX_FORM_CONTEXT_NAMESPACE);
4471
- const countries = Fn(SORTED_COUNTRIES_NAMESPACE);
4472
- const [step, setStep] = Pn(TAX_CONTEXT_NAMESPACE);
4473
- const [userFormContext, setUserFormContext] = Pn(USER_FORM_CONTEXT_NAMESPACE);
4474
- const user = J();
4475
- const [connectImpactPartner, { loading: connectLoading }] = $e(CONNECT_PARTNER);
4476
- const [completeImpactPartner, { loading: completeLoading }] = $e(COMPLETE_PARTNER);
4477
- const { data: tenantData } = wn(GET_INDIRECT_TAX_COUNTRY_CODE, {});
4478
- const { data, loading, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
4479
- const _currencies = Fn(CURRENCIES_NAMESPACE);
3586
+ const context = useParentValue(TAX_FORM_CONTEXT_NAMESPACE);
3587
+ const countries = useParentValue(SORTED_COUNTRIES_NAMESPACE);
3588
+ const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
3589
+ const [userFormContext, setUserFormContext] = useParent(USER_FORM_CONTEXT_NAMESPACE);
3590
+ const user = useUserIdentity();
3591
+ const [connectImpactPartner, { loading: connectLoading }] = useMutation(CONNECT_PARTNER);
3592
+ const [completeImpactPartner, { loading: completeLoading }] = useMutation(COMPLETE_PARTNER);
3593
+ const { data: tenantData } = useQuery(GET_INDIRECT_TAX_COUNTRY_CODE, {});
3594
+ const { data, loading, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
3595
+ const _currencies = useParentValue(CURRENCIES_NAMESPACE);
4480
3596
  const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
4481
3597
  const [countrySearch, setCountrySearch] = useState("");
4482
3598
  const [phoneCountrySearch, setPhoneCountrySearch] = useState("");
@@ -4498,7 +3614,8 @@ function useUserInfoForm(props) {
4498
3614
  if (objectIsFull(userFormContext))
4499
3615
  return;
4500
3616
  // Prefer MI email if it was verified before this
4501
- const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) ? user.managedIdentity.email
3617
+ const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified)
3618
+ ? user.managedIdentity.email
4502
3619
  : user.email;
4503
3620
  if (((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) && ((_c = user.impactConnection) === null || _c === void 0 ? void 0 : _c.user)) {
4504
3621
  // Initialise with partner information
@@ -4585,7 +3702,7 @@ function useUserInfoForm(props) {
4585
3702
  }
4586
3703
  }, [currencySearch, currencies]);
4587
3704
  async function connectPartner(formData) {
4588
- var _a, _b, _c, _d, _e, _f;
3705
+ var _a, _b, _c;
4589
3706
  const vars = {
4590
3707
  user: {
4591
3708
  id: user.id,
@@ -4611,23 +3728,24 @@ function useUserInfoForm(props) {
4611
3728
  result = await completeImpactPartner({
4612
3729
  vars,
4613
3730
  });
4614
- connectionResult = (_b = result) === null || _b === void 0 ? void 0 : _b.completeImpactConnection;
3731
+ connectionResult = result === null || result === void 0 ? void 0 : result.completeImpactConnection;
4615
3732
  }
4616
3733
  else {
4617
3734
  result = await connectImpactPartner({
4618
3735
  vars,
4619
3736
  });
4620
- connectionResult = (_c = result) === null || _c === void 0 ? void 0 : _c.createImpactConnection;
3737
+ connectionResult = result === null || result === void 0 ? void 0 : result.createImpactConnection;
4621
3738
  }
4622
- if (!result || ((_d = result) === null || _d === void 0 ? void 0 : _d.message))
3739
+ if (!result || (result === null || result === void 0 ? void 0 : result.message))
4623
3740
  throw new Error();
4624
3741
  if (!(connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.success)) {
4625
3742
  console.error("Failed to create Impact connection: ", connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.validationErrors);
4626
3743
  throw new Error();
4627
3744
  }
4628
3745
  await refetch();
4629
- const resultPublisher = (_f = (_e = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.publisher;
4630
- const hasValidCurrentDocument = validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
3746
+ const resultPublisher = (_c = (_b = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher;
3747
+ const hasValidCurrentDocument = validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) &&
3748
+ (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
4631
3749
  // Fire form change event
4632
3750
  window.dispatchEvent(new Event(TAX_FORM_UPDATED_EVENT_KEY));
4633
3751
  return {
@@ -4777,152 +3895,38 @@ const TaxForm = class {
4777
3895
  constructor(hostRef) {
4778
3896
  registerInstance(this, hostRef);
4779
3897
  this.ignored = true;
4780
- /**
4781
- * @uiName First name field label
4782
- */
4783
3898
  this.firstName = "First name";
4784
- /**
4785
- * @uiName Last name field label
4786
- */
4787
3899
  this.lastName = "Last name";
4788
- /**
4789
- * @uiName Email field label
4790
- */
4791
3900
  this.email = "Email";
4792
- /**
4793
- * @uiName Country field label
4794
- */
4795
3901
  this.country = "Country";
4796
- /**
4797
- * @uiName Phone number field label
4798
- */
4799
3902
  this.phoneNumber = "Phone number";
4800
- /**
4801
- * @uiName Address field label
4802
- */
4803
3903
  this.address = "Address";
4804
- /**
4805
- * @uiName City field label
4806
- */
4807
3904
  this.city = "City";
4808
- /**
4809
- * @uiName State field label
4810
- */
4811
3905
  this.state = "State";
4812
- /**
4813
- * @uiName State field label
4814
- */
4815
3906
  this.province = "Province";
4816
- /**
4817
- * @uiName State field label
4818
- */
4819
3907
  this.region = "Region";
4820
- /**
4821
- * @uiName Postal code field label
4822
- */
4823
3908
  this.postalCode = "Postal code";
4824
- /**
4825
- * @uiName Currency field label
4826
- */
4827
3909
  this.currency = "Currency";
4828
- /**
4829
- * @uiName Setup progress
4830
- */
4831
3910
  this.formStep = "Step {step} of {count}";
4832
- /**
4833
- * @uiName Step 1 title
4834
- */
4835
3911
  this.personalInformation = "Personal Information";
4836
- /**
4837
- * @uiName Continue button label
4838
- */
4839
3912
  this.continueButton = "Continue";
4840
- /**
4841
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
4842
- * @uiName Participant is a partner alert title
4843
- * @uiWidget textArea
4844
- */
4845
3913
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
4846
- /**
4847
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
4848
- * @uiName Participant is a partner alert description
4849
- * @uiWidget textArea
4850
- */
4851
3914
  this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
4852
- /**
4853
- * Part of the alert displayed at the top of the page.
4854
- * @uiName Form submission error message title
4855
- * @uiWidget textArea
4856
- */
4857
3915
  this.generalErrorTitle = "There was a problem submitting your information";
4858
- /**
4859
- * Part of the alert displayed at the top of the page.
4860
- * @uiName Form submission error message description
4861
- * @uiWidget textArea
4862
- */
4863
3916
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
4864
- /**
4865
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
4866
- * @uiName Terms and conditions checkbox
4867
- */
4868
3917
  this.allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
4869
- /**
4870
- * The link text that appears in the terms and conditions checkbox
4871
- * @uiName Terms and conditions text
4872
- * @uiWidget textArea
4873
- */
4874
3918
  this.termsAndConditionsLabel = "terms and conditions";
4875
- /**
4876
- * The link that appears in the terms and conditions checkbox
4877
- * @uiName Terms and conditions link
4878
- */
4879
3919
  this.termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
4880
- /**
4881
- * Placeholder text displayed in the country search dropdown
4882
- * @uiName Country field placeholder text
4883
- */
4884
3920
  this.searchForCountryText = "Search for country..";
4885
- /**
4886
- * Placeholder text displayed in the currency search dropdown
4887
- * @uiName Currency field placeholder text
4888
- */
4889
3921
  this.searchForCurrencyText = "Search for currency..";
4890
- /**
4891
- * Displayed under a field that is missing required information.
4892
- * @uiName Empty form field error message
4893
- */
4894
3922
  this.fieldRequiredError = "{fieldName} is required";
4895
- /**
4896
- * Displayed under a field when it has an invalid entry.
4897
- * @uiName Form field error message
4898
- */
4899
3923
  this.fieldInvalidError = "{fieldName} is invalid";
4900
- /**
4901
- * Displayed under Address or City fields that includes invalid characters (non-ASCII).
4902
- * @uiName Invalid character error message
4903
- */
4904
3924
  this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
4905
- /**
4906
- * Part of the alert displayed at the top of the page.
4907
- * @uiName Page load error message title
4908
- * @uiWidget textArea
4909
- */
4910
3925
  this.loadingErrorAlertHeader = "There was a problem loading your form";
4911
- /**
4912
- * Part of the alert displayed at the top of the page.
4913
- * @uiName Page load error message description
4914
- * @uiWidget textArea
4915
- */
4916
3926
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
4917
- /**
4918
- * Displayed at the top of the page on all set up steps.
4919
- * @uiName Page description
4920
- */
4921
3927
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
4922
- /**
4923
- * @uiName Support link text
4924
- */
4925
3928
  this.supportLink = "support team";
3929
+ this.demoData = undefined;
4926
3930
  h$1(this);
4927
3931
  }
4928
3932
  disconnectedCallback() { }
@@ -4950,8 +3954,8 @@ const TaxForm = class {
4950
3954
  }
4951
3955
  };
4952
3956
  function useDemoUserInfoForm(props) {
4953
- const setStep = En(TAX_CONTEXT_NAMESPACE);
4954
- return cjs({
3957
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
3958
+ return demoMerge({
4955
3959
  setStep,
4956
3960
  onSubmit: async () => {
4957
3961
  setStep("/2");
@@ -4995,7 +3999,7 @@ function useDemoUserInfoForm(props) {
4995
3999
  },
4996
4000
  },
4997
4001
  },
4998
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
4002
+ }, props.demoData || {});
4999
4003
  }
5000
4004
 
5001
4005
  export { BankingInfoForm as sqm_banking_info_form, DocusignForm as sqm_docusign_form, IndirectTaxForm as sqm_indirect_tax_form, InvoiceTable as sqm_invoice_table, InvoiceTableDataColumn as sqm_invoice_table_data_column, InvoiceTableDateColumn as sqm_invoice_table_date_column, InvoiceTableGenericColumn as sqm_invoice_table_download_column, PayoutDetailsCard as sqm_payout_details_card, TaxAndCashDashboard as sqm_tax_and_cash_dashboard, TaxForm as sqm_user_info_form };