@saasquatch/mint-components 2.5.5-1 → 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 +818 -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 +776 -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 +767 -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-641f968d.system.js +0 -1
  972. package/dist/mint-components/p-686dd5eb.system.js +0 -1
  973. package/dist/mint-components/p-6b5528b1.entry.js +0 -33
  974. package/dist/mint-components/p-6c3a1d86.js +0 -1
  975. package/dist/mint-components/p-6c8758ac.entry.js +0 -1
  976. package/dist/mint-components/p-6dffb326.entry.js +0 -13
  977. package/dist/mint-components/p-6e9738a4.js +0 -1
  978. package/dist/mint-components/p-6f8dde97.system.js +0 -1
  979. package/dist/mint-components/p-7010498f.js +0 -1
  980. package/dist/mint-components/p-7062154c.system.js +0 -1
  981. package/dist/mint-components/p-717fa601.js +0 -1
  982. package/dist/mint-components/p-732907b1.system.entry.js +0 -1
  983. package/dist/mint-components/p-7562cd98.system.js +0 -1
  984. package/dist/mint-components/p-7ae8fb53.system.js +0 -1
  985. package/dist/mint-components/p-808f7f22.entry.js +0 -1
  986. package/dist/mint-components/p-80cee817.system.js +0 -1
  987. package/dist/mint-components/p-8452837a.system.js +0 -1
  988. package/dist/mint-components/p-85996c52.system.entry.js +0 -1
  989. package/dist/mint-components/p-8629d0be.system.entry.js +0 -1
  990. package/dist/mint-components/p-86c430f8.system.entry.js +0 -1
  991. package/dist/mint-components/p-8707c7fb.entry.js +0 -1
  992. package/dist/mint-components/p-8899ff38.system.entry.js +0 -1
  993. package/dist/mint-components/p-88a5350b.entry.js +0 -11
  994. package/dist/mint-components/p-8d363802.js +0 -1
  995. package/dist/mint-components/p-93e4954e.entry.js +0 -308
  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-d028db52.system.entry.js +0 -1
  1031. package/dist/mint-components/p-d0318b41.entry.js +0 -13
  1032. package/dist/mint-components/p-d0ce74bd.system.js +0 -1
  1033. package/dist/mint-components/p-d267f4bb.system.js +0 -1
  1034. package/dist/mint-components/p-d26df2da.entry.js +0 -1
  1035. package/dist/mint-components/p-d3b1ab20.system.entry.js +0 -1
  1036. package/dist/mint-components/p-d463fa82.system.js +0 -1
  1037. package/dist/mint-components/p-d46a048d.system.entry.js +0 -1
  1038. package/dist/mint-components/p-d533ff7b.system.js +0 -271
  1039. package/dist/mint-components/p-d6a7f402.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
@@ -2,279 +2,279 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8277cbb3.js');
6
- const global = require('./global-3ba30270.js');
7
- const domContextHooks_module = require('./dom-context-hooks.module-e7b6727c.js');
8
- const index_module = require('./index.module-3221a469.js');
9
- const jsonpointer = require('./jsonpointer-11327262.js');
10
- const cjs = require('./cjs-1066ec21.js');
5
+ const index = require('./index-d41c2c94.js');
6
+ const index$1 = require('./index-8530c62f.js');
7
+ const domContextHooks_module = require('./dom-context-hooks.module-735c3942.js');
8
+ const demoMerge = require('./demoMerge-6f125494.js');
9
+ const global = require('./global-973bc63c.js');
10
+ const JSS = require('./JSS-bf8078e9.js');
11
11
  const utils = require('./utils-6847bc06.js');
12
- const JSS = require('./JSS-8503a151.js');
13
- require('./mixins-4761d472.js');
14
- require('./AsYouType-d15caac8.js');
15
- const subregions = require('./subregions-36662566.js');
16
- const GenericTableView = require('./GenericTableView-4c48c630.js');
17
- const reRender = require('./re-render-34b36aca.js');
18
- const useReferralTable = require('./useReferralTable-ad86986b.js');
19
- const useChildElements = require('./useChildElements-36f7e4bb.js');
20
- const luxon = require('./luxon-c1ad356a.js');
21
- const sqmUserInfoFormView = require('./sqm-user-info-form-view-aedca5fe.js');
22
- const data = require('./data-ae38fa86.js');
12
+ const data = require('./data-77273531.js');
13
+ const jsonpointer = require('./jsonpointer-0db21316.js');
23
14
  const keys = require('./keys-5a2c9ed2.js');
24
- const eventKeys = require('./eventKeys-7af4df4d.js');
25
- const useIndirectTaxForm = require('./useIndirectTaxForm-7656fc63.js');
15
+ const parseStates = require('./parseStates-35013ba4.js');
16
+ const subregions = require('./subregions-3dbacb18.js');
17
+ const sqmUserInfoFormView = require('./sqm-user-info-form-view-e878a9a3.js');
18
+ const useIndirectTaxForm = require('./useIndirectTaxForm-691691c2.js');
19
+ const GenericTableView = require('./GenericTableView-12d35117.js');
20
+ const reRender = require('./re-render-51c48d7c.js');
21
+ const useReferralTable = require('./useReferralTable-32b3541b.js');
22
+ const useChildElements = require('./useChildElements-e5e26816.js');
23
+ const luxon = require('./luxon-d3612a3d.js');
24
+ require('./AsYouType-5f15a922.js');
25
+ require('./mixins-4761d472.js');
26
26
 
27
27
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
28
28
  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;
29
29
  const { errors, ...formState } = props.states.formState;
30
30
  return {
31
31
  0: {
32
- input: (index.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) && {
33
- class: "error-input",
34
- helpText: getValidationErrorMessage({
35
- 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,
36
- label: props.text.beneficiaryAccountNameLabel,
37
- 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,
38
- fieldName: "beneficiaryAccountName",
39
- }),
40
- })))),
32
+ input: (index.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) && {
33
+ class: "error-input",
34
+ helpText: getValidationErrorMessage({
35
+ 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,
36
+ label: props.text.beneficiaryAccountNameLabel,
37
+ 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,
38
+ fieldName: "beneficiaryAccountName",
39
+ }),
40
+ }) })),
41
41
  },
42
42
  1: {
43
- input: (index.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) && {
44
- class: "error-input",
45
- helpText: getValidationErrorMessage({
46
- 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,
47
- label: props.text.bankAccountTypeLabel,
48
- 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,
49
- fieldName: "bankAccountType",
50
- }),
51
- })),
43
+ input: (index.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) && {
44
+ class: "error-input",
45
+ helpText: getValidationErrorMessage({
46
+ 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,
47
+ label: props.text.bankAccountTypeLabel,
48
+ 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,
49
+ fieldName: "bankAccountType",
50
+ }),
51
+ }) },
52
52
  index.h("sl-menu-item", { value: "CHECKING" }, props.text.checkingSelectItemLabel),
53
53
  index.h("sl-menu-item", { value: "SAVINGS" }, props.text.savingsSelectItemLabel))),
54
54
  },
55
55
  2: {
56
- input: (index.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) && {
57
- class: "error-input",
58
- helpText: getValidationErrorMessage({
59
- 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,
60
- label: props.text.bankAccountNumberLabel,
61
- 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,
62
- fieldName: "bankAccountNumber",
63
- }),
64
- })))),
56
+ input: (index.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) && {
57
+ class: "error-input",
58
+ helpText: getValidationErrorMessage({
59
+ 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,
60
+ label: props.text.bankAccountNumberLabel,
61
+ 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,
62
+ fieldName: "bankAccountNumber",
63
+ }),
64
+ }) })),
65
65
  },
66
66
  3: {
67
- input: (index.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) && {
68
- class: "error-input",
69
- helpText: getValidationErrorMessage({
70
- 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,
71
- label: props.text.ibanLabel,
72
- 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,
73
- fieldName: "bankAccountNumber",
74
- }),
75
- })))),
67
+ input: (index.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) && {
68
+ class: "error-input",
69
+ helpText: getValidationErrorMessage({
70
+ 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,
71
+ label: props.text.ibanLabel,
72
+ 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,
73
+ fieldName: "bankAccountNumber",
74
+ }),
75
+ }) })),
76
76
  },
77
77
  4: {
78
- input: (index.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) && {
79
- class: "error-input",
80
- helpText: getValidationErrorMessage({
81
- 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,
82
- label: props.text.swiftCodeLabel,
83
- 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,
84
- fieldName: "swiftCode",
85
- }),
86
- })))),
78
+ input: (index.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) && {
79
+ class: "error-input",
80
+ helpText: getValidationErrorMessage({
81
+ 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,
82
+ label: props.text.swiftCodeLabel,
83
+ 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,
84
+ fieldName: "swiftCode",
85
+ }),
86
+ }) })),
87
87
  },
88
88
  5: {
89
- input: (index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
89
+ input: (index.h("sl-input", { required: true, label: global.intl.formatMessage({
90
90
  id: "routingCodeText",
91
91
  defaultMessage: props.text.routingCodeLabel,
92
92
  }, {
93
93
  bankCountry,
94
- }), 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) && {
95
- class: "error-input",
96
- helpText: getValidationErrorMessage({
97
- 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,
98
- label: global.intl.formatMessage({
99
- id: "routingCodeErrorText",
100
- defaultMessage: props.text.routingCodeLabel,
101
- }, {
102
- bankCountry,
94
+ }), 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) && {
95
+ class: "error-input",
96
+ helpText: getValidationErrorMessage({
97
+ 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,
98
+ label: global.intl.formatMessage({
99
+ id: "routingCodeErrorText",
100
+ defaultMessage: props.text.routingCodeLabel,
101
+ }, {
102
+ bankCountry,
103
+ }),
104
+ 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,
105
+ fieldName: "routingCode",
103
106
  }),
104
- 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,
105
- fieldName: "routingCode",
106
- }),
107
- })))),
107
+ }) })),
108
108
  },
109
109
  6: {
110
- input: (index.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) && {
111
- class: "error-input",
112
- helpText: getValidationErrorMessage({
113
- 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,
114
- label: props.text.bankNameLabel,
115
- 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,
116
- fieldName: "bankName",
117
- }),
118
- })))),
119
- },
120
- 7: {
121
- input: [
122
- index.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) && {
110
+ input: (index.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) && {
123
111
  class: "error-input",
124
112
  helpText: getValidationErrorMessage({
125
- 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,
126
- label: props.text.classificationLabel,
127
- 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,
128
- fieldName: "beneficiaryClassification",
113
+ 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,
114
+ label: props.text.bankNameLabel,
115
+ 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,
116
+ fieldName: "bankName",
129
117
  }),
130
- })),
118
+ }) })),
119
+ },
120
+ 7: {
121
+ input: [
122
+ index.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) && {
123
+ class: "error-input",
124
+ helpText: getValidationErrorMessage({
125
+ 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,
126
+ label: props.text.classificationLabel,
127
+ 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,
128
+ fieldName: "beneficiaryClassification",
129
+ }),
130
+ }) },
131
131
  index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
132
132
  index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
133
133
  index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel)),
134
- index.h("sl-input", Object.assign({ required: true, label: global.intl.formatMessage({
134
+ index.h("sl-input", { required: true, label: global.intl.formatMessage({
135
135
  id: "fxWireText",
136
136
  defaultMessage: props.text.taxPayerIdLabel,
137
137
  }, {
138
138
  bankCountry,
139
- }), 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) && {
140
- class: "error-input",
141
- helpText: getValidationErrorMessage({
142
- 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,
143
- label: props.text.taxPayerIdLabel,
144
- 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,
145
- fieldName: "taxPayerId",
146
- }),
147
- }))),
139
+ }), 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) && {
140
+ class: "error-input",
141
+ helpText: getValidationErrorMessage({
142
+ 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,
143
+ label: props.text.taxPayerIdLabel,
144
+ 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,
145
+ fieldName: "taxPayerId",
146
+ }),
147
+ }) }),
148
148
  ],
149
149
  },
150
150
  8: {
151
- input: (index.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) && {
152
- class: "error-input",
153
- helpText: getValidationErrorMessage({
154
- 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,
155
- label: props.text.classificationCPFLabel,
156
- 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,
157
- fieldName: "beneficiaryClassification",
158
- }),
159
- })),
151
+ input: (index.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) && {
152
+ class: "error-input",
153
+ helpText: getValidationErrorMessage({
154
+ 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,
155
+ label: props.text.classificationCPFLabel,
156
+ 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,
157
+ fieldName: "beneficiaryClassification",
158
+ }),
159
+ }) },
160
160
  index.h("sl-menu-item", { value: "CPF" }, "CPF"),
161
161
  index.h("sl-menu-item", { value: "CNPJ" }, "CNPJ"))),
162
162
  },
163
163
  9: {
164
- input: (index.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) && {
165
- class: "error-input",
166
- helpText: getValidationErrorMessage({
167
- 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,
168
- label: props.text.patronymicNameLabel,
169
- 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,
170
- fieldName: "patronymicName",
171
- }),
172
- })))),
173
- },
174
- 10: {
175
- input: (index.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) && {
176
- class: "error-input",
177
- helpText: getValidationErrorMessage({
178
- 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,
179
- label: props.text.voCodeLabel,
180
- 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,
181
- fieldName: "voCode",
182
- }),
183
- })))),
184
- },
185
- 11: {
186
- input: (index.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) && {
187
- class: "error-input",
188
- helpText: getValidationErrorMessage({
189
- 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,
190
- label: props.text.agencyCodeLabel,
191
- 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,
192
- fieldName: "agencyCode",
193
- }),
194
- })))),
195
- },
196
- 12: {
197
- input: [
198
- index.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) && {
199
- class: "error-input",
200
- helpText: getValidationErrorMessage({
201
- 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,
202
- label: props.text.bankAddressLabel,
203
- 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,
204
- fieldName: "bankAddress",
205
- }),
206
- }))),
207
- index.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) && {
164
+ input: (index.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) && {
208
165
  class: "error-input",
209
166
  helpText: getValidationErrorMessage({
210
- 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,
211
- label: props.text.bankCityLabel,
212
- 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,
213
- fieldName: "bankCity",
167
+ 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,
168
+ label: props.text.patronymicNameLabel,
169
+ 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,
170
+ fieldName: "patronymicName",
214
171
  }),
215
- }))),
216
- index.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) && {
172
+ }) })),
173
+ },
174
+ 10: {
175
+ input: (index.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) && {
217
176
  class: "error-input",
218
177
  helpText: getValidationErrorMessage({
219
- 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,
220
- label: props.text.bankStateLabel,
221
- 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,
222
- fieldName: "bankState",
178
+ 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,
179
+ label: props.text.voCodeLabel,
180
+ 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,
181
+ fieldName: "voCode",
223
182
  }),
224
- }))),
225
- index.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) && {
183
+ }) })),
184
+ },
185
+ 11: {
186
+ input: (index.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) && {
226
187
  class: "error-input",
227
188
  helpText: getValidationErrorMessage({
228
- 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,
229
- label: props.text.bankPostalCodeLabel,
230
- 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,
231
- fieldName: "bankPostalCode",
189
+ 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,
190
+ label: props.text.agencyCodeLabel,
191
+ 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,
192
+ fieldName: "agencyCode",
232
193
  }),
233
- }))),
194
+ }) })),
195
+ },
196
+ 12: {
197
+ input: [
198
+ index.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) && {
199
+ class: "error-input",
200
+ helpText: getValidationErrorMessage({
201
+ 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,
202
+ label: props.text.bankAddressLabel,
203
+ 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,
204
+ fieldName: "bankAddress",
205
+ }),
206
+ }) }),
207
+ index.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) && {
208
+ class: "error-input",
209
+ helpText: getValidationErrorMessage({
210
+ 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,
211
+ label: props.text.bankCityLabel,
212
+ 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,
213
+ fieldName: "bankCity",
214
+ }),
215
+ }) }),
216
+ index.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) && {
217
+ class: "error-input",
218
+ helpText: getValidationErrorMessage({
219
+ 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,
220
+ label: props.text.bankStateLabel,
221
+ 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,
222
+ fieldName: "bankState",
223
+ }),
224
+ }) }),
225
+ index.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) && {
226
+ class: "error-input",
227
+ helpText: getValidationErrorMessage({
228
+ 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,
229
+ label: props.text.bankPostalCodeLabel,
230
+ 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,
231
+ fieldName: "bankPostalCode",
232
+ }),
233
+ }) }),
234
234
  ],
