@saasquatch/mint-components 1.15.0-9 → 1.15.0-90

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 (904) hide show
  1. package/dist/cjs/{GenericTableView-f0e9c531.js → GenericTableView-a9845e80.js} +6 -6
  2. package/dist/cjs/IndirectTaxDetailsView-cf888c7b.js +646 -0
  3. package/dist/cjs/{ShadowViewAddon-3e3e03ab.js → ShadowViewAddon-15a0eed0.js} +1570 -1398
  4. package/dist/cjs/{copy-text-view-b2f47da0.js → copy-text-view-a8adf868.js} +19 -8
  5. package/dist/cjs/data-d4339c2e.js +137 -0
  6. package/dist/cjs/{stencil-hooks.module-3a336b0f.js → dom-context-hooks.module-7fa676ae.js} +18 -18
  7. package/dist/cjs/{email-registration-view-55b378dc.js → email-registration-view-ace50780.js} +5 -3
  8. package/dist/cjs/{global-124aec2c.js → global-191f2253.js} +12152 -11932
  9. package/dist/cjs/{index-a29c60ef.js → index-a43a63b4.js} +4 -0
  10. package/dist/cjs/{index.module-ee84433d.js → index.module-4f54e412.js} +191 -191
  11. package/dist/cjs/loader.cjs.js +5 -5
  12. package/dist/cjs/{luxon-2926d85f.js → luxon-949beaf2.js} +2 -2
  13. package/dist/cjs/mint-components.cjs.js +5 -5
  14. package/dist/cjs/{mixins-f7e0377a.js → mixins-4761d472.js} +6 -6
  15. package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-df37c8a3.js} +2 -2
  16. package/dist/cjs/parseStates-d1effc19.js +16 -0
  17. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  18. package/dist/cjs/{re-render-b324deab.js → re-render-d516138a.js} +4 -4
  19. package/dist/cjs/{sqm-banking-info-form_17.cjs.entry.js → sqm-banking-info-form_10.cjs.entry.js} +874 -2413
  20. package/dist/cjs/{sqm-base-registration-form-view-1b2440c3.js → sqm-base-registration-form-view-8847804c.js} +3 -3
  21. package/dist/cjs/{sqm-big-stat_41.cjs.entry.js → sqm-big-stat_43.cjs.entry.js} +1124 -302
  22. package/dist/cjs/{sqm-close-button-view-ea3fa23b.js → sqm-close-button-view-5e85ac51.js} +2 -2
  23. package/dist/cjs/sqm-close-button.cjs.entry.js +6 -6
  24. package/dist/cjs/sqm-code-verification.cjs.entry.js +352 -0
  25. package/dist/cjs/sqm-context-router.cjs.entry.js +11 -11
  26. package/dist/cjs/sqm-email-verification.cjs.entry.js +152 -28
  27. package/dist/cjs/sqm-empty_4.cjs.entry.js +57 -63
  28. package/dist/cjs/sqm-form-message.cjs.entry.js +8 -8
  29. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +14 -14
  30. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
  31. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -9
  33. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +84 -0
  34. package/dist/cjs/sqm-leaderboard-rank-view-6a1e63de.js +10 -0
  35. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
  36. package/dist/cjs/{sqm-logout-current-user-view-11d57c12.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
  37. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  38. package/dist/cjs/sqm-navigation-sidebar-item-view-ec7a5c53.js +56 -0
  39. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +31 -8
  40. package/dist/cjs/{sqm-navigation-sidebar-view-17111896.js → sqm-navigation-sidebar-view-de90ef03.js} +18 -8
  41. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +25 -9
  42. package/dist/cjs/sqm-pagination_3.cjs.entry.js +29 -18
  43. package/dist/cjs/sqm-password-field.cjs.entry.js +11 -11
  44. package/dist/cjs/sqm-popup-container.cjs.entry.js +5 -5
  45. package/dist/cjs/{sqm-portal-container-view-4f15143a.js → sqm-portal-container-view-07e4343f.js} +2 -2
  46. package/dist/cjs/{sqm-portal-email-verification-view-f5ce25cc.js → sqm-portal-email-verification-view-87e083ca.js} +4 -4
  47. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +15 -15
  48. package/dist/cjs/{sqm-portal-forgot-password-view-b986086e.js → sqm-portal-forgot-password-view-0a8d3243.js} +24 -16
  49. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +39 -10
  50. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +9 -9
  51. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +13 -13
  52. package/dist/cjs/{sqm-portal-login-view-84e99287.js → sqm-portal-login-view-bb50304c.js} +4 -4
  53. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  54. package/dist/cjs/{sqm-portal-profile-view-07d13061.js → sqm-portal-profile-view-7ac7d3ac.js} +4 -4
  55. package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -15
  56. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
  57. package/dist/cjs/{sqm-portal-registration-form-view-4377d849.js → sqm-portal-registration-form-view-5a96c2f5.js} +3 -3
  58. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -9
  59. package/dist/cjs/{sqm-portal-reset-password-view-52fc50fe.js → sqm-portal-reset-password-view-25eb2099.js} +3 -3
  60. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +11 -11
  61. package/dist/cjs/{sqm-portal-verify-email-view-4f837226.js → sqm-portal-verify-email-view-1c4e781f.js} +3 -3
  62. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +12 -12
  63. package/dist/cjs/{sqm-qr-code-view-3da9ed28.js → sqm-qr-code-view-0c3b2f48.js} +9 -4
  64. package/dist/cjs/sqm-qr-code.cjs.entry.js +12 -13
  65. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +133 -44
  66. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +4 -4
  67. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  68. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +82 -35
  69. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  70. package/dist/cjs/sqm-scroll.cjs.entry.js +3 -3
  71. package/dist/cjs/sqm-stencilbook.cjs.entry.js +13728 -12448
  72. package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
  73. package/dist/cjs/sqm-tabs.cjs.entry.js +27 -13
  74. package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +1254 -0
  75. package/dist/cjs/sqm-text-span-view-7a61ae4c.js +63 -0
  76. package/dist/cjs/sqm-text-span.cjs.entry.js +7 -7
  77. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +19 -11
  78. package/dist/cjs/sqm-widget-verification.cjs.entry.js +25 -13
  79. package/dist/cjs/{useChildElements-1b35d945.js → useChildElements-966c9041.js} +5 -5
  80. package/dist/cjs/{useInstantAccessRegistration-0537e28e.js → useInstantAccessRegistration-08bcb487.js} +4 -4
  81. package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-3b34dab1.js} +13 -10
  82. package/dist/cjs/{usePortalLogin-63d896d1.js → usePortalLogin-6aa864ef.js} +4 -4
  83. package/dist/cjs/{usePortalRegistrationForm-f25d89e7.js → usePortalRegistrationForm-75b647fe.js} +6 -6
  84. package/dist/cjs/{useReferralCodes-82e8797b.js → useReferralCodes-11cdf43b.js} +3 -3
  85. package/dist/cjs/{useReferralTable-7c3f9600.js → useReferralTable-90d4d6e9.js} +10 -10
  86. package/dist/cjs/{useRegistrationFormState-7b820f0c.js → useRegistrationFormState-bbee6e7b.js} +6 -6
  87. package/dist/cjs/{useVerificationEmail-95a82767.js → useVerificationEmail-9dd3997a.js} +6 -6
  88. package/dist/cjs/{utilities-78f5e169.js → utilities-9a0c5e91.js} +4 -4
  89. package/dist/cjs/{utils-6847bc06.js → utils-7cbd60cc.js} +5 -0
  90. package/dist/cjs/utils-e3305bd8.js +105 -0
  91. package/dist/collection/collection-manifest.json +1 -1
  92. package/dist/collection/components/sqm-big-stat/BigStat.stories.js +13 -0
  93. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +15 -7
  94. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +169 -4
  95. package/dist/collection/components/sqm-big-stat/useBigStat.js +127 -8
  96. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +14 -5
  97. package/dist/collection/components/sqm-brand/sqm-brand.js +12 -4
  98. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -0
  99. package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -0
  100. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  101. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +169 -1
  102. package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
  103. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +14 -6
  104. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +61 -4
  105. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +1 -1
  106. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +8 -16
  107. package/dist/collection/components/sqm-form-message/sqm-form-message.css +50 -11
  108. package/dist/collection/components/sqm-form-message/sqm-form-message.js +4 -4
  109. package/dist/collection/components/sqm-hero/Hero.stories.js +11 -0
  110. package/dist/collection/components/sqm-hero/sqm-hero-view.js +13 -6
  111. package/dist/collection/components/sqm-hero/sqm-hero.js +30 -5
  112. package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +2 -2
  113. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  114. package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +3 -3
  115. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +2 -2
  116. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +2 -1
  117. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -1
  118. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +2 -1
  119. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +1 -1
  120. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +6 -3
  121. package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +37 -0
  122. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +10 -4
  123. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +202 -61
  124. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
  125. package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
  126. package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +2 -1
  127. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +28 -3
  128. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -0
  129. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +17 -7
  130. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +83 -5
  131. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +18 -7
  132. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +233 -1
  133. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +9 -1
  134. package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +3 -3
  135. package/dist/collection/components/sqm-pagination/sqm-pagination.js +43 -2
  136. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -1
  137. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +8 -4
  138. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
  139. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  140. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -8
  141. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
  142. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -1
  143. package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -4
  144. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +21 -13
  145. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +103 -3
  146. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +41 -36
  147. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +102 -2
  148. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +4 -1
  149. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +10 -5
  150. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -1
  151. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  152. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
  153. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +1 -2
  154. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  155. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +5 -3
  156. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +4 -4
  157. package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +1 -1
  158. package/dist/collection/components/sqm-radio-card/sqm-radio-card-view.js +2 -2
  159. package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +34 -31
  160. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +80 -11
  161. package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +8 -4
  162. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +2 -2
  163. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +55 -18
  164. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +62 -7
  165. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +2 -1
  166. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +4 -2
  167. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +6 -3
  168. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +6 -3
  169. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +4 -2
  170. package/dist/collection/components/sqm-referral-table/mockReferralData.js +1 -1
  171. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +3 -2
  172. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -10
  173. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +19 -19
  174. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +31 -5
  175. package/dist/collection/components/sqm-reward-exchange-list/progressBar.js +10 -10
  176. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +39 -42
  177. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +48 -7
  178. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -3
  179. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +4 -3
  180. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -4
  181. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +57 -8
  182. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +3 -2
  183. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +3 -2
  184. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +3 -2
  185. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +3 -2
  186. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +5 -3
  187. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +1 -1
  188. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +3 -2
  189. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  190. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  191. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  192. package/dist/collection/components/sqm-share-button/sqm-share-button.js +56 -10
  193. package/dist/collection/components/sqm-share-code/sqm-share-code.js +5 -5
  194. package/dist/collection/components/sqm-share-link/sqm-share-link.js +5 -4
  195. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +21 -9
  196. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +110 -2
  197. package/dist/collection/components/sqm-stencilbook/BrandSelector.js +198 -0
  198. package/dist/collection/components/sqm-stencilbook/Themes.js +325 -33
  199. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +81 -99
  200. package/dist/collection/components/sqm-table-row/sqm-table-row.js +2 -2
  201. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  202. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -2
  203. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  204. package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
  205. package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
  206. package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +18 -20
  207. package/dist/collection/components/sqm-task-card/sqm-task-card.js +4 -8
  208. package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
  209. package/dist/collection/components/sqm-text/Text.stories.js +12 -0
  210. package/dist/collection/components/sqm-text/sqm-text.js +101 -50
  211. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +44 -43
  212. package/dist/collection/components/sqm-text-span/sqm-text-span.js +51 -2
  213. package/dist/collection/components/sqm-timeline/Timeline.stories.js +8 -1
  214. package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +45 -45
  215. package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +52 -0
  216. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -2
  217. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +12 -2
  218. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +2 -2
  219. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +138 -14
  220. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +39 -7
  221. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +45 -8
  222. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +12 -0
  223. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +30 -9
  224. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +1 -1
  225. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +54 -58
  226. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +108 -5
  227. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +8 -1
  228. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +3 -3
  229. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +59 -61
  230. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +82 -4
  231. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +6 -2
  232. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -62
  233. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -2
  234. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +2 -2
  235. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +24 -27
  236. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +26 -1
  237. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +2 -2
  238. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +18 -48
  239. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
  240. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
  241. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/ErrorView.js +3 -27
  242. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +283 -30
  243. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +1 -1
  244. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -92
  245. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +49 -5
  246. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +3 -3
  247. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignExpiredView.js +1 -1
  248. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  249. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +166 -52
  250. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +10 -10
  251. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +3 -3
  252. package/dist/collection/components/views/copy-text-view.js +17 -6
  253. package/dist/collection/components/views/email-registration-view.js +3 -1
  254. package/dist/collection/global/global.js +27 -12
  255. package/dist/collection/global/mixins.js +6 -6
  256. package/dist/collection/global/styles.js +307 -134
  257. package/dist/collection/global/styles.ts +396 -135
  258. package/dist/collection/insertfont.js +18 -0
  259. package/dist/collection/stories/PortalTemplates.stories.js +22 -30
  260. package/dist/collection/tables/GenericTableView.js +4 -4
  261. package/dist/collection/utils/parseStates.js +12 -0
  262. package/dist/collection/utils/utils.js +4 -0
  263. package/dist/esm/{GenericTableView-e7addb2b.js → GenericTableView-e43d310f.js} +6 -6
  264. package/dist/esm/IndirectTaxDetailsView-084314d5.js +639 -0
  265. package/dist/esm/{ShadowViewAddon-ccd5586b.js → ShadowViewAddon-4013c459.js} +1569 -1396
  266. package/dist/esm/{copy-text-view-0ac6e1d1.js → copy-text-view-280faef6.js} +19 -8
  267. package/dist/esm/data-ee3ae298.js +121 -0
  268. package/dist/esm/{stencil-hooks.module-4bc38af4.js → dom-context-hooks.module-63370afd.js} +13 -13
  269. package/dist/esm/{email-registration-view-a7818cf2.js → email-registration-view-1f587f8b.js} +5 -3
  270. package/dist/esm/{global-6dc825bc.js → global-80edfef3.js} +11849 -11630
  271. package/dist/esm/{index-91e7729f.js → index-b3a06de8.js} +4 -0
  272. package/dist/esm/{index.module-89a79f66.js → index.module-38dad6c9.js} +153 -153
  273. package/dist/esm/loader.js +5 -5
  274. package/dist/esm/{luxon-8d51c92b.js → luxon-bbf75a9d.js} +1 -1
  275. package/dist/esm/mint-components.js +5 -5
  276. package/dist/esm/{mixins-83f90fa1.js → mixins-f750863a.js} +6 -6
  277. package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +2 -2
  278. package/dist/esm/parseStates-ed75e224.js +14 -0
  279. package/dist/esm/raisins-plop-target.entry.js +1 -1
  280. package/dist/esm/{re-render-cc945f38.js → re-render-9c90767d.js} +2 -2
  281. package/dist/esm/{sqm-banking-info-form_17.entry.js → sqm-banking-info-form_10.entry.js} +723 -2255
  282. package/dist/esm/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +3 -3
  283. package/dist/esm/{sqm-big-stat_41.entry.js → sqm-big-stat_43.entry.js} +1036 -216
  284. package/dist/esm/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +2 -2
  285. package/dist/esm/sqm-close-button.entry.js +5 -5
  286. package/dist/esm/sqm-code-verification.entry.js +348 -0
  287. package/dist/esm/sqm-context-router.entry.js +4 -4
  288. package/dist/esm/sqm-email-verification.entry.js +145 -21
  289. package/dist/esm/sqm-empty_4.entry.js +54 -60
  290. package/dist/esm/sqm-form-message.entry.js +7 -7
  291. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  292. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  293. package/dist/esm/sqm-header-logo.entry.js +2 -2
  294. package/dist/esm/sqm-instant-access-registration.entry.js +8 -8
  295. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +76 -0
  296. package/dist/esm/sqm-leaderboard-rank-view-18baae5b.js +8 -0
  297. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  298. package/dist/esm/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  299. package/dist/esm/sqm-logout-current-user.entry.js +5 -5
  300. package/dist/esm/sqm-navigation-sidebar-item-view-797601b0.js +54 -0
  301. package/dist/esm/sqm-navigation-sidebar-item.entry.js +30 -7
  302. package/dist/esm/{sqm-navigation-sidebar-view-9d802b78.js → sqm-navigation-sidebar-view-0a2ec560.js} +18 -8
  303. package/dist/esm/sqm-navigation-sidebar.entry.js +22 -6
  304. package/dist/esm/sqm-pagination_3.entry.js +23 -12
  305. package/dist/esm/sqm-password-field.entry.js +6 -6
  306. package/dist/esm/sqm-popup-container.entry.js +4 -4
  307. package/dist/esm/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +2 -2
  308. package/dist/esm/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-5719eb87.js} +4 -4
  309. package/dist/esm/sqm-portal-email-verification.entry.js +7 -7
  310. package/dist/esm/{sqm-portal-forgot-password-view-50444a7c.js → sqm-portal-forgot-password-view-0e795cdd.js} +24 -16
  311. package/dist/esm/sqm-portal-forgot-password.entry.js +36 -7
  312. package/dist/esm/sqm-portal-google-login.entry.js +8 -8
  313. package/dist/esm/sqm-portal-google-registration-form.entry.js +9 -9
  314. package/dist/esm/{sqm-portal-login-view-37c85d04.js → sqm-portal-login-view-7670cd86.js} +4 -4
  315. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  316. package/dist/esm/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-9a82fe2e.js} +4 -4
  317. package/dist/esm/sqm-portal-profile.entry.js +8 -8
  318. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  319. package/dist/esm/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +3 -3
  320. package/dist/esm/sqm-portal-registration-form.entry.js +8 -8
  321. package/dist/esm/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +3 -3
  322. package/dist/esm/sqm-portal-reset-password.entry.js +7 -7
  323. package/dist/esm/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +3 -3
  324. package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
  325. package/dist/esm/{sqm-qr-code-view-10b8b4cb.js → sqm-qr-code-view-97124a66.js} +8 -3
  326. package/dist/esm/sqm-qr-code.entry.js +6 -7
  327. package/dist/esm/sqm-referral-table_11.entry.js +122 -33
  328. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  329. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  330. package/dist/esm/sqm-rewards-table_9.entry.js +70 -23
  331. package/dist/esm/sqm-route.entry.js +1 -1
  332. package/dist/esm/sqm-scroll.entry.js +2 -2
  333. package/dist/esm/sqm-stencilbook.entry.js +13716 -12436
  334. package/dist/esm/sqm-tab.entry.js +4 -4
  335. package/dist/esm/sqm-tabs.entry.js +24 -10
  336. package/dist/esm/sqm-tax-and-cash.entry.js +1250 -0
  337. package/dist/esm/sqm-text-span-view-4c17b8c9.js +61 -0
  338. package/dist/esm/sqm-text-span.entry.js +6 -6
  339. package/dist/esm/sqm-widget-verification-controller.entry.js +14 -6
  340. package/dist/esm/sqm-widget-verification.entry.js +22 -10
  341. package/dist/esm/{useChildElements-7945ae56.js → useChildElements-4e70ac0e.js} +2 -2
  342. package/dist/esm/{useInstantAccessRegistration-dc4ad9f2.js → useInstantAccessRegistration-0f04459e.js} +3 -3
  343. package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +10 -7
  344. package/dist/esm/{usePortalLogin-ef647a50.js → usePortalLogin-d0720c81.js} +3 -3
  345. package/dist/esm/{usePortalRegistrationForm-4b35a357.js → usePortalRegistrationForm-afc0171e.js} +3 -3
  346. package/dist/esm/{useReferralCodes-8f75921a.js → useReferralCodes-311e6d72.js} +2 -2
  347. package/dist/esm/{useReferralTable-b3876ed6.js → useReferralTable-65a01a6a.js} +5 -5
  348. package/dist/esm/{useRegistrationFormState-d6f33135.js → useRegistrationFormState-18c2cea7.js} +2 -2
  349. package/dist/esm/{useVerificationEmail-edc318cb.js → useVerificationEmail-f9413de9.js} +2 -2
  350. package/dist/esm/{utilities-5b0ca040.js → utilities-ad9c2893.js} +2 -2
  351. package/dist/esm/{utils-334c1e34.js → utils-03188de2.js} +5 -1
  352. package/dist/esm/utils-27b2ed4b.js +97 -0
  353. package/dist/esm-es5/GenericTableView-e43d310f.js +1 -0
  354. package/dist/esm-es5/IndirectTaxDetailsView-084314d5.js +1 -0
  355. package/dist/esm-es5/ShadowViewAddon-4013c459.js +1 -0
  356. package/dist/esm-es5/copy-text-view-280faef6.js +1 -0
  357. package/dist/esm-es5/data-ee3ae298.js +1 -0
  358. package/dist/esm-es5/dom-context-hooks.module-63370afd.js +53 -0
  359. package/dist/esm-es5/email-registration-view-1f587f8b.js +1 -0
  360. package/dist/esm-es5/{global-6dc825bc.js → global-80edfef3.js} +5 -5
  361. package/dist/esm-es5/{index-91e7729f.js → index-b3a06de8.js} +1 -1
  362. package/dist/esm-es5/index.module-38dad6c9.js +1 -0
  363. package/dist/esm-es5/loader.js +1 -1
  364. package/dist/esm-es5/luxon-bbf75a9d.js +1 -0
  365. package/dist/esm-es5/mint-components.js +1 -1
  366. package/dist/esm-es5/mixins-f750863a.js +1 -0
  367. package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-96a2d26d.js} +1 -1
  368. package/dist/esm-es5/parseStates-ed75e224.js +1 -0
  369. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  370. package/dist/esm-es5/re-render-9c90767d.js +1 -0
  371. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -0
  372. package/dist/esm-es5/{sqm-base-registration-form-view-31f1cb87.js → sqm-base-registration-form-view-193f1721.js} +1 -1
  373. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -0
  374. package/dist/esm-es5/{sqm-close-button-view-f9819751.js → sqm-close-button-view-2fa57229.js} +1 -1
  375. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  376. package/dist/esm-es5/sqm-code-verification.entry.js +1 -0
  377. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  378. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  379. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  380. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  381. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  382. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  383. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  384. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  385. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -0
  386. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
  387. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  388. package/dist/esm-es5/{sqm-logout-current-user-view-8ef8180f.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  389. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  390. package/dist/esm-es5/sqm-navigation-sidebar-item-view-797601b0.js +1 -0
  391. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  392. package/dist/esm-es5/sqm-navigation-sidebar-view-0a2ec560.js +1 -0
  393. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  394. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  395. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  396. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  397. package/dist/esm-es5/{sqm-portal-container-view-1683ae32.js → sqm-portal-container-view-176e92e3.js} +1 -1
  398. package/dist/esm-es5/{sqm-portal-email-verification-view-d96d6c43.js → sqm-portal-email-verification-view-5719eb87.js} +1 -1
  399. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  400. package/dist/esm-es5/sqm-portal-forgot-password-view-0e795cdd.js +1 -0
  401. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  402. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -1
  403. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  404. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
  405. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  406. package/dist/esm-es5/{sqm-portal-profile-view-4ce1c7c3.js → sqm-portal-profile-view-9a82fe2e.js} +1 -1
  407. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  408. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  409. package/dist/esm-es5/{sqm-portal-registration-form-view-21d57492.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
  410. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  411. package/dist/esm-es5/{sqm-portal-reset-password-view-b000ffc5.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
  412. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  413. package/dist/esm-es5/{sqm-portal-verify-email-view-2983ba9b.js → sqm-portal-verify-email-view-33805220.js} +1 -1
  414. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  415. package/dist/esm-es5/sqm-qr-code-view-97124a66.js +1 -0
  416. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  417. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  418. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  419. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  420. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  421. package/dist/esm-es5/sqm-route.entry.js +1 -1
  422. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  423. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  424. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  425. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  426. package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -0
  427. package/dist/esm-es5/sqm-text-span-view-4c17b8c9.js +1 -0
  428. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  429. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  430. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  431. package/dist/esm-es5/useChildElements-4e70ac0e.js +1 -0
  432. package/dist/esm-es5/useInstantAccessRegistration-0f04459e.js +1 -0
  433. package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-7eeec61b.js} +2 -2
  434. package/dist/esm-es5/usePortalLogin-d0720c81.js +1 -0
  435. package/dist/esm-es5/usePortalRegistrationForm-afc0171e.js +1 -0
  436. package/dist/esm-es5/useReferralCodes-311e6d72.js +1 -0
  437. package/dist/esm-es5/useReferralTable-65a01a6a.js +1 -0
  438. package/dist/esm-es5/useRegistrationFormState-18c2cea7.js +1 -0
  439. package/dist/esm-es5/useVerificationEmail-f9413de9.js +1 -0
  440. package/dist/esm-es5/utilities-ad9c2893.js +1 -0
  441. package/dist/esm-es5/utils-03188de2.js +1 -0
  442. package/dist/esm-es5/utils-27b2ed4b.js +1 -0
  443. package/dist/mint-components/global/styles.ts +396 -135
  444. package/dist/mint-components/mint-components.esm.js +1 -1
  445. package/dist/mint-components/mint-components.js +1 -1
  446. package/dist/mint-components/p-000c91b1.js +1 -0
  447. package/dist/mint-components/{p-9b6a0152.system.entry.js → p-002e6205.system.entry.js} +1 -1
  448. package/dist/mint-components/p-00378aec.entry.js +144 -0
  449. package/dist/mint-components/{p-266a8b4d.js → p-00791abc.js} +1 -1
  450. package/dist/mint-components/p-05650cb6.entry.js +1 -0
  451. package/dist/mint-components/{p-e145e4f8.js → p-07dc6d68.js} +1 -1
  452. package/dist/mint-components/{p-5bedb58c.js → p-08700497.js} +1 -1
  453. package/dist/mint-components/p-0935f9b7.system.js +1 -0
  454. package/dist/mint-components/p-09631d19.entry.js +93 -0
  455. package/dist/mint-components/{p-284e4ed5.entry.js → p-0b0f49ad.entry.js} +1 -1
  456. package/dist/mint-components/p-0bb21f5b.system.entry.js +1 -0
  457. package/dist/mint-components/{p-164a9103.system.entry.js → p-0cba75e6.system.entry.js} +1 -1
  458. package/dist/mint-components/{p-36ffebd8.system.entry.js → p-0d22c0e5.system.entry.js} +1 -1
  459. package/dist/mint-components/p-0e532b53.entry.js +1 -0
  460. package/dist/mint-components/{p-480e08e9.js → p-0e59a91e.js} +2 -2
  461. package/dist/mint-components/p-0e66f410.system.entry.js +1 -0
  462. package/dist/mint-components/p-0ea61502.system.js +1 -0
  463. package/dist/mint-components/p-100c878b.system.entry.js +1 -0
  464. package/dist/mint-components/p-115dfc03.system.js +1 -0
  465. package/dist/mint-components/p-1337f47c.entry.js +1 -0
  466. package/dist/mint-components/p-1363c4ab.system.js +1 -0
  467. package/dist/mint-components/{p-95ae4ab9.system.js → p-1394d253.system.js} +1 -1
  468. package/dist/mint-components/p-13f3a647.js +1 -0
  469. package/dist/mint-components/p-14128c84.system.entry.js +1 -0
  470. package/dist/mint-components/{p-7c2b9fe4.system.js → p-15012f59.system.js} +1 -1
  471. package/dist/mint-components/p-15bfd7e2.system.js +1 -0
  472. package/dist/mint-components/p-16381024.system.entry.js +1 -0
  473. package/dist/mint-components/p-19f41a8e.js +1 -0
  474. package/dist/mint-components/p-1a278658.entry.js +1 -0
  475. package/dist/mint-components/{p-dbc0e4f8.system.js → p-1c1f4ce7.system.js} +1 -1
  476. package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
  477. package/dist/mint-components/{p-cf8677ea.js → p-1d4a327c.js} +1 -1
  478. package/dist/mint-components/p-1f511d5d.entry.js +25 -0
  479. package/dist/mint-components/p-204861a6.js +1 -0
  480. package/dist/mint-components/p-209ea185.js +1 -0
  481. package/dist/mint-components/{p-3af1ec4c.entry.js → p-22c11f0e.entry.js} +1 -1
  482. package/dist/mint-components/{p-f4a8ee29.system.entry.js → p-22d20816.system.entry.js} +1 -1
  483. package/dist/mint-components/p-23cb8072.system.js +1 -0
  484. package/dist/mint-components/p-2403c6e1.system.js +1 -0
  485. package/dist/mint-components/p-240bec23.js +1 -0
  486. package/dist/mint-components/{p-4b6f2eca.system.entry.js → p-258f4e5e.system.entry.js} +1 -1
  487. package/dist/mint-components/p-27b52a2e.entry.js +9 -0
  488. package/dist/mint-components/{p-c0f19490.js → p-3787a4d6.js} +1 -1
  489. package/dist/mint-components/p-3cb249c3.js +1 -0
  490. package/dist/mint-components/p-3d1b91a1.system.entry.js +1 -0
  491. package/dist/mint-components/p-3d99fa43.entry.js +1 -0
  492. package/dist/mint-components/{p-13ed8586.system.js → p-3dc34570.system.js} +1 -1
  493. package/dist/mint-components/{p-20245645.js → p-3eba9036.js} +1 -1
  494. package/dist/mint-components/p-40c01a5a.system.js +1 -0
  495. package/dist/mint-components/{p-4b6dc0e5.entry.js → p-4204a6e3.entry.js} +1 -1
  496. package/dist/mint-components/p-426f109c.system.entry.js +1 -0
  497. package/dist/mint-components/{p-f4a72903.system.entry.js → p-4271f436.system.entry.js} +1 -1
  498. package/dist/mint-components/{p-6a8d9def.system.entry.js → p-42b62299.system.entry.js} +1 -1
  499. package/dist/mint-components/p-42da8239.system.js +1 -0
  500. package/dist/mint-components/{p-a37541ae.system.entry.js → p-433ca566.system.entry.js} +1 -1
  501. package/dist/mint-components/{p-726a9924.js → p-460155de.js} +1 -1
  502. package/dist/mint-components/{p-301ddcaa.system.entry.js → p-485e2d9f.system.entry.js} +1 -1
  503. package/dist/mint-components/p-49b20dae.js +1 -0
  504. package/dist/mint-components/{p-6d2f5a1d.js → p-4d19270b.js} +2 -2
  505. package/dist/mint-components/p-4f5329a2.system.js +53 -0
  506. package/dist/mint-components/{p-59274a91.system.js → p-578a27c8.system.js} +1 -1
  507. package/dist/mint-components/p-587115cb.system.entry.js +1 -0
  508. package/dist/mint-components/p-59b028db.system.js +1 -0
  509. package/dist/mint-components/{p-e8ffcc68.entry.js → p-5e0af707.entry.js} +2 -2
  510. package/dist/mint-components/{p-4e526a94.js → p-5ed49bf2.js} +1 -1
  511. package/dist/mint-components/p-5ff2da11.js +1 -0
  512. package/dist/mint-components/p-63e29387.js +42 -0
  513. package/dist/mint-components/{p-71d7c2a0.system.js → p-64997b59.system.js} +1 -1
  514. package/dist/mint-components/{p-b5fb3826.system.js → p-6578ea31.system.js} +1 -1
  515. package/dist/mint-components/p-672d144e.entry.js +1 -0
  516. package/dist/mint-components/p-67ad2252.system.js +1 -0
  517. package/dist/mint-components/{p-dc52c36a.js → p-68043f30.js} +1 -1
  518. package/dist/mint-components/p-692bacf3.js +1 -0
  519. package/dist/mint-components/{p-9ec99ced.js → p-6951663b.js} +1 -1
  520. package/dist/mint-components/p-6ad674c2.js +103 -0
  521. package/dist/mint-components/p-6b076bae.system.entry.js +1 -0
  522. package/dist/mint-components/p-6e069052.entry.js +1 -0
  523. package/dist/mint-components/p-6f38ae14.entry.js +258 -0
  524. package/dist/mint-components/{p-b7d1469d.system.entry.js → p-7059ee40.system.entry.js} +1 -1
  525. package/dist/mint-components/{p-2ae0e06a.entry.js → p-711bc624.entry.js} +1 -1
  526. package/dist/mint-components/p-71271fbd.system.js +1 -0
  527. package/dist/mint-components/{p-6d9e52c7.system.js → p-7159c51c.system.js} +1 -1
  528. package/dist/mint-components/p-7270fb59.entry.js +1 -0
  529. package/dist/mint-components/{p-44a82cf3.system.js → p-773ce89c.system.js} +22 -22
  530. package/dist/mint-components/p-7970e73a.js +1 -0
  531. package/dist/mint-components/{p-fa37513e.system.entry.js → p-7af4fba0.system.entry.js} +1 -1
  532. package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
  533. package/dist/mint-components/{p-527216de.system.js → p-82505f6e.system.js} +1 -1
  534. package/dist/mint-components/p-8543a70f.system.entry.js +1 -0
  535. package/dist/mint-components/{p-3f7b81b8.js → p-862845d7.js} +2 -2
  536. package/dist/mint-components/{p-9209a016.system.entry.js → p-89b859c7.system.entry.js} +1 -1
  537. package/dist/mint-components/p-8a6494c7.system.js +1 -0
  538. package/dist/mint-components/p-8caef004.js +1 -0
  539. package/dist/mint-components/{p-aaff68dc.entry.js → p-8dc1cd0f.entry.js} +1 -1
  540. package/dist/mint-components/{p-8413ade9.system.js → p-8e28333b.system.js} +1 -1
  541. package/dist/mint-components/p-8e2bead4.js +1 -0
  542. package/dist/mint-components/p-9049b387.entry.js +1 -0
  543. package/dist/mint-components/{p-2d52e2d7.system.js → p-91014439.system.js} +1 -1
  544. package/dist/mint-components/{p-18425f38.system.entry.js → p-910f56ca.system.entry.js} +1 -1
  545. package/dist/mint-components/p-9374b5bb.system.entry.js +1 -0
  546. package/dist/mint-components/{p-ccf8c9aa.entry.js → p-94f9fbf7.entry.js} +1 -1
  547. package/dist/mint-components/{p-a9f4ddb1.js → p-9580aac3.js} +1 -1
  548. package/dist/mint-components/{p-87c21535.entry.js → p-9aadc253.entry.js} +1 -1
  549. package/dist/mint-components/p-9cf27958.entry.js +13 -0
  550. package/dist/mint-components/p-9d29a0ff.system.entry.js +1 -0
  551. package/dist/mint-components/p-9dbfdb41.system.entry.js +1 -0
  552. package/dist/mint-components/p-9e297104.entry.js +1 -0
  553. package/dist/mint-components/p-9f82e69d.entry.js +1 -0
  554. package/dist/mint-components/{p-5488fdd9.system.js → p-9fb8b33a.system.js} +1 -1
  555. package/dist/mint-components/{p-8175e85f.system.js → p-a148663a.system.js} +1 -1
  556. package/dist/mint-components/p-a221ed32.js +1 -0
  557. package/dist/mint-components/{p-ac9f4085.system.entry.js → p-a2533860.system.entry.js} +1 -1
  558. package/dist/mint-components/{p-35b475bf.js → p-a45680fe.js} +1 -1
  559. package/dist/mint-components/{p-abefb7cc.js → p-a4e56204.js} +1 -1
  560. package/dist/mint-components/p-a5c9ce6c.entry.js +1 -0
  561. package/dist/mint-components/{p-d3e5704c.entry.js → p-a6234a78.entry.js} +1 -1
  562. package/dist/mint-components/{p-127e66c2.system.js → p-a6f4fb03.system.js} +1 -1
  563. package/dist/mint-components/{p-faba3198.entry.js → p-a7ee19dc.entry.js} +1 -1
  564. package/dist/mint-components/p-a89baf7b.system.js +1 -0
  565. package/dist/mint-components/p-abd33116.system.entry.js +1 -0
  566. package/dist/mint-components/{p-8362cb4c.system.entry.js → p-ac2fdad8.system.entry.js} +1 -1
  567. package/dist/mint-components/p-ad174af6.system.entry.js +1 -0
  568. package/dist/mint-components/p-ad586adc.system.entry.js +1 -0
  569. package/dist/mint-components/p-b065215a.entry.js +1 -0
  570. package/dist/mint-components/{p-d6831af5.js → p-b22b7891.js} +1 -1
  571. package/dist/mint-components/{p-345fd28e.system.entry.js → p-b3da317b.system.entry.js} +1 -1
  572. package/dist/mint-components/{p-571e1427.system.js → p-b6911812.system.js} +1 -1
  573. package/dist/mint-components/{p-1a6b7d2a.entry.js → p-b9bccc55.entry.js} +1 -1
  574. package/dist/mint-components/p-bad50dc1.entry.js +1 -0
  575. package/dist/mint-components/{p-a81b507f.entry.js → p-bb627d95.entry.js} +2 -2
  576. package/dist/mint-components/p-be88596c.system.js +1 -0
  577. package/dist/mint-components/p-c1629004.entry.js +1 -0
  578. package/dist/mint-components/p-c2c59452.system.js +1 -0
  579. package/dist/mint-components/{p-44891949.entry.js → p-c3884e55.entry.js} +1 -1
  580. package/dist/mint-components/{p-96431b4f.system.entry.js → p-c3dce602.system.entry.js} +1 -1
  581. package/dist/mint-components/p-c4886223.entry.js +1 -0
  582. package/dist/mint-components/p-c7965639.entry.js +1 -0
  583. package/dist/mint-components/p-c79bb1c6.entry.js +16 -0
  584. package/dist/mint-components/p-c7c11325.js +1 -0
  585. package/dist/mint-components/p-cab1f502.js +1 -0
  586. package/dist/mint-components/p-d2e2e10f.js +1233 -0
  587. package/dist/mint-components/{p-a71b9154.system.js → p-d399162b.system.js} +1 -1
  588. package/dist/mint-components/{p-0559d880.entry.js → p-d5f1df29.entry.js} +1 -1
  589. package/dist/mint-components/p-d785a297.system.entry.js +1 -0
  590. package/dist/mint-components/p-d821418e.system.js +1 -0
  591. package/dist/mint-components/p-d8c5b80a.system.js +1 -0
  592. package/dist/mint-components/p-d8e9a51e.js +448 -0
  593. package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
  594. package/dist/mint-components/{p-605c2904.system.entry.js → p-da6fe95f.system.entry.js} +1 -1
  595. package/dist/mint-components/{p-c2fdd608.system.entry.js → p-dbe29e53.system.entry.js} +1 -1
  596. package/dist/mint-components/{p-69ac09d4.js → p-ddf3c05e.js} +1 -1
  597. package/dist/mint-components/{p-11519322.system.js → p-df37ef17.system.js} +1 -1
  598. package/dist/mint-components/{p-da7708a7.entry.js → p-e27ff213.entry.js} +1 -1
  599. package/dist/mint-components/{p-6f34c2c2.entry.js → p-e425b7a1.entry.js} +2 -2
  600. package/dist/mint-components/p-e4e3ddb6.system.js +1 -0
  601. package/dist/mint-components/p-e539fed3.entry.js +1 -0
  602. package/dist/mint-components/p-e57d61af.system.js +1 -0
  603. package/dist/mint-components/p-e64fbb70.js +1 -0
  604. package/dist/mint-components/p-e9d0caf7.entry.js +11 -0
  605. package/dist/mint-components/p-eaeddfe2.system.js +1 -0
  606. package/dist/mint-components/{p-e21a1cb8.system.entry.js → p-ebb487d0.system.entry.js} +1 -1
  607. package/dist/mint-components/{p-7dabdca6.system.entry.js → p-eea87fdc.system.entry.js} +1 -1
  608. package/dist/mint-components/{p-ad985d37.system.entry.js → p-ef8b70cd.system.entry.js} +1 -1
  609. package/dist/mint-components/p-f0e0d0b9.system.entry.js +1 -0
  610. package/dist/mint-components/p-f0ebccea.system.entry.js +1 -0
  611. package/dist/mint-components/p-f1dc581f.js +1 -0
  612. package/dist/mint-components/{p-05f29f64.js → p-f307b716.js} +1 -1
  613. package/dist/mint-components/p-f4d373b5.system.entry.js +1 -0
  614. package/dist/mint-components/{p-619c2aa3.entry.js → p-f4dc053e.entry.js} +2 -2
  615. package/dist/mint-components/p-f51e41dd.system.entry.js +1 -0
  616. package/dist/mint-components/p-f5960d6d.system.js +1 -0
  617. package/dist/mint-components/p-f6baa0c9.system.js +1 -0
  618. package/dist/mint-components/p-f9c7248e.js +1 -0
  619. package/dist/mint-components/{p-cc7af682.system.js → p-fa6fba34.system.js} +2 -2
  620. package/dist/mint-components/{p-2b462e4f.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
  621. package/dist/mint-components/{p-4e451f75.js → p-fb5be0c5.js} +1 -1
  622. package/dist/mint-components/p-fb77f662.entry.js +1 -0
  623. package/dist/types/components/sqm-big-stat/BigStat.stories.d.ts +2 -0
  624. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +5 -0
  625. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +45 -1
  626. package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
  627. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +2 -0
  628. package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +42 -0
  629. package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
  630. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +4 -1
  631. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +14 -1
  632. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +0 -1
  633. package/dist/types/components/sqm-hero/Hero.stories.d.ts +1 -0
  634. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +1 -0
  635. package/dist/types/components/sqm-hero/sqm-hero.d.ts +6 -2
  636. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
  637. package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -1
  638. package/dist/types/components/sqm-invoice-table/columns/InvoiceTableColumn.d.ts +1 -0
  639. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.d.ts +1 -0
  640. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -0
  641. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.d.ts +1 -0
  642. package/dist/types/components/sqm-invoice-table/mockInvoiceData.d.ts +1 -0
  643. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +3 -0
  644. package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
  645. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +6 -1
  646. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +53 -17
  647. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +6 -0
  648. package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
  649. package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
  650. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +1 -0
  651. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +14 -0
  652. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +8 -0
  653. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +57 -0
  654. package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -0
  655. package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +9 -2
  656. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -2
  657. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +2 -0
  658. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  659. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +5 -1
  660. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +15 -0
  661. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +3 -0
  662. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +19 -0
  663. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +2 -1
  664. package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +1 -0
  665. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +1 -1
  666. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -1
  667. package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +5 -2
  668. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +24 -3
  669. package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +3 -2
  670. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +1 -0
  671. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +1 -0
  672. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +1 -0
  673. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +1 -0
  674. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
  675. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
  676. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
  677. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
  678. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -1
  679. package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -1
  680. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +457 -437
  681. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +8 -1
  682. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +1 -0
  683. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.d.ts +1 -0
  684. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
  685. package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -0
  686. package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +1 -0
  687. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +2 -1
  688. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +2 -1
  689. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +2 -1
  690. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +2 -1
  691. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +2 -1
  692. package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +1 -0
  693. package/dist/types/components/sqm-rewards-table/mockTaxData.d.ts +1 -0
  694. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  695. package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -1
  696. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  697. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  698. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +18 -6
  699. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
  700. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -2
  701. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +3 -0
  702. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +23 -0
  703. package/dist/types/components/sqm-stencilbook/BrandSelector.d.ts +9 -0
  704. package/dist/types/components/sqm-stencilbook/Themes.d.ts +6 -6
  705. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  706. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  707. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  708. package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
  709. package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
  710. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -5
  711. package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
  712. package/dist/types/components/sqm-text/Text.stories.d.ts +6 -0
  713. package/dist/types/components/sqm-text/sqm-text.d.ts +13 -1
  714. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +4 -2
  715. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +13 -1
  716. package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +1 -0
  717. package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +2 -0
  718. package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +14 -0
  719. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -2
  720. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +5 -2
  721. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +6 -2
  722. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  723. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -1
  724. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +6 -0
  725. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +16 -0
  726. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +7 -1
  727. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +12 -0
  728. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +5 -2
  729. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +4 -0
  730. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
  731. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +1 -1
  732. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +46 -4
  733. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.d.ts +1 -1
  734. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -1
  735. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +5 -0
  736. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -1
  737. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -1
  738. package/dist/types/components/tax-and-cash/utils.d.ts +1 -1
  739. package/dist/types/components.d.ts +958 -90
  740. package/dist/types/global/global.d.ts +2 -2
  741. package/dist/types/global/mixins.d.ts +12 -12
  742. package/dist/types/global/styles.d.ts +10 -2
  743. package/dist/types/insertfont.d.ts +1 -0
  744. package/dist/types/saasquatch.d.ts +142 -0
  745. package/dist/types/utils/parseStates.d.ts +1 -0
  746. package/dist/types/utils/utils.d.ts +1 -0
  747. package/docs/docs.docx +0 -0
  748. package/docs/raisins.json +1 -1
  749. package/grapesjs/grapesjs.js +1 -1
  750. package/package.json +3 -2
  751. package/shoelace/assets/icons/twitter-x.svg +4 -0
  752. package/dist/cjs/ErrorView-b2fcf954.js +0 -35
  753. package/dist/cjs/sqm-asset-card-view-21ddf04f.js +0 -51
  754. package/dist/cjs/sqm-asset-card.cjs.entry.js +0 -45
  755. package/dist/cjs/sqm-invoice-table-view-f369b0a6.js +0 -2038
  756. package/dist/cjs/sqm-leaderboard-rank-view-d39a55d8.js +0 -10
  757. package/dist/cjs/sqm-navigation-sidebar-item-view-6f35d2ee.js +0 -45
  758. package/dist/cjs/sqm-referred-registration.cjs.entry.js +0 -178
  759. package/dist/cjs/sqm-text-span-view-56e48a78.js +0 -62
  760. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +0 -29
  761. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +0 -46
  762. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +0 -107
  763. package/dist/collection/components/sqm-asset-card/useAssetCard.js +0 -9
  764. package/dist/esm/ErrorView-48e2b969.js +0 -33
  765. package/dist/esm/sqm-asset-card-view-fe5db3c0.js +0 -49
  766. package/dist/esm/sqm-asset-card.entry.js +0 -41
  767. package/dist/esm/sqm-invoice-table-view-1bd8afaa.js +0 -2022
  768. package/dist/esm/sqm-leaderboard-rank-view-753c8d4a.js +0 -8
  769. package/dist/esm/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -43
  770. package/dist/esm/sqm-referred-registration.entry.js +0 -174
  771. package/dist/esm/sqm-text-span-view-c577cc60.js +0 -60
  772. package/dist/esm-es5/ErrorView-48e2b969.js +0 -1
  773. package/dist/esm-es5/GenericTableView-e7addb2b.js +0 -1
  774. package/dist/esm-es5/ShadowViewAddon-ccd5586b.js +0 -1
  775. package/dist/esm-es5/copy-text-view-0ac6e1d1.js +0 -1
  776. package/dist/esm-es5/email-registration-view-a7818cf2.js +0 -1
  777. package/dist/esm-es5/index.module-89a79f66.js +0 -1
  778. package/dist/esm-es5/luxon-8d51c92b.js +0 -1
  779. package/dist/esm-es5/mixins-83f90fa1.js +0 -1
  780. package/dist/esm-es5/re-render-cc945f38.js +0 -1
  781. package/dist/esm-es5/sqm-asset-card-view-fe5db3c0.js +0 -1
  782. package/dist/esm-es5/sqm-asset-card.entry.js +0 -1
  783. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +0 -1
  784. package/dist/esm-es5/sqm-big-stat_41.entry.js +0 -1
  785. package/dist/esm-es5/sqm-invoice-table-view-1bd8afaa.js +0 -1
  786. package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
  787. package/dist/esm-es5/sqm-navigation-sidebar-item-view-8f1c72bc.js +0 -1
  788. package/dist/esm-es5/sqm-navigation-sidebar-view-9d802b78.js +0 -1
  789. package/dist/esm-es5/sqm-portal-forgot-password-view-50444a7c.js +0 -1
  790. package/dist/esm-es5/sqm-portal-login-view-37c85d04.js +0 -1
  791. package/dist/esm-es5/sqm-qr-code-view-10b8b4cb.js +0 -1
  792. package/dist/esm-es5/sqm-referred-registration.entry.js +0 -1
  793. package/dist/esm-es5/sqm-text-span-view-c577cc60.js +0 -1
  794. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +0 -53
  795. package/dist/esm-es5/useChildElements-7945ae56.js +0 -1
  796. package/dist/esm-es5/useInstantAccessRegistration-dc4ad9f2.js +0 -1
  797. package/dist/esm-es5/usePortalLogin-ef647a50.js +0 -1
  798. package/dist/esm-es5/usePortalRegistrationForm-4b35a357.js +0 -1
  799. package/dist/esm-es5/useReferralCodes-8f75921a.js +0 -1
  800. package/dist/esm-es5/useReferralTable-b3876ed6.js +0 -1
  801. package/dist/esm-es5/useRegistrationFormState-d6f33135.js +0 -1
  802. package/dist/esm-es5/useVerificationEmail-edc318cb.js +0 -1
  803. package/dist/esm-es5/utilities-5b0ca040.js +0 -1
  804. package/dist/esm-es5/utils-334c1e34.js +0 -1
  805. package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
  806. package/dist/mint-components/p-04a6e457.entry.js +0 -1
  807. package/dist/mint-components/p-11542862.system.entry.js +0 -1
  808. package/dist/mint-components/p-141bf5c1.system.entry.js +0 -1
  809. package/dist/mint-components/p-14a65f29.system.js +0 -1
  810. package/dist/mint-components/p-1513309d.entry.js +0 -1
  811. package/dist/mint-components/p-19439bf0.system.entry.js +0 -1
  812. package/dist/mint-components/p-19ccb4ce.js +0 -1
  813. package/dist/mint-components/p-1b3ab15a.system.entry.js +0 -1
  814. package/dist/mint-components/p-1fa9ed0d.system.entry.js +0 -1
  815. package/dist/mint-components/p-208d8d75.system.entry.js +0 -1
  816. package/dist/mint-components/p-217514ac.system.js +0 -1
  817. package/dist/mint-components/p-229f797b.js +0 -1
  818. package/dist/mint-components/p-24db5c70.js +0 -1
  819. package/dist/mint-components/p-275b4767.entry.js +0 -1
  820. package/dist/mint-components/p-2bbff88f.entry.js +0 -1
  821. package/dist/mint-components/p-2c07df76.entry.js +0 -144
  822. package/dist/mint-components/p-2c7ebd5b.js +0 -1
  823. package/dist/mint-components/p-2dca9e1a.system.js +0 -1
  824. package/dist/mint-components/p-2e110002.system.js +0 -1
  825. package/dist/mint-components/p-32dbde60.system.js +0 -1
  826. package/dist/mint-components/p-33c96e14.entry.js +0 -16
  827. package/dist/mint-components/p-38de17fa.system.js +0 -1
  828. package/dist/mint-components/p-38e5c429.system.js +0 -1
  829. package/dist/mint-components/p-38fc919b.entry.js +0 -1
  830. package/dist/mint-components/p-3a49811c.js +0 -1
  831. package/dist/mint-components/p-3a62a7e2.system.js +0 -1
  832. package/dist/mint-components/p-3db34d68.js +0 -1
  833. package/dist/mint-components/p-420554af.system.entry.js +0 -1
  834. package/dist/mint-components/p-42187319.system.entry.js +0 -1
  835. package/dist/mint-components/p-4428294b.entry.js +0 -1
  836. package/dist/mint-components/p-48135f99.system.js +0 -53
  837. package/dist/mint-components/p-49206a9c.entry.js +0 -1
  838. package/dist/mint-components/p-49deb225.entry.js +0 -1
  839. package/dist/mint-components/p-4dbe2d08.entry.js +0 -25
  840. package/dist/mint-components/p-4e5af50c.js +0 -1
  841. package/dist/mint-components/p-5ca43353.system.entry.js +0 -1
  842. package/dist/mint-components/p-5dbe8b0a.system.js +0 -1
  843. package/dist/mint-components/p-6055eb4c.system.js +0 -1
  844. package/dist/mint-components/p-6333265f.system.js +0 -1
  845. package/dist/mint-components/p-635d5ef2.system.js +0 -1
  846. package/dist/mint-components/p-6427e963.entry.js +0 -1
  847. package/dist/mint-components/p-65ba9e94.entry.js +0 -1
  848. package/dist/mint-components/p-6b7a595f.system.js +0 -1
  849. package/dist/mint-components/p-6cd4f2b1.system.js +0 -1
  850. package/dist/mint-components/p-6d061986.system.js +0 -1
  851. package/dist/mint-components/p-6eaf9c57.entry.js +0 -1
  852. package/dist/mint-components/p-734695a0.entry.js +0 -205
  853. package/dist/mint-components/p-775f3ded.entry.js +0 -1
  854. package/dist/mint-components/p-7ab21e4d.entry.js +0 -1
  855. package/dist/mint-components/p-7cbec088.system.entry.js +0 -1
  856. package/dist/mint-components/p-7e3a84bc.js +0 -1
  857. package/dist/mint-components/p-802b9f7e.entry.js +0 -1
  858. package/dist/mint-components/p-8053366e.system.entry.js +0 -1
  859. package/dist/mint-components/p-837dbf90.system.entry.js +0 -1
  860. package/dist/mint-components/p-893d7ab4.js +0 -1
  861. package/dist/mint-components/p-8abfeff8.entry.js +0 -1
  862. package/dist/mint-components/p-8c23d1b8.js +0 -1
  863. package/dist/mint-components/p-8c494bf1.js +0 -1
  864. package/dist/mint-components/p-8d9d04b7.system.entry.js +0 -1
  865. package/dist/mint-components/p-90421929.system.entry.js +0 -1
  866. package/dist/mint-components/p-91521e9d.js +0 -1
  867. package/dist/mint-components/p-92816d1f.js +0 -1
  868. package/dist/mint-components/p-93fed35b.system.js +0 -1
  869. package/dist/mint-components/p-94a876b9.js +0 -1
  870. package/dist/mint-components/p-97d4d651.system.js +0 -1
  871. package/dist/mint-components/p-98698131.js +0 -1
  872. package/dist/mint-components/p-9acb5038.js +0 -1
  873. package/dist/mint-components/p-9cf80e85.system.entry.js +0 -1
  874. package/dist/mint-components/p-ab47e9a7.js +0 -394
  875. package/dist/mint-components/p-b59cd472.entry.js +0 -9
  876. package/dist/mint-components/p-bd2a2546.system.js +0 -1
  877. package/dist/mint-components/p-bfc7cfc0.system.js +0 -1
  878. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  879. package/dist/mint-components/p-c36506f6.system.entry.js +0 -1
  880. package/dist/mint-components/p-ccb5699b.js +0 -1
  881. package/dist/mint-components/p-ccc207bc.system.entry.js +0 -1
  882. package/dist/mint-components/p-cd1d497f.system.js +0 -1
  883. package/dist/mint-components/p-cd31cfd4.entry.js +0 -258
  884. package/dist/mint-components/p-cd63a965.system.entry.js +0 -1
  885. package/dist/mint-components/p-cd651f81.js +0 -42
  886. package/dist/mint-components/p-d4546357.entry.js +0 -13
  887. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
  888. package/dist/mint-components/p-df89186f.system.js +0 -1
  889. package/dist/mint-components/p-e01fe915.js +0 -1248
  890. package/dist/mint-components/p-e6f50ffd.entry.js +0 -1
  891. package/dist/mint-components/p-eab1c9f3.js +0 -1
  892. package/dist/mint-components/p-ed11966d.system.js +0 -1
  893. package/dist/mint-components/p-eda5e82c.entry.js +0 -1
  894. package/dist/mint-components/p-f2228da3.system.entry.js +0 -1
  895. package/dist/mint-components/p-f26aedcd.system.js +0 -1
  896. package/dist/mint-components/p-f2d8d3d3.system.entry.js +0 -1
  897. package/dist/mint-components/p-f708da7b.js +0 -1
  898. package/dist/mint-components/p-fd0a013f.entry.js +0 -1
  899. package/dist/types/components/sqm-asset-card/AssetCard.stories.d.ts +0 -7
  900. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +0 -8
  901. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +0 -24
  902. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +0 -7
  903. /package/dist/collection/components/tax-and-cash/{sqm-tax-and-cash/data.js → data.js} +0 -0
  904. /package/dist/types/components/tax-and-cash/{sqm-tax-and-cash/data.d.ts → data.d.ts} +0 -0
@@ -1,2022 +0,0 @@
1
- import { h } from './index-91e7729f.js';
2
- import { i as intl } from './global-6dc825bc.js';
3
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
- import { E as ErrorView } from './ErrorView-48e2b969.js';
5
-
6
- const INDIRECT_TAX_PROVINCES = [
7
- { regionCode: "ALBERTA", taxType: "GST", displayName: "Alberta" },
8
- {
9
- regionCode: "BRITISHCOLUMBIA",
10
- taxType: "HST",
11
- displayName: "British Columbia",
12
- },
13
- { regionCode: "MANITOBA", taxType: "HST", displayName: "Manitoba" },
14
- {
15
- regionCode: "NEWBRUNSWICK",
16
- taxType: "HST",
17
- displayName: "New Brunswick",
18
- },
19
- {
20
- regionCode: "NEWFOUNDLANDLABRADOR",
21
- taxType: "HST",
22
- displayName: "Newfoundland",
23
- },
24
- {
25
- regionCode: "NORTHWESTTERRITORIES",
26
- taxType: "GST",
27
- displayName: "North West Territories",
28
- },
29
- { regionCode: "NOVASCOTIA", taxType: "HST", displayName: "Nova Scotia" },
30
- { regionCode: "NUNAVUT", taxType: "HST", displayName: "Nunavut" },
31
- { regionCode: "ONTARIO", taxType: "HST", displayName: "Ontario" },
32
- {
33
- regionCode: "PRINCEEDWARDISLAND",
34
- taxType: "HST",
35
- displayName: "Prince Edward Island",
36
- },
37
- { regionCode: "QUEBEC", taxType: "GST", displayName: "Quebec" },
38
- { regionCode: "SASKATCHEWAN", taxType: "HST", displayName: "Saskatchewan" },
39
- { regionCode: "YUKON", taxType: "GST", displayName: "Yukon" },
40
- ];
41
- const INDIRECT_TAX_SPAIN_REGIONS = [
42
- { regionCode: "SPAINPROPER", taxType: "VAT", displayName: "Spain Proper" },
43
- {
44
- regionCode: "CANARYISLANDS",
45
- taxType: "VAT",
46
- displayName: "Canary Islands",
47
- },
48
- ];
49
- const ADDRESS_REGIONS = {
50
- CA: {
51
- labelEnum: "PROVINCE",
52
- regions: [
53
- {
54
- label: "Alberta",
55
- value: "ALBERTA",
56
- },
57
- {
58
- label: "British Columbia",
59
- value: "BRITISHCOLUMBIA",
60
- },
61
- {
62
- label: "Manitoba",
63
- value: "MANITOBA",
64
- },
65
- {
66
- label: "New Brunswick",
67
- value: "NEWBRUNSWICK",
68
- },
69
- {
70
- label: "Newfoundland & Labrador",
71
- value: "NEWFOUNDLANDANDLABRADOR",
72
- },
73
- {
74
- label: "Northwest Territories",
75
- value: "NORTHWESTTERRITORIES",
76
- },
77
- {
78
- label: "Nova Scotia",
79
- value: "NOVASCOTIA",
80
- },
81
- {
82
- label: "Nunavut",
83
- value: "NUNAVUT",
84
- },
85
- {
86
- label: "Ontario",
87
- value: "ONTARIO",
88
- },
89
- {
90
- label: "Prince Edward Island",
91
- value: "PRINCEEDWARDISLAND",
92
- },
93
- {
94
- label: "Quebec",
95
- value: "QUEBEC",
96
- },
97
- {
98
- label: "Saskatchewan",
99
- value: "SASKATCHEWAN",
100
- },
101
- {
102
- label: "Yukon",
103
- value: "YUKON",
104
- },
105
- ],
106
- },
107
- ES: {
108
- labelEnum: "REGION",
109
- regions: [
110
- {
111
- label: "Canary Islands",
112
- value: "CANARYISLANDS",
113
- },
114
- {
115
- label: "Spain Proper",
116
- value: "SPAINPROPER",
117
- },
118
- ],
119
- },
120
- AU: {
121
- labelEnum: "STATE",
122
- regions: [
123
- {
124
- label: "Australian Capital Territory",
125
- value: "CAPITALTERRITORY",
126
- },
127
- {
128
- label: "New South Wales",
129
- value: "NEWSOUTHWALES",
130
- },
131
- {
132
- label: "Northern Territory",
133
- value: "NORTHERNTERRITORY",
134
- },
135
- {
136
- label: "Queensland",
137
- value: "QUEENSLAND",
138
- },
139
- {
140
- label: "South Australia",
141
- value: "SOUTHAUSTRALIA",
142
- },
143
- {
144
- label: "Tasmania",
145
- value: "TASMANIA",
146
- },
147
- {
148
- label: "Victoria",
149
- value: "VICTORIA",
150
- },
151
- {
152
- label: "Western Australia",
153
- value: "WESTERNAUSTRALIA",
154
- },
155
- ],
156
- },
157
- US: {
158
- labelEnum: "STATE",
159
- regions: [
160
- {
161
- label: "Alabama",
162
- value: "ALABAMA",
163
- },
164
- {
165
- label: "Alaska",
166
- value: "ALASKA",
167
- },
168
- {
169
- label: "Arizona",
170
- value: "ARIZONA",
171
- },
172
- {
173
- label: "Arkansas",
174
- value: "ARKANSAS",
175
- },
176
- {
177
- label: "California",
178
- value: "CALIFORNIA",
179
- },
180
- {
181
- label: "Colorado",
182
- value: "COLORADO",
183
- },
184
- {
185
- label: "Connecticut",
186
- value: "CONNECTICUT",
187
- },
188
- {
189
- label: "Delaware",
190
- value: "DELAWARE",
191
- },
192
- {
193
- label: "District of Columbia",
194
- value: "DISTRICTOFCOLUMBIA",
195
- },
196
- {
197
- label: "Florida",
198
- value: "FLORIDA",
199
- },
200
- {
201
- label: "Georgia",
202
- value: "GEORGIA",
203
- },
204
- {
205
- label: "Hawaii",
206
- value: "HAWAII",
207
- },
208
- {
209
- label: "Idaho",
210
- value: "IDAHO",
211
- },
212
- {
213
- label: "Illinois",
214
- value: "ILLINOIS",
215
- },
216
- {
217
- label: "Indiana",
218
- value: "INDIANA",
219
- },
220
- {
221
- label: "Iowa",
222
- value: "IOWA",
223
- },
224
- {
225
- label: "Kansas",
226
- value: "KANSAS",
227
- },
228
- {
229
- label: "Kentucky",
230
- value: "KENTUCKY",
231
- },
232
- {
233
- label: "Louisiana",
234
- value: "LOUISIANA",
235
- },
236
- {
237
- label: "Maine",
238
- value: "MAINE",
239
- },
240
- {
241
- label: "Maryland",
242
- value: "MARYLAND",
243
- },
244
- {
245
- label: "Massachusetts",
246
- value: "MASSACHUSETTS",
247
- },
248
- {
249
- label: "Michigan",
250
- value: "MICHIGAN",
251
- },
252
- {
253
- label: "Minnesota",
254
- value: "MINNESOTA",
255
- },
256
- {
257
- label: "Mississippi",
258
- value: "MISSISSIPPI",
259
- },
260
- {
261
- label: "Missouri",
262
- value: "MISSOURI",
263
- },
264
- {
265
- label: "Montana",
266
- value: "MONTANA",
267
- },
268
- {
269
- label: "Nebraska",
270
- value: "NEBRASKA",
271
- },
272
- {
273
- label: "Nevada",
274
- value: "NEVADA",
275
- },
276
- {
277
- label: "New Hampshire",
278
- value: "NEWHAMPSHIRE",
279
- },
280
- {
281
- label: "New Jersey",
282
- value: "NEWJERSEY",
283
- },
284
- {
285
- label: "New Mexico",
286
- value: "NEWMEXICO",
287
- },
288
- {
289
- label: "New York",
290
- value: "NEWYORK",
291
- },
292
- {
293
- label: "North Carolina",
294
- value: "NORTHCAROLINA",
295
- },
296
- {
297
- label: "North Dakota",
298
- value: "NORTHDAKOTA",
299
- },
300
- {
301
- label: "Ohio",
302
- value: "OHIO",
303
- },
304
- {
305
- label: "Oklahoma",
306
- value: "OKLAHOMA",
307
- },
308
- {
309
- label: "Oregon",
310
- value: "OREGON",
311
- },
312
- {
313
- label: "Pennsylvania",
314
- value: "PENNSYLVANIA",
315
- },
316
- {
317
- label: "Rhode Island",
318
- value: "RHODEISLAND",
319
- },
320
- {
321
- label: "South Carolina",
322
- value: "SOUTHCAROLINA",
323
- },
324
- {
325
- label: "South Dakota",
326
- value: "SOUTHDAKOTA",
327
- },
328
- {
329
- label: "Tennessee",
330
- value: "TENNESSEE",
331
- },
332
- {
333
- label: "Texas",
334
- value: "TEXAS",
335
- },
336
- {
337
- label: "Utah",
338
- value: "UTAH",
339
- },
340
- {
341
- label: "Vermont",
342
- value: "VERMONT",
343
- },
344
- {
345
- label: "Virgin Islands",
346
- value: "VIRGINISLANDS",
347
- },
348
- {
349
- label: "Virginia",
350
- value: "VIRGINIA",
351
- },
352
- {
353
- label: "Washington",
354
- value: "WASHINGTON",
355
- },
356
- {
357
- label: "West Virginia",
358
- value: "WESTVIRGINIA",
359
- },
360
- {
361
- label: "Wisconsin",
362
- value: "WISCONSIN",
363
- },
364
- {
365
- label: "Wyoming",
366
- value: "WYOMING",
367
- },
368
- {
369
- label: "Americas Forces",
370
- value: "AAMILITARY",
371
- },
372
- {
373
- label: "Europe, Middle East, Canada, Africa and Canada Forces",
374
- value: "AEMILITARY",
375
- },
376
- {
377
- label: "Pacific Forces",
378
- value: "APMILITARY",
379
- },
380
- {
381
- label: "Other",
382
- value: "OTHER",
383
- },
384
- ],
385
- },
386
- };
387
-
388
- const style = {
389
- Container: {
390
- display: "flex",
391
- flexDirection: "column",
392
- gap: "24px",
393
- },
394
- HeaderContainer: {
395
- display: "flex",
396
- flexDirection: "column",
397
- gap: "10px",
398
- },
399
- TitleSkeleton: {
400
- width: "45%",
401
- height: "40px !important",
402
- },
403
- StepSkeleton: {
404
- width: "15%",
405
- },
406
- HeaderSkeleton: {
407
- width: "25%",
408
- height: "30px !important",
409
- },
410
- InputSkeleton: {
411
- width: "75%",
412
- },
413
- ButtonSkeleton: {
414
- width: "80px",
415
- height: "30px !important",
416
- },
417
- };
418
- const sheet = createStyleSheet(style);
419
- const styleString = sheet.toString();
420
- const LoadingView = () => {
421
- return (h("div", { class: sheet.classes.Container },
422
- h("style", { type: "text/css" }, styleString),
423
- h("sl-skeleton", { class: sheet.classes.TitleSkeleton }),
424
- h("div", { class: sheet.classes.HeaderContainer },
425
- h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
426
- h("sl-skeleton", { class: sheet.classes.HeaderSkeleton })),
427
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
428
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
429
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
430
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
431
- h("sl-skeleton", { class: sheet.classes.InputSkeleton }),
432
- h("sl-skeleton", { class: sheet.classes.StepSkeleton }),
433
- h("sl-skeleton", { class: sheet.classes.ButtonSkeleton })));
434
- };
435
-
436
- function validTaxDocument(requiredType) {
437
- const validTypes = ["W9", "W8BENE", "W8BEN"];
438
- if (validTypes.includes(requiredType))
439
- return true;
440
- return false;
441
- }
442
- const objectIsFull = (obj) => {
443
- return !Object.keys(obj).find((k) => obj[k] == undefined);
444
- };
445
- const taxTypeToName = (taxType) => {
446
- switch (taxType) {
447
- case "W9":
448
- return "W-9";
449
- case "W8BEN":
450
- case "W8BENE":
451
- return "W-8";
452
- default:
453
- return "";
454
- }
455
- };
456
- function validateBillingField(regex, value) {
457
- const trimmed = value.trim();
458
- const idx = trimmed.search(regex);
459
- return idx > -1;
460
- }
461
- const formatErrorMessage = (fieldName, errorMessage) => {
462
- return intl.formatMessage({
463
- id: fieldName,
464
- defaultMessage: errorMessage,
465
- }, {
466
- fieldName,
467
- });
468
- };
469
- function getCountryObj({ countryCode, locale, }) {
470
- // @ts-ignore DisplayNames not in Intl type
471
- const displayName = new Intl.DisplayNames([locale], {
472
- type: "region",
473
- }).of(countryCode);
474
- return {
475
- countryCode,
476
- displayName,
477
- };
478
- }
479
-
480
- const TaxForm_stories = {
481
- title: "Components/Tax Form",
482
- };
483
- const stepOneProps = {
484
- states: {
485
- step: "1",
486
- hideSteps: false,
487
- hideState: false,
488
- loading: false,
489
- disabled: false,
490
- isPartner: false,
491
- isUser: false,
492
- loadingError: false,
493
- formState: {
494
- firstName: "Bob",
495
- lastName: "Testerson",
496
- email: "bobtesterson@example.com",
497
- phoneNumberCountryCode: "US",
498
- phoneNumber: "555 555 5555",
499
- countryCode: "US",
500
- currency: "CAD",
501
- address: "2/1337 Johnson Street",
502
- city: "Vancouver",
503
- state: "BC",
504
- postalCode: "555 555",
505
- errors: {},
506
- },
507
- },
508
- data: {
509
- regionLabelEnum: "STATE",
510
- regions: [],
511
- phoneCountries: [
512
- {
513
- countryCode: "CA",
514
- displayName: "Canada",
515
- },
516
- ],
517
- countries: [
518
- {
519
- countryCode: "CA",
520
- displayName: "Canada",
521
- },
522
- {
523
- countryCode: "ES",
524
- displayName: "Spain",
525
- },
526
- {
527
- countryCode: "UK",
528
- displayName: "United Kingdom",
529
- },
530
- {
531
- countryCode: "US",
532
- displayName: "United States",
533
- },
534
- {
535
- countryCode: "AR",
536
- displayName: "Argentina",
537
- },
538
- {
539
- countryCode: "AU",
540
- displayName: "Australia",
541
- },
542
- {
543
- countryCode: "ZW",
544
- displayName: "Zimbabwe",
545
- },
546
- ],
547
- currencies: [
548
- {
549
- currencyCode: "CAD",
550
- displayName: "CAD",
551
- },
552
- {
553
- currencyCode: "GBP",
554
- displayName: "GBP",
555
- },
556
- {
557
- currencyCode: "USD",
558
- displayName: "USD",
559
- },
560
- ],
561
- allCountries: [
562
- {
563
- countryCode: "CA",
564
- displayName: "Canada",
565
- },
566
- {
567
- countryCode: "ES",
568
- displayName: "Spain",
569
- },
570
- {
571
- countryCode: "UK",
572
- displayName: "United Kingdom",
573
- },
574
- {
575
- countryCode: "US",
576
- displayName: "United States",
577
- },
578
- ],
579
- allCurrencies: [
580
- {
581
- currencyCode: "CAD",
582
- displayName: "CAD",
583
- },
584
- {
585
- currencyCode: "GBP",
586
- displayName: "GBP",
587
- },
588
- {
589
- currencyCode: "USD",
590
- displayName: "USD",
591
- },
592
- ],
593
- },
594
- refs: {
595
- formRef: { current: null },
596
- currencyRef: { current: null },
597
- phoneCountryRef: { current: null },
598
- },
599
- };
600
- const stepTwoProps = {
601
- states: {
602
- step: "2",
603
- hideSteps: false,
604
- disabled: false,
605
- loading: false,
606
- isPartner: false,
607
- loadingError: false,
608
- formState: {
609
- checked: undefined,
610
- errors: {},
611
- },
612
- },
613
- callbacks: {
614
- onSubmit: async () => console.log("Submit"),
615
- onChange: () => console.log("Submit"),
616
- onBack: () => console.log("Submit"),
617
- onFormChange: (field, e) => console.log(field, e),
618
- onQstToggle: () => { },
619
- onSpainToggle: () => { },
620
- setCountrySearch: (c) => console.log(c),
621
- },
622
- data: {
623
- esRegions: INDIRECT_TAX_SPAIN_REGIONS,
624
- countries: [
625
- {
626
- countryCode: "CA",
627
- displayName: "Canada",
628
- },
629
- {
630
- countryCode: "ES",
631
- displayName: "Spain",
632
- },
633
- {
634
- countryCode: "UK",
635
- displayName: "United Kingdom",
636
- },
637
- {
638
- countryCode: "US",
639
- displayName: "United States",
640
- },
641
- ],
642
- allCountries: [
643
- {
644
- countryCode: "CA",
645
- displayName: "Canada",
646
- },
647
- {
648
- countryCode: "ES",
649
- displayName: "Spain",
650
- },
651
- {
652
- countryCode: "UK",
653
- displayName: "United Kingdom",
654
- },
655
- {
656
- countryCode: "US",
657
- displayName: "United States",
658
- },
659
- ],
660
- provinces: INDIRECT_TAX_PROVINCES,
661
- },
662
- slotProps: {
663
- formState: {
664
- errors: {},
665
- },
666
- },
667
- refs: { formRef: { current: null } },
668
- };
669
- const stepFourProps = {
670
- states: {
671
- showVerification: false,
672
- step: "4",
673
- hideSteps: false,
674
- disabled: false,
675
- loading: false,
676
- hasPayPal: false,
677
- isPartner: false,
678
- hideBackButton: false,
679
- saveDisabled: false,
680
- thresholds: [],
681
- loadingError: false,
682
- email: "test@example.com",
683
- formState: {
684
- paymentMethodChecked: "toBankAccount",
685
- },
686
- },
687
- callbacks: {
688
- onVerificationHide: () => { },
689
- onVerification: () => { },
690
- onSubmit: async () => console.log("Submit"),
691
- setPaymentMethodChecked: () => { },
692
- setPaymentScheduleChecked: () => { },
693
- onBack: async () => console.log("back"),
694
- setCountrySearch: () => { },
695
- },
696
- refs: { formRef: { current: null } },
697
- };
698
- const docusignFormProps = {
699
- states: {
700
- showExitButton: true,
701
- step: "3",
702
- urlLoading: false,
703
- docusignStatus: undefined,
704
- hideSteps: false,
705
- documentType: "W9",
706
- documentTypeString: "W9",
707
- loading: false,
708
- disabled: false,
709
- participantTypeDisabled: false,
710
- loadingError: false,
711
- formState: {
712
- participantType: "individualParticipant",
713
- errors: {},
714
- taxFormExpired: false,
715
- },
716
- },
717
- callbacks: {
718
- onExit: () => { },
719
- completeDocument: async () => { },
720
- setParticipantType: (p) => console.log({ p }),
721
- setDocusignStatus: (status) => console.log(status),
722
- },
723
- };
724
- const dashboardProps = {
725
- states: {
726
- veriffLoading: false,
727
- payoutStatus: "DONE",
728
- canEditPayoutInfo: true,
729
- disabled: false,
730
- status: "ACTIVE",
731
- documentType: "W9",
732
- documentTypeString: taxTypeToName("W9"),
733
- dateSubmitted: "Jan 18th, 2025",
734
- noFormNeeded: false,
735
- country: "United Kingdom",
736
- indirectTaxNumber: "123456",
737
- indirectTaxType: "VAT",
738
- showNewFormDialog: false,
739
- hasHold: false,
740
- },
741
- slots: {
742
- payoutDetailsCardSlot: (h("sqm-payout-details-card", { demoData: {
743
- states: {
744
- badgeStatus: "nextPayout",
745
- },
746
- } })),
747
- },
748
- };
749
- const GeneralLoadingView = () => {
750
- return h(LoadingView, null);
751
- };
752
- const GeneralErrorView = () => {
753
- return (h(ErrorView, { loadingErrorAlertHeader: "There was a problem loading your form", loadingErrorAlertDescription: "Please refresh the page and try again. If this problem continues, contact our support team." }));
754
- };
755
- // STEP ONE
756
- const StepOne = () => {
757
- return h("sqm-user-info-form", { demoData: stepOneProps });
758
- };
759
- const StepOneLoading = () => {
760
- return (h("sqm-user-info-form", { demoData: {
761
- states: { ...stepOneProps.states, loading: true },
762
- } }));
763
- };
764
- const StepOneDisabled = () => {
765
- return (h("sqm-user-info-form", { demoData: {
766
- states: { ...stepOneProps.states, disabled: true },
767
- } }));
768
- };
769
- const StepOneIsUser = () => {
770
- return (h("sqm-user-info-form", { demoData: {
771
- states: { ...stepOneProps.states, isUser: true },
772
- } }));
773
- };
774
- const StepOneIsPartner = () => {
775
- return (h("sqm-user-info-form", { demoData: {
776
- states: { ...stepOneProps.states, disabled: true, isPartner: true },
777
- } }));
778
- };
779
- const StepOneWithErrors = () => {
780
- return (h("sqm-user-info-form", { demoData: {
781
- states: {
782
- ...stepOneProps.states,
783
- formState: {
784
- ...stepOneProps.states.formState,
785
- errors: {
786
- firstName: true,
787
- lastName: true,
788
- email: true,
789
- countryCode: true,
790
- currency: true,
791
- participantType: true,
792
- allowBankingCollection: true,
793
- },
794
- },
795
- },
796
- } }));
797
- };
798
- const StepOneWithGeneralError = () => {
799
- return (h("sqm-user-info-form", { demoData: {
800
- states: {
801
- ...stepOneProps.states,
802
- formState: {
803
- ...stepOneProps.states.formState,
804
- errors: {
805
- general: true,
806
- },
807
- },
808
- },
809
- } }));
810
- };
811
- const StepOneWithLoadingError = () => {
812
- return (h("sqm-user-info-form", { demoData: {
813
- states: {
814
- ...stepOneProps.states,
815
- loadingError: true,
816
- loading: true,
817
- formState: {
818
- ...stepOneProps.states.formState,
819
- },
820
- },
821
- } }));
822
- };
823
- // STEP TWO
824
- const StepTwoLoading = () => {
825
- return (h("sqm-indirect-tax-form", { demoData: {
826
- states: {
827
- ...stepTwoProps.states,
828
- loading: true,
829
- },
830
- } }));
831
- };
832
- const StepTwoLoadingError = () => {
833
- return (h("sqm-indirect-tax-form", { demoData: {
834
- states: {
835
- ...stepTwoProps.states,
836
- loading: true,
837
- loadingError: true,
838
- },
839
- } }));
840
- };
841
- const StepTwoDisabled = () => {
842
- return (h("sqm-indirect-tax-form", { demoData: {
843
- states: {
844
- ...stepTwoProps.states,
845
- disabled: true,
846
- },
847
- } }));
848
- };
849
- const StepTwoIsPartner = () => {
850
- return (h("sqm-indirect-tax-form", { demoData: {
851
- states: {
852
- ...stepTwoProps.states,
853
- isPartner: true,
854
- },
855
- } }));
856
- };
857
- const StepTwoWithGeneralError = () => {
858
- return (h("sqm-indirect-tax-form", { demoData: {
859
- states: {
860
- ...stepTwoProps.states,
861
- formState: {
862
- ...stepTwoProps.states.formState,
863
- errors: {
864
- general: true,
865
- },
866
- },
867
- },
868
- } }));
869
- };
870
- const StepTwoOtherRegionChecked = () => {
871
- return (h("sqm-indirect-tax-form", { demoData: {
872
- states: {
873
- ...stepTwoProps.states,
874
- formState: {
875
- ...stepTwoProps.states.formState,
876
- checked: "otherRegion",
877
- },
878
- },
879
- slotProps: {
880
- formState: {
881
- selectedRegion: "UK",
882
- indirectTaxNumber: "123456",
883
- errors: {},
884
- },
885
- },
886
- } }));
887
- };
888
- const StepTwoOtherRegionCheckedCanada = () => {
889
- return (h("sqm-indirect-tax-form", { demoData: {
890
- states: {
891
- ...stepTwoProps.states,
892
- formState: {
893
- ...stepTwoProps.states.formState,
894
- checked: "otherRegion",
895
- },
896
- },
897
- slotProps: {
898
- formState: {
899
- selectedRegion: "CA",
900
- province: "BRITISHCOLUMBIA",
901
- indirectTaxNumber: "123456",
902
- errors: {},
903
- },
904
- },
905
- } }));
906
- };
907
- const StepTwoOtherRegionCheckedCanadaGST = () => {
908
- return (h("sqm-indirect-tax-form", { demoData: {
909
- states: {
910
- ...stepTwoProps.states,
911
- formState: {
912
- ...stepTwoProps.states.formState,
913
- checked: "otherRegion",
914
- },
915
- },
916
- slotProps: {
917
- formState: {
918
- selectedRegion: "CA",
919
- province: "QUEBEC",
920
- indirectTaxNumber: "123456",
921
- errors: {},
922
- },
923
- },
924
- } }));
925
- };
926
- const StepTwoOtherRegionCheckedCanadaGSTAndQST = () => {
927
- return (h("sqm-indirect-tax-form", { demoData: {
928
- states: {
929
- ...stepTwoProps.states,
930
- formState: {
931
- ...stepTwoProps.states.formState,
932
- checked: "otherRegion",
933
- },
934
- },
935
- slotProps: {
936
- formState: {
937
- selectedRegion: "CA",
938
- province: "QUEBEC",
939
- qstNumber: "654321",
940
- hasQst: true,
941
- errors: {},
942
- },
943
- },
944
- } }));
945
- };
946
- const StepTwoOtherRegionCheckedOtherCountrySubRegion = () => {
947
- return (h("sqm-indirect-tax-form", { demoData: {
948
- states: {
949
- ...stepTwoProps.states,
950
- formState: {
951
- ...stepTwoProps.states.formState,
952
- checked: "otherRegion",
953
- },
954
- },
955
- slotProps: {
956
- formState: {
957
- selectedRegion: "ES",
958
- subRegion: "CANARYISLANDS",
959
- errors: {},
960
- },
961
- },
962
- } }));
963
- };
964
- const StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax = () => {
965
- return (h("sqm-indirect-tax-form", { demoData: {
966
- states: {
967
- ...stepTwoProps.states,
968
- formState: {
969
- ...stepTwoProps.states.formState,
970
- checked: "otherRegion",
971
- },
972
- },
973
- slotProps: {
974
- formState: {
975
- selectedRegion: "ES",
976
- subRegion: "CANARYISLANDS",
977
- hasSubRegionTaxNumber: true,
978
- subRegionTaxNumber: "654321",
979
- errors: {},
980
- },
981
- },
982
- } }));
983
- };
984
- const StepTwoOtherRegionCheckedWithInputErrors = () => {
985
- return (h("sqm-indirect-tax-form", { demoData: {
986
- states: {
987
- ...stepTwoProps.states,
988
- formState: {
989
- checked: "otherRegion",
990
- errors: {},
991
- },
992
- },
993
- slotProps: {
994
- formState: {
995
- province: "",
996
- selectedRegion: "GB",
997
- errors: {
998
- selectedRegion: true,
999
- indirectTaxNumber: true,
1000
- },
1001
- },
1002
- },
1003
- } }));
1004
- };
1005
- const StepTwoOtherRegionCheckedCanadaWithProvinceError = () => {
1006
- return (h("sqm-indirect-tax-form", { demoData: {
1007
- states: {
1008
- ...stepTwoProps.states,
1009
- formState: {
1010
- ...stepTwoProps.states.formState,
1011
- checked: "otherRegion",
1012
- },
1013
- },
1014
- slotProps: {
1015
- formState: {
1016
- selectedRegion: "CA",
1017
- province: "BC",
1018
- errors: {
1019
- province: true,
1020
- indirectTaxNumber: true,
1021
- },
1022
- },
1023
- },
1024
- } }));
1025
- };
1026
- const StepTwoOtherRegionCheckedCanadaGSTAndQSTError = () => {
1027
- return (h("sqm-indirect-tax-form", { demoData: {
1028
- states: {
1029
- ...stepTwoProps.states,
1030
- formState: {
1031
- ...stepTwoProps.states.formState,
1032
- checked: "otherRegion",
1033
- },
1034
- },
1035
- slotProps: {
1036
- formState: {
1037
- selectedRegion: "CA",
1038
- province: "QUEBEC",
1039
- hasQst: true,
1040
- errors: {
1041
- province: true,
1042
- indirectTaxNumber: true,
1043
- qstNumber: true,
1044
- },
1045
- },
1046
- },
1047
- } }));
1048
- };
1049
- const StepTwoOtherRegionCheckedOtherCountrySubRegionErrors = () => {
1050
- return (h("sqm-indirect-tax-form", { demoData: {
1051
- states: {
1052
- ...stepTwoProps.states,
1053
- formState: {
1054
- ...stepTwoProps.states.formState,
1055
- checked: "otherRegion",
1056
- },
1057
- },
1058
- slotProps: {
1059
- formState: {
1060
- selectedRegion: "ES",
1061
- hasSubRegionTaxNumber: true,
1062
- errors: {
1063
- indirectTaxNumber: true,
1064
- subRegionTaxNumberError: true,
1065
- subRegion: true,
1066
- },
1067
- },
1068
- },
1069
- } }));
1070
- };
1071
- const StepTwoNotRegisteredChecked = () => {
1072
- return (h("sqm-indirect-tax-form", { demoData: {
1073
- states: {
1074
- ...stepTwoProps.states,
1075
- formState: {
1076
- ...stepTwoProps.states.formState,
1077
- checked: "notRegistered",
1078
- },
1079
- },
1080
- } }));
1081
- };
1082
- // STEP THREE
1083
- const StepThreeWithDocusign = () => {
1084
- return (h("sqm-docusign-form", { demoData: {
1085
- states: {
1086
- documentType: "W9",
1087
- documentTypeString: taxTypeToName("W9"),
1088
- ...docusignFormProps.states,
1089
- },
1090
- } }));
1091
- };
1092
- const StepThreeWithDocusignW8BEN = () => {
1093
- return (h("sqm-docusign-form", { demoData: {
1094
- states: {
1095
- ...docusignFormProps.states,
1096
- documentType: "W8BEN",
1097
- documentTypeString: taxTypeToName("W8BEN"),
1098
- },
1099
- } }));
1100
- };
1101
- const StepThreeWithDocusignW8BENE = () => {
1102
- return (h("sqm-docusign-form", { demoData: {
1103
- states: {
1104
- ...docusignFormProps.states,
1105
- documentType: "W8BENE",
1106
- documentTypeString: taxTypeToName("W8BENE"),
1107
- formState: {
1108
- taxFormExpired: false,
1109
- participantType: "businessEntity",
1110
- errors: {
1111
- participantType: "",
1112
- general: false,
1113
- },
1114
- },
1115
- },
1116
- } }));
1117
- };
1118
- const StepThreeWithDocusignExpired = () => {
1119
- return (h("sqm-docusign-form", { demoData: {
1120
- states: {
1121
- ...docusignFormProps.states,
1122
- docusignStatus: "ttl_expired",
1123
- formState: {
1124
- participantType: "individualParticipant",
1125
- taxFormExpired: true,
1126
- errors: {},
1127
- },
1128
- },
1129
- } }));
1130
- };
1131
- const StepThreeWithDocusignCompleted = () => {
1132
- return (h("sqm-docusign-form", { demoData: {
1133
- states: {
1134
- ...docusignFormProps.states,
1135
- docusignStatus: "signing_complete",
1136
- formState: {
1137
- participantType: "individualParticipant",
1138
- taxFormExpired: false,
1139
- errors: {},
1140
- },
1141
- },
1142
- } }));
1143
- };
1144
- const StepThreeDocusignWithError = () => {
1145
- return (h("sqm-docusign-form", { demoData: {
1146
- states: {
1147
- ...docusignFormProps.states,
1148
- docusignStatus: "exception",
1149
- formState: {
1150
- ...docusignFormProps.states.formState,
1151
- errors: {
1152
- formSubmission: true,
1153
- },
1154
- },
1155
- },
1156
- } }));
1157
- };
1158
- const StepThreeDocusignWithGeneralError = () => {
1159
- return (h("sqm-docusign-form", { demoData: {
1160
- states: {
1161
- ...docusignFormProps.states,
1162
- formState: {
1163
- ...docusignFormProps.states.formState,
1164
- errors: {
1165
- general: true,
1166
- },
1167
- },
1168
- },
1169
- } }));
1170
- };
1171
- const StepThreeDocusignWithLoadingError = () => {
1172
- return (h("sqm-docusign-form", { demoData: {
1173
- states: {
1174
- ...docusignFormProps.states,
1175
- loadingError: true,
1176
- formState: {
1177
- ...docusignFormProps.states.formState,
1178
- },
1179
- },
1180
- } }));
1181
- };
1182
- const StepThreeDocusignLoading = () => {
1183
- return (h("sqm-docusign-form", { demoData: {
1184
- states: {
1185
- ...docusignFormProps.states,
1186
- loading: true,
1187
- },
1188
- } }));
1189
- };
1190
- const StepThreeDocusignDisabled = () => {
1191
- return (h("sqm-docusign-form", { demoData: {
1192
- states: {
1193
- ...docusignFormProps.states,
1194
- disabled: true,
1195
- },
1196
- } }));
1197
- };
1198
- // STEP 4
1199
- const StepFourDefault = () => {
1200
- return h("sqm-banking-info-form", null);
1201
- };
1202
- const StepFourIsPartner = () => {
1203
- return (h("sqm-banking-info-form", { demoData: {
1204
- ...stepFourProps,
1205
- states: {
1206
- ...stepFourProps.states,
1207
- isPartner: true,
1208
- formState: {
1209
- ...stepFourProps.states.formState,
1210
- },
1211
- },
1212
- } }));
1213
- };
1214
- const StepFourDirectToBankChecked = () => {
1215
- return (h("sqm-banking-info-form", { demoData: {
1216
- ...stepFourProps,
1217
- states: {
1218
- ...stepFourProps.states,
1219
- formState: {
1220
- ...stepFourProps.states.formState,
1221
- },
1222
- },
1223
- } }));
1224
- };
1225
- const StepFourToPaypalChecked = () => {
1226
- return (h("sqm-banking-info-form", { demoData: {
1227
- ...stepFourProps,
1228
- states: {
1229
- ...stepFourProps.states,
1230
- formState: {
1231
- ...stepFourProps.states.formState,
1232
- paymentMethodChecked: "toPayPalAccount",
1233
- },
1234
- },
1235
- } }));
1236
- };
1237
- const StepFourReVerifyEmail = () => {
1238
- return (h("sqm-banking-info-form", { demoData: {
1239
- ...stepFourProps,
1240
- states: {
1241
- ...stepFourProps.states,
1242
- showVerification: true,
1243
- isPartner: true,
1244
- formState: {
1245
- ...stepFourProps.states.formState,
1246
- paymentMethodChecked: "toPayPalAccount",
1247
- },
1248
- },
1249
- } }));
1250
- };
1251
- const TaxAndCashDashboardActiveW9Form = () => {
1252
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1253
- ...dashboardProps,
1254
- } }));
1255
- };
1256
- const TaxAndCashDashboardActiveW8BENForm = () => {
1257
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1258
- ...dashboardProps,
1259
- states: {
1260
- payoutStatus: "DONE",
1261
- veriffLoading: false,
1262
- noFormNeeded: false,
1263
- canEditPayoutInfo: true,
1264
- documentType: "W8BEN",
1265
- documentTypeString: taxTypeToName("W8BEN"),
1266
- country: "United Kingdom",
1267
- indirectTaxType: "VAT",
1268
- indirectTaxNumber: "123456",
1269
- showNewFormDialog: false,
1270
- hasHold: false,
1271
- },
1272
- } }));
1273
- };
1274
- const TaxAndCashDashboardActiveW8BENEForm = () => {
1275
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1276
- ...dashboardProps,
1277
- states: {
1278
- payoutStatus: "DONE",
1279
- veriffLoading: false,
1280
- noFormNeeded: false,
1281
- canEditPayoutInfo: true,
1282
- documentType: "W8BENE",
1283
- documentTypeString: taxTypeToName("W8BENE"),
1284
- country: "United Kingdom",
1285
- indirectTaxType: "VAT",
1286
- indirectTaxNumber: "123456",
1287
- showNewFormDialog: false,
1288
- hasHold: false,
1289
- },
1290
- } }));
1291
- };
1292
- const TaxAndCashDashboardNotActiveW9Form = () => {
1293
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1294
- ...dashboardProps,
1295
- states: {
1296
- payoutStatus: "DONE",
1297
- veriffLoading: false,
1298
- noFormNeeded: false,
1299
- canEditPayoutInfo: true,
1300
- status: "INACTIVE",
1301
- documentType: "W9",
1302
- documentTypeString: taxTypeToName("W9"),
1303
- country: "United Kingdom",
1304
- indirectTaxType: "VAT",
1305
- indirectTaxNumber: "123456",
1306
- showNewFormDialog: false,
1307
- hasHold: false,
1308
- },
1309
- } }));
1310
- };
1311
- const TaxAndCashDashboardNotVerifiedW9Form = () => {
1312
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1313
- ...dashboardProps,
1314
- states: {
1315
- payoutStatus: "DONE",
1316
- canEditPayoutInfo: true,
1317
- disabled: false,
1318
- status: "NOT_VERIFIED",
1319
- documentType: "W9",
1320
- documentTypeString: taxTypeToName("W9"),
1321
- noFormNeeded: false,
1322
- country: "United States",
1323
- indirectTaxType: "VAT",
1324
- indirectTaxNumber: "123456",
1325
- showNewFormDialog: false,
1326
- hasHold: false,
1327
- veriffLoading: false,
1328
- },
1329
- } }));
1330
- };
1331
- const TaxAndCashDashboardNotVerifiedW8BENForm = () => {
1332
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1333
- ...dashboardProps,
1334
- states: {
1335
- payoutStatus: "DONE",
1336
- veriffLoading: false,
1337
- canEditPayoutInfo: true,
1338
- disabled: false,
1339
- status: "NOT_VERIFIED",
1340
- documentType: "W8BEN",
1341
- documentTypeString: taxTypeToName("W8BEN"),
1342
- dateSubmitted: "Jan 18th, 2025",
1343
- noFormNeeded: false,
1344
- country: "United Kingdom",
1345
- indirectTaxType: "VAT",
1346
- indirectTaxNumber: "123456",
1347
- showNewFormDialog: false,
1348
- hasHold: false,
1349
- },
1350
- } }));
1351
- };
1352
- const TaxAndCashDashboardNotVerifiedW8BENEForm = () => {
1353
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1354
- ...dashboardProps,
1355
- states: {
1356
- payoutStatus: "DONE",
1357
- veriffLoading: false,
1358
- canEditPayoutInfo: true,
1359
- disabled: false,
1360
- status: "NOT_VERIFIED",
1361
- documentType: "W8BENE",
1362
- documentTypeString: taxTypeToName("W8BENE"),
1363
- dateSubmitted: "Jan 18th, 2025",
1364
- noFormNeeded: false,
1365
- country: "United Kingdom",
1366
- indirectTaxType: "VAT",
1367
- indirectTaxNumber: "123456",
1368
- showNewFormDialog: false,
1369
- hasHold: false,
1370
- },
1371
- } }));
1372
- };
1373
- const TaxAndCashDashboardNotActiveW8BENEForm = () => {
1374
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1375
- ...dashboardProps,
1376
- states: {
1377
- payoutStatus: "DONE",
1378
- veriffLoading: false,
1379
- canEditPayoutInfo: true,
1380
- disabled: false,
1381
- status: "NOT_ACTIVE",
1382
- documentType: "W8BENE",
1383
- documentTypeString: taxTypeToName("W8BENE"),
1384
- dateSubmitted: "Jan 18th, 2025",
1385
- noFormNeeded: false,
1386
- indirectTaxNumber: "123456",
1387
- indirectTaxType: "VAT",
1388
- country: "United Kingdom",
1389
- showNewFormDialog: false,
1390
- hasHold: false,
1391
- },
1392
- } }));
1393
- };
1394
- const TaxAndCashDashboardNoFormNeeded = () => {
1395
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1396
- ...dashboardProps,
1397
- states: {
1398
- payoutStatus: "DONE",
1399
- veriffLoading: false,
1400
- canEditPayoutInfo: true,
1401
- disabled: false,
1402
- documentType: "W9",
1403
- documentTypeString: taxTypeToName("W9"),
1404
- dateSubmitted: "Jan 18th, 2025",
1405
- noFormNeeded: true,
1406
- province: "Ontario",
1407
- country: "Canada",
1408
- indirectTaxNumber: "123456",
1409
- indirectTaxType: "GST",
1410
- showNewFormDialog: false,
1411
- hasHold: false,
1412
- },
1413
- } }));
1414
- };
1415
- const TaxAndCashDashboardIndirectTaxCanada = () => {
1416
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1417
- ...dashboardProps,
1418
- states: {
1419
- payoutStatus: "DONE",
1420
- veriffLoading: false,
1421
- canEditPayoutInfo: true,
1422
- status: "ACTIVE",
1423
- disabled: false,
1424
- documentType: "W8BENE",
1425
- documentTypeString: taxTypeToName("W8BENE"),
1426
- dateSubmitted: "Jan 18th, 2025",
1427
- noFormNeeded: false,
1428
- province: "Ontario",
1429
- country: "Canada",
1430
- indirectTaxType: "GST",
1431
- indirectTaxNumber: "123456",
1432
- showNewFormDialog: false,
1433
- hasHold: false,
1434
- },
1435
- } }));
1436
- };
1437
- const TaxAndCashDashboardIndirectTaxCanadaQuebec = () => {
1438
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1439
- ...dashboardProps,
1440
- states: {
1441
- payoutStatus: "DONE",
1442
- veriffLoading: false,
1443
- canEditPayoutInfo: true,
1444
- status: "ACTIVE",
1445
- disabled: false,
1446
- documentType: "W8BENE",
1447
- documentTypeString: taxTypeToName("W8BENE"),
1448
- dateSubmitted: "Jan 18th, 2025",
1449
- noFormNeeded: false,
1450
- province: "Quebec",
1451
- country: "Canada",
1452
- indirectTaxType: "GST",
1453
- indirectTaxNumber: "123456",
1454
- qstNumber: "44212",
1455
- showNewFormDialog: false,
1456
- hasHold: false,
1457
- },
1458
- } }));
1459
- };
1460
- const TaxAndCashDashboardIndirectTaxSpain = () => {
1461
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1462
- ...dashboardProps,
1463
- states: {
1464
- payoutStatus: "DONE",
1465
- veriffLoading: false,
1466
- canEditPayoutInfo: true,
1467
- status: "ACTIVE",
1468
- disabled: false,
1469
- documentType: "W8BENE",
1470
- documentTypeString: taxTypeToName("W8BENE"),
1471
- dateSubmitted: "Jan 18th, 2025",
1472
- noFormNeeded: false,
1473
- country: "Spain",
1474
- subRegion: "Spain Proper",
1475
- indirectTaxType: "VAT",
1476
- indirectTaxNumber: "123456",
1477
- subRegionTaxNumber: "44212",
1478
- showNewFormDialog: false,
1479
- hasHold: false,
1480
- },
1481
- } }));
1482
- };
1483
- const TaxAndCashDashboardIndirectTaxNotRegistered = () => {
1484
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1485
- ...dashboardProps,
1486
- states: {
1487
- payoutStatus: "DONE",
1488
- veriffLoading: false,
1489
- canEditPayoutInfo: true,
1490
- status: "ACTIVE",
1491
- documentType: "W8BEN",
1492
- documentTypeString: taxTypeToName("W8BEN"),
1493
- dateSubmitted: "Jan 18th, 2025",
1494
- noFormNeeded: false,
1495
- notRegistered: true,
1496
- showNewFormDialog: false,
1497
- hasHold: false,
1498
- },
1499
- } }));
1500
- };
1501
- const TaxAndCashDashboardIdentityVerifcationRequired = () => {
1502
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1503
- ...dashboardProps,
1504
- states: {
1505
- payoutStatus: "VERIFICATION:REQUIRED",
1506
- veriffLoading: false,
1507
- canEditPayoutInfo: true,
1508
- status: "ACTIVE",
1509
- documentType: "W8BEN",
1510
- documentTypeString: taxTypeToName("W8BEN"),
1511
- dateSubmitted: "Jan 18th, 2025",
1512
- noFormNeeded: false,
1513
- notRegistered: true,
1514
- showNewFormDialog: false,
1515
- hasHold: false,
1516
- },
1517
- } }));
1518
- };
1519
- const TaxAndCashDashboardIdentityVerifcationRequiredInternal = () => {
1520
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1521
- ...dashboardProps,
1522
- states: {
1523
- payoutStatus: "VERIFICATION:INTERNAL",
1524
- veriffLoading: false,
1525
- canEditPayoutInfo: true,
1526
- status: "ACTIVE",
1527
- documentType: "W8BEN",
1528
- documentTypeString: taxTypeToName("W8BEN"),
1529
- dateSubmitted: "Jan 18th, 2025",
1530
- noFormNeeded: false,
1531
- notRegistered: true,
1532
- showNewFormDialog: false,
1533
- hasHold: false,
1534
- },
1535
- } }));
1536
- };
1537
- const TaxAndCashDashboardIdentityVerifcationReviewInternal = () => {
1538
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1539
- ...dashboardProps,
1540
- states: {
1541
- payoutStatus: "VERIFICATION:REVIEW",
1542
- veriffLoading: false,
1543
- canEditPayoutInfo: true,
1544
- status: "ACTIVE",
1545
- documentType: "W8BEN",
1546
- documentTypeString: taxTypeToName("W8BEN"),
1547
- dateSubmitted: "Jan 18th, 2025",
1548
- noFormNeeded: false,
1549
- notRegistered: true,
1550
- showNewFormDialog: false,
1551
- hasHold: false,
1552
- },
1553
- } }));
1554
- };
1555
- const TaxAndCashDashboardIdentityVerifcationFailedInternal = () => {
1556
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1557
- ...dashboardProps,
1558
- states: {
1559
- payoutStatus: "VERIFICATION:FAILED",
1560
- veriffLoading: false,
1561
- canEditPayoutInfo: true,
1562
- status: "ACTIVE",
1563
- documentType: "W8BEN",
1564
- documentTypeString: taxTypeToName("W8BEN"),
1565
- dateSubmitted: "Jan 18th, 2025",
1566
- noFormNeeded: false,
1567
- notRegistered: true,
1568
- showNewFormDialog: false,
1569
- hasHold: false,
1570
- },
1571
- } }));
1572
- };
1573
- const TaxAndCashDashboardNewTaxForm = () => {
1574
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1575
- ...dashboardProps,
1576
- states: {
1577
- payoutStatus: "DONE",
1578
- veriffLoading: false,
1579
- canEditPayoutInfo: true,
1580
- status: "ACTIVE",
1581
- documentType: "W8BEN",
1582
- documentTypeString: taxTypeToName("W8BEN"),
1583
- dateSubmitted: "Jan 18th, 2025",
1584
- noFormNeeded: false,
1585
- notRegistered: true,
1586
- showNewFormDialog: true,
1587
- hasHold: false,
1588
- },
1589
- } }));
1590
- };
1591
- const TaxAndCashDashboardPayoutsOnHold = () => {
1592
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1593
- ...dashboardProps,
1594
- states: {
1595
- payoutStatus: "DONE",
1596
- veriffLoading: false,
1597
- canEditPayoutInfo: true,
1598
- disabled: true,
1599
- status: "ACTIVE",
1600
- documentType: "W8BEN",
1601
- documentTypeString: taxTypeToName("W8BEN"),
1602
- dateSubmitted: "Jan 18th, 2025",
1603
- noFormNeeded: false,
1604
- indirectTaxNumber: "123456",
1605
- country: "Slovania",
1606
- showNewFormDialog: false,
1607
- hasHold: true,
1608
- },
1609
- } }));
1610
- };
1611
- const TaxAndCashDashboardLoading = () => {
1612
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1613
- ...dashboardProps,
1614
- states: {
1615
- payoutStatus: "DONE",
1616
- veriffLoading: false,
1617
- canEditPayoutInfo: true,
1618
- disabled: false,
1619
- status: "ACTIVE",
1620
- documentType: "W9",
1621
- documentTypeString: taxTypeToName("W9"),
1622
- dateSubmitted: "Jan 18th, 2025",
1623
- noFormNeeded: false,
1624
- loading: true,
1625
- showNewFormDialog: false,
1626
- hasHold: false,
1627
- },
1628
- } }));
1629
- };
1630
- const TaxAndCashDashboardWithLoadingError = () => {
1631
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1632
- ...dashboardProps,
1633
- states: {
1634
- payoutStatus: "DONE",
1635
- veriffLoading: false,
1636
- disabled: false,
1637
- canEditPayoutInfo: true,
1638
- status: "ACTIVE",
1639
- documentType: "W9",
1640
- documentTypeString: taxTypeToName("W9"),
1641
- dateSubmitted: "Jan 18th, 2025",
1642
- noFormNeeded: false,
1643
- loading: true,
1644
- loadingError: true,
1645
- showNewFormDialog: false,
1646
- hasHold: false,
1647
- },
1648
- } }));
1649
- };
1650
- const TaxAndCashDashboardWithGeneralError = () => {
1651
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1652
- ...dashboardProps,
1653
- states: {
1654
- payoutStatus: "DONE",
1655
- veriffLoading: false,
1656
- canEditPayoutInfo: true,
1657
- disabled: false,
1658
- status: "ACTIVE",
1659
- documentType: "W9",
1660
- documentTypeString: taxTypeToName("W9"),
1661
- dateSubmitted: "Jan 18th, 2025",
1662
- noFormNeeded: false,
1663
- indirectTaxNumber: "123456",
1664
- indirectTaxType: "VAT",
1665
- country: "Slovania",
1666
- showNewFormDialog: false,
1667
- hasHold: false,
1668
- errors: {
1669
- general: true,
1670
- },
1671
- },
1672
- } }));
1673
- };
1674
- const TaxAndCashDashboardDisabled = () => {
1675
- return (h("sqm-tax-and-cash-dashboard", { demoData: {
1676
- ...dashboardProps,
1677
- states: {
1678
- payoutStatus: "DONE",
1679
- veriffLoading: false,
1680
- canEditPayoutInfo: true,
1681
- disabled: true,
1682
- status: "ACTIVE",
1683
- documentType: "W8BEN",
1684
- documentTypeString: taxTypeToName("W8BEN"),
1685
- dateSubmitted: "Jan 18th, 2025",
1686
- noFormNeeded: false,
1687
- indirectTaxNumber: "123456",
1688
- country: "Slovania",
1689
- showNewFormDialog: false,
1690
- hasHold: false,
1691
- },
1692
- } }));
1693
- };
1694
- const TaxAndCashTextProps = () => {
1695
- return (h("sqm-tax-and-cash", { demoData: {
1696
- // @ts-ignore
1697
- showTextProps: true,
1698
- } }));
1699
- };
1700
-
1701
- const TaxForm = /*#__PURE__*/Object.freeze({
1702
- __proto__: null,
1703
- 'default': TaxForm_stories,
1704
- GeneralLoadingView: GeneralLoadingView,
1705
- GeneralErrorView: GeneralErrorView,
1706
- StepOne: StepOne,
1707
- StepOneLoading: StepOneLoading,
1708
- StepOneDisabled: StepOneDisabled,
1709
- StepOneIsUser: StepOneIsUser,
1710
- StepOneIsPartner: StepOneIsPartner,
1711
- StepOneWithErrors: StepOneWithErrors,
1712
- StepOneWithGeneralError: StepOneWithGeneralError,
1713
- StepOneWithLoadingError: StepOneWithLoadingError,
1714
- StepTwoLoading: StepTwoLoading,
1715
- StepTwoLoadingError: StepTwoLoadingError,
1716
- StepTwoDisabled: StepTwoDisabled,
1717
- StepTwoIsPartner: StepTwoIsPartner,
1718
- StepTwoWithGeneralError: StepTwoWithGeneralError,
1719
- StepTwoOtherRegionChecked: StepTwoOtherRegionChecked,
1720
- StepTwoOtherRegionCheckedCanada: StepTwoOtherRegionCheckedCanada,
1721
- StepTwoOtherRegionCheckedCanadaGST: StepTwoOtherRegionCheckedCanadaGST,
1722
- StepTwoOtherRegionCheckedCanadaGSTAndQST: StepTwoOtherRegionCheckedCanadaGSTAndQST,
1723
- StepTwoOtherRegionCheckedOtherCountrySubRegion: StepTwoOtherRegionCheckedOtherCountrySubRegion,
1724
- StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax: StepTwoOtherRegionCheckedOtherCountrySubRegionIncomeTax,
1725
- StepTwoOtherRegionCheckedWithInputErrors: StepTwoOtherRegionCheckedWithInputErrors,
1726
- StepTwoOtherRegionCheckedCanadaWithProvinceError: StepTwoOtherRegionCheckedCanadaWithProvinceError,
1727
- StepTwoOtherRegionCheckedCanadaGSTAndQSTError: StepTwoOtherRegionCheckedCanadaGSTAndQSTError,
1728
- StepTwoOtherRegionCheckedOtherCountrySubRegionErrors: StepTwoOtherRegionCheckedOtherCountrySubRegionErrors,
1729
- StepTwoNotRegisteredChecked: StepTwoNotRegisteredChecked,
1730
- StepThreeWithDocusign: StepThreeWithDocusign,
1731
- StepThreeWithDocusignW8BEN: StepThreeWithDocusignW8BEN,
1732
- StepThreeWithDocusignW8BENE: StepThreeWithDocusignW8BENE,
1733
- StepThreeWithDocusignExpired: StepThreeWithDocusignExpired,
1734
- StepThreeWithDocusignCompleted: StepThreeWithDocusignCompleted,
1735
- StepThreeDocusignWithError: StepThreeDocusignWithError,
1736
- StepThreeDocusignWithGeneralError: StepThreeDocusignWithGeneralError,
1737
- StepThreeDocusignWithLoadingError: StepThreeDocusignWithLoadingError,
1738
- StepThreeDocusignLoading: StepThreeDocusignLoading,
1739
- StepThreeDocusignDisabled: StepThreeDocusignDisabled,
1740
- StepFourDefault: StepFourDefault,
1741
- StepFourIsPartner: StepFourIsPartner,
1742
- StepFourDirectToBankChecked: StepFourDirectToBankChecked,
1743
- StepFourToPaypalChecked: StepFourToPaypalChecked,
1744
- StepFourReVerifyEmail: StepFourReVerifyEmail,
1745
- TaxAndCashDashboardActiveW9Form: TaxAndCashDashboardActiveW9Form,
1746
- TaxAndCashDashboardActiveW8BENForm: TaxAndCashDashboardActiveW8BENForm,
1747
- TaxAndCashDashboardActiveW8BENEForm: TaxAndCashDashboardActiveW8BENEForm,
1748
- TaxAndCashDashboardNotActiveW9Form: TaxAndCashDashboardNotActiveW9Form,
1749
- TaxAndCashDashboardNotVerifiedW9Form: TaxAndCashDashboardNotVerifiedW9Form,
1750
- TaxAndCashDashboardNotVerifiedW8BENForm: TaxAndCashDashboardNotVerifiedW8BENForm,
1751
- TaxAndCashDashboardNotVerifiedW8BENEForm: TaxAndCashDashboardNotVerifiedW8BENEForm,
1752
- TaxAndCashDashboardNotActiveW8BENEForm: TaxAndCashDashboardNotActiveW8BENEForm,
1753
- TaxAndCashDashboardNoFormNeeded: TaxAndCashDashboardNoFormNeeded,
1754
- TaxAndCashDashboardIndirectTaxCanada: TaxAndCashDashboardIndirectTaxCanada,
1755
- TaxAndCashDashboardIndirectTaxCanadaQuebec: TaxAndCashDashboardIndirectTaxCanadaQuebec,
1756
- TaxAndCashDashboardIndirectTaxSpain: TaxAndCashDashboardIndirectTaxSpain,
1757
- TaxAndCashDashboardIndirectTaxNotRegistered: TaxAndCashDashboardIndirectTaxNotRegistered,
1758
- TaxAndCashDashboardIdentityVerifcationRequired: TaxAndCashDashboardIdentityVerifcationRequired,
1759
- TaxAndCashDashboardIdentityVerifcationRequiredInternal: TaxAndCashDashboardIdentityVerifcationRequiredInternal,
1760
- TaxAndCashDashboardIdentityVerifcationReviewInternal: TaxAndCashDashboardIdentityVerifcationReviewInternal,
1761
- TaxAndCashDashboardIdentityVerifcationFailedInternal: TaxAndCashDashboardIdentityVerifcationFailedInternal,
1762
- TaxAndCashDashboardNewTaxForm: TaxAndCashDashboardNewTaxForm,
1763
- TaxAndCashDashboardPayoutsOnHold: TaxAndCashDashboardPayoutsOnHold,
1764
- TaxAndCashDashboardLoading: TaxAndCashDashboardLoading,
1765
- TaxAndCashDashboardWithLoadingError: TaxAndCashDashboardWithLoadingError,
1766
- TaxAndCashDashboardWithGeneralError: TaxAndCashDashboardWithGeneralError,
1767
- TaxAndCashDashboardDisabled: TaxAndCashDashboardDisabled,
1768
- TaxAndCashTextProps: TaxAndCashTextProps
1769
- });
1770
-
1771
- const vatLabels = {
1772
- GB: "VAT",
1773
- AU: "GST",
1774
- NZ: "GST",
1775
- CA: "HST",
1776
- AT: "VAT",
1777
- BE: "VAT",
1778
- BG: "VAT",
1779
- HR: "VAT",
1780
- CY: "VAT",
1781
- CZ: "VAT",
1782
- DK: "VAT",
1783
- EE: "VAT",
1784
- FI: "VAT",
1785
- FR: "VAT",
1786
- DE: "VAT",
1787
- GR: "VAT",
1788
- HU: "VAT",
1789
- IE: "VAT",
1790
- IT: "VAT",
1791
- LV: "VAT",
1792
- LT: "VAT",
1793
- LU: "VAT",
1794
- MT: "VAT",
1795
- NL: "VAT",
1796
- PL: "VAT",
1797
- PT: "VAT",
1798
- RO: "VAT",
1799
- SK: "VAT",
1800
- SI: "VAT",
1801
- ES: "VAT",
1802
- SE: "VAT",
1803
- IS: "VAT",
1804
- IN: "GST",
1805
- IL: "VAT",
1806
- JP: "CT",
1807
- MX: "VAT",
1808
- NO: "VAT",
1809
- SG: "GST",
1810
- ZA: "VAT",
1811
- KR: "VAT",
1812
- CH: "VAT",
1813
- TW: "VAT",
1814
- TH: "VAT",
1815
- PH: "VAT",
1816
- MY: "SST",
1817
- AE: "VAT",
1818
- TR: "VAT",
1819
- RU: "VAT",
1820
- };
1821
-
1822
- const style$1 = {
1823
- Container: {
1824
- width: "100%",
1825
- },
1826
- InputContainer: {
1827
- width: "100%",
1828
- display: "flex",
1829
- justifyContent: "flex-start",
1830
- flexDirection: "column",
1831
- gap: "16px",
1832
- padding: "16px",
1833
- maxWidth: "450px",
1834
- },
1835
- ConditionalInputsContainer: {
1836
- width: "100%",
1837
- display: "flex",
1838
- justifyContent: "flex-start",
1839
- flexDirection: "column",
1840
- gap: "16px",
1841
- },
1842
- HR: {
1843
- border: "1px solid #E0E0E0",
1844
- margin: "10px 0",
1845
- },
1846
- Input: { maxWidth: "500px" },
1847
- Checkbox: {
1848
- "&::part(control)": {
1849
- borderRadius: "0 !important",
1850
- },
1851
- },
1852
- SearchInput: {
1853
- padding: "var(--sl-spacing-x-small)",
1854
- },
1855
- ErrorInput: {
1856
- maxWidth: "500px",
1857
- "&::part(base)": {
1858
- border: "1px solid var(--sl-color-danger-500)",
1859
- borderRadius: "var(--sl-input-border-radius-medium)",
1860
- },
1861
- "&::part(help-text)": {
1862
- color: "var(--sl-color-danger-500)",
1863
- },
1864
- },
1865
- };
1866
- const sheet$1 = createStyleSheet(style$1);
1867
- const styleString$1 = sheet$1.toString();
1868
- const vanillaStyle = `
1869
- :host{
1870
- display: block;
1871
- }
1872
- * {
1873
- margin: 0;
1874
- padding: 0;
1875
- box-sizing: border-box;
1876
- }
1877
- `;
1878
- const OtherRegionSlotView = (props) => {
1879
- var _a, _b, _c;
1880
- const { states, states: { formState }, callbacks, text, } = props;
1881
- const { classes } = sheet$1;
1882
- const getTaxFieldLabel = (taxType) => {
1883
- return intl.formatMessage({
1884
- id: `tax-field-label${taxType}`,
1885
- defaultMessage: text.indirectTaxNumber,
1886
- }, { taxType });
1887
- };
1888
- const getTaxFieldError = (taxType) => {
1889
- return intl.formatMessage({
1890
- id: `tax-field-label${taxType}`,
1891
- defaultMessage: text.error.indirectTaxNumber,
1892
- }, { taxType });
1893
- };
1894
- const IndirectTaxNumberInput = ({ label, error, name, }) => {
1895
- var _a;
1896
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
1897
- class: classes.ErrorInput,
1898
- helpText: error,
1899
- }), { id: name, name: `/${name}` })));
1900
- };
1901
- const SpainFields = () => {
1902
- var _a, _b;
1903
- return (h("div", { class: classes.ConditionalInputsContainer },
1904
- h("sl-select", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1905
- class: classes.ErrorInput,
1906
- helpText: formatErrorMessage(text.subRegion, text.error.fieldRequiredError),
1907
- }), { id: "subRegion", name: "/subRegion" }), props.data.esRegions.map((r) => (h("sl-menu-item", { value: r.regionCode }, r.displayName)))),
1908
- h(IndirectTaxNumberInput, { name: "indirectTaxNumber", label: getTaxFieldLabel("VAT"), error: getTaxFieldError("VAT") }),
1909
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
1910
- formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
1911
- class: classes.ErrorInput,
1912
- helpText: formatErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
1913
- }), { id: "subRegionTaxNumber", name: "/subRegionTaxNumber" })))));
1914
- };
1915
- const CanadaFields = () => {
1916
- var _a, _b;
1917
- const { classes } = sheet$1;
1918
- const currentTaxType = (_a = INDIRECT_TAX_PROVINCES === null || INDIRECT_TAX_PROVINCES === void 0 ? void 0 : INDIRECT_TAX_PROVINCES.find((p) => p.regionCode === formState.province)) === null || _a === void 0 ? void 0 : _a.taxType;
1919
- return (h("div", { class: classes.ConditionalInputsContainer },
1920
- h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
1921
- class: classes.ErrorInput,
1922
- helpText: formatErrorMessage(text.province, text.error.fieldRequiredError),
1923
- }), { id: "province", name: "/province" }), props.data.provinces.map((p) => (h("sl-menu-item", { value: p.regionCode }, p.displayName)))),
1924
- currentTaxType === "GST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("GST"), error: getTaxFieldError("GST"), name: "indirectTaxNumber" })),
1925
- currentTaxType === "HST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("HST"), error: getTaxFieldError("HST"), name: "indirectTaxNumber" })),
1926
- formState.province === "QUEBEC" && (h("div", { class: classes.ConditionalInputsContainer },
1927
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
1928
- formState.hasQst && (h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: formatErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
1929
- };
1930
- const getActiveForm = (selectedRegion) => {
1931
- var _a;
1932
- switch (selectedRegion) {
1933
- case "CA":
1934
- return h(CanadaFields, null);
1935
- case "ES":
1936
- return h(SpainFields, null);
1937
- default:
1938
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1939
- class: classes.ErrorInput,
1940
- helpText: getTaxFieldError(vatLabels[selectedRegion] || "GENERAL"),
1941
- }), { id: "indirectTaxNumber", name: "/indirectTaxNumber" })));
1942
- }
1943
- };
1944
- const activeForm = getActiveForm(formState.selectedRegion);
1945
- return (h("div", { style: states.hide ? { display: "none" } : {} },
1946
- h("form", { class: classes.Container },
1947
- h("style", { type: "text/css" },
1948
- styleString$1,
1949
- vanillaStyle),
1950
- h("hr", { class: classes.HR }),
1951
- h("div", { class: classes.InputContainer },
1952
- h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label, base: input-base", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
1953
- class: classes.ErrorInput,
1954
- helpText: formatErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
1955
- }), { id: "selectedRegion", name: "/selectedRegion" }),
1956
- h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
1957
- // Stop shoelace intercepting key presses
1958
- e.stopPropagation();
1959
- }, "onSl-input": (e) => {
1960
- callbacks.setCountrySearch(e.target.value);
1961
- } }), (_b = props.data.countries) === null || _b === void 0 ? void 0 :
1962
- _b.map((c) => (h("sl-menu-item", { value: c.countryCode }, c.displayName))), (_c = props.data.allCountries) === null || _c === void 0 ? void 0 :
1963
- _c.map((c) => (h("sl-menu-item", { value: c.countryCode, style: { display: "none" } }, c.displayName)))),
1964
- activeForm),
1965
- h("hr", { class: classes.HR }))));
1966
- };
1967
-
1968
- const style$2 = {
1969
- Description: {
1970
- fontSize: "var(--sl-font-size-small)",
1971
- marginTop: "var(--sl-spacing-small)",
1972
- margin: "0 0 var(--sl-spacing-large)",
1973
- color: "var(--sl-color-gray-500)",
1974
- },
1975
- Header: {
1976
- fontSize: "var(--sl-font-size-large)",
1977
- fontWeight: "var(-sl-font-weight-semibold)",
1978
- margin: "0 0 var(--sl-spacing-xxx-small)",
1979
- },
1980
- Container: {},
1981
- InvoiceTableContaier: {
1982
- "& sl-details::part(base)": {
1983
- border: "none",
1984
- },
1985
- "& sl-details::part(content)": {
1986
- padding: 0,
1987
- },
1988
- "& sl-details::part(header)": {
1989
- fontSize: "var(--sl-font-size-medium)",
1990
- padding: "0px",
1991
- },
1992
- "& sl-details::part(summary)": {
1993
- fontWeight: "var(-sl-font-weight-semibold)",
1994
- },
1995
- "& sl-details::part(summary-icon)": {
1996
- marginRight: "100%",
1997
- marginLeft: "var(--sl-spacing-x-small)",
1998
- transform: "rotate(90deg)",
1999
- },
2000
- "& sl-details[open]::part(summary-icon)": {
2001
- transform: "rotate(270deg)",
2002
- },
2003
- },
2004
- };
2005
- function InvoiceTableView(props, children) {
2006
- const sheet = createStyleSheet(style$2);
2007
- const styleString = sheet.toString();
2008
- const vanillaStyle = `
2009
- :host{
2010
- display: block;
2011
- }`;
2012
- return (h("div", { class: sheet.classes.Container },
2013
- h("style", { type: "text/css" },
2014
- vanillaStyle,
2015
- styleString),
2016
- h("div", { class: sheet.classes.InvoiceTableContaier },
2017
- h("sl-details", { summary: props.header },
2018
- h("p", { class: sheet.classes.Description }, props.description),
2019
- children))));
2020
- }
2021
-
2022
- export { ADDRESS_REGIONS as A, GeneralLoadingView as G, InvoiceTableView as I, LoadingView as L, OtherRegionSlotView as O, TaxForm as T, INDIRECT_TAX_SPAIN_REGIONS as a, INDIRECT_TAX_PROVINCES as b, vatLabels as c, validateBillingField as d, formatErrorMessage as f, getCountryObj as g, objectIsFull as o, taxTypeToName as t, validTaxDocument as v };