@saasquatch/mint-components 1.8.0-99 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/dist/cjs/{GenericTableView-b2b3d9fb.js → GenericTableView-80d7642e.js} +1 -1
  2. package/dist/cjs/{ShadowViewAddon-119ea8d4.js → ShadowViewAddon-7b5c40eb.js} +66 -34
  3. package/dist/cjs/{email-registration-view-5924a3c7.js → email-registration-view-a6b6430e.js} +1 -1
  4. package/dist/cjs/{global-f28745b3.js → global-b277b460.js} +3 -3
  5. package/dist/cjs/{index-78c52836.js → index-b0129cd6.js} +0 -18
  6. package/dist/cjs/{index.module-9243c470.js → index.module-76379dd7.js} +582 -16
  7. package/dist/cjs/loader.cjs.js +5 -5
  8. package/dist/cjs/{luxon-33ebaf57.js → luxon-a4661470.js} +1 -1
  9. package/dist/cjs/mint-components.cjs.js +5 -5
  10. package/dist/cjs/{mockRewardData-08b362bc.js → mockRewardData-8e760564.js} +8 -7
  11. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  12. package/dist/cjs/{re-render-731799e5.js → re-render-dbeba624.js} +5 -5
  13. package/dist/cjs/{sqm-asset-card-view-b6f5e3f6.js → sqm-asset-card-view-a0e33f21.js} +1 -1
  14. package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
  15. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +1354 -1779
  16. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +66 -66
  17. package/dist/cjs/{sqm-close-button-view-a41308c2.js → sqm-close-button-view-fd6e8f60.js} +1 -1
  18. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  19. package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
  20. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  22. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
  23. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  24. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  25. package/dist/cjs/{sqm-invoice-table-view-26aeebca.js → sqm-invoice-table-view-035d5aed.js} +74 -11
  26. package/dist/cjs/{sqm-leaderboard-rank-view-5c12ea2a.js → sqm-leaderboard-rank-view-5a3d4a88.js} +1 -1
  27. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
  28. package/dist/cjs/{sqm-logout-current-user-view-8ccfc185.js → sqm-logout-current-user-view-c9f18d96.js} +1 -1
  29. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +6 -6
  30. package/dist/cjs/{sqm-navigation-sidebar-item-view-4ebb86ac.js → sqm-navigation-sidebar-item-view-a3d8eedf.js} +3 -3
  31. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
  32. package/dist/cjs/{sqm-navigation-sidebar-view-1bac8b89.js → sqm-navigation-sidebar-view-dd53f947.js} +1 -1
  33. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
  34. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  35. package/dist/cjs/sqm-popup-container.cjs.entry.js +7 -7
  36. package/dist/cjs/{sqm-portal-container-view-e565003b.js → sqm-portal-container-view-5fb2ad49.js} +1 -1
  37. package/dist/cjs/{sqm-portal-email-verification-view-423633a1.js → sqm-portal-email-verification-view-05fad72d.js} +3 -3
  38. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -11
  39. package/dist/cjs/{sqm-portal-forgot-password-view-8d0923e1.js → sqm-portal-forgot-password-view-ca5f6db9.js} +2 -2
  40. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +8 -8
  41. package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
  42. package/dist/cjs/{sqm-portal-profile-view-a6fc5fdd.js → sqm-portal-profile-view-e28f61d6.js} +3 -3
  43. package/dist/cjs/sqm-portal-profile.cjs.entry.js +10 -10
  44. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
  45. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +10 -10
  46. package/dist/cjs/{sqm-portal-reset-password-view-d639e312.js → sqm-portal-reset-password-view-07a13210.js} +2 -2
  47. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -10
  48. package/dist/cjs/{sqm-portal-verify-email-view-1e6255e9.js → sqm-portal-verify-email-view-ce552bbc.js} +2 -2
  49. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +10 -10
  50. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -16
  51. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  52. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  53. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
  54. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +21 -21
  55. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  56. package/dist/cjs/sqm-stencilbook.cjs.entry.js +107 -122
  57. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  58. package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
  59. package/dist/cjs/{sqm-text-span-view-2e945b0c.js → sqm-text-span-view-e1cd9bd3.js} +1 -1
  60. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  61. package/dist/cjs/{stencil-hooks.module-7c2013c9.js → stencil-hooks.module-faabb426.js} +1 -1
  62. package/dist/cjs/{useChildElements-3caf3e22.js → useChildElements-ad37ecbf.js} +3 -3
  63. package/dist/cjs/{useInstantAccessRegistration-fb690bc3.js → useInstantAccessRegistration-01509697.js} +4 -4
  64. package/dist/cjs/{useReferralTable-6a7ad97b.js → useReferralTable-6cbd3b88.js} +11 -13
  65. package/dist/cjs/{useRegistrationFormState-98b2818e.js → useRegistrationFormState-1d403dd8.js} +3 -3
  66. package/dist/cjs/{utilities-0541106d.js → utilities-6d5addc7.js} +2 -2
  67. package/dist/collection/collection-manifest.json +0 -1
  68. package/dist/collection/components/sqm-invoice-table/InvoiceTable.stories.js +11 -11
  69. package/dist/collection/components/sqm-invoice-table/InvoiceTableCell.stories.js +2 -2
  70. package/dist/collection/components/sqm-invoice-table/UseInvoiceTable.stories.js +2 -2
  71. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-data-cell.js +0 -1
  72. package/dist/collection/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.js +4 -4
  73. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-data-column.js +0 -1
  74. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.js +2 -3
  75. package/dist/collection/components/sqm-invoice-table/columns/sqm-invoice-table-download-column.js +1 -1
  76. package/dist/collection/components/sqm-invoice-table/mockInvoiceData.js +4 -4
  77. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table-view.js +2 -1
  78. package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +61 -16
  79. package/dist/collection/components/sqm-invoice-table/useInvoiceTable.js +5 -4
  80. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -1
  81. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +1 -1
  82. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +1 -0
  83. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -0
  84. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -1
  85. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +31 -6
  86. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +10 -3
  87. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +4 -4
  88. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +1 -2
  89. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
  90. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +2 -3
  91. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -3
  92. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +2 -2
  93. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +2 -2
  94. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.js +2 -2
  95. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +2 -5
  96. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -2
  97. package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +2 -2
  98. package/dist/collection/components/sqm-rewards-table/mockRewardData.js +6 -6
  99. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
  100. package/dist/collection/components/sqm-task-card/progress-bar/ProgressBar.stories.js +0 -1
  101. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +14 -3
  102. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +47 -7
  103. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +200 -0
  104. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -8
  105. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +259 -235
  106. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +38 -237
  107. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
  108. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +8 -4
  109. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +127 -251
  110. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +15 -19
  111. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +7 -1
  112. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +187 -154
  113. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +33 -18
  114. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +32 -7
  115. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +42 -16
  116. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/usePayoutDetailsCard.js +4 -7
  117. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +3 -2
  118. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +961 -880
  119. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +40 -88
  120. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +46 -6
  121. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +476 -171
  122. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +19 -27
  123. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +2 -2
  124. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.js +1 -5
  125. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +7 -2
  126. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +154 -113
  127. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +9 -12
  128. package/dist/collection/components/tax-and-cash/utils.js +18 -1
  129. package/dist/collection/stories/PortalTemplates.stories.js +5 -0
  130. package/dist/esm/{GenericTableView-a2b0ba19.js → GenericTableView-d59d8ab4.js} +1 -1
  131. package/dist/esm/{ShadowViewAddon-8ab7e840.js → ShadowViewAddon-d9424229.js} +66 -34
  132. package/dist/esm/{email-registration-view-f48adc22.js → email-registration-view-4a4202e7.js} +1 -1
  133. package/dist/esm/{global-2d34c7d9.js → global-35b8d91c.js} +3 -3
  134. package/dist/esm/{index-f16aa635.js → index-17b4da69.js} +1 -18
  135. package/dist/esm/{index.module-a46df001.js → index.module-6242dccd.js} +563 -4
  136. package/dist/esm/loader.js +5 -5
  137. package/dist/esm/{luxon-01b10a1d.js → luxon-4706d11b.js} +1 -1
  138. package/dist/esm/mint-components.js +5 -5
  139. package/dist/esm/{mockRewardData-e9fdc4fa.js → mockRewardData-6f03c9fb.js} +8 -7
  140. package/dist/esm/raisins-plop-target.entry.js +1 -1
  141. package/dist/esm/{re-render-22af3424.js → re-render-9542be16.js} +5 -5
  142. package/dist/esm/{sqm-asset-card-view-24845a25.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
  143. package/dist/esm/sqm-asset-card.entry.js +4 -4
  144. package/dist/esm/sqm-banking-info-form_16.entry.js +1354 -1779
  145. package/dist/esm/sqm-big-stat_38.entry.js +66 -66
  146. package/dist/esm/{sqm-close-button-view-233e2434.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  147. package/dist/esm/sqm-close-button.entry.js +4 -4
  148. package/dist/esm/sqm-context-router.entry.js +4 -4
  149. package/dist/esm/sqm-empty_4.entry.js +3 -3
  150. package/dist/esm/sqm-form-message.entry.js +2 -2
  151. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
  152. package/dist/esm/sqm-header-logo.entry.js +2 -2
  153. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  154. package/dist/esm/{sqm-invoice-table-view-45e3b5c2.js → sqm-invoice-table-view-1115795f.js} +73 -12
  155. package/dist/esm/{sqm-leaderboard-rank-view-d704f03c.js → sqm-leaderboard-rank-view-10657658.js} +1 -1
  156. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
  157. package/dist/esm/{sqm-logout-current-user-view-8ae8f259.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
  158. package/dist/esm/sqm-logout-current-user.entry.js +6 -6
  159. package/dist/esm/{sqm-navigation-sidebar-item-view-e06988b9.js → sqm-navigation-sidebar-item-view-058eba98.js} +3 -3
  160. package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
  161. package/dist/esm/{sqm-navigation-sidebar-view-6f66acc9.js → sqm-navigation-sidebar-view-414bcb19.js} +1 -1
  162. package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
  163. package/dist/esm/sqm-password-field.entry.js +4 -4
  164. package/dist/esm/sqm-popup-container.entry.js +7 -7
  165. package/dist/esm/{sqm-portal-container-view-e42e3789.js → sqm-portal-container-view-ab89c6cc.js} +1 -1
  166. package/dist/esm/{sqm-portal-email-verification-view-de885af1.js → sqm-portal-email-verification-view-251945de.js} +3 -3
  167. package/dist/esm/sqm-portal-email-verification.entry.js +14 -11
  168. package/dist/esm/{sqm-portal-forgot-password-view-c57e849c.js → sqm-portal-forgot-password-view-a764ad67.js} +2 -2
  169. package/dist/esm/sqm-portal-forgot-password.entry.js +8 -8
  170. package/dist/esm/sqm-portal-logout.entry.js +4 -4
  171. package/dist/esm/{sqm-portal-profile-view-1ec985ec.js → sqm-portal-profile-view-0294c422.js} +3 -3
  172. package/dist/esm/sqm-portal-profile.entry.js +10 -10
  173. package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
  174. package/dist/esm/sqm-portal-registration-form.entry.js +10 -10
  175. package/dist/esm/{sqm-portal-reset-password-view-e523c018.js → sqm-portal-reset-password-view-d3e726a9.js} +2 -2
  176. package/dist/esm/sqm-portal-reset-password.entry.js +10 -10
  177. package/dist/esm/{sqm-portal-verify-email-view-fb6875bb.js → sqm-portal-verify-email-view-283bf637.js} +2 -2
  178. package/dist/esm/sqm-portal-verify-email.entry.js +10 -10
  179. package/dist/esm/sqm-referral-table_11.entry.js +14 -16
  180. package/dist/esm/sqm-referred-registration.entry.js +6 -6
  181. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  182. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +5 -5
  183. package/dist/esm/sqm-rewards-table_9.entry.js +21 -21
  184. package/dist/esm/sqm-route.entry.js +1 -1
  185. package/dist/esm/sqm-stencilbook.entry.js +107 -122
  186. package/dist/esm/sqm-tab.entry.js +4 -4
  187. package/dist/esm/sqm-tabs.entry.js +6 -6
  188. package/dist/esm/{sqm-text-span-view-d776bd9c.js → sqm-text-span-view-8d140661.js} +1 -1
  189. package/dist/esm/sqm-text-span.entry.js +3 -3
  190. package/dist/esm/{stencil-hooks.module-aa42e74f.js → stencil-hooks.module-8032b139.js} +2 -2
  191. package/dist/esm/{useChildElements-b6d750df.js → useChildElements-92ae8069.js} +3 -3
  192. package/dist/esm/{useInstantAccessRegistration-ad474a64.js → useInstantAccessRegistration-8dca4f2a.js} +4 -4
  193. package/dist/esm/{useReferralTable-ae86bc4f.js → useReferralTable-e5d6476f.js} +11 -13
  194. package/dist/esm/{useRegistrationFormState-4d8fe860.js → useRegistrationFormState-0703f6b0.js} +3 -3
  195. package/dist/esm/{utilities-8d9fb379.js → utilities-94e1e2b4.js} +2 -2
  196. package/dist/esm-es5/{GenericTableView-a2b0ba19.js → GenericTableView-d59d8ab4.js} +1 -1
  197. package/dist/esm-es5/ShadowViewAddon-d9424229.js +1 -0
  198. package/dist/esm-es5/{email-registration-view-f48adc22.js → email-registration-view-4a4202e7.js} +1 -1
  199. package/dist/esm-es5/{global-2d34c7d9.js → global-35b8d91c.js} +2 -2
  200. package/dist/esm-es5/{index-f16aa635.js → index-17b4da69.js} +1 -1
  201. package/dist/esm-es5/index.module-6242dccd.js +1 -0
  202. package/dist/esm-es5/loader.js +1 -1
  203. package/dist/esm-es5/{luxon-01b10a1d.js → luxon-4706d11b.js} +1 -1
  204. package/dist/esm-es5/mint-components.js +1 -1
  205. package/dist/esm-es5/mockRewardData-6f03c9fb.js +1 -0
  206. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  207. package/dist/esm-es5/{re-render-22af3424.js → re-render-9542be16.js} +1 -1
  208. package/dist/esm-es5/{sqm-asset-card-view-24845a25.js → sqm-asset-card-view-9d93fbdd.js} +1 -1
  209. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  210. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  211. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  212. package/dist/esm-es5/{sqm-close-button-view-233e2434.js → sqm-close-button-view-dc65b4e3.js} +1 -1
  213. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  214. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  215. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  216. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  217. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  218. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  219. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  220. package/dist/esm-es5/sqm-invoice-table-view-1115795f.js +1 -0
  221. package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +1 -0
  222. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  223. package/dist/esm-es5/{sqm-logout-current-user-view-8ae8f259.js → sqm-logout-current-user-view-2c6122cd.js} +1 -1
  224. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  225. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-e06988b9.js → sqm-navigation-sidebar-item-view-058eba98.js} +1 -1
  226. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  227. package/dist/esm-es5/{sqm-navigation-sidebar-view-6f66acc9.js → sqm-navigation-sidebar-view-414bcb19.js} +1 -1
  228. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  229. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  230. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  231. package/dist/esm-es5/{sqm-portal-container-view-e42e3789.js → sqm-portal-container-view-ab89c6cc.js} +1 -1
  232. package/dist/esm-es5/{sqm-portal-email-verification-view-de885af1.js → sqm-portal-email-verification-view-251945de.js} +1 -1
  233. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  234. package/dist/esm-es5/{sqm-portal-forgot-password-view-c57e849c.js → sqm-portal-forgot-password-view-a764ad67.js} +1 -1
  235. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  236. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  237. package/dist/esm-es5/{sqm-portal-profile-view-1ec985ec.js → sqm-portal-profile-view-0294c422.js} +1 -1
  238. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  239. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  240. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  241. package/dist/esm-es5/{sqm-portal-reset-password-view-e523c018.js → sqm-portal-reset-password-view-d3e726a9.js} +1 -1
  242. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  243. package/dist/esm-es5/{sqm-portal-verify-email-view-fb6875bb.js → sqm-portal-verify-email-view-283bf637.js} +1 -1
  244. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  245. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  246. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  247. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  248. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  249. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  250. package/dist/esm-es5/sqm-route.entry.js +1 -1
  251. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  252. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  253. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  254. package/dist/esm-es5/{sqm-text-span-view-d776bd9c.js → sqm-text-span-view-8d140661.js} +1 -1
  255. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  256. package/dist/esm-es5/{stencil-hooks.module-aa42e74f.js → stencil-hooks.module-8032b139.js} +2 -2
  257. package/dist/esm-es5/useChildElements-92ae8069.js +1 -0
  258. package/dist/esm-es5/useInstantAccessRegistration-8dca4f2a.js +1 -0
  259. package/dist/esm-es5/{useReferralTable-ae86bc4f.js → useReferralTable-e5d6476f.js} +1 -1
  260. package/dist/esm-es5/useRegistrationFormState-0703f6b0.js +1 -0
  261. package/dist/esm-es5/{utilities-8d9fb379.js → utilities-94e1e2b4.js} +1 -1
  262. package/dist/mint-components/mint-components.esm.js +1 -1
  263. package/dist/mint-components/mint-components.js +1 -1
  264. package/dist/mint-components/{p-cb6b695d.js → p-0076de9e.js} +1 -1
  265. package/dist/mint-components/{p-7a1fdfcc.js → p-0570c048.js} +1 -1
  266. package/dist/mint-components/{p-867e46a4.js → p-05a69cbe.js} +2 -2
  267. package/dist/mint-components/p-06cb48d2.system.entry.js +1 -0
  268. package/dist/mint-components/{p-12929f2d.entry.js → p-08a97a39.entry.js} +1 -1
  269. package/dist/mint-components/p-0a898ab1.js +1 -0
  270. package/dist/mint-components/p-0dede431.entry.js +1 -0
  271. package/dist/mint-components/p-166c69f2.system.entry.js +1 -0
  272. package/dist/mint-components/p-18c843e3.system.entry.js +1 -0
  273. package/dist/mint-components/p-1b22871f.system.entry.js +1 -0
  274. package/dist/mint-components/{p-8d37b2a1.js → p-2446212d.js} +2 -2
  275. package/dist/mint-components/p-24b8cd17.system.entry.js +1 -0
  276. package/dist/mint-components/{p-48c6cec0.entry.js → p-2ee988c7.entry.js} +10 -10
  277. package/dist/mint-components/{p-5fb5d99b.system.js → p-3036cf58.system.js} +1 -1
  278. package/dist/mint-components/{p-d7e09410.system.entry.js → p-32096f32.system.entry.js} +1 -1
  279. package/dist/mint-components/p-34d72151.js +1 -0
  280. package/dist/mint-components/p-3684cab6.js +1 -0
  281. package/dist/mint-components/p-37d97a22.system.js +1 -0
  282. package/dist/mint-components/p-38be1e51.system.entry.js +1 -0
  283. package/dist/mint-components/{p-ee74765c.entry.js → p-399d6f42.entry.js} +1 -1
  284. package/dist/mint-components/p-3da3974e.js +1 -0
  285. package/dist/mint-components/{p-1821e198.system.entry.js → p-3f75df7b.system.entry.js} +1 -1
  286. package/dist/mint-components/p-3f8d6a52.entry.js +1 -0
  287. package/dist/mint-components/p-409c030a.system.entry.js +1 -0
  288. package/dist/mint-components/{p-9e1850fb.js → p-4153fbb6.js} +1 -1
  289. package/dist/mint-components/p-44119827.system.js +1 -0
  290. package/dist/mint-components/{p-283c5cbc.js → p-46ef82ed.js} +1 -1
  291. package/dist/mint-components/p-491f2603.entry.js +1 -0
  292. package/dist/mint-components/p-4944f4c4.entry.js +1 -0
  293. package/dist/mint-components/p-4bdfee88.entry.js +1 -0
  294. package/dist/mint-components/{p-923f5b38.system.js → p-4ceba64c.system.js} +1 -1
  295. package/dist/mint-components/p-4d9744bf.js +1 -0
  296. package/dist/mint-components/{p-62697548.system.js → p-4f775e84.system.js} +1 -1
  297. package/dist/mint-components/{p-021207af.entry.js → p-53c5e69a.entry.js} +2 -2
  298. package/dist/mint-components/{p-a985672d.system.entry.js → p-5532c083.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-73e3e768.entry.js → p-5935bae5.entry.js} +2 -2
  300. package/dist/mint-components/p-5b52e8fb.system.js +1 -0
  301. package/dist/mint-components/{p-b1bc8951.js → p-5d0c9424.js} +1 -1
  302. package/dist/mint-components/{p-9400590c.system.js → p-5e8996cd.system.js} +1 -1
  303. package/dist/mint-components/p-60d0d672.entry.js +152 -0
  304. package/dist/mint-components/{p-d1cde664.entry.js → p-6163a7a4.entry.js} +1 -1
  305. package/dist/mint-components/{p-a7ac3831.system.entry.js → p-61ad3dd4.system.entry.js} +1 -1
  306. package/dist/mint-components/{p-02b7a1a3.entry.js → p-61eb751c.entry.js} +1 -1
  307. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  308. package/dist/mint-components/{p-ea544e8b.system.js → p-6465d2e7.system.js} +1 -1
  309. package/dist/mint-components/p-64c3217a.js +1 -0
  310. package/dist/mint-components/p-65106298.js +1 -0
  311. package/dist/mint-components/{p-95e549a9.system.entry.js → p-6713ef50.system.entry.js} +1 -1
  312. package/dist/mint-components/p-67b91751.system.js +1 -0
  313. package/dist/mint-components/{p-98fb8aae.system.js → p-6b5e355c.system.js} +1 -1
  314. package/dist/mint-components/{p-129d5cfc.system.entry.js → p-6bb4054f.system.entry.js} +1 -1
  315. package/dist/mint-components/{p-3ec76885.js → p-70955f74.js} +1 -1
  316. package/dist/mint-components/p-73fb8be6.js +1 -0
  317. package/dist/mint-components/{p-140def64.system.js → p-7487f23c.system.js} +1 -1
  318. package/dist/mint-components/{p-f8de07af.system.entry.js → p-74c9a1a4.system.entry.js} +1 -1
  319. package/dist/mint-components/{p-7ae285ad.js → p-79da7f18.js} +1 -1
  320. package/dist/mint-components/p-79fc68b0.js +1 -0
  321. package/dist/mint-components/p-7eb6fab2.system.js +1 -0
  322. package/dist/mint-components/{p-32866386.entry.js → p-7f9eaa09.entry.js} +1 -1
  323. package/dist/mint-components/{p-0cf35f9d.system.entry.js → p-83082eeb.system.entry.js} +1 -1
  324. package/dist/mint-components/p-848f1a2e.system.entry.js +1 -0
  325. package/dist/mint-components/{p-5b4a77b3.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  326. package/dist/mint-components/p-89995fd0.js +391 -0
  327. package/dist/mint-components/p-8a0c7deb.system.entry.js +1 -0
  328. package/dist/mint-components/p-8a577aad.entry.js +144 -0
  329. package/dist/mint-components/p-8a9132a1.entry.js +1 -0
  330. package/dist/mint-components/{p-23669a93.entry.js → p-8d6eda67.entry.js} +1 -1
  331. package/dist/mint-components/p-8e3e3f21.system.entry.js +1 -0
  332. package/dist/mint-components/p-9149f891.entry.js +1 -0
  333. package/dist/mint-components/p-91749794.system.js +1 -0
  334. package/dist/mint-components/{p-1c9fe397.entry.js → p-92110eef.entry.js} +1 -1
  335. package/dist/mint-components/{p-4c4f0973.system.js → p-922578e4.system.js} +1 -1
  336. package/dist/mint-components/p-92b99bb2.system.entry.js +1 -0
  337. package/dist/mint-components/p-9755ab8f.system.js +1 -0
  338. package/dist/mint-components/{p-42949824.entry.js → p-97e55da3.entry.js} +1 -1
  339. package/dist/mint-components/p-9dcfa187.system.js +1 -0
  340. package/dist/mint-components/{p-e04a924c.js → p-9df0dca8.js} +1 -1
  341. package/dist/mint-components/{p-ddbcf186.system.entry.js → p-9fe25b2d.system.entry.js} +1 -1
  342. package/dist/mint-components/{p-0f60f863.system.js → p-a0634399.system.js} +1 -1
  343. package/dist/mint-components/{p-1911ed09.system.entry.js → p-a2d9fed8.system.entry.js} +1 -1
  344. package/dist/mint-components/{p-2cb996af.entry.js → p-a3875af8.entry.js} +2 -2
  345. package/dist/mint-components/{p-45cc2a06.system.entry.js → p-a6ebb722.system.entry.js} +1 -1
  346. package/dist/mint-components/p-a7e54efb.js +1 -0
  347. package/dist/mint-components/p-a93e0eb8.system.js +1 -0
  348. package/dist/mint-components/{p-07a2b404.system.js → p-b153fc0c.system.js} +1 -1
  349. package/dist/mint-components/p-b322725f.entry.js +1 -0
  350. package/dist/mint-components/p-b689baf8.system.js +1 -0
  351. package/dist/mint-components/p-b7afcca4.system.entry.js +1 -0
  352. package/dist/mint-components/{p-caca3160.js → p-b9474165.js} +1 -1
  353. package/dist/mint-components/{p-698b699e.system.js → p-bc1d707d.system.js} +1 -1
  354. package/dist/mint-components/{p-86b8d490.system.entry.js → p-be584089.system.entry.js} +1 -1
  355. package/dist/mint-components/{p-7c80164e.system.js → p-c06048c9.system.js} +1 -1
  356. package/dist/mint-components/{p-abc149fe.system.entry.js → p-c1a47137.system.entry.js} +1 -1
  357. package/dist/mint-components/p-c53f12df.entry.js +13 -0
  358. package/dist/mint-components/{p-b52d8951.system.js → p-c5577dd7.system.js} +1 -1
  359. package/dist/mint-components/{p-1fa36f98.js → p-c5d2e4ba.js} +1 -1
  360. package/dist/mint-components/{p-66ad53b1.entry.js → p-c74a8f95.entry.js} +1 -1
  361. package/dist/mint-components/{p-ef158fe8.system.js → p-d079af07.system.js} +1 -1
  362. package/dist/mint-components/{p-f1524d37.system.js → p-d4b174e1.system.js} +1 -1
  363. package/dist/mint-components/{p-c23bbbc4.system.js → p-d5a682bf.system.js} +2 -2
  364. package/dist/mint-components/p-d943d0e8.system.entry.js +1 -0
  365. package/dist/mint-components/{p-82d7a656.system.entry.js → p-d95ab3ed.system.entry.js} +1 -1
  366. package/dist/mint-components/{p-a399550d.system.entry.js → p-dad6d93d.system.entry.js} +1 -1
  367. package/dist/mint-components/{p-61f546e6.entry.js → p-dda8a486.entry.js} +1 -1
  368. package/dist/mint-components/{p-57644280.js → p-df1b9e5b.js} +1 -1
  369. package/dist/mint-components/p-e02fb133.system.js +1 -0
  370. package/dist/mint-components/p-e15443a8.entry.js +1 -0
  371. package/dist/mint-components/{p-f0c0bec9.entry.js → p-e1f3a863.entry.js} +1 -1
  372. package/dist/mint-components/{p-d8b73a80.system.entry.js → p-e2fbe1a1.system.entry.js} +1 -1
  373. package/dist/mint-components/{p-9bd20f34.system.entry.js → p-e31a3242.system.entry.js} +1 -1
  374. package/dist/mint-components/{p-03ce2c9b.js → p-e3e16c36.js} +1 -1
  375. package/dist/mint-components/p-e48c06c7.system.entry.js +1 -0
  376. package/dist/mint-components/{p-d234546c.system.entry.js → p-e5802992.system.entry.js} +1 -1
  377. package/dist/mint-components/{p-054c86e8.js → p-e704842c.js} +1 -1
  378. package/dist/mint-components/p-e78a9295.entry.js +1 -0
  379. package/dist/mint-components/{p-5e8b7e98.entry.js → p-e88f7872.entry.js} +1 -1
  380. package/dist/mint-components/{p-ca83944e.system.js → p-e8dde8f4.system.js} +1 -1
  381. package/dist/mint-components/{p-34c938bb.system.entry.js → p-e8fc71f5.system.entry.js} +1 -1
  382. package/dist/mint-components/{p-98694b8a.js → p-ea6a7135.js} +1 -1
  383. package/dist/mint-components/{p-c59d4f22.entry.js → p-ed5c7e8a.entry.js} +1 -1
  384. package/dist/mint-components/{p-d812f2f1.entry.js → p-eed578fa.entry.js} +1 -1
  385. package/dist/mint-components/{p-c3160411.entry.js → p-f0cfe297.entry.js} +1 -1
  386. package/dist/mint-components/p-f1963937.entry.js +1 -0
  387. package/dist/mint-components/p-f37b7296.entry.js +9 -0
  388. package/dist/mint-components/{p-4220a501.system.entry.js → p-f4a6e490.system.entry.js} +1 -1
  389. package/dist/mint-components/{p-256aff43.js → p-f5f25aba.js} +1 -1
  390. package/dist/mint-components/{p-e6973d80.js → p-fb93c962.js} +1 -1
  391. package/dist/mint-components/{p-07529a98.system.js → p-fca0dc98.system.js} +1 -1
  392. package/dist/mint-components/{p-1e56ab57.system.js → p-ff17b3a4.system.js} +1 -1
  393. package/dist/types/components/sqm-invoice-table/InvoiceTableCell.stories.d.ts +1 -1
  394. package/dist/types/components/sqm-invoice-table/cells/sqm-invoice-table-download-cell.d.ts +1 -1
  395. package/dist/types/components/sqm-invoice-table/columns/sqm-invoice-table-date-column.d.ts +1 -1
  396. package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +9 -5
  397. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +1 -1
  398. package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +2 -0
  399. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -1
  400. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -1
  401. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -1
  402. package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -1
  403. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +1 -1
  404. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-note-column.d.ts +1 -1
  405. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.d.ts +1 -2
  406. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +1 -1
  407. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +1 -1
  408. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  409. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +55 -0
  410. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +9 -2
  411. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +79 -98
  412. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +1 -53
  413. package/dist/types/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.d.ts +0 -1
  414. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +3 -9
  415. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +44 -72
  416. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -4
  417. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -1
  418. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +60 -60
  419. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +8 -3
  420. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +1 -0
  421. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +13 -8
  422. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +1 -0
  423. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +287 -324
  424. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +14 -3
  425. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +114 -84
  426. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.d.ts +1 -0
  427. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/SlotViews.stories.d.ts +0 -1
  428. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  429. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +44 -43
  430. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +11 -5
  431. package/dist/types/components/tax-and-cash/utils.d.ts +8 -0
  432. package/dist/types/components.d.ts +1352 -1380
  433. package/dist/types/saasquatch.d.ts +8 -7
  434. package/dist/types/stories/PortalTemplates.stories.d.ts +6 -0
  435. package/docs/docs.docx +0 -0
  436. package/docs/raisins.json +1 -1
  437. package/grapesjs/grapesjs.js +1 -1
  438. package/package.json +4 -3
  439. package/dist/cjs/sqm-docusign-embed.cjs.entry.js +0 -34
  440. package/dist/collection/components/sqm-docusign-embed/sqm-docusign-embed.js +0 -65
  441. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/DocusignCompletedView.js +0 -29
  442. package/dist/collection/utils/useParentQuery.js +0 -27
  443. package/dist/collection/utils/useParentState.js +0 -37
  444. package/dist/esm/sqm-docusign-embed.entry.js +0 -30
  445. package/dist/esm-es5/ShadowViewAddon-8ab7e840.js +0 -1
  446. package/dist/esm-es5/index.module-a46df001.js +0 -1
  447. package/dist/esm-es5/mockRewardData-e9fdc4fa.js +0 -1
  448. package/dist/esm-es5/sqm-docusign-embed.entry.js +0 -1
  449. package/dist/esm-es5/sqm-invoice-table-view-45e3b5c2.js +0 -1
  450. package/dist/esm-es5/sqm-leaderboard-rank-view-d704f03c.js +0 -1
  451. package/dist/esm-es5/useChildElements-b6d750df.js +0 -1
  452. package/dist/esm-es5/useInstantAccessRegistration-ad474a64.js +0 -1
  453. package/dist/esm-es5/useRegistrationFormState-4d8fe860.js +0 -1
  454. package/dist/mint-components/p-020ccace.js +0 -1
  455. package/dist/mint-components/p-0251c974.system.js +0 -1
  456. package/dist/mint-components/p-03aa1079.js +0 -1
  457. package/dist/mint-components/p-0b1330d9.entry.js +0 -1
  458. package/dist/mint-components/p-0b4f95fe.system.entry.js +0 -1
  459. package/dist/mint-components/p-0c2a6340.entry.js +0 -144
  460. package/dist/mint-components/p-11d95a57.entry.js +0 -1
  461. package/dist/mint-components/p-18b77c5f.entry.js +0 -9
  462. package/dist/mint-components/p-1a69f973.entry.js +0 -1
  463. package/dist/mint-components/p-1a8335fb.system.entry.js +0 -1
  464. package/dist/mint-components/p-1fba8a7d.entry.js +0 -148
  465. package/dist/mint-components/p-26ec23ad.entry.js +0 -1
  466. package/dist/mint-components/p-2e5c408f.entry.js +0 -1
  467. package/dist/mint-components/p-2f7c3f5c.js +0 -1
  468. package/dist/mint-components/p-3ac706c9.js +0 -1
  469. package/dist/mint-components/p-3ca2e26d.system.entry.js +0 -1
  470. package/dist/mint-components/p-474c202e.system.entry.js +0 -1
  471. package/dist/mint-components/p-4df8a784.system.js +0 -1
  472. package/dist/mint-components/p-67eadc94.js +0 -391
  473. package/dist/mint-components/p-69cdf17a.system.js +0 -1
  474. package/dist/mint-components/p-6e356df6.system.entry.js +0 -1
  475. package/dist/mint-components/p-7266c84f.system.entry.js +0 -1
  476. package/dist/mint-components/p-7520e15a.js +0 -1
  477. package/dist/mint-components/p-7689bdec.entry.js +0 -1
  478. package/dist/mint-components/p-7d81da49.system.entry.js +0 -1
  479. package/dist/mint-components/p-8019e18f.system.entry.js +0 -1
  480. package/dist/mint-components/p-830f82bb.system.entry.js +0 -1
  481. package/dist/mint-components/p-8502e27c.entry.js +0 -1
  482. package/dist/mint-components/p-88380a45.entry.js +0 -1
  483. package/dist/mint-components/p-94ad6231.js +0 -1
  484. package/dist/mint-components/p-965b6a7d.entry.js +0 -13
  485. package/dist/mint-components/p-9b2e401c.js +0 -1
  486. package/dist/mint-components/p-a2728372.system.entry.js +0 -1
  487. package/dist/mint-components/p-a448f535.system.js +0 -1
  488. package/dist/mint-components/p-a5ce663d.system.entry.js +0 -1
  489. package/dist/mint-components/p-b5b0128d.js +0 -1
  490. package/dist/mint-components/p-baddce7c.system.entry.js +0 -1
  491. package/dist/mint-components/p-c0dd4993.system.js +0 -1
  492. package/dist/mint-components/p-c7d2b2e3.entry.js +0 -1
  493. package/dist/mint-components/p-cc570915.system.entry.js +0 -1
  494. package/dist/mint-components/p-d5364cae.system.js +0 -1
  495. package/dist/mint-components/p-d87be499.system.js +0 -1
  496. package/dist/mint-components/p-df8f553b.entry.js +0 -1
  497. package/dist/mint-components/p-e1335d59.system.entry.js +0 -1
  498. package/dist/mint-components/p-e36ffd5d.system.js +0 -1
  499. package/dist/mint-components/p-e37a287c.entry.js +0 -1
  500. package/dist/mint-components/p-e5b44552.system.js +0 -1
  501. package/dist/mint-components/p-e86ec70c.system.js +0 -1
  502. package/dist/mint-components/p-e9419043.js +0 -1
  503. package/dist/mint-components/p-eb537272.system.js +0 -1
  504. package/dist/mint-components/p-eba772a8.entry.js +0 -1
  505. package/dist/mint-components/p-f438972d.system.entry.js +0 -1
  506. package/dist/mint-components/p-f6e5df75.js +0 -1
  507. package/dist/mint-components/p-fa11bb8f.entry.js +0 -1
  508. package/dist/types/components/sqm-docusign-embed/sqm-docusign-embed.d.ts +0 -20
  509. package/dist/types/components/tax-and-cash/sqm-user-info-form/small-views/DocusignCompletedView.d.ts +0 -1
  510. package/dist/types/utils/useParentQuery.d.ts +0 -12
  511. package/dist/types/utils/useParentState.d.ts +0 -12
@@ -1,8 +1,7 @@
1
- import { isDemo } from "@saasquatch/component-boilerplate";
1
+ import { isDemo, useSetParent } from "@saasquatch/component-boilerplate";
2
2
  import { withHooks } from "@saasquatch/stencil-hooks";
3
- import { Component, h, Host, Prop, State } from "@stencil/core";
3
+ import { Component, Host, Prop, State, h } from "@stencil/core";
4
4
  import deepmerge from "deepmerge";
5
- import { useParent } from "../../../utils/useParentState";
6
5
  import { getProps } from "../../../utils/utils";
7
6
  import { TAX_CONTEXT_NAMESPACE } from "../sqm-tax-and-cash/data";
8
7
  import { UserInfoFormView } from "./sqm-user-info-form-view";
@@ -15,107 +14,108 @@ export class TaxForm {
15
14
  constructor() {
16
15
  this.ignored = true;
17
16
  /**
18
- * Label text for first name input
19
- * @uiName First name label
17
+ * @uiName First name field label
20
18
  */
21
19
  this.firstName = "First name";
22
20
  /**
23
- * Label text for last name input
24
- * @uiName Last name label
21
+ * @uiName Last name field label
25
22
  */
26
23
  this.lastName = "Last name";
27
24
  /**
28
- * Label text for email input
29
- * @uiName Email label
25
+ * @uiName Email field label
30
26
  */
31
27
  this.email = "Email";
32
28
  /**
33
- * Label text for country input
34
- * @uiName Country label
29
+ * @uiName Country field label
35
30
  */
36
31
  this.country = "Country";
37
32
  /**
38
- * Label text for currency input
39
- * @uiName Currency label
33
+ * @uiName Currency field label
40
34
  */
41
35
  this.currency = "Currency";
42
36
  /**
43
- * Help text shown underneath currency input
44
- * @uiName Currency help text
37
+ * @uiName Currency field help text
45
38
  */
46
39
  this.currencyHelpText = "Choose your preferred payout currency";
47
40
  /**
48
- * Label text for tax and banking collection checkbox
49
- * @uiName Tax and banking label
50
- */
51
- this.allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
52
- /**
53
- * Sub text shown at the top of the page, used to show the current step of the tax form.
54
- * @uiName Tax form step text
41
+ * @uiName Setup progress
55
42
  */
56
43
  this.formStep = "Step {step} of {count}";
57
44
  /**
58
- * Heading text shown above the forms inputs.
59
- * @uiName Form heading text
45
+ * @uiName Step 1 title
60
46
  */
61
47
  this.personalInformation = "Personal Information";
62
48
  /**
63
- * Text shown inside of submit button
64
- * @uiName Submit button text
49
+ * @uiName Continue button label
65
50
  */
66
51
  this.continueButton = "Continue";
67
52
  /**
68
- * Alert header text shown in alert if user is already a registered partner
69
- * @uiName Participant is partner title
53
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
54
+ * @uiName Participant is a partner alert title
55
+ * @uiWidget textArea
70
56
  */
71
57
  this.isPartnerAlertHeader = "An account with this email already exists with our referral program provider, impact.com";
72
58
  /**
73
- * Alert description text shown in alert if user is already a registered partner
74
- * @uiName Participant is partner description
59
+ * Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com.
60
+ * @uiName Participant is a partner alert description
61
+ * @uiWidget textArea
75
62
  */
76
63
  this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
77
64
  /**
78
- * The title for error message shown at the top of the page in an error banner
79
- *
80
- * @uiName General error title
65
+ * Part of the alert displayed at the top of the page.
66
+ * @uiName Form submission error message title
67
+ * @uiWidget textArea
81
68
  */
82
69
  this.generalErrorTitle = "There was a problem submitting your information";
83
70
  /**
84
- * The error message shown at the top of the page in an error banner
85
- *
86
- * @uiName General error text
71
+ * Part of the alert displayed at the top of the page.
72
+ * @uiName Form submission error message description
73
+ * @uiWidget textArea
87
74
  */
88
75
  this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
89
76
  /**
90
- * Label text for terms and conditions
91
- * @uiName Terms and conditions label text
77
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
78
+ * @uiName Terms and conditions checkbox
79
+ */
80
+ this.allowBankingCollection = "I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information";
81
+ /**
82
+ * The text link that appears in the terms and conditions checkbox
83
+ * @uiName Terms and conditions text
84
+ * @uiWidget textArea
92
85
  */
93
- this.termsAndConditionsLabel = "Terms and Conditions";
86
+ this.termsAndConditionsLabel = "terms and conditions";
94
87
  /**
95
88
  * Placeholder text displayed in the country search dropdown
96
- * @uiName Search for country text
89
+ * @uiName Country field placeholder text
97
90
  */
98
91
  this.searchForCountryText = "Search for country..";
99
92
  /**
100
93
  * Placeholder text displayed in the currency search dropdown
101
- * @uiName Search for currency text
94
+ * @uiName Currency field placeholder text
102
95
  */
103
96
  this.searchForCurrencyText = "Search for currency..";
104
97
  /**
105
- * Required error text shown at the bottom of field inputs
106
- * @uiName Field inputs error text
98
+ * Displayed under a field that is missing required information.
99
+ * @uiName Empty form field error message
107
100
  */
108
101
  this.fieldRequiredError = "{fieldName} is required";
109
102
  /**
110
- * Alert header shown if there is a problem loading a form
111
- * @uiName Loading error alert header
103
+ * Part of the alert displayed at the top of the page.
104
+ * @uiName Page load error message title
105
+ * @uiWidget textArea
112
106
  */
113
107
  this.loadingErrorAlertHeader = "There was a problem loading your form";
114
108
  /**
115
- * Alert description shown if there is a problem loading a form
116
- * @uiName Loading error alert description
109
+ * Part of the alert displayed at the top of the page.
110
+ * @uiName Page load error message description
111
+ * @uiWidget textArea
117
112
  */
118
113
  this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
114
+ /**
115
+ * Displayed at the top of the page on all set up steps.
116
+ * @uiName Page description
117
+ */
118
+ this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
119
119
  withHooks(this);
120
120
  }
121
121
  disconnectedCallback() { }
@@ -133,7 +133,6 @@ export class TaxForm {
133
133
  };
134
134
  }
135
135
  render() {
136
- console.debug("Rendering user info form");
137
136
  const props = isDemo() ? useDemoUserInfoForm(this) : useUserInfoForm(this);
138
137
  return (h(Host, null,
139
138
  h(UserInfoFormView, { data: props.data,
@@ -158,10 +157,10 @@ export class TaxForm {
158
157
  "optional": false,
159
158
  "docs": {
160
159
  "tags": [{
161
- "text": "First name label",
160
+ "text": "First name field label",
162
161
  "name": "uiName"
163
162
  }],
164
- "text": "Label text for first name input"
163
+ "text": ""
165
164
  },
166
165
  "attribute": "first-name",
167
166
  "reflect": false,
@@ -179,10 +178,10 @@ export class TaxForm {
179
178
  "optional": false,
180
179
  "docs": {
181
180
  "tags": [{
182
- "text": "Last name label",
181
+ "text": "Last name field label",
183
182
  "name": "uiName"
184
183
  }],
185
- "text": "Label text for last name input"
184
+ "text": ""
186
185
  },
187
186
  "attribute": "last-name",
188
187
  "reflect": false,
@@ -200,10 +199,10 @@ export class TaxForm {
200
199
  "optional": false,
201
200
  "docs": {
202
201
  "tags": [{
203
- "text": "Email label",
202
+ "text": "Email field label",
204
203
  "name": "uiName"
205
204
  }],
206
- "text": "Label text for email input"
205
+ "text": ""
207
206
  },
208
207
  "attribute": "email",
209
208
  "reflect": false,
@@ -221,10 +220,10 @@ export class TaxForm {
221
220
  "optional": false,
222
221
  "docs": {
223
222
  "tags": [{
224
- "text": "Country label",
223
+ "text": "Country field label",
225
224
  "name": "uiName"
226
225
  }],
227
- "text": "Label text for country input"
226
+ "text": ""
228
227
  },
229
228
  "attribute": "country",
230
229
  "reflect": false,
@@ -242,10 +241,10 @@ export class TaxForm {
242
241
  "optional": false,
243
242
  "docs": {
244
243
  "tags": [{
245
- "text": "Currency label",
244
+ "text": "Currency field label",
246
245
  "name": "uiName"
247
246
  }],
248
- "text": "Label text for currency input"
247
+ "text": ""
249
248
  },
250
249
  "attribute": "currency",
251
250
  "reflect": false,
@@ -263,36 +262,15 @@ export class TaxForm {
263
262
  "optional": false,
264
263
  "docs": {
265
264
  "tags": [{
266
- "text": "Currency help text",
265
+ "text": "Currency field help text",
267
266
  "name": "uiName"
268
267
  }],
269
- "text": "Help text shown underneath currency input"
268
+ "text": ""
270
269
  },
271
270
  "attribute": "currency-help-text",
272
271
  "reflect": false,
273
272
  "defaultValue": "\"Choose your preferred payout currency\""
274
273
  },
275
- "allowBankingCollection": {
276
- "type": "string",
277
- "mutable": false,
278
- "complexType": {
279
- "original": "string",
280
- "resolved": "string",
281
- "references": {}
282
- },
283
- "required": false,
284
- "optional": false,
285
- "docs": {
286
- "tags": [{
287
- "text": "Tax and banking label",
288
- "name": "uiName"
289
- }],
290
- "text": "Label text for tax and banking collection checkbox"
291
- },
292
- "attribute": "allow-banking-collection",
293
- "reflect": false,
294
- "defaultValue": "\"I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information\""
295
- },
296
274
  "formStep": {
297
275
  "type": "string",
298
276
  "mutable": false,
@@ -305,10 +283,10 @@ export class TaxForm {
305
283
  "optional": false,
306
284
  "docs": {
307
285
  "tags": [{
308
- "text": "Tax form step text",
286
+ "text": "Setup progress",
309
287
  "name": "uiName"
310
288
  }],
311
- "text": "Sub text shown at the top of the page, used to show the current step of the tax form."
289
+ "text": ""
312
290
  },
313
291
  "attribute": "form-step",
314
292
  "reflect": false,
@@ -326,10 +304,10 @@ export class TaxForm {
326
304
  "optional": false,
327
305
  "docs": {
328
306
  "tags": [{
329
- "text": "Form heading text",
307
+ "text": "Step 1 title",
330
308
  "name": "uiName"
331
309
  }],
332
- "text": "Heading text shown above the forms inputs."
310
+ "text": ""
333
311
  },
334
312
  "attribute": "personal-information",
335
313
  "reflect": false,
@@ -347,10 +325,10 @@ export class TaxForm {
347
325
  "optional": false,
348
326
  "docs": {
349
327
  "tags": [{
350
- "text": "Submit button text",
328
+ "text": "Continue button label",
351
329
  "name": "uiName"
352
330
  }],
353
- "text": "Text shown inside of submit button"
331
+ "text": ""
354
332
  },
355
333
  "attribute": "continue-button",
356
334
  "reflect": false,
@@ -368,10 +346,13 @@ export class TaxForm {
368
346
  "optional": false,
369
347
  "docs": {
370
348
  "tags": [{
371
- "text": "Participant is partner title",
349
+ "text": "Participant is a partner alert title",
372
350
  "name": "uiName"
351
+ }, {
352
+ "text": "textArea",
353
+ "name": "uiWidget"
373
354
  }],
374
- "text": "Alert header text shown in alert if user is already a registered partner"
355
+ "text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
375
356
  },
376
357
  "attribute": "is-partner-alert-header",
377
358
  "reflect": false,
@@ -389,10 +370,13 @@ export class TaxForm {
389
370
  "optional": false,
390
371
  "docs": {
391
372
  "tags": [{
392
- "text": "Participant is partner description",
373
+ "text": "Participant is a partner alert description",
393
374
  "name": "uiName"
375
+ }, {
376
+ "text": "textArea",
377
+ "name": "uiWidget"
394
378
  }],
395
- "text": "Alert description text shown in alert if user is already a registered partner"
379
+ "text": "Part of the alert displayed at the top of the page if the participant is already a registered partner on impact.com."
396
380
  },
397
381
  "attribute": "is-partner-alert-description",
398
382
  "reflect": false,
@@ -410,10 +394,13 @@ export class TaxForm {
410
394
  "optional": false,
411
395
  "docs": {
412
396
  "tags": [{
413
- "text": "General error title",
397
+ "text": "Form submission error message title",
414
398
  "name": "uiName"
399
+ }, {
400
+ "text": "textArea",
401
+ "name": "uiWidget"
415
402
  }],
416
- "text": "The title for error message shown at the top of the page in an error banner"
403
+ "text": "Part of the alert displayed at the top of the page."
417
404
  },
418
405
  "attribute": "general-error-title",
419
406
  "reflect": false,
@@ -431,15 +418,39 @@ export class TaxForm {
431
418
  "optional": false,
432
419
  "docs": {
433
420
  "tags": [{
434
- "text": "General error text",
421
+ "text": "Form submission error message description",
435
422
  "name": "uiName"
423
+ }, {
424
+ "text": "textArea",
425
+ "name": "uiWidget"
436
426
  }],
437
- "text": "The error message shown at the top of the page in an error banner"
427
+ "text": "Part of the alert displayed at the top of the page."
438
428
  },
439
429
  "attribute": "general-error-description",
440
430
  "reflect": false,
441
431
  "defaultValue": "\"Please review your information and try again. If this problem continues, contact Support.\""
442
432
  },
433
+ "allowBankingCollection": {
434
+ "type": "string",
435
+ "mutable": false,
436
+ "complexType": {
437
+ "original": "string",
438
+ "resolved": "string",
439
+ "references": {}
440
+ },
441
+ "required": false,
442
+ "optional": false,
443
+ "docs": {
444
+ "tags": [{
445
+ "text": "Terms and conditions checkbox",
446
+ "name": "uiName"
447
+ }],
448
+ "text": "Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}."
449
+ },
450
+ "attribute": "allow-banking-collection",
451
+ "reflect": false,
452
+ "defaultValue": "\"I have read the {termsAndConditionsLink} and allow impact.com to collect my tax and banking information\""
453
+ },
443
454
  "termsAndConditionsLabel": {
444
455
  "type": "string",
445
456
  "mutable": false,
@@ -452,14 +463,17 @@ export class TaxForm {
452
463
  "optional": false,
453
464
  "docs": {
454
465
  "tags": [{
455
- "text": "Terms and conditions label text",
466
+ "text": "Terms and conditions text",
456
467
  "name": "uiName"
468
+ }, {
469
+ "text": "textArea",
470
+ "name": "uiWidget"
457
471
  }],
458
- "text": "Label text for terms and conditions"
472
+ "text": "The text link that appears in the terms and conditions checkbox"
459
473
  },
460
474
  "attribute": "terms-and-conditions-label",
461
475
  "reflect": false,
462
- "defaultValue": "\"Terms and Conditions\""
476
+ "defaultValue": "\"terms and conditions\""
463
477
  },
464
478
  "searchForCountryText": {
465
479
  "type": "string",
@@ -473,7 +487,7 @@ export class TaxForm {
473
487
  "optional": false,
474
488
  "docs": {
475
489
  "tags": [{
476
- "text": "Search for country text",
490
+ "text": "Country field placeholder text",
477
491
  "name": "uiName"
478
492
  }],
479
493
  "text": "Placeholder text displayed in the country search dropdown"
@@ -494,7 +508,7 @@ export class TaxForm {
494
508
  "optional": false,
495
509
  "docs": {
496
510
  "tags": [{
497
- "text": "Search for currency text",
511
+ "text": "Currency field placeholder text",
498
512
  "name": "uiName"
499
513
  }],
500
514
  "text": "Placeholder text displayed in the currency search dropdown"
@@ -515,10 +529,10 @@ export class TaxForm {
515
529
  "optional": false,
516
530
  "docs": {
517
531
  "tags": [{
518
- "text": "Field inputs error text",
532
+ "text": "Empty form field error message",
519
533
  "name": "uiName"
520
534
  }],
521
- "text": "Required error text shown at the bottom of field inputs"
535
+ "text": "Displayed under a field that is missing required information."
522
536
  },
523
537
  "attribute": "field-required-error",
524
538
  "reflect": false,
@@ -536,10 +550,13 @@ export class TaxForm {
536
550
  "optional": false,
537
551
  "docs": {
538
552
  "tags": [{
539
- "text": "Loading error alert header",
553
+ "text": "Page load error message title",
540
554
  "name": "uiName"
555
+ }, {
556
+ "text": "textArea",
557
+ "name": "uiWidget"
541
558
  }],
542
- "text": "Alert header shown if there is a problem loading a form"
559
+ "text": "Part of the alert displayed at the top of the page."
543
560
  },
544
561
  "attribute": "loading-error-alert-header",
545
562
  "reflect": false,
@@ -557,21 +574,45 @@ export class TaxForm {
557
574
  "optional": false,
558
575
  "docs": {
559
576
  "tags": [{
560
- "text": "Loading error alert description",
577
+ "text": "Page load error message description",
561
578
  "name": "uiName"
579
+ }, {
580
+ "text": "textArea",
581
+ "name": "uiWidget"
562
582
  }],
563
- "text": "Alert description shown if there is a problem loading a form"
583
+ "text": "Part of the alert displayed at the top of the page."
564
584
  },
565
585
  "attribute": "loading-error-alert-description",
566
586
  "reflect": false,
567
587
  "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact Support.\""
568
588
  },
589
+ "taxAndPayoutsDescription": {
590
+ "type": "string",
591
+ "mutable": false,
592
+ "complexType": {
593
+ "original": "string",
594
+ "resolved": "string",
595
+ "references": {}
596
+ },
597
+ "required": false,
598
+ "optional": false,
599
+ "docs": {
600
+ "tags": [{
601
+ "text": "Page description",
602
+ "name": "uiName"
603
+ }],
604
+ "text": "Displayed at the top of the page on all set up steps."
605
+ },
606
+ "attribute": "tax-and-payouts-description",
607
+ "reflect": false,
608
+ "defaultValue": "\"Submit your tax documents and add your banking information to receive your rewards.\""
609
+ },
569
610
  "demoData": {
570
611
  "type": "unknown",
571
612
  "mutable": false,
572
613
  "complexType": {
573
614
  "original": "DemoData<UseUserInfoFormResult>",
574
- "resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; loadingError: boolean; loading: boolean; isPartner: boolean; isUser: boolean; formState: { errors: {}; firstName: string; lastName: string; email: string; countryCode: string; currency: string; }; }; refs?: { formRef: Ref<HTMLFormElement>; currencyRef: Ref<HTMLSelectElement>; }; data?: { currencies: Currencies; countries: TaxCountry[]; allCurrencies: Currencies; allCountries: TaxCountry[]; }; setStep?: (value: string) => void; onSubmit?: (event: any) => Promise<void>; }",
615
+ "resolved": "{ states?: { step: string; hideSteps: boolean; disabled: boolean; loadingError: boolean; loading: boolean; isPartner: boolean; isUser: boolean; formState: { errors: {}; firstName: string; lastName: string; email: string; countryCode: string; currency: string; }; }; refs?: { formRef: Ref<HTMLFormElement>; currencyRef: Ref<HTMLSelectElement>; }; data?: { currencies: { displayName: string; currencyCode: string; }[]; countries: TaxCountry[]; allCurrencies: { displayName: string; currencyCode: string; }[]; allCountries: TaxCountry[]; }; setStep?: (value: string) => void; onSubmit?: (event: any) => Promise<void>; }",
575
616
  "references": {
576
617
  "DemoData": {
577
618
  "location": "import",
@@ -602,7 +643,7 @@ export class TaxForm {
602
643
  }; }
603
644
  }
604
645
  function useDemoUserInfoForm(props) {
605
- const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
646
+ const setStep = useSetParent(TAX_CONTEXT_NAMESPACE);
606
647
  return deepmerge({
607
648
  setStep,
608
649
  onSubmit: () => {
@@ -634,11 +675,11 @@ function useDemoUserInfoForm(props) {
634
675
  loadingError: false,
635
676
  formState: {
636
677
  errors: {
637
- email: true,
638
- firstName: true,
639
- lastName: true,
640
- countryCode: true,
641
- currency: true,
678
+ email: false,
679
+ firstName: false,
680
+ lastName: false,
681
+ countryCode: false,
682
+ currency: false,
642
683
  },
643
684
  },
644
685
  },
@@ -1,22 +1,19 @@
1
- import { useUserIdentity } from "@saasquatch/component-boilerplate";
2
- import { useEffect, useRef, useState } from "@saasquatch/universal-hooks";
1
+ import { useEffect, useMemo, useRef, useState, } from "@saasquatch/universal-hooks";
3
2
  import jsonpointer from "jsonpointer";
4
- import { useParentQueryValue } from "../../../utils/useParentQuery";
5
- import { useParent, useParentValue } from "../../../utils/useParentState";
6
- import { COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
3
+ import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../sqm-tax-and-cash/data";
7
4
  import { objectIsFull } from "../utils";
5
+ import { useParent, useParentQueryValue, useParentValue } from "@saasquatch/component-boilerplate";
8
6
  export function useUserInfoForm(props) {
9
- var _a, _b, _c, _d, _e;
10
- const user = useUserIdentity();
7
+ var _a, _b, _c, _d;
11
8
  const currencyRef = useRef(undefined);
12
9
  const formRef = useRef(null);
13
10
  const context = useParentValue(TAX_FORM_CONTEXT_NAMESPACE);
11
+ const countries = useParentValue(SORTED_COUNTRIES_NAMESPACE);
14
12
  const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
15
13
  const [userFormContext, setUserFormContext] = useParent(USER_FORM_CONTEXT_NAMESPACE);
16
14
  const { data, loading, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
17
- const { data: countriesRes, loading: countriesLoading } = useParentQueryValue(COUNTRIES_QUERY_NAMESPACE);
18
- const currencies = useParentValue(CURRENCIES_NAMESPACE);
19
- const countries = (_a = countriesRes === null || countriesRes === void 0 ? void 0 : countriesRes.impactPayoutCountries) === null || _a === void 0 ? void 0 : _a.data;
15
+ const _currencies = useParentValue(CURRENCIES_NAMESPACE);
16
+ const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
20
17
  const [countrySearch, setCountrySearch] = useState("");
21
18
  const [filteredCountries, setFilteredCountries] = useState(countries || []);
22
19
  const [currencySearch, setCurrencySearch] = useState("");
@@ -144,8 +141,8 @@ export function useUserInfoForm(props) {
144
141
  disabled: loading,
145
142
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
146
143
  loading: loading,
147
- isPartner: !!((_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher),
148
- isUser: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.user),
144
+ isPartner: !!((_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher),
145
+ isUser: !!((_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.user),
149
146
  formState: {
150
147
  ...userFormContext,
151
148
  errors: formErrors,
@@ -1,4 +1,12 @@
1
1
  import { intl } from "../../global/global";
2
+ export function validTaxDocument(requiredType, currentType) {
3
+ if (requiredType === "W9" && currentType === "W9")
4
+ return true;
5
+ if ((requiredType === "W8BEN" || requiredType === "W8BENE") &&
6
+ (currentType === "W8BEN" || currentType === "W8BENE"))
7
+ return true;
8
+ return false;
9
+ }
2
10
  export const objectIsFull = (obj) => {
3
11
  return !Object.keys(obj).find((k) => obj[k] == undefined);
4
12
  };
@@ -22,4 +30,13 @@ export const getIsRequiredErrorMessage = (fieldName, errorMessage) => {
22
30
  fieldName,
23
31
  });
24
32
  };
25
- //TODO: AL Add utils function for handling mapping of badge statuses to actual badge text in tax-and-cash-dashboard
33
+ export function getCountryObj({ countryCode, locale, }) {
34
+ // @ts-ignore DisplayNames not in Intl type
35
+ const displayName = new Intl.DisplayNames([locale], {
36
+ type: "region",
37
+ }).of(countryCode);
38
+ return {
39
+ countryCode,
40
+ displayName,
41
+ };
42
+ }
@@ -14,6 +14,7 @@ import editProfileTemplate from "../templates/EditProfile.html";
14
14
  import activityTemplate from "../templates/Activity.html";
15
15
  import resetPasswordEmailTemplate from "../templates/ResetPasswordEmail.html";
16
16
  import verifyEmailTemplate from "../templates/VerifyEmail.html";
17
+ import taxPayoutReminderEmailTemplate from "../templates/taxPayoutReminderEmail.html";
17
18
  import loginTemplate from "../templates/Login.html";
18
19
  import registerTemplate from "../templates/Register.html";
19
20
  import forgotPasswordTemplate from "../templates/ForgotPassword.html";
@@ -112,3 +113,7 @@ export const VerifyEmail = createHookStory(() => {
112
113
  const { states, callbacks } = useTemplate(verifyEmailTemplate);
113
114
  return h(TemplateView, { states: states, callbacks: callbacks });
114
115
  });
116
+ export const taxPayoutReminderEmail = createHookStory(() => {
117
+ const { states, callbacks } = useTemplate(taxPayoutReminderEmailTemplate);
118
+ return h(TemplateView, { states: states, callbacks: callbacks });
119
+ });
@@ -1,4 +1,4 @@
1
- import { h } from './index-f16aa635.js';
1
+ import { h } from './index-17b4da69.js';
2
2
  import { g as gap } from './mixins-f60a614c.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4