235
235
  },
236
236
  13: {
237
- input: (index.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) && {
238
- class: "error-input",
239
- helpText: getValidationErrorMessage({
240
- 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,
241
- label: props.text.branchCodeLabel,
242
- 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,
243
- fieldName: "branchCode",
244
- }),
245
- })))),
237
+ input: (index.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) && {
238
+ class: "error-input",
239
+ helpText: getValidationErrorMessage({
240
+ 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,
241
+ label: props.text.branchCodeLabel,
242
+ 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,
243
+ fieldName: "branchCode",
244
+ }),
245
+ }) })),
246
246
  },
247
247
  14: {
248
- input: (index.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) && {
249
- class: "error-input",
250
- helpText: getValidationErrorMessage({
251
- 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,
252
- label: props.text.classificationLabel,
253
- 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,
254
- fieldName: "beneficiaryClassification",
255
- }),
256
- })),
248
+ input: (index.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) && {
249
+ class: "error-input",
250
+ helpText: getValidationErrorMessage({
251
+ 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,
252
+ label: props.text.classificationLabel,
253
+ 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,
254
+ fieldName: "beneficiaryClassification",
255
+ }),
256
+ }) },
257
257
  index.h("sl-menu-item", { value: "BUSINESS" }, props.text.businessSelectItemLabel),
258
258
  index.h("sl-menu-item", { value: "INDIVIDUAL" }, props.text.individualSelectItemLabel),
259
259
  index.h("sl-menu-item", { value: "FOREIGN" }, props.text.foreignSelectItemLabel))),
260
260
  },
261
261
  15: {
262
- input: (index.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) && {
263
- class: "error-input",
264
- helpText: getValidationErrorMessage({
265
- 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,
266
- label: props.text.branchNameLabel,
267
- }),
268
- })))),
262
+ input: (index.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) && {
263
+ class: "error-input",
264
+ helpText: getValidationErrorMessage({
265
+ 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,
266
+ label: props.text.branchNameLabel,
267
+ }),
268
+ }) })),
269
269
  },
270
270
  16: {
271
- input: (index.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) && {
272
- class: "error-input",
273
- helpText: getValidationErrorMessage({
274
- 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,
275
- label: props.text.classificationCodeLabel,
276
- }),
277
- })))),
271
+ input: (index.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) && {
272
+ class: "error-input",
273
+ helpText: getValidationErrorMessage({
274
+ 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,
275
+ label: props.text.classificationCodeLabel,
276
+ }),
277
+ }) })),
278
278
  },
279
279
  };
280
280
  }
@@ -586,7 +586,7 @@ const mockPaymentOptions = {
586
586
  ],
587
587
  };
588
588
 
589
- const style = {
589
+ const style$4 = {
590
590
  ModalTitleContainer: {
591
591
  display: "flex",
592
592
  gap: "var(--sl-spacing-small)",
@@ -712,9 +712,9 @@ const style = {
712
712
  },
713
713
  DialogButton: { margin: "auto", width: "100%" },
714
714
  };
715
- const sheet = JSS.createStyleSheet(style);
716
- const styleString = sheet.toString();
717
- const vanillaStyle = `
715
+ const sheet$3 = JSS.createStyleSheet(style$4);
716
+ const styleString$3 = sheet$3.toString();
717
+ const vanillaStyle$2 = `
718
718
  :host{
719
719
  display: block;
720
720
  }
@@ -745,7 +745,7 @@ const vanillaStyle = `
745
745
  const BankingInfoFormView = (props) => {
746
746
  var _a;
747
747
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
748
- const { classes } = sheet;
748
+ const { classes } = sheet$3;
749
749
  const getLoadingSkeleton = (checkedValue, inputNumber) => {
750
750
  let inputNumArray = Array(inputNumber).fill(0);
751
751
  const flexBoxStyle = {
@@ -774,14 +774,14 @@ const BankingInfoFormView = (props) => {
774
774
  };
775
775
  return (index.h("sl-form", { part: "container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
776
776
  index.h("style", { type: "text/css" },
777
- styleString,
778
- vanillaStyle),
779
- index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
777
+ styleString$3,
778
+ vanillaStyle$2),
779
+ index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
780
780
  index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
781
781
  index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
782
782
  index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
783
783
  index.h("p", null, text.modalDescription),
784
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
784
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
785
785
  index.h("div", { class: classes.TextContainer },
786
786
  index.h("div", null,
787
787
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -837,9 +837,9 @@ const BankingInfoFormView = (props) => {
837
837
  ? getLoadingSkeleton("toPayPalAccount")
838
838
  : slots.paymentFixedDaySelectSlot))))),
839
839
  index.h("div", { class: classes.BtnContainer },
840
- index.h("sl-button", Object.assign({ type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading }, (states.hideSteps
841
- ? { onClick: callbacks.onModalOpen }
842
- : { submit: "submit" }), { exportparts: "base: primarybutton-base" }), text.continueButton),
840
+ index.h("sl-button", { type: "primary", disabled: states.disabled || states.saveDisabled, loading: states.saveLoading, ...(states.hideSteps
841
+ ? { onClick: callbacks.onModalOpen }
842
+ : { submit: "submit" }), exportparts: "base: primarybutton-base" }, text.continueButton),
843
843
  !states.hideBackButton && (index.h("sl-button", { exportparts: "base: secondarybutton-base", type: "secondary", onClick: callbacks.onBack }, text.backButton))))));
844
844
  };
845
845
 
@@ -963,7 +963,7 @@ function getFormInputs({ bitset, formMap }) {
963
963
  }, []);
964
964
  return inputFields;
965
965
  }
966
- const SAVE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
966
+ const SAVE_WITHDRAWAL_SETTINGS = index$1.dist.gql `
967
967
  mutation setImpactPublisherWithdrawalSettings(
968
968
  $setImpactPublisherWithdrawalSettingsInput: SetImpactPublisherWithdrawalSettingsInput!
969
969
  ) {
@@ -979,7 +979,7 @@ const SAVE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
979
979
  }
980
980
  }
981
981
  `;
982
- const UPDATE_WITHDRAWAL_SETTINGS = index_module.dist.gql `
982
+ const UPDATE_WITHDRAWAL_SETTINGS = index$1.dist.gql `
983
983
  mutation updateImpactPublisherWithdrawalSettings(
984
984
  $updateImpactPublisherWithdrawalSettingsInput: UpdateImpactPublisherWithdrawalSettingsInput!
985
985
  ) {
@@ -1012,19 +1012,19 @@ function parseImpactThreshold(threshold) {
1012
1012
  }
1013
1013
  function useBankingInfoForm(props) {
1014
1014
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1015
- const host = index_module._();
1016
- const locale = index_module.L();
1017
- const user = index_module.J();
1018
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
1019
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
1020
- const countries = index_module.Fn(data.SORTED_COUNTRIES_NAMESPACE);
1015
+ const host = index$1.useHost();
1016
+ const locale = index$1.useLocale();
1017
+ const user = index$1.useUserIdentity();
1018
+ const [step, setStep] = index$1.useParent(data.TAX_CONTEXT_NAMESPACE);
1019
+ const context = index$1.useParentValue(data.TAX_FORM_CONTEXT_NAMESPACE);
1020
+ const countries = index$1.useParentValue(data.SORTED_COUNTRIES_NAMESPACE);
1021
1021
  const formRef = domContextHooks_module.useRef(null);
1022
- const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index_module.$n(data.FINANCE_NETWORK_SETTINGS_NAMESPACE);
1023
- const { data: userData, refetch, errors: userError, } = index_module.$n(data.USER_QUERY_NAMESPACE);
1024
- const [saveWithdrawalSettings] = index_module.$e(SAVE_WITHDRAWAL_SETTINGS);
1025
- const [updateWithdrawalSettings] = index_module.$e(UPDATE_WITHDRAWAL_SETTINGS);
1022
+ const { data: paymentOptionsData, loading: paymentOptionsLoading, errors: paymentOptionsError, } = index$1.useParentQueryValue(data.FINANCE_NETWORK_SETTINGS_NAMESPACE);
1023
+ const { data: userData, refetch, errors: userError, } = index$1.useParentQueryValue(data.USER_QUERY_NAMESPACE);
1024
+ const [saveWithdrawalSettings] = index$1.useMutation(SAVE_WITHDRAWAL_SETTINGS);
1025
+ const [updateWithdrawalSettings] = index$1.useMutation(UPDATE_WITHDRAWAL_SETTINGS);
1026
1026
  const [showVerification, setShowVerification] = domContextHooks_module.useState(false);
1027
- const [currentFormData, setCurrentFormData] = domContextHooks_module.useState(null);
1027
+ domContextHooks_module.useState(null);
1028
1028
  const [formState, setFormState] = domContextHooks_module.useState({});
1029
1029
  const [currentPaymentOption, setCurrentPaymentOption] = domContextHooks_module.useState(null);
1030
1030
  const [loading, setLoading] = domContextHooks_module.useState(false);
@@ -1066,7 +1066,8 @@ function useBankingInfoForm(props) {
1066
1066
  bankCountry: (withdrawalSettings === null || withdrawalSettings === void 0 ? void 0 : withdrawalSettings.bankCountry) || publisherCountry,
1067
1067
  paymentMethod: "BANK_TRANSFER",
1068
1068
  };
1069
- 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)) {
1069
+ if (withdrawalSettings &&
1070
+ ((_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)) {
1070
1071
  initialData = {
1071
1072
  ...initialData,
1072
1073
  paymentMethod: withdrawalSettings.paymentMethod,
@@ -1117,7 +1118,7 @@ function useBankingInfoForm(props) {
1117
1118
  setCurrentPaymentOption(currentPaymentOption);
1118
1119
  };
1119
1120
  const runMutation = async (formData, token) => {
1120
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1121
+ var _a, _b, _c, _d;
1121
1122
  setLoading(true);
1122
1123
  try {
1123
1124
  if (!currentPaymentOption)
@@ -1145,8 +1146,8 @@ function useBankingInfoForm(props) {
1145
1146
  accessKey: token,
1146
1147
  },
1147
1148
  });
1148
- success = (_b = (_a = response) === null || _a === void 0 ? void 0 : _a.updateImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.success;
1149
- validationErrors = (_d = (_c = response) === null || _c === void 0 ? void 0 : _c.updateImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
1149
+ success = (_a = response === null || response === void 0 ? void 0 : response.updateImpactPublisherWithdrawalSettings) === null || _a === void 0 ? void 0 : _a.success;
1150
+ validationErrors = (_b = response === null || response === void 0 ? void 0 : response.updateImpactPublisherWithdrawalSettings) === null || _b === void 0 ? void 0 : _b.validationErrors;
1150
1151
  }
1151
1152
  else {
1152
1153
  response = await saveWithdrawalSettings({
@@ -1154,10 +1155,10 @@ function useBankingInfoForm(props) {
1154
1155
  ...body,
1155
1156
  },
1156
1157
  });
1157
- success = (_f = (_e = response) === null || _e === void 0 ? void 0 : _e.setImpactPublisherWithdrawalSettings) === null || _f === void 0 ? void 0 : _f.success;
1158
- validationErrors = (_h = (_g = response) === null || _g === void 0 ? void 0 : _g.setImpactPublisherWithdrawalSettings) === null || _h === void 0 ? void 0 : _h.validationErrors;
1158
+ success = (_c = response === null || response === void 0 ? void 0 : response.setImpactPublisherWithdrawalSettings) === null || _c === void 0 ? void 0 : _c.success;
1159
+ validationErrors = (_d = response === null || response === void 0 ? void 0 : response.setImpactPublisherWithdrawalSettings) === null || _d === void 0 ? void 0 : _d.validationErrors;
1159
1160
  }
1160
- if (!response || ((_j = response) === null || _j === void 0 ? void 0 : _j.message)) {
1161
+ if (!response || (response === null || response === void 0 ? void 0 : response.message)) {
1161
1162
  throw new Error();
1162
1163
  }
1163
1164
  else if (!success) {
@@ -1180,7 +1181,7 @@ function useBankingInfoForm(props) {
1180
1181
  return;
1181
1182
  }
1182
1183
  // Fire form change event
1183
- window.dispatchEvent(new Event(eventKeys.TAX_FORM_UPDATED_EVENT_KEY));
1184
+ window.dispatchEvent(new Event(parseStates.TAX_FORM_UPDATED_EVENT_KEY));
1184
1185
  await refetch();
1185
1186
  setStep("/dashboard");
1186
1187
  }
@@ -1316,432 +1317,89 @@ const BankingInfoForm = class {
1316
1317
  constructor(hostRef) {
1317
1318
  index.registerInstance(this, hostRef);
1318
1319
  this.ignored = true;
1319
- /**
1320
- * @uiName Setup progress
1321
- */
1322
1320
  this.formStep = "Step {step} of {count}";
1323
- /**
1324
- * @uiName Step 4 title
1325
- */
1326
1321
  this.taxAndPayouts = "Payouts";
1327
- /**
1328
- * Displayed at the top of the page on all set up steps.
1329
- * @uiName Page description
1330
- */
1331
1322
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
1332
- /**
1333
- * @uiName Direct to bank payout option
1334
- */
1335
1323
  this.directlyToBankAccount = "Directly to my bank account";
1336
- /**
1337
- * @uiName PayPal payout option
1338
- */
1339
1324
  this.toPayPalAccount = "PayPal (2% processing fee capped to {feeCap})";
1340
- /**
1341
- * @uiName Threshold balance payment schedule option
1342
- */
1343
1325
  this.paymentScheduleBalanceThreshold = "Pay me when my balance reaches a threshold";
1344
- /**
1345
- * @uiName Fixed day payment schedule option
1346
- */
1347
1326
  this.paymentScheduleFixedDay = "Pay me on a fixed day of the month";
1348
- /**
1349
- * Let the participant choose what day of the month they’ll get paid
1350
- * @uiName Payment day field label
1351
- */
1352
1327
  this.paymentDaySelectLabel = "Payment Day";
1353
- /**
1354
- * Participant use this field to select the balance at which they want to be paid
1355
- * @uiName Payment threshold field label
1356
- */
1357
1328
  this.paymentThresholdSelectLabel = "Payment Threshold";
1358
- /**
1359
- * One of two payment day options
1360
- * @uiName First of month payday option
1361
- */
1362
1329
  this.paymentDayFirstOfMonthLabelText = "1st of the month";
1363
- /**
1364
- * Label text for the payment day select option for the fifteenth of the month
1365
- * @uiName Fifteenth of month payday option
1366
- */
1367
1330
  this.paymentDayFifteenthOfMonthLabelText = "15th of the month";
1368
- /**
1369
- * @uiName Payment method section header
1370
- */
1371
1331
  this.paymentMethod = "Payment method";
1372
- /**
1373
- * @uiName Payment schedule section header
1374
- */
1375
1332
  this.paymentSchedule = "Payment schedule";
1376
- /**
1377
- * @uiName Payment method section description
1378
- */
1379
1333
  this.paymentMethodSubtext = "Payouts will be sent from our referral program provider, impact.com.";
1380
- /**
1381
- * Displayed to participants who choose PayPal as their payout method
1382
- * @uiName PayPal email field label
1383
- */
1384
1334
  this.payPalInputLabel = "PayPal email";
1385
- /**
1386
- * @uiName Bank country field label
1387
- */
1388
1335
  this.bankLocationLabel = "Bank country location";
1389
- /**
1390
- * @uiName Beneficiary account field label
1391
- */
1392
1336
  this.beneficiaryAccountNameLabel = "Account holder name";
1393
- /**
1394
- * @uiName Beneficiary account field description
1395
- */
1396
1337
  this.beneficiaryAccountNameDescription = "The beneficiary name of your bank account. Ensure this matches the name on your tax form.";
1397
- /**
1398
- * @uiName Bank account type field label
1399
- */
1400
1338
  this.bankAccountTypeLabel = "Bank account type";
1401
- /**
1402
- * @uiName Checking account option
1403
- */
1404
1339
  this.checkingSelectItemLabel = "Checking";
1405
- /**
1406
- * @uiName Savings account options
1407
- */
1408
1340
  this.savingsSelectItemLabel = "Savings";
1409
- /**
1410
- * @uiName Bank account number field label
1411
- */
1412
1341
  this.bankAccountNumberLabel = "Bank account number";
1413
- /**
1414
- * @uiName IBAN field label
1415
- */
1416
1342
  this.ibanLabel = "IBAN";
1417
- /**
1418
- * @uiName SWIFT code field label
1419
- */
1420
1343
  this.swiftCodeLabel = "SWIFT code";
1421
- /**
1422
- * @uiName Routing code field label
1423
- */
1424
1344
  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} }";
1425
- /**
1426
- * @uiName Bank name field label
1427
- */
1428
1345
  this.bankNameLabel = "Bank Name";
1429
- /**
1430
- * @uiName Classification entity field label
1431
- */
1432
1346
  this.classificationEntityLabel = "Classification Entity";
1433
- /**
1434
- * One of three options listed for the classification field
1435
- * @uiName Business classification option
1436
- */
1437
1347
  this.businessSelectItemLabel = "Business";
1438
- /**
1439
- * One of three options listed for the classification field
1440
- * @uiName Individual classification option
1441
- */
1442
1348
  this.individualSelectItemLabel = "Individual";
1443
- /**
1444
- * One of three options listed for the classification field
1445
- * @uiName Foreign classification option
1446
- */
1447
1349
  this.foreignSelectItemLabel = "Foreign";
1448
- /**
1449
- * @uiName Classification CPF field label
1450
- */
1451
1350
  this.classificationCPFLabel = "Classification CPF";
1452
- /**
1453
- * @uiName Patronymic name field label
1454
- */
1455
1351
  this.patronymicNameLabel = "Patronymic name";
1456
- /**
1457
- * @uiName VO code field label
1458
- */
1459
1352
  this.voCodeLabel = "VO code";
1460
- /**
1461
- * @uiName Agency code field label
1462
- */
1463
1353
  this.agencyCodeLabel = "Agency code";
1464
- /**
1465
- * @uiName Branch code field label
1466
- */
1467
1354
  this.branchCodeLabel = "Branch code";
1468
- /**
1469
- * @uiName Branch name field label
1470
- */
1471
1355
  this.branchNameLabel = "Branch name";
1472
- /**
1473
- * Label text for the classification input field
1474
- * @uiName Classification field label
1475
- */
1476
1356
  this.classificationLabel = "Classification";
1477
- /**
1478
- * @uiName Classification code field label
1479
- */
1480
1357
  this.classificationCodeLabel = "KBE code";
1481
- /**
1482
- * @uiName Taxpayer ID field label
1483
- */
1484
1358
  this.taxPayerIdLabel = "{country, select, AR {CUIT/CUIL} KR {Classification ID} other { Beneficiary INN } }";
1485
- /**
1486
- * @uiName Bank address field label
1487
- */
1488
1359
  this.bankAddressLabel = "Bank address";
1489
- /**
1490
- * @uiName Bank city field label
1491
- */
1492
1360
  this.bankCityLabel = "Bank city";
1493
- /**
1494
- * @uiName Bank province/state field label
1495
- */
1496
1361
  this.bankStateLabel = "Bank province/state";
1497
- /**
1498
- * @uiName Bank postal code field label
1499
- */
1500
1362
  this.bankPostalCodeLabel = "Bank postal code";
1501
- /**
1502
- * Default payment method to the participants’ bank account.
1503
- * @uiName EFT withdrawal payment method
1504
- */
1505
1363
  this.eftWithdrawalLabel = "EFT withdrawal (free)";
1506
- /**
1507
- * @uiName FX Wire Processing fee text
1508
- */
1509
1364
  this.fxWireProcessingFeeLabel = "FX Wire (Processing Fee {currency}{defaultFxFee}.00)";
1510
- /**
1511
- * Placeholder text displayed in the country search dropdown
1512
- * @uiName Country field placeholder text
1513
- */
1514
1365
  this.searchForCountryText = "Search for country..";
1515
- /**
1516
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1517
- * @uiName Participant is a partner alert title
1518
- * @uiWidget textArea
1519
- */
1520
1366
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
1521
- /**
1522
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
1523
- * @uiName Participant is a partner alert description
1524
- * @uiWidget textArea
1525
- */
1526
1367
  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.";
1527
- /**
1528
- * Text for verify email dialog
1529
- * @uiName Verify email header
1530
- */
1531
1368
  this.verifyEmailHeaderText = "Verify your email";
1532
- /**
1533
- * @uiName Verify code widget header text
1534
- */
1535
1369
  this.verifyEmailDescriptionText = "Verify your email to update your payment settings. Enter the code sent to {email} from our referral provider, impact.com.";
1536
- /**
1537
- * Part of the alert displayed at the top of the page.
1538
- * @uiName Form submission error message title
1539
- * @uiWidget textArea
1540
- */
1541
1370
  this.generalErrorTitle = "There was a problem submitting your information";
1542
- /**
1543
- * Part of the alert displayed at the top of the page.
1544
- * @uiName Form submission error message description
1545
- * @uiWidget textArea
1546
- */
1547
1371
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
1548
- /**
1549
- * Displayed under a field that is missing required information.
1550
- * @uiName Empty form field error message
1551
- */
1552
1372
  this.fieldRequiredError = "{fieldName} is required";
1553
- /**
1554
- * Displayed under a field when it has an invalid entry.
1555
- * @uiName Form field error message
1556
- */
1557
1373
  this.fieldInvalidError = "{fieldName} is invalid";
1558
- /**
1559
- * @uiName Support link text
1560
- */
1561
1374
  this.supportLink = "support team";
1562
- /**
1563
- * @uiName Continue button label
1564
- */
1565
1375
  this.continueButton = "Save";
1566
- /**
1567
- * Text for the back button in the form
1568
- * @uiName Back button label
1569
- */
1570
1376
  this.backButton = "Back";
1571
- /**
1572
- * Part of the alert displayed at the top of the page.
1573
- * @uiName Page load error message title
1574
- * @uiWidget textArea
1575
- */
1576
1377
  this.loadingErrorAlertHeader = "There was a problem loading your form";
1577
- /**
1578
- * Part of the alert displayed at the top of the page.
1579
- * @uiName Page load error message description
1580
- * @uiWidget textArea
1581
- */
1582
1378
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
1583
- /**
1584
- * @uiName Information modal title
1585
- */
1586
1379
  this.modalTitle = "Important Note";
1587
- /**
1588
- * @uiName Information modal description text
1589
- */
1590
1380
  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.";
1591
- /**
1592
- * @uiName Information modal button text
1593
- */
1594
1381
  this.modalButtonText = "I understand, update my information";
1595
- // ──────────────────────────────────────────────────────────────────
1596
- // Per-field validation error messages
1597
- // Each prop uses ICU select on {errorCode} to pick the right message.
1598
- // Error codes are short frontend keys mapped from the API error codes.
1599
- // The `other` branch displays the raw API message directly via {errorCode},
1600
- // which is already human-readable English (e.g. "Invalid Routing Code").
1601
- // ──────────────────────────────────────────────────────────────────
1602
- /**
1603
- * Error messages for the beneficiary / account holder name field.
1604
- * Supports error codes: empty, invalidCharacters, numeric, tooLong,
1605
- * nonEnglish, businessNameMismatch, nameMismatch, businessPayeeMismatch, payeeMismatch
1606
- * @uiName Beneficiary account name error
1607
- * @uiWidget textArea
1608
- */
1609
1382
  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}}}";
1610
- /**
1611
- * Error messages for the bank account number / IBAN field.
1612
- * Supports error codes: empty, invalidUk, invalid, ibanEmpty,
1613
- * ibanAlphanumeric, ibanInvalid, ibanCountryMismatch
1614
- * @uiName Bank account number / IBAN error
1615
- * @uiWidget textArea
1616
- */
1617
1383
  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}}}";
1618
- /**
1619
- * Error messages for the routing code / sort code / BSB field.
1620
- * Supports error codes: invalidBsb, invalidSortCode, empty, invalid
1621
- * @uiName Routing code error
1622
- * @uiWidget textArea
1623
- */
1624
1384
  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}}}";
1625
- /**
1626
- * Error messages for the SWIFT / BIC code field.
1627
- * Supports error codes: empty, alphanumeric, invalid
1628
- * @uiName SWIFT code error
1629
- * @uiWidget textArea
1630
- */
1631
1385
  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}}}";
1632
- /**
1633
- * Error messages for the bank account type field.
1634
- * Supports error codes: empty
1635
- * @uiName Bank account type error
1636
- * @uiWidget textArea
1637
- */
1638
1386
  this.bankAccountTypeError = "{errorCode, select, empty {Bank account type is required} other {{errorCode}}}";
1639
- /**
1640
- * Error messages for the bank name field.
1641
- * Supports error codes: empty
1642
- * @uiName Bank name error
1643
- * @uiWidget textArea
1644
- */
1645
1387
  this.bankNameError = "{errorCode, select, empty {Bank name is required} other {{errorCode}}}";
1646
- /**
1647
- * Error messages for the tax payer ID / classification entity field.
1648
- * Supports error codes: empty, emptyAr, emptyKr, alphanumeric, alphanumericAr,
1649
- * alphanumericKr, invalid, invalidAr, invalidKr, invalidKzt, cnpjTooShort, cpfTooShort
1650
- * @uiName Tax payer ID error
1651
- * @uiWidget textArea
1652
- */
1653
1388
  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}}}";
1654
- /**
1655
- * Error messages for the patronymic name field.
1656
- * Supports error codes: empty, alphanumeric
1657
- * @uiName Patronymic name error
1658
- * @uiWidget textArea
1659
- */
1660
1389
  this.patronymicNameError = "{errorCode, select, empty {Patronymic name is required} alphanumeric {Patronymic name must contain only letters and numbers} other {{errorCode}}}";
1661
- /**
1662
- * Error messages for the VO code field.
1663
- * Supports error codes: empty, alphanumeric
1664
- * @uiName VO code error
1665
- * @uiWidget textArea
1666
- */
1667
1390
  this.voCodeError = "{errorCode, select, empty {VO code is required} alphanumeric {VO code must contain only letters and numbers} other {{errorCode}}}";
1668
- /**
1669
- * Error messages for the agency code field.
1670
- * Supports error codes: empty, alphanumeric, tooShort
1671
- * @uiName Agency code error
1672
- * @uiWidget textArea
1673
- */
1674
1391
  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}}}";
1675
- /**
1676
- * Error messages for the bank address field.
1677
- * Supports error codes: empty
1678
- * @uiName Bank address error
1679
- * @uiWidget textArea
1680
- */
1681
1392
  this.bankAddressError = "{errorCode, select, empty {Bank address is required} other {{errorCode}}}";
1682
- /**
1683
- * Error messages for the bank city field.
1684
- * Supports error codes: empty
1685
- * @uiName Bank city error
1686
- * @uiWidget textArea
1687
- */
1688
1393
  this.bankCityError = "{errorCode, select, empty {Bank city is required} other {{errorCode}}}";
1689
- /**
1690
- * Error messages for the bank province/state field.
1691
- * Supports error codes: empty
1692
- * @uiName Bank province/state error
1693
- * @uiWidget textArea
1694
- */
1695
1394
  this.bankStateError = "{errorCode, select, empty {Bank province/state is required} other {{errorCode}}}";
1696
- /**
1697
- * Error messages for the bank postal code field.
1698
- * Supports error codes: empty
1699
- * @uiName Bank postal code error
1700
- * @uiWidget textArea
1701
- */
1702
1395
  this.bankPostalCodeError = "{errorCode, select, empty {Bank postal code is required} other {{errorCode}}}";
1703
- /**
1704
- * Error messages for the branch code field.
1705
- * Supports error codes: invalid
1706
- * @uiName Branch code error
1707
- * @uiWidget textArea
1708
- */
1709
1396
  this.branchCodeError = "{errorCode, select, invalid {Branch code is invalid} other {{errorCode}}}";
1710
- /**
1711
- * Error messages for the branch name field.
1712
- * Supports error codes: empty
1713
- * @uiName Branch name error
1714
- * @uiWidget textArea
1715
- */
1716
1397
  this.branchNameError = "{errorCode, select, empty {Branch name is required} other {{errorCode}}}";
1717
- /**
1718
- * Error messages for the classification code field.
1719
- * Supports error codes: empty, invalidKzt
1720
- * @uiName Classification code error
1721
- * @uiWidget textArea
1722
- */
1723
1398
  this.classificationCodeError = "{errorCode, select, empty {Classification code is required} invalidKzt {Classification code must be exactly 2 characters} other {{errorCode}}}";
1724
- /**
1725
- * Error messages for the PayPal email field.
1726
- * Supports error codes: empty, unsupportedCurrency, invalidEmail, verificationIncomplete
1727
- * @uiName PayPal email error
1728
- * @uiWidget textArea
1729
- */
1730
1399
  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}}}";
1731
- /**
1732
- * Error messages for the payment threshold field.
1733
- * Supports error codes: empty, invalid
1734
- * @uiName Payment threshold error
1735
- * @uiWidget textArea
1736
- */
1737
1400
  this.paymentThresholdError = "{errorCode, select, empty {Payment threshold is required} invalid {Payment threshold is invalid} other {{errorCode}}}";
1738
- /**
1739
- * Error messages for the payment day field.
1740
- * Supports error codes: empty, invalid
1741
- * @uiName Payment day error
1742
- * @uiWidget textArea
1743
- */
1744
1401
  this.paymentDayError = "{errorCode, select, empty {Payment day is required} invalid {Payment day must be the 1st or the 15th} other {{errorCode}}}";
1402
+ this.demoData = undefined;
1745
1403
  domContextHooks_module.h$1(this);
1746
1404
  }
1747
1405
  disconnectedCallback() { }
@@ -1781,7 +1439,7 @@ const BankingInfoForm = class {
1781
1439
  }
1782
1440
  render() {
1783
1441
  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;
1784
- const props = index_module.isDemo()
1442
+ const props = index$1.isDemo()
1785
1443
  ? useDemoBankingInfoForm(this)
1786
1444
  : useBankingInfoForm(this);
1787
1445
  const { errors } = props.states.formState;
@@ -1883,15 +1541,15 @@ const BankingInfoForm = class {
1883
1541
  `;
1884
1542
  return (index.h(index.Host, null, index.h("style", { type: "text/css" }, styleString), index.h("style", { type: "text/css" }, vanillaStyle), props.states.isPartner && props.states.showVerification ? (index.h("sl-dialog", { class: sheet.classes.Dialog, open: true, "onSl-hide": props.callbacks.onVerificationHide, label: props.text.verifyEmailHeaderText }, index.h("sqm-code-verification", { verifyCodeHeaderText: verifyDescription, reverifyCodeHeaderText: verifyDescription, onVerification: props.callbacks.onVerification }))) : null, index.h(BankingInfoFormView, { callbacks: props.callbacks, text: props.text, states: props.states, refs: props.refs, slots: {
1885
1543
  formInputsSlot: inputFields === null || inputFields === void 0 ? void 0 : inputFields.map(({ input }) => input),
1886
- countryInputSlot: (index.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) && {
1887
- class: "error-input",
1888
- helpText: getValidationErrorMessage({
1889
- 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,
1890
- label: props.text.bankLocationLabel,
1891
- 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,
1892
- fieldName: "bankCountry",
1893
- }),
1894
- })), index.h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1544
+ countryInputSlot: (index.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) && {
1545
+ class: "error-input",
1546
+ helpText: getValidationErrorMessage({
1547
+ 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,
1548
+ label: props.text.bankLocationLabel,
1549
+ 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,
1550
+ fieldName: "bankCountry",
1551
+ }),
1552
+ }) }, index.h("sl-input", { disabled: props.states.saveLoading, class: sheet.classes.SearchInput, placeholder: this.searchForCountryText, onKeyDown: (e) => {
1895
1553
  // Stop shoelace intercepting key presses
1896
1554
  e.stopPropagation();
1897
1555
  }, "onSl-input": (e) => {
@@ -1902,33 +1560,33 @@ const BankingInfoForm = class {
1902
1560
  }), (_h = (_g = props.states) === null || _g === void 0 ? void 0 : _g.allCountries) === null || _h === void 0 ? void 0 :
1903
1561
  _h.map((c) => (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName))))),
1904
1562
  paymentMethodSlot: (index.h("sl-input", { key: "paymentMethod", label: props.text.paymentMethod, placeholder: props.states.paymentMethodFeeLabel, disabled: true })),
1905
- paymentThresholdSelectSlot: (index.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) && {
1906
- class: "error-input",
1907
- helpText: getValidationErrorMessage({
1908
- 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,
1909
- label: props.text.paymentThresholdSelectLabel,
1910
- 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,
1911
- fieldName: "paymentThreshold",
1912
- }),
1913
- })), props.states.thresholds.map((t) => (index.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1914
- paymentFixedDaySelectSlot: (index.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) && {
1915
- class: "error-input",
1916
- helpText: getValidationErrorMessage({
1917
- 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,
1918
- label: props.text.paymentDaySelectLabel,
1919
- 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,
1920
- fieldName: "paymentDay",
1921
- }),
1922
- })), index.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1923
- paypalInputSlot: (index.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) && {
1924
- class: "error-input",
1925
- helpText: getValidationErrorMessage({
1926
- 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,
1927
- label: props.text.payPalInputLabel,
1928
- 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,
1929
- fieldName: "paypalEmailAddress",
1930
- }),
1931
- })))),
1563
+ paymentThresholdSelectSlot: (index.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) && {
1564
+ class: "error-input",
1565
+ helpText: getValidationErrorMessage({
1566
+ 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,
1567
+ label: props.text.paymentThresholdSelectLabel,
1568
+ 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,
1569
+ fieldName: "paymentThreshold",
1570
+ }),
1571
+ }) }, props.states.thresholds.map((t) => (index.h("sl-menu-item", { value: t }, `${props.states.currency}${t}`))))),
1572
+ paymentFixedDaySelectSlot: (index.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) && {
1573
+ class: "error-input",
1574
+ helpText: getValidationErrorMessage({
1575
+ 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,
1576
+ label: props.text.paymentDaySelectLabel,
1577
+ 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,
1578
+ fieldName: "paymentDay",
1579
+ }),
1580
+ }) }, index.h("sl-menu-item", { value: "1" }, props.text.paymentDayFirstOfMonthLabelText), index.h("sl-menu-item", { value: "15" }, props.text.paymentDayFifteenthOfMonthLabelText))),
1581
+ paypalInputSlot: (index.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) && {
1582
+ class: "error-input",
1583
+ helpText: getValidationErrorMessage({
1584
+ 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,
1585
+ label: props.text.payPalInputLabel,
1586
+ 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,
1587
+ fieldName: "paypalEmailAddress",
1588
+ }),
1589
+ }) })),
1932
1590
  } })));
1933
1591
  }
1934
1592
  };
@@ -1938,7 +1596,7 @@ function useDemoBankingInfoForm(props) {
1938
1596
  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;
1939
1597
  const defaultCurrency = (_h = (_g = props.demoData) === null || _g === void 0 ? void 0 : _g.states) === null || _h === void 0 ? void 0 : _h.currency;
1940
1598
  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;
1941
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
1599
+ const setStep = index$1.useSetParent(data.TAX_CONTEXT_NAMESPACE);
1942
1600
  const [paymentMethodChecked, setPaymentMethodChecked] = domContextHooks_module.useState(undefined);
1943
1601
  const [paymentScheduleChecked, setPaymentScheduleChecked] = domContextHooks_module.useState(undefined);
1944
1602
  const [currency, setCurrency] = domContextHooks_module.useState(defaultCurrency);
@@ -1948,7 +1606,8 @@ function useDemoBankingInfoForm(props) {
1948
1606
  return true;
1949
1607
  return false;
1950
1608
  });
1951
- 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) ||
1609
+ const bitset = (currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.withdrawalSettingId) ||
1610
+ ((_p = (_o = props.demoData) === null || _o === void 0 ? void 0 : _o.states) === null || _p === void 0 ? void 0 : _p.bitset) ||
1952
1611
  0;
1953
1612
  domContextHooks_module.useEffect(() => {
1954
1613
  if (defaultPaymentMethodChecked !== paymentMethodChecked)
@@ -1969,7 +1628,7 @@ function useDemoBankingInfoForm(props) {
1969
1628
  }),
1970
1629
  };
1971
1630
  const paymentMethodFeeLabel = paymentMethodFeeMap[currentPaymentOption === null || currentPaymentOption === void 0 ? void 0 : currentPaymentOption.defaultFinancePaymentMethodId];
1972
- return cjs.cjs({
1631
+ return demoMerge.demoMerge({
1973
1632
  states: {
1974
1633
  step: "4",
1975
1634
  isPartner: false,
@@ -2031,10 +1690,10 @@ function useDemoBankingInfoForm(props) {
2031
1690
  refs: {
2032
1691
  formRef: { current: null },
2033
1692
  },
2034
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
1693
+ }, props.demoData || {});
2035
1694
  }
2036
1695
 
2037
- const GET_TAX_DOCUMENT = index_module.dist.gql `
1696
+ const GET_TAX_DOCUMENT = index$1.dist.gql `
2038
1697
  mutation createImpactPublisherTaxDocument(
2039
1698
  $vars: CreateImpactPublisherTaxDocumentInput!
2040
1699
  ) {
@@ -2045,7 +1704,7 @@ const GET_TAX_DOCUMENT = index_module.dist.gql `
2045
1704
  }
2046
1705
  }
2047
1706
  `;
2048
- const COMPLETE_TAX_DOCUMENT = index_module.dist.gql `
1707
+ const COMPLETE_TAX_DOCUMENT = index$1.dist.gql `
2049
1708
  mutation completeImpactPublisherTaxDocument($vars: UserIdInput!) {
2050
1709
  completeImpactPublisherTaxDocument(user: $vars) {
2051
1710
  success
@@ -2061,13 +1720,13 @@ const DOCUSIGN_ERROR_STATES = [
2061
1720
  const DOCUSIGN_EXPIRED_STATES = ["ttl_expired", "session_timeout"];
2062
1721
  function useDocusignForm(props) {
2063
1722
  var _a, _b, _c;
2064
- const user = index_module.J();
2065
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
2066
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
2067
- const { data: data$1, loading: userLoading, refetch, } = index_module.$n(data.USER_QUERY_NAMESPACE);
1723
+ const user = index$1.useUserIdentity();
1724
+ const context = index$1.useParentValue(data.TAX_FORM_CONTEXT_NAMESPACE);
1725
+ const [step, setStep] = index$1.useParent(data.TAX_CONTEXT_NAMESPACE);
1726
+ const { data: data$1, loading: userLoading, refetch, } = index$1.useParentQueryValue(data.USER_QUERY_NAMESPACE);
2068
1727
  const publisher = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
2069
- const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index_module.$e(GET_TAX_DOCUMENT);
2070
- const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index_module.$e(COMPLETE_TAX_DOCUMENT);
1728
+ const [createTaxDocument, { loading: documentLoading, data: document, errors: documentErrors },] = index$1.useMutation(GET_TAX_DOCUMENT);
1729
+ const [completeTaxDocument, { loading: completeDocumentLoading, data: completeData, errors: completeErrors, },] = index$1.useMutation(COMPLETE_TAX_DOCUMENT);
2071
1730
  const [docusignStatus, setDocusignStatus] = domContextHooks_module.useState(undefined);
2072
1731
  const [participantType, setParticipantType] = domContextHooks_module.useState(undefined);
2073
1732
  const [errors, setErrors] = domContextHooks_module.useState({});
@@ -2075,10 +1734,13 @@ function useDocusignForm(props) {
2075
1734
  const [showExitButton, setShowExitButton] = domContextHooks_module.useState(false);
2076
1735
  const [showModal, setShowModal] = domContextHooks_module.useState(true);
2077
1736
  // Only look at current document if it's valid (same as required type)
2078
- const existingDocumentType = subregions.validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) && (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
2079
- ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
1737
+ const existingDocumentType = subregions.validTaxDocument(publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType) &&
1738
+ (publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument)
1739
+ ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType
1740
+ : undefined;
2080
1741
  const actualDocumentType = existingDocumentType ||
2081
- getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
1742
+ getDocumentType(participantType) ||
1743
+ (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
2082
1744
  domContextHooks_module.useEffect(() => {
2083
1745
  if (!existingDocumentType)
2084
1746
  return;
@@ -2133,7 +1795,7 @@ function useDocusignForm(props) {
2133
1795
  if (!result.completeImpactPublisherTaxDocument.success)
2134
1796
  throw new Error();
2135
1797
  // Fire form change event
2136
- window.dispatchEvent(new Event(eventKeys.TAX_FORM_UPDATED_EVENT_KEY));
1798
+ window.dispatchEvent(new Event(parseStates.TAX_FORM_UPDATED_EVENT_KEY));
2137
1799
  setShowExitButton(true);
2138
1800
  }
2139
1801
  catch (e) {
@@ -2201,7 +1863,7 @@ function getDocumentType(p) {
2201
1863
  return undefined;
2202
1864
  }
2203
1865
 
2204
- const style$1 = {
1866
+ const style$3 = {
2205
1867
  DocusignStatusContainer: {
2206
1868
  width: "100%",
2207
1869
  minHeight: "600px",
@@ -2228,13 +1890,13 @@ const style$1 = {
2228
1890
  },
2229
1891
  },
2230
1892
  };
2231
- const sheet$1 = JSS.createStyleSheet(style$1);
2232
- const styleString$1 = sheet$1.toString();
1893
+ const sheet$2 = JSS.createStyleSheet(style$3);
1894
+ const styleString$2 = sheet$2.toString();
2233
1895
  const DocusignExpiredView = (props) => {
2234
- const { classes } = sheet$1;
1896
+ const { classes } = sheet$2;
2235
1897
  const { text } = props;
2236
1898
  return (index.h("div", null,
2237
- index.h("style", { type: "text/css" }, styleString$1),
1899
+ index.h("style", { type: "text/css" }, styleString$2),
2238
1900
  index.h("div", { class: classes.DocusignStatusContainer },
2239
1901
  index.h("sl-icon", { style: {
2240
1902
  width: "50px",
@@ -2246,10 +1908,10 @@ const DocusignExpiredView = (props) => {
2246
1908
  index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2247
1909
  };
2248
1910
  const DocusignErrorView = (props) => {
2249
- const { classes } = sheet$1;
1911
+ const { classes } = sheet$2;
2250
1912
  const { text } = props;
2251
1913
  return (index.h("div", null,
2252
- index.h("style", { type: "text/css" }, styleString$1),
1914
+ index.h("style", { type: "text/css" }, styleString$2),
2253
1915
  index.h("div", { class: classes.DocusignStatusContainer },
2254
1916
  index.h("sl-icon", { style: {
2255
1917
  width: "50px",
@@ -2261,21 +1923,21 @@ const DocusignErrorView = (props) => {
2261
1923
  index.h("sl-button", { type: "primary", onClick: () => window.location.reload() }, text.refreshButton))));
2262
1924
  };
2263
1925
  const DocusignLoadingView = () => {
2264
- const { classes } = sheet$1;
1926
+ const { classes } = sheet$2;
2265
1927
  return (index.h("div", null,
2266
- index.h("style", { type: "text/css" }, styleString$1),
1928
+ index.h("style", { type: "text/css" }, styleString$2),
2267
1929
  index.h("div", { class: classes.DocusignStatusContainer },
2268
1930
  index.h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } }))));
2269
1931
  };
2270
1932
  const DocusignIframe = ({ states, data, callbacks, text, }) => {
2271
- const { classes } = sheet$1;
1933
+ const { classes } = sheet$2;
2272
1934
  const [iFrameHeight, setiFrameHeight] = domContextHooks_module.useState("100%");
2273
1935
  const allowedDomains = [
2274
1936
  "referralsaasquatch.com",
2275
1937
  "impacttech.complysandbox.com",
2276
- "impacttech.complytaxforms.com",
1938
+ "impacttech.complytaxforms.com", // prod env domain
2277
1939
  ];
2278
- const callback = index_module.useCallback((e) => {
1940
+ const callback = index$1.useCallback((e) => {
2279
1941
  const allowed = allowedDomains.some((d) => { var _a; return (_a = e.origin) === null || _a === void 0 ? void 0 : _a.includes(d); });
2280
1942
  if (!allowed)
2281
1943
  return;
@@ -2301,7 +1963,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2301
1963
  return index.h(DocusignExpiredView, { text: text });
2302
1964
  // Wrap iFrame with container that shares the same height to push other elements down when absolute positioned
2303
1965
  return (index.h("div", { style: { height: iFrameHeight } },
2304
- index.h("style", { type: "text/css" }, styleString$1),
1966
+ index.h("style", { type: "text/css" }, styleString$2),
2305
1967
  index.h("div", { class: classes.IFrameContainer },
2306
1968
  index.h("iframe", { scrolling: "yes", frameBorder: "0", width: "100%", src: data.documentUrl, height: iFrameHeight }))));
2307
1969
  };
@@ -2398,8 +2060,8 @@ const style$2 = {
2398
2060
  },
2399
2061
  DialogButton: { margin: "auto", width: "100%" },
2400
2062
  };
2401
- const sheet$2 = JSS.createStyleSheet(style$2);
2402
- const styleString$2 = sheet$2.toString();
2063
+ const sheet$1 = JSS.createStyleSheet(style$2);
2064
+ const styleString$1 = sheet$1.toString();
2403
2065
  const vanillaStyle$1 = `
2404
2066
  :host{
2405
2067
  display: block;
@@ -2422,12 +2084,12 @@ const vanillaStyle$1 = `
2422
2084
  const DocusignFormView = (props) => {
2423
2085
  var _a;
2424
2086
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2425
- const { classes } = sheet$2;
2087
+ const { classes } = sheet$1;
2426
2088
  return (index.h("div", { class: classes.Container, part: "container" },
2427
2089
  index.h("style", { type: "text/css" },
2428
- styleString$2,
2090
+ styleString$1,
2429
2091
  vanillaStyle$1),
2430
- index.h("sl-dialog", { class: sheet$2.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2092
+ index.h("sl-dialog", { class: sheet$1.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2431
2093
  index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
2432
2094
  index.h("sl-icon", { name: "info-circle", style: { color: "var(--sqm-informative-color-icon)" } }),
2433
2095
  index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
@@ -2437,7 +2099,7 @@ const DocusignFormView = (props) => {
2437
2099
  }, {
2438
2100
  br: index.h("br", null),
2439
2101
  })),
2440
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet$2.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2102
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$1.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2441
2103
  index.h("div", { class: classes.TextContainer },
2442
2104
  index.h("div", null,
2443
2105
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -2482,123 +2144,30 @@ const DocusignForm = class {
2482
2144
  constructor(hostRef) {
2483
2145
  index.registerInstance(this, hostRef);
2484
2146
  this.ignored = true;
2485
- /**
2486
- * @uiName Setup progress
2487
- */
2488
2147
  this.formStep = "Step {step} of {count}";
2489
- /**
2490
- * @uiName Step 3 title
2491
- */
2492
2148
  this.taxForm = "Tax form";
2493
- /**
2494
- * Display the type of tax form that the participant must submit.
2495
- * @uiName Tax form name
2496
- */
2497
2149
  this.taxFormLabel = "{documentType} Tax Form";
2498
- /**
2499
- * Displayed at the top of the page to participants based in the US.
2500
- * @uiName W-9 tax form description
2501
- * @uiWidget textArea
2502
- */
2503
2150
  this.taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
2504
- /**
2505
- * @uiName Support link text
2506
- */
2507
2151
  this.supportLink = "support team";
2508
- /**
2509
- * Displayed at the top of the page to individuals joining a US program who reside outside the country.
2510
- * @uiName W-8 BEN tax form description
2511
- * @uiWidget textArea
2512
- */
2513
2152
  this.taxFormDescriptionIndividualParticipant = "Participants residing outside of the US, joining the referral program of a US-based company, need to submit a {documentType} form.";
2514
- /**
2515
- * Displayed at the top of the page to participants representing a business.
2516
- * @uiName W-8 BEN-E tax form description
2517
- * @uiWidget textArea
2518
- */
2519
2153
  this.taxFormDescriptionBusinessEntity = "Participants residing outside of the US working with a US Brand need to submit a {documentType} form.";
2520
- /**
2521
- * This appears inside the Docusign frame.
2522
- * @uiName Docusign session expired messag
2523
- * @uiWidget textArea
2524
- */
2525
2154
  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.";
2526
- /**
2527
- * Remind participants their session will time out after 20 minutes of inactivity.
2528
- * @uiName Docusign timed session message
2529
- * @uiWidget textArea
2530
- */
2531
2155
  this.docusignSessionWarning = "For your security, we automatically end your session when you have not interacted with the form after 20 minutes.";
2532
- /**
2533
- * @uiName Participant type field label
2534
- */
2535
2156
  this.participantType = "Participant type";
2536
- /**
2537
- * An option for the participant type field. Used to determine which W-8 form is required.
2538
- * @uiName Business representative participant type label
2539
- */
2540
2157
  this.businessEntity = "I represent a business";
2541
- /**
2542
- * An option for the participant type field. Used to determine which W-8 form is required.
2543
- * @uiName Individual participant type label
2544
- */
2545
2158
  this.individualParticipant = "I am an individual participant";
2546
- /**
2547
- * This appears inside the Docusign frame.
2548
- * @uiName Docusign form error message
2549
- * @uiWidget textArea
2550
- */
2551
2159
  this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
2552
- /**
2553
- * @uiName Refresh page button label
2554
- */
2555
2160
  this.refreshButton = "Refresh Page";
2556
- /**
2557
- * Part of the alert displayed at the top of the page.
2558
- * @uiName Form submission error message title
2559
- * @uiWidget textArea
2560
- */
2561
2161
  this.generalErrorTitle = "There was a problem submitting your information";
2562
- /**
2563
- * Part of the alert displayed at the top of the page.
2564
- * @uiName Form submission error message description
2565
- * @uiWidget textArea
2566
- */
2567
2162
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
2568
- /**
2569
- * Part of the alert displayed at the top of the page.
2570
- * @uiName Page load error message title
2571
- * @uiWidget textArea
2572
- */
2573
2163
  this.loadingErrorAlertHeader = "There was a problem loading your form";
2574
- /**
2575
- * Part of the alert displayed at the top of the page.
2576
- * @uiName Page load error message description
2577
- * @uiWidget textArea
2578
- */
2579
2164
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
2580
- /**
2581
- * Displayed at the top of the page on all set up steps.
2582
- * @uiName Page description
2583
- */
2584
2165
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2585
- /**
2586
- * Exit button text displayed at the end of the Comply Exchange form flow
2587
- * @uiName Exit button text
2588
- */
2589
2166
  this.exitButton = "Exit";
2590
- /**
2591
- * @uiName Information modal title
2592
- */
2593
2167
  this.modalTitle = "Important Note";
2594
- /**
2595
- * @uiName Information modal description text
2596
- */
2597
2168
  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.";
2598
- /**
2599
- * @uiName Information modal button text
2600
- */
2601
2169
  this.modalButtonText = "I understand";
2170
+ this.demoData = undefined;
2602
2171
  domContextHooks_module.h$1(this);
2603
2172
  }
2604
2173
  disconnectedCallback() { }
@@ -2616,7 +2185,7 @@ const DocusignForm = class {
2616
2185
  };
2617
2186
  }
2618
2187
  render() {
2619
- const _isDemo = index_module.isDemo();
2188
+ const _isDemo = index$1.isDemo();
2620
2189
  const props = _isDemo ? useDocusignFormDemo(this) : useDocusignForm(this);
2621
2190
  const docusignIframeSlot = (index.h(DocusignIframe, { states: {
2622
2191
  status: props.states.docusignStatus,
@@ -2636,8 +2205,8 @@ const DocusignForm = class {
2636
2205
  get el() { return index.getElement(this); }
2637
2206
  };
2638
2207
  function useDocusignFormDemo(props) {
2639
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
2640
- return cjs.cjs({
2208
+ const setStep = index$1.useSetParent(data.TAX_CONTEXT_NAMESPACE);
2209
+ return demoMerge.demoMerge({
2641
2210
  text: props.getTextProps(),
2642
2211
  states: {
2643
2212
  step: "3",
@@ -2670,7 +2239,7 @@ function useDocusignFormDemo(props) {
2670
2239
  setParticipantType: (p) => console.log({ p }),
2671
2240
  setDocusignStatus: (status) => console.log(status),
2672
2241
  },
2673
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2242
+ }, props.demoData || {});
2674
2243
  }
2675
2244
  const DemoDocusignIframe = ({ callbacks }) => {
2676
2245
  return (index.h("div", { style: {
@@ -2688,7 +2257,7 @@ const DemoDocusignIframe = ({ callbacks }) => {
2688
2257
  } }, index.h("span", null, "Placeholder for docusign iframe"), index.h("div", { style: { display: "flex", gap: "8px" } }, index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onBack }, "Back to Step 2"), index.h("sl-button", { type: "primary", submit: true, exportparts: "base: primarybutton-base", onClick: callbacks.demo.onSubmit }, "Continue to Step 4")))));
2689
2258
  };
2690
2259
 
2691
- const style$3 = {
2260
+ const style$1 = {
2692
2261
  FormWrapper: {
2693
2262
  display: "flex",
2694
2263
  justifyContent: "flex-start",
@@ -2783,9 +2352,9 @@ const style$3 = {
2783
2352
  },
2784
2353
  },
2785
2354
  };
2786
- const sheet$3 = JSS.createStyleSheet(style$3);
2787
- const styleString$3 = sheet$3.toString();
2788
- const vanillaStyle$2 = `
2355
+ const sheet = JSS.createStyleSheet(style$1);
2356
+ const styleString = sheet.toString();
2357
+ const vanillaStyle = `
2789
2358
  :host{
2790
2359
  display: block;
2791
2360
  }
@@ -2810,11 +2379,11 @@ const vanillaStyle$2 = `
2810
2379
  const IndirectTaxFormView = (props) => {
2811
2380
  var _a;
2812
2381
  const { states, states: { formState }, callbacks, text, refs, slots, } = props;
2813
- const { classes } = sheet$3;
2382
+ const { classes } = sheet;
2814
2383
  return (index.h("sl-form", { part: "form-container", class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2815
2384
  index.h("style", { type: "text/css" },
2816
- styleString$3,
2817
- vanillaStyle$2),
2385
+ styleString,
2386
+ vanillaStyle),
2818
2387
  index.h("div", { class: classes.TextContainer },
2819
2388
  index.h("div", null,
2820
2389
  !states.hideSteps && (index.h("p", null,
@@ -2879,155 +2448,37 @@ const IndirectTaxFormView = (props) => {
2879
2448
  const IndirectTaxForm = class {
2880
2449
  constructor(hostRef) {
2881
2450
  index.registerInstance(this, hostRef);
2882
- /**
2883
- * @uiName Setup progress
2884
- */
2885
2451
  this.formStep = "Step {step} of {count}";
2886
- /**
2887
- * @uiName Step 2 title
2888
- */
2889
2452
  this.indirectTax = "Indirect Tax";
2890
- /**
2891
- * Displayed under the title of this step.
2892
- * @uiName Step 2 description
2893
- * @uiWidget textArea
2894
- */
2895
2453
  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.";
2896
- /**
2897
- * Displayed with indirect tax registration options.
2898
- * @uiName Indirect tax details section title
2899
- */
2900
2454
  this.indirectTaxDetails = "Indirect tax details";
2901
- /**
2902
- * @uiName Registered for indirect tax option
2903
- * @uiWidget textArea
2904
- */
2905
2455
  this.otherRegion = "Registered for indirect tax";
2906
- /**
2907
- * Selecting this option will display fields to enter indirect tax details.
2908
- * @uiName Registered for indirect tax option description
2909
- */
2910
2456
  this.otherRegionSubtext = "If you’ve registered with your tax authority, add your information to stay tax compliant.";
2911
- /**
2912
- * @uiName Not registered for indirect tax option
2913
- * @uiWidget textArea
2914
- */
2915
2457
  this.notRegistered = "Not registered for indirect tax";
2916
- /**
2917
- * Participants based in the US are considered not registered.
2918
- * @uiName Not registered for indirect tax option description
2919
- */
2920
2458
  this.notRegisteredSubtext = "If you’ve never set up indirect tax with your tax authority, then you’re likely not considered registered.";
2921
- /**
2922
- * @uiName Region of indirect tax field label
2923
- */
2924
2459
  this.selectedRegion = "Country / region of indirect tax";
2925
- /**
2926
- * @uiName Province field label
2927
- */
2928
2460
  this.province = "Province";
2929
- /**
2930
- * @uiName Indirect tax number field label
2931
- */
2932
2461
  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}}";
2933
- /**
2934
- * Displayed to participants registered for QST.
2935
- * @uiName QST number field label
2936
- */
2937
2462
  this.qstNumber = "QST number";
2938
- /**
2939
- * Displayed to participants registered for indirect tax in Quebec, Canada.
2940
- * @uiName QST tax checkbox
2941
- */
2942
2463
  this.isRegisteredQST = "I am registered for QST Tax";
2943
- /**
2944
- * Displayed to participants registered for indirect tax in Spain.
2945
- * @uiName Spain income tax checkbox
2946
- * @uiWidget textArea
2947
- */
2948
2464
  this.isRegisteredSubRegionIncomeTax = "I am an individual registered for Income Tax purposes in Spain, and withholding tax will apply to any payments made to me.";
2949
- /**
2950
- * Displayed to participants registered in Spain.
2951
- * @uiName Sub-region of indirect tax field label
2952
- */
2953
2465
  this.subRegion = "Sub-region";
2954
- /**
2955
- * @uiName Income tax field label
2956
- */
2957
2466
  this.subRegionTaxNumberLabel = "Income tax number";
2958
- /**
2959
- * @uiName Back button label
2960
- */
2961
2467
  this.backButton = "Back";
2962
- /**
2963
- * Communicate that after this step, only Support can change personal and indirect tax information.
2964
- * @uiName Submission confirmation alert
2965
- * @uiWidget textArea
2966
- */
2967
2468
  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.";
2968
- /**
2969
- * @uiName Missing indirect tax number error message
2970
- */
2971
2469
  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";
2972
- /**
2973
- * Placeholder text displayed in the country search dropdown
2974
- * @uiName Country field placeholder text
2975
- */
2976
2470
  this.searchForCountryText = "Search for country..";
2977
- /**
2978
- * Displayed under a field that is missing required information.
2979
- * @uiName Empty form field error message
2980
- */
2981
2471
  this.fieldRequiredError = "{fieldName} is required";
2982
- /**
2983
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
2984
- * @uiName Participant is a partner alert title
2985
- * @uiWidget textArea
2986
- */
2987
2472
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
2988
- /**
2989
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
2990
- * @uiName Participant is a partner alert description
2991
- * @uiWidget textArea
2992
- */
2993
2473
  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.";
2994
- /**
2995
- * @uiName Continue button label
2996
- */
2997
2474
  this.continueButton = "Continue";
2998
- /**
2999
- * @uiName Support link text
3000
- */
3001
2475
  this.supportLink = "support team";
3002
- /**
3003
- * Part of the alert displayed at the top of the page.
3004
- * @uiName Form submission error message title
3005
- * @uiWidget textArea
3006
- */
3007
2476
  this.generalErrorTitle = "There was a problem submitting your information";
3008
- /**
3009
- * Part of the alert displayed at the top of the page.
3010
- * @uiName Form submission error message description
3011
- * @uiWidget textArea
3012
- */
3013
2477
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
3014
- /**
3015
- * Part of the alert displayed at the top of the page.
3016
- * @uiName Page load error message title
3017
- * @uiWidget textArea
3018
- */
3019
2478
  this.loadingErrorAlertHeader = "There was a problem loading your form";
3020
- /**
3021
- * Part of the alert displayed at the top of the page.
3022
- * @uiName Page load error message description
3023
- * @uiWidget textArea
3024
- */
3025
2479
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
3026
- /**
3027
- * Displayed at the top of the page on all set up steps.
3028
- * @uiName Page description
3029
- */
3030
2480
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
2481
+ this.demoData = undefined;
3031
2482
  domContextHooks_module.h$1(this);
3032
2483
  }
3033
2484
  disconnectedCallback() { }
@@ -3060,7 +2511,7 @@ const IndirectTaxForm = class {
3060
2511
  };
3061
2512
  }
3062
2513
  render() {
3063
- const props = index_module.isDemo()
2514
+ const props = index$1.isDemo()
3064
2515
  ? useDemoIndirectTaxForm(this)
3065
2516
  : useIndirectTaxForm.useIndirectTaxForm(this);
3066
2517
  const registeredInDifferentCountryDetailsSlot = (index.h(sqmUserInfoFormView.OtherRegionSlotView, { states: {
@@ -3081,10 +2532,10 @@ const IndirectTaxForm = class {
3081
2532
  }
3082
2533
  };
3083
2534
  function useDemoIndirectTaxForm(props) {
3084
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
2535
+ const setStep = index$1.useSetParent(data.TAX_CONTEXT_NAMESPACE);
3085
2536
  const [option, setOption] = domContextHooks_module.useState("otherRegion");
3086
2537
  const [demoFormState, setDemoFormState] = domContextHooks_module.useState({});
3087
- return cjs.cjs({
2538
+ return demoMerge.demoMerge({
3088
2539
  states: {
3089
2540
  step: "2",
3090
2541
  disabled: false,
@@ -3161,7 +2612,7 @@ function useDemoIndirectTaxForm(props) {
3161
2612
  },
3162
2613
  },
3163
2614
  },
3164
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2615
+ }, props.demoData || {});
3165
2616
  }
3166
2617
 
3167
2618
  const mockInvoiceData = (count = 4) => {
@@ -3186,7 +2637,7 @@ const getMockData = () => {
3186
2637
 
3187
2638
  const debug = domContextHooks_module.browser("sq:useInvoiceTable");
3188
2639
  const CSS_NAMESPACE = "sqm-invoice-table";
3189
- const GET_INVOICES = index_module.dist.gql `
2640
+ const GET_INVOICES = index$1.dist.gql `
3190
2641
  query getUserTaxInfo($limit: Int!, $offset: Int!) {
3191
2642
  user: viewer {
3192
2643
  ... on User {
@@ -3212,8 +2663,8 @@ const GET_INVOICES = index_module.dist.gql `
3212
2663
  `;
3213
2664
  function useInvoiceTable(props, emptyElement, loadingElement) {
3214
2665
  var _a;
3215
- const user = index_module.J();
3216
- const locale = index_module.L();
2666
+ const user = index$1.useUserIdentity();
2667
+ const locale = index$1.useLocale();
3217
2668
  const [content, setContent] = domContextHooks_module.useReducer((state, next) => ({
3218
2669
  ...state,
3219
2670
  ...next,
@@ -3223,7 +2674,7 @@ function useInvoiceTable(props, emptyElement, loadingElement) {
3223
2674
  loading: false,
3224
2675
  page: 0,
3225
2676
  });
3226
- const { envelope: invoicesData, states, callbacks, } = index_module.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; }, {
2677
+ const { envelope: invoicesData, states, callbacks, } = index$1.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; }, {
3227
2678
  limit: props.perPage,
3228
2679
  offset: 0,
3229
2680
  }, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
@@ -3335,43 +2786,26 @@ async function tryMethod(c, callback) {
3335
2786
  const InvoiceTable = class {
3336
2787
  constructor(hostRef) {
3337
2788
  index.registerInstance(this, hostRef);
3338
- /**
3339
- * Number of invoices displayed per page
3340
- *
3341
- * @uiName Invoices per page
3342
- */
2789
+ this.programId = undefined;
3343
2790
  this.perPage = 4;
3344
- /** @uiName Hide column labels */
3345
2791
  this.hideLabels = false;
3346
- /** @uiName Invoice table previous page button label */
3347
2792
  this.prevLabel = "Prev";
3348
- /** @uiName Invoice table next page button label */
3349
2793
  this.moreLabel = "Next";
3350
- /**
3351
- * Provide the column numbers (0 indexed) that should not be displayed in mobile views. Ex. 0,2,3
3352
- *
3353
- * @uiName Hidden mobile columns
3354
- */
3355
2794
  this.hiddenColumns = "0";
3356
- /** @uiName Mobile breakpoint */
3357
2795
  this.smBreakpoint = 599;
3358
- /** @uiName Tablet breakpoint */
3359
2796
  this.mdBreakpoint = 799;
3360
- /** @uiName Invoice table title */
3361
2797
  this.header = "Invoices";
3362
- /** @uiName Invoice table description */
3363
2798
  this.description = "View and download your invoices to report your earnings and stay tax compliant.";
3364
- /** @uiName Empty invoice table header */
3365
2799
  this.emptyStateHeader = "View your invoice details";
3366
- /** @uiName Empty invoice table description */
3367
2800
  this.emptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
2801
+ this.demoData = undefined;
3368
2802
  domContextHooks_module.h$1(this);
3369
2803
  }
3370
2804
  disconnectedCallback() { }
3371
2805
  render() {
3372
2806
  const empty = (index.h(EmptySlot, { emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText }));
3373
2807
  const loading = index.h(LoadingSlot, null);
3374
- const { states, data, callbacks, elements } = index_module.isDemo()
2808
+ const { states, data, callbacks, elements } = index$1.isDemo()
3375
2809
  ? useInvoiceTableDemo(this, empty, loading)
3376
2810
  : useInvoiceTable(this, empty, loading);
3377
2811
  reRender.useRequestRerender([this.perPage]);
@@ -3450,7 +2884,7 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3450
2884
  setContent({ loading: true });
3451
2885
  (mockData === null || mockData === void 0 ? void 0 : mockData.data) && getComponentData(components);
3452
2886
  }, [mockData === null || mockData === void 0 ? void 0 : mockData.data, components, tick]);
3453
- const demoProps = cjs.cjs({
2887
+ const demoProps = demoMerge.demoMerge({
3454
2888
  states: {
3455
2889
  hasPrev: false,
3456
2890
  hasNext: false,
@@ -3477,13 +2911,15 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
3477
2911
  emptyElement,
3478
2912
  loadingElement,
3479
2913
  },
3480
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
2914
+ }, props.demoData || {});
3481
2915
  return demoProps;
3482
2916
  }
3483
2917
 
3484
2918
  const InvoiceTableDataColumn = class {
3485
2919
  constructor(hostRef) {
3486
2920
  index.registerInstance(this, hostRef);
2921
+ this.columnTitle = undefined;
2922
+ this.property = undefined;
3487
2923
  domContextHooks_module.h$1(this);
3488
2924
  }
3489
2925
  disconnectedCallback() { }
@@ -3502,6 +2938,7 @@ const InvoiceTableDataColumn = class {
3502
2938
  const InvoiceTableDateColumn = class {
3503
2939
  constructor(hostRef) {
3504
2940
  index.registerInstance(this, hostRef);
2941
+ this.columnTitle = undefined;
3505
2942
  domContextHooks_module.h$1(this);
3506
2943
  }
3507
2944
  disconnectedCallback() { }
@@ -3539,7 +2976,7 @@ const PayPalIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg",
3539
2976
  index.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" }),
3540
2977
  index.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" })));
3541
2978
 
3542
- const style$4 = {
2979
+ const style = {
3543
2980
  CardContainer: {
3544
2981
  display: "grid",
3545
2982
  gridTemplateColumns: "1fr",
@@ -3677,7 +3114,7 @@ const style$4 = {
3677
3114
  },
3678
3115
  };
3679
3116
  function PayoutDetailsCardView(props) {
3680
- const sheet = JSS.createStyleSheet(style$4);
3117
+ const sheet = JSS.createStyleSheet(style);
3681
3118
  const styleString = sheet.toString();
3682
3119
  const { classes } = sheet;
3683
3120
  const { states, text } = props;
@@ -3736,7 +3173,7 @@ function PayoutDetailsCardView(props) {
3736
3173
 
3737
3174
  function usePayoutDetailsCard(props) {
3738
3175
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3739
- const { data: data$1, loading } = index_module.$n(data.USER_QUERY_NAMESPACE);
3176
+ const { data: data$1, loading } = index$1.useParentQueryValue(data.USER_QUERY_NAMESPACE);
3740
3177
  const publisher = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3741
3178
  function getPayoutDetailedStatusText(paymentDay) {
3742
3179
  var _a;
@@ -3795,30 +3232,12 @@ function usePayoutDetailsCard(props) {
3795
3232
  const PayoutDetailsCard = class {
3796
3233
  constructor(hostRef) {
3797
3234
  index.registerInstance(this, hostRef);
3798
- /**
3799
- * Badge text indicating payout status
3800
- * @uiName Payout badge status text
3801
- */
3802
3235
  this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed}}";
3803
- /**
3804
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
3805
- * @uiName Payout schedule by threshold text
3806
- */
3807
3236
  this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
3808
- /**
3809
- * Shown before the participant’s bank account information.
3810
- * @uiName Bank account field label
3811
- */
3812
3237
  this.accountText = "Account";
3813
- /**
3814
- * Text displayed for existing publishers that do not have saved banking information.
3815
- * @uiName Payout missing information subtext
3816
- */
3817
3238
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
3818
- /**
3819
- * @componentState { "title": "Loading", "props": { "states": { "loading": true } } }
3820
- */
3821
3239
  this.stateController = "{}";
3240
+ this.demoData = undefined;
3822
3241
  domContextHooks_module.h$1(this);
3823
3242
  }
3824
3243
  disconnectedCallback() { }
@@ -3829,14 +3248,14 @@ const PayoutDetailsCard = class {
3829
3248
  };
3830
3249
  }
3831
3250
  render() {
3832
- const props = index_module.isDemo()
3251
+ const props = index$1.isDemo()
3833
3252
  ? useDemoPayoutDetailsCard(this)
3834
3253
  : usePayoutDetailsCard(this);
3835
3254
  return (index.h(index.Host, null, index.h(PayoutDetailsCardView, { text: props.text, states: props.states })));
3836
3255
  }
3837
3256
  };
3838
3257
  function useDemoPayoutDetailsCard(props) {
3839
- return cjs.cjs({
3258
+ return demoMerge.demoMerge({
3840
3259
  states: {
3841
3260
  loading: false,
3842
3261
  error: false,
@@ -3854,10 +3273,10 @@ function useDemoPayoutDetailsCard(props) {
3854
3273
  balance: "20.00 USD",
3855
3274
  },
3856
3275
  text: props.getTextProps(),
3857
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
3276
+ }, props.demoData || {});
3858
3277
  }
3859
3278
 
3860
- const GET_TAX_SETTING = index_module.dist.gql `
3279
+ const GET_TAX_SETTING = index$1.dist.gql `
3861
3280
  query getTenantSettings {
3862
3281
  tenantSettings {
3863
3282
  enforceUsTaxCompliance
@@ -3870,6 +3289,7 @@ function getCountryName(countryCode, locale) {
3870
3289
  // @ts-ignore: DisplayNames exists on Intl
3871
3290
  return new Intl.DisplayNames([(locale === null || locale === void 0 ? void 0 : locale.replace("_", "-")) || "en-US"], {
3872
3291
  type: "region",
3292
+ // @ts-ignore: Bad DisplayNames type (has to be array)
3873
3293
  }).of([countryCode]);
3874
3294
  }
3875
3295
  function getSubRegionName(regionCode) {
@@ -3900,12 +3320,12 @@ function getIndirectTaxType(taxInformation) {
3900
3320
  }
3901
3321
  const useTaxAndCashDashboard = (props) => {
3902
3322
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
3903
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
3904
- const setContext = index_module.En(data.TAX_FORM_CONTEXT_NAMESPACE);
3323
+ const setStep = index$1.useSetParent(data.TAX_CONTEXT_NAMESPACE);
3324
+ const setContext = index$1.useSetParent(data.TAX_FORM_CONTEXT_NAMESPACE);
3905
3325
  const [showDialog, setShowDialog] = domContextHooks_module.useState(false);
3906
3326
  const { render, loading: veriffLoading, errors: veriffErrors, } = useIndirectTaxForm.useVeriffApp();
3907
- const { data: taxSettingRes } = index_module.wn(GET_TAX_SETTING, {});
3908
- const locale = index_module.L();
3327
+ const { data: taxSettingRes } = index$1.useQuery(GET_TAX_SETTING, {});
3328
+ const locale = index$1.useLocale();
3909
3329
  domContextHooks_module.useEffect(() => {
3910
3330
  // Clear override context once on submitted
3911
3331
  setContext({});
@@ -3918,7 +3338,7 @@ const useTaxAndCashDashboard = (props) => {
3918
3338
  setStep(`/${window.location.hash.replace("#", "")}`);
3919
3339
  }
3920
3340
  }, []);
3921
- const { data: data$1, loading, errors: userError, refetch, } = index_module.$n(data.USER_QUERY_NAMESPACE);
3341
+ const { data: data$1, loading, errors: userError, refetch, } = index$1.useParentQueryValue(data.USER_QUERY_NAMESPACE);
3922
3342
  const publisher = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
3923
3343
  const documentType = publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType;
3924
3344
  const submissionDate = (_c = publisher === null || publisher === void 0 ? void 0 : publisher.currentTaxDocument) === null || _c === void 0 ? void 0 : _c.dateCreated;
@@ -3994,400 +3414,90 @@ const useTaxAndCashDashboard = (props) => {
3994
3414
  const TaxAndCashDashboard = class {
3995
3415
  constructor(hostRef) {
3996
3416
  index.registerInstance(this, hostRef);
3997
- /**
3998
- * @uiName Active tax form badge label
3999
- */
4000
3417
  this.statusTextActive = "Active";
4001
- /**
4002
- * @uiName Invalid tax form badge label
4003
- */
4004
3418
  this.statusTextNotActive = "Invalid Tax Form";
4005
- /**
4006
- * Displayed when the participant submitted their form but it is awaiting review.
4007
- *
4008
- * @uiName Not verified tax form badge label
4009
- */
4010
3419
  this.statusTextNotVerified = "Not Verified";
4011
- /**
4012
- * Displayed when the participant has not submitted their required tax form.
4013
- *
4014
- * @uiName Required tax form badge label
4015
- */
4016
3420
  this.statusTextRequired = "Required";
4017
- /**
4018
- * Additional text displayed next to the tax form's status badge
4019
- *
4020
- * @uiName Required tax form description
4021
- */
4022
3421
  this.requiredTaxForm = "Your payouts are on hold until you submit a {taxFormType} tax form.";
4023
- /**
4024
- * Additional text displayed next to the tax form's status badge
4025
- *
4026
- * @uiName Active W-9 description
4027
- */
4028
3422
  this.badgeTextSubmittedOn = "Submitted on {dateSubmitted}.";
4029
- /**
4030
- * Additional text displayed next to the tax form's status badge.
4031
- *
4032
- * @uiName Active W-8 description
4033
- */
4034
3423
  this.badgeTextSubmittedOnW8 = "Submitted on {dateSubmitted}. Valid for three years after submission.";
4035
- /**
4036
- * Additional text displayed next to the tax form's status badge.
4037
- *
4038
- * @uiName Tax form in review description
4039
- */
4040
3424
  this.badgeTextAwaitingReview = "Awaiting review. Submitted on {dateSubmitted}.";
4041
- /**
4042
- * Part of the alert displayed at the top of the page.
4043
- *
4044
- * @uiName Inactive W-9 error message title
4045
- * @uiWidget textArea
4046
- */
4047
3425
  this.taxAlertHeaderNotActiveW9 = "Your W-9 tax form has personal information that doesn’t match your profile";
4048
- /**
4049
- * Part of the alert displayed at the top of the page.
4050
- *
4051
- * @uiName Inactive W-8 error message title
4052
- * @uiWidget textArea
4053
- */
4054
3426
  this.taxAlertHeaderNotActiveW8 = "{documentType} tax form is invalid";
4055
- /**
4056
- * Part of the alert displayed at the top of the page.
4057
- *
4058
- * @uiName Inactive W-9 error message description
4059
- * @uiWidget textArea
4060
- */
4061
3427
  this.taxAlertNotActiveMessageW9 = "Please resubmit a new {documentType} form.";
4062
- /**
4063
- * Part of the alert displayed at the top of the page.
4064
- *
4065
- * @uiName Inactive W-8 error message description
4066
- */
4067
3428
  this.taxAlertNotActiveMessageW8 = "Your tax form may have expired or has personal information that doesn’t match your profile. Please submit a new {documentType} form.";
4068
- /**
4069
- * Additional text displayed next to the tax form's status badge.
4070
- *
4071
- * @uiName Invalid tax form description
4072
- * @uiWidget textArea
4073
- */
4074
3429
  this.invalidForm = "Make sure your information is correct and submit new form.";
4075
- /**
4076
- * @uiName Payout information section header
4077
- */
4078
3430
  this.bankingInformationSectionHeader = "Payout information";
4079
- /**
4080
- * @uiName Tax document section header
4081
- */
4082
3431
  this.taxDocumentSectionHeader = "Tax documents";
4083
- /**
4084
- * Displayed under the tax document section header.
4085
- *
4086
- * @uiName Tax documents section description
4087
- */
4088
3432
  this.taxDocumentSectionSubHeader = "{documentType} tax form";
4089
- /**
4090
- * Displayed under the tax document section header.
4091
- *
4092
- * @uiName Tax documents section description
4093
- */
4094
3433
  this.taxDocumentSectionSubHeaderNoDocument = "Tax form";
4095
- /**
4096
- *
4097
- * @uiName Indirect tax section header
4098
- */
4099
3434
  this.indirectTaxInfoSectionHeader = "Indirect tax";
4100
- /**
4101
- * If the participant is registered for indirect tax in Canada, display the province they’re registered in.
4102
- *
4103
- * @uiName Canadian province of indirect tax
4104
- */
4105
3435
  this.indirectTaxInfoCanada = "Registered in {province}, {country}";
4106
- /**
4107
- * If the participant is registered for indirect tax, display the country they’re registered in.
4108
- *
4109
- * @uiName Indirect tax country
4110
- */
4111
3436
  this.indirectTaxInfoOtherCountry = "Registered in {country}";
4112
- /**
4113
- * If the participant is registered for indirect tax in Spain, display the region they’re registered in.
4114
- *
4115
- * @uiName Spanish region of indirect tax
4116
- */
4117
3437
  this.indirectTaxInfoSpain = "Registered in {country}, {subRegion}";
4118
- /**
4119
- * @uiName Indirect tax tooltip
4120
- * @uiWidget textArea
4121
- */
4122
3438
  this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
4123
- /**
4124
- * Displayed to participants who have submitted their indirect tax information.
4125
- *
4126
- * @uiName Indirect tax details
4127
- */
4128
3439
  this.indirectTaxDetails = "{indirectTaxType} number: {indirectTaxNumber}";
4129
- /**
4130
- * @uiName Submit new tax form button label
4131
- */
4132
3440
  this.newFormButton = "Submit new tax form";
4133
- /**
4134
- *
4135
- * @uiName Edit payment info button label
4136
- */
4137
3441
  this.editPaymentInformationButton = "Edit payout information";
4138
- /**
4139
- * @uiName Not registered for indirect tax text
4140
- * @uiWidget textArea
4141
- */
4142
3442
  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.";
4143
- /**
4144
- * Displayed to participants registered in Quebec, Canada.
4145
- * @uiName QST indirect tax details
4146
- */
4147
3443
  this.qstNumber = "QST number: {qstNumber}";
4148
- /**
4149
- * @uiName Spain sub-region indirect tax number
4150
- */
4151
3444
  this.subRegionTaxNumber = "Income tax number: {subRegionTaxNumber}";
4152
- /**
4153
- * @uiName Payout status badge
4154
- */
4155
3445
  this.statusBadgeText = "{badgeText, select, payoutToday {Payout Today} nextPayout {Next Payout} other {Failed} }";
4156
- /**
4157
- * Display participants' payout preference on the payout information card, indicating the balance at which they want to get paid.
4158
- * @uiName Payout schedule by threshold text
4159
- */
4160
3446
  this.thresholdPayoutText = "Next payout occurs when balance is {thresholdBalance}";
4161
- /**
4162
- * Shown before the participant’s bank account information.
4163
- * @uiName Bank account field label
4164
- */
4165
3447
  this.accountText = "Account";
4166
- /**
4167
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
4168
- * @uiName Payout error message title
4169
- * @uiWidget textArea
4170
- */
4171
3448
  this.payoutHoldAlertHeader = "Your payout is on hold";
4172
- /**
4173
- * Part of the alert displayed at the top of the page when there’s been an issue preventing payouts.
4174
- * @uiName Payout error message description
4175
- * @uiWidget textArea
4176
- */
4177
3449
  this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
4178
- /**
4179
- * Text displayed for existing publishers that do not have saved banking information.
4180
- * @uiName Payout missing information subtext
4181
- */
4182
3450
  this.payoutMissingInformationText = "Missing banking information, go to Impact.com to resolve.";
4183
- /**
4184
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
4185
- * @uiName Verification required alert message title
4186
- * @uiWidget textArea
4187
- */
4188
3451
  this.verificationRequiredHeader = "Verify your identity";
4189
- /**
4190
- * Part of the alert displayed at the top of the page when the user needs to verify their identity
4191
- * @uiName Verification required alert message description
4192
- * @uiWidget textArea
4193
- */
4194
3452
  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}.";
4195
- /**
4196
- * @uiName Verification required internal alert header
4197
- */
4198
3453
  this.verificationRequiredInternalHeader = "Identity verification in progress";
4199
- /**
4200
- * @uiName Verification required internal alert description
4201
- */
4202
3454
  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}.";
4203
- /**
4204
- * @uiName Verification review internal alert header
4205
- */
4206
3455
  this.verificationReviewInternalHeader = "Identity verification under review";
4207
- /**
4208
- * @uiName Verification review internal alert description
4209
- */
4210
3456
  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}.";
4211
- /**
4212
- * @uiName Verification failed internal alert header
4213
- */
4214
3457
  this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4215
- /**
4216
- * @uiName Verification failed internal alert description
4217
- */
4218
3458
  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}.";
4219
- /**
4220
- * Part of the alert displayed at the top of the page when the user needs to verify their identity.
4221
- * @uiName Verification required alert button text
4222
- */
4223
3459
  this.verificationRequiredButtonText = "Start Verification";
4224
- /**
4225
- * @uiName W-9 payment threshold alert header
4226
- */
4227
3460
  this.w9RequiredHeader = "Your next payout is on hold";
4228
- /**
4229
- * @uiName W-9 payment threshold alert description
4230
- */
4231
3461
  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.";
4232
- /**
4233
- * @uiName Account review alert header
4234
- */
4235
3462
  this.accountReviewHeader = "Your account is under review";
4236
- /**
4237
- * @uiName Account review alert description
4238
- */
4239
3463
  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}.";
4240
- /**
4241
- * @uiName Balance under payout minimum alert header
4242
- */
4243
3464
  this.balanceUnderThresholdHeader = "Your balance is under the minimum payout";
4244
- /**
4245
- * @uiName Balance under payout minimum alert description
4246
- */
4247
3465
  this.balanceUnderThresholdDescription = "Your total balance is under {minPayoutAmount}, the minimum required for payout.";
4248
- /**
4249
- * @uiName Payment hold on change alert header
4250
- */
4251
3466
  this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
4252
- /**
4253
- * @uiName Payment hold on change alert description
4254
- */
4255
3467
  this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
4256
- /**
4257
- * @uiName Beneficiary name invalid alert header
4258
- */
4259
3468
  this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
4260
- /**
4261
- * @uiName Beneficiary name invalid description
4262
- */
4263
3469
  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.";
4264
- /**
4265
- * @uiName Beneficiary name mismatch alert header
4266
- */
4267
3470
  this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
4268
- /**
4269
- * @uiName Beneficiary name mismatch alert description
4270
- */
4271
3471
  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.";
4272
- /**
4273
- * @uiName Bank name mismatch alert header
4274
- */
4275
3472
  this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
4276
- /**
4277
- * @uiName Bank name mismatch alert description
4278
- */
4279
3473
  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.";
4280
- /**
4281
- * @uiName Withdrawal settings invalid alert header
4282
- */
4283
3474
  this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
4284
- /**
4285
- * @uiName Withdrawal settings invalid alert description
4286
- */
4287
3475
  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.";
4288
- /**
4289
- * @uiName Payment returned alert header
4290
- */
4291
3476
  this.paymentReturnedHeader = "Payout unsuccessful";
4292
- /**
4293
- * @uiName Payment returned alert description
4294
- */
4295
3477
  this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
4296
- /**
4297
- * @uiName Terms and Conditions text
4298
- */
4299
3478
  this.termsAndConditions = "Terms and Conditions";
4300
- /**
4301
- * @uiName W-9 payment threshold alert button text
4302
- */
4303
3479
  this.w9RequiredButtonText = "Submit W-9";
4304
- /**
4305
- * Part of the alert displayed at the top of the page.
4306
- * @uiName Form submission error message title
4307
- * @uiWidget textArea
4308
- */
4309
3480
  this.generalErrorTitle = "There was a problem submitting your information";
4310
- /**
4311
- * Part of the alert displayed at the top of the page.
4312
- * @uiName Form submission error message description
4313
- * @uiWidget textArea
4314
- */
4315
3481
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
4316
- /**
4317
- * Displayed under the payout details card.
4318
- * @uiName Payout from impact text
4319
- * @uiWidget textArea
4320
- */
4321
3482
  this.payoutFromImpact = "Your balance may take up to 24 hours to update. Payouts will be sent from our referral program provider, impact.com.";
4322
- /**
4323
- * Part of the alert displayed at the top of the page.
4324
- * @uiName Page load error message title
4325
- * @uiWidget textArea
4326
- */
4327
3483
  this.loadingErrorAlertHeader = "There was a problem loading your form";
4328
- /**
4329
- * Part of the alert displayed at the top of the page.
4330
- * @uiName Page load error message description
4331
- * @uiWidget textArea
4332
- */
4333
3484
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
4334
- /**
4335
- * Part of the Invoice table displayed at the bottom of the page.
4336
- * @uiName Invoice number column title
4337
- */
4338
3485
  this.invoiceColumnTitle = "Invoice";
4339
- /**
4340
- * Part of the Invoice table displayed at the bottom of the page.
4341
- * @uiName Date column title
4342
- */
4343
3486
  this.dateColumnTitle = "Date";
4344
- /**
4345
- * Part of the Invoice table displayed at the bottom of the page.
4346
- * @uiName Earnings column title
4347
- */
4348
3487
  this.earningsColumnTitle = "Earnings";
4349
- /**
4350
- * Part of the Invoice table displayed at the bottom of the page.
4351
- * @uiName Indirect tax column title
4352
- */
4353
3488
  this.indirectTaxColumnTitle = "Indirect tax";
4354
- /**
4355
- * Part of the Invoice table displayed at the bottom of the page.
4356
- * @uiName Earnings after tax column title
4357
- */
4358
3489
  this.earningsAfterTaxColumnTitle = "Earnings after tax";
4359
- /** @uiName Invoice table description */
4360
3490
  this.invoiceDescription = "View and download your invoices to report your earnings and stay tax compliant.";
4361
- /** @uiName Invoice table previous page button label */
4362
3491
  this.invoicePrevLabel = "Prev";
4363
- /** @uiName Invoice table next page button label */
4364
3492
  this.invoiceMoreLabel = "Next";
4365
- /** @uiName Invoice table title */
4366
3493
  this.invoiceHeader = "Invoices";
4367
- /** @uiName Empty invoice table header */
4368
3494
  this.invoiceEmptyStateHeader = "View your invoice details";
4369
- /** @uiName Empty invoice table description */
4370
3495
  this.invoiceEmptyStateText = "Refer a friend to view the status of your invoices and rewards earned";
4371
- /**
4372
- * @uiName Replace tax form modal header
4373
- */
4374
3496
  this.replaceTaxFormModalHeader = "Replace existing tax form";
4375
- /**
4376
- * @uiName Replace tax form modal body text
4377
- */
4378
3497
  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.";
4379
- /**
4380
- * @uiName Support link text
4381
- */
4382
3498
  this.supportLink = "support team";
4383
- /**
4384
- * @uiName Cancel button label
4385
- */
4386
3499
  this.cancelButton = "Cancel";
4387
- /**
4388
- * @undocumented
4389
- * @componentState { "title": "Payouts on hold", "props": { "states": { "payoutStatus": "HOLD" } }, "uiGroup": "Dashboard Properties" }
4390
- */
3500
+ this.demoData = undefined;
4391
3501
  this.stateController = "{}";
4392
3502
  domContextHooks_module.h$1(this);
4393
3503
  }
@@ -4405,17 +3515,23 @@ const TaxAndCashDashboard = class {
4405
3515
  };
4406
3516
  }
4407
3517
  render() {
4408
- const props = index_module.isDemo()
3518
+ const props = index$1.isDemo()
4409
3519
  ? useDemoTaxAndCashDashboard(this)
4410
3520
  : useTaxAndCashDashboard(this);
4411
3521
  return (index.h(index.Host, null, index.h(sqmUserInfoFormView.TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
4412
- payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
3522
+ payoutDetailsCardSlot: (index.h("sqm-payout-details-card", { ...this.getTextProps() })),
4413
3523
  } })));
4414
3524
  }
4415
3525
  };
4416
3526
  function useDemoTaxAndCashDashboard(props) {
3527
+ const parsedStates = parseStates.parseStates(props.stateController);
3528
+ const stateOverride = parsedStates &&
3529
+ typeof parsedStates === "object" &&
3530
+ !Array.isArray(parsedStates)
3531
+ ? parsedStates
3532
+ : {};
4417
3533
  // @ts-ignore
4418
- return cjs.cjs({
3534
+ return demoMerge.demoMerge({
4419
3535
  states: {
4420
3536
  dateSubmitted: "today",
4421
3537
  documentType: "W9",
@@ -4455,10 +3571,10 @@ function useDemoTaxAndCashDashboard(props) {
4455
3571
  },
4456
3572
  } })),
4457
3573
  },
4458
- }, props.demoData || props.stateController || {}, { arrayMerge: (_, a) => a });
3574
+ }, props.demoData || stateOverride);
4459
3575
  }
4460
3576
 
4461
- const GET_INDIRECT_TAX_COUNTRY_CODE = index_module.dist.gql `
3577
+ const GET_INDIRECT_TAX_COUNTRY_CODE = index$1.dist.gql `
4462
3578
  query getIndirectTaxCountryCode {
4463
3579
  tenantSettings {
4464
3580
  impactBrandCountryCode
@@ -4471,16 +3587,16 @@ function useUserInfoForm(props) {
4471
3587
  const currencyRef = domContextHooks_module.useRef(undefined);
4472
3588
  const phoneCountryRef = domContextHooks_module.useRef(undefined);
4473
3589
  const formRef = domContextHooks_module.useRef(null);
4474
- const context = index_module.Fn(data.TAX_FORM_CONTEXT_NAMESPACE);
4475
- const countries = index_module.Fn(data.SORTED_COUNTRIES_NAMESPACE);
4476
- const [step, setStep] = index_module.Pn(data.TAX_CONTEXT_NAMESPACE);
4477
- const [userFormContext, setUserFormContext] = index_module.Pn(data.USER_FORM_CONTEXT_NAMESPACE);
4478
- const user = index_module.J();
4479
- const [connectImpactPartner, { loading: connectLoading }] = index_module.$e(useIndirectTaxForm.CONNECT_PARTNER);
4480
- const [completeImpactPartner, { loading: completeLoading }] = index_module.$e(useIndirectTaxForm.COMPLETE_PARTNER);
4481
- const { data: tenantData } = index_module.wn(GET_INDIRECT_TAX_COUNTRY_CODE, {});
4482
- const { data: data$1, loading, refetch, errors: userError, } = index_module.$n(data.USER_QUERY_NAMESPACE);
4483
- const _currencies = index_module.Fn(data.CURRENCIES_NAMESPACE);
3590
+ const context = index$1.useParentValue(data.TAX_FORM_CONTEXT_NAMESPACE);
3591
+ const countries = index$1.useParentValue(data.SORTED_COUNTRIES_NAMESPACE);
3592
+ const [step, setStep] = index$1.useParent(data.TAX_CONTEXT_NAMESPACE);
3593
+ const [userFormContext, setUserFormContext] = index$1.useParent(data.USER_FORM_CONTEXT_NAMESPACE);
3594
+ const user = index$1.useUserIdentity();
3595
+ const [connectImpactPartner, { loading: connectLoading }] = index$1.useMutation(useIndirectTaxForm.CONNECT_PARTNER);
3596
+ const [completeImpactPartner, { loading: completeLoading }] = index$1.useMutation(useIndirectTaxForm.COMPLETE_PARTNER);
3597
+ const { data: tenantData } = index$1.useQuery(GET_INDIRECT_TAX_COUNTRY_CODE, {});
3598
+ const { data: data$1, loading, refetch, errors: userError, } = index$1.useParentQueryValue(data.USER_QUERY_NAMESPACE);
3599
+ const _currencies = index$1.useParentValue(data.CURRENCIES_NAMESPACE);
4484
3600
  const currencies = domContextHooks_module.useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
4485
3601
  const [countrySearch, setCountrySearch] = domContextHooks_module.useState("");
4486
3602
  const [phoneCountrySearch, setPhoneCountrySearch] = domContextHooks_module.useState("");
@@ -4502,7 +3618,8 @@ function useUserInfoForm(props) {
4502
3618
  if (subregions.objectIsFull(userFormContext))
4503
3619
  return;
4504
3620
  // Prefer MI email if it was verified before this
4505
- const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) ? user.managedIdentity.email
3621
+ const email = ((_a = user.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified)
3622
+ ? user.managedIdentity.email
4506
3623
  : user.email;
4507
3624
  if (((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) && ((_c = user.impactConnection) === null || _c === void 0 ? void 0 : _c.user)) {
4508
3625
  // Initialise with partner information
@@ -4589,7 +3706,7 @@ function useUserInfoForm(props) {
4589
3706
  }
4590
3707
  }, [currencySearch, currencies]);
4591
3708
  async function connectPartner(formData) {
4592
- var _a, _b, _c, _d, _e, _f;
3709
+ var _a, _b, _c;
4593
3710
  const vars = {
4594
3711
  user: {
4595
3712
  id: user.id,
@@ -4615,25 +3732,26 @@ function useUserInfoForm(props) {
4615
3732
  result = await completeImpactPartner({
4616
3733
  vars,
4617
3734
  });
4618
- connectionResult = (_b = result) === null || _b === void 0 ? void 0 : _b.completeImpactConnection;
3735
+ connectionResult = result === null || result === void 0 ? void 0 : result.completeImpactConnection;
4619
3736
  }
4620
3737
  else {
4621
3738
  result = await connectImpactPartner({
4622
3739
  vars,
4623
3740
  });
4624
- connectionResult = (_c = result) === null || _c === void 0 ? void 0 : _c.createImpactConnection;
3741
+ connectionResult = result === null || result === void 0 ? void 0 : result.createImpactConnection;
4625
3742
  }
4626
- if (!result || ((_d = result) === null || _d === void 0 ? void 0 : _d.message))
3743
+ if (!result || (result === null || result === void 0 ? void 0 : result.message))
4627
3744
  throw new Error();
4628
3745
  if (!(connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.success)) {
4629
3746
  console.error("Failed to create Impact connection: ", connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.validationErrors);
4630
3747
  throw new Error();
4631
3748
  }
4632
3749
  await refetch();
4633
- 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;
4634
- const hasValidCurrentDocument = subregions.validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
3750
+ 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;
3751
+ const hasValidCurrentDocument = subregions.validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) &&
3752
+ (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
4635
3753
  // Fire form change event
4636
- window.dispatchEvent(new Event(eventKeys.TAX_FORM_UPDATED_EVENT_KEY));
3754
+ window.dispatchEvent(new Event(parseStates.TAX_FORM_UPDATED_EVENT_KEY));
4637
3755
  return {
4638
3756
  resultPublisher,
4639
3757
  hasValidCurrentDocument,
@@ -4781,152 +3899,38 @@ const TaxForm = class {
4781
3899
  constructor(hostRef) {
4782
3900
  index.registerInstance(this, hostRef);
4783
3901
  this.ignored = true;
4784
- /**
4785
- * @uiName First name field label
4786
- */
4787
3902
  this.firstName = "First name";
4788
- /**
4789
- * @uiName Last name field label
4790
- */
4791
3903
  this.lastName = "Last name";
4792
- /**
4793
- * @uiName Email field label
4794
- */
4795
3904
  this.email = "Email";
4796
- /**
4797
- * @uiName Country field label
4798
- */
4799
3905
  this.country = "Country";
4800
- /**
4801
- * @uiName Phone number field label
4802
- */
4803
3906
  this.phoneNumber = "Phone number";
4804
- /**
4805
- * @uiName Address field label
4806
- */
4807
3907
  this.address = "Address";
4808
- /**
4809
- * @uiName City field label
4810
- */
4811
3908
  this.city = "City";
4812
- /**
4813
- * @uiName State field label
4814
- */
4815
3909
  this.state = "State";
4816
- /**
4817
- * @uiName State field label
4818
- */
4819
3910
  this.province = "Province";
4820
- /**
4821
- * @uiName State field label
4822
- */
4823
3911
  this.region = "Region";
4824
- /**
4825
- * @uiName Postal code field label
4826
- */
4827
3912
  this.postalCode = "Postal code";
4828
- /**
4829
- * @uiName Currency field label
4830
- */
4831
3913
  this.currency = "Currency";
4832
- /**
4833
- * @uiName Setup progress
4834
- */
4835
3914
  this.formStep = "Step {step} of {count}";
4836
- /**
4837
- * @uiName Step 1 title
4838
- */
4839
3915
  this.personalInformation = "Personal Information";
4840
- /**
4841
- * @uiName Continue button label
4842
- */
4843
3916
  this.continueButton = "Continue";
4844
- /**
4845
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
4846
- * @uiName Participant is a partner alert title
4847
- * @uiWidget textArea
4848
- */
4849
3917
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
4850
- /**
4851
- * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
4852
- * @uiName Participant is a partner alert description
4853
- * @uiWidget textArea
4854
- */
4855
3918
  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.";
4856
- /**
4857
- * Part of the alert displayed at the top of the page.
4858
- * @uiName Form submission error message title
4859
- * @uiWidget textArea
4860
- */
4861
3919
  this.generalErrorTitle = "There was a problem submitting your information";
4862
- /**
4863
- * Part of the alert displayed at the top of the page.
4864
- * @uiName Form submission error message description
4865
- * @uiWidget textArea
4866
- */
4867
3920
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
4868
- /**
4869
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
4870
- * @uiName Terms and conditions checkbox
4871
- */
4872
3921
  this.allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
4873
- /**
4874
- * The link text that appears in the terms and conditions checkbox
4875
- * @uiName Terms and conditions text
4876
- * @uiWidget textArea
4877
- */
4878
3922
  this.termsAndConditionsLabel = "terms and conditions";
4879
- /**
4880
- * The link that appears in the terms and conditions checkbox
4881
- * @uiName Terms and conditions link
4882
- */
4883
3923
  this.termsAndConditionsLink = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
4884
- /**
4885
- * Placeholder text displayed in the country search dropdown
4886
- * @uiName Country field placeholder text
4887
- */
4888
3924
  this.searchForCountryText = "Search for country..";
4889
- /**
4890
- * Placeholder text displayed in the currency search dropdown
4891
- * @uiName Currency field placeholder text
4892
- */
4893
3925
  this.searchForCurrencyText = "Search for currency..";
4894
- /**
4895
- * Displayed under a field that is missing required information.
4896
- * @uiName Empty form field error message
4897
- */
4898
3926
  this.fieldRequiredError = "{fieldName} is required";
4899
- /**
4900
- * Displayed under a field when it has an invalid entry.
4901
- * @uiName Form field error message
4902
- */
4903
3927
  this.fieldInvalidError = "{fieldName} is invalid";
4904
- /**
4905
- * Displayed under Address or City fields that includes invalid characters (non-ASCII).
4906
- * @uiName Invalid character error message
4907
- */
4908
3928
  this.invalidCharacterError = "{fieldName} includes characters that aren't supported.";
4909
- /**
4910
- * Part of the alert displayed at the top of the page.
4911
- * @uiName Page load error message title
4912
- * @uiWidget textArea
4913
- */
4914
3929
  this.loadingErrorAlertHeader = "There was a problem loading your form";
4915
- /**
4916
- * Part of the alert displayed at the top of the page.
4917
- * @uiName Page load error message description
4918
- * @uiWidget textArea
4919
- */
4920
3930
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
4921
- /**
4922
- * Displayed at the top of the page on all set up steps.
4923
- * @uiName Page description
4924
- */
4925
3931
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
4926
- /**
4927
- * @uiName Support link text
4928
- */
4929
3932
  this.supportLink = "support team";
3933
+ this.demoData = undefined;
4930
3934
  domContextHooks_module.h$1(this);
4931
3935
  }
4932
3936
  disconnectedCallback() { }
@@ -4946,7 +3950,7 @@ const TaxForm = class {
4946
3950
  };
4947
3951
  }
4948
3952
  render() {
4949
- const props = index_module.isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
3953
+ const props = index$1.isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
4950
3954
  return (index.h(sqmUserInfoFormView.UserInfoFormView, { data: props.data, states: props.states, callbacks: {
4951
3955
  ...props.callbacks,
4952
3956
  onSubmit: props.onSubmit,
@@ -4954,8 +3958,8 @@ const TaxForm = class {
4954
3958
  }
4955
3959
  };
4956
3960
  function useDemoUserInfoForm(props) {
4957
- const setStep = index_module.En(data.TAX_CONTEXT_NAMESPACE);
4958
- return cjs.cjs({
3961
+ const setStep = index$1.useSetParent(data.TAX_CONTEXT_NAMESPACE);
3962
+ return demoMerge.demoMerge({
4959
3963
  setStep,
4960
3964
  onSubmit: async () => {
4961
3965
  setStep("/2");
@@ -4999,7 +4003,7 @@ function useDemoUserInfoForm(props) {
4999
4003
  },
5000
4004
  },
5001
4005
  },
5002
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
4006
+ }, props.demoData || {});
5003
4007
  }
5004
4008
 
5005
4009
  exports.sqm_banking_info_form = BankingInfoForm;