@saasquatch/mint-components 2.2.0 → 2.3.0-10

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 (387) hide show
  1. package/dist/cjs/{data-8c8a08f6.js → data-89ac73dd.js} +2 -90
  2. package/dist/cjs/eventKeys-7af4df4d.js +5 -0
  3. package/dist/cjs/{keys-cff24974.js → keys-5a2c9ed2.js} +4 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/mint-components.cjs.js +1 -1
  6. package/dist/cjs/parseStates-d1effc19.js +16 -0
  7. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +480 -1059
  8. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +450 -16
  9. package/dist/cjs/sqm-code-verification.cjs.entry.js +4 -5
  10. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +879 -0
  11. package/dist/cjs/sqm-partner-info-modal-view-2b6fee0f.js +155 -0
  12. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +27 -9
  13. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +30 -9
  14. package/dist/cjs/sqm-stencilbook.cjs.entry.js +940 -357
  15. package/dist/cjs/sqm-user-info-form-view-374a3f01.js +1427 -0
  16. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  17. package/dist/cjs/subregions-984e30d7.js +1505 -0
  18. package/dist/cjs/{usePayoutStatus-0192fccd.js → useIndirectTaxForm-112914a0.js} +294 -5
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +171 -0
  21. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +149 -0
  22. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +671 -0
  23. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +261 -0
  24. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -0
  25. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
  26. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
  27. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +209 -145
  28. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +30 -10
  29. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -0
  30. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
  31. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +223 -137
  32. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +30 -10
  33. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -0
  34. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -0
  35. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
  36. package/dist/collection/components/sqm-widget-verification/keys.js +2 -0
  37. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
  38. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
  39. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +19 -9
  40. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +486 -46
  41. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +43 -11
  42. package/dist/collection/components/tax-and-cash/data.js +2 -0
  43. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +93 -37
  44. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +738 -13
  45. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +95 -1
  46. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +2 -10
  47. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +1 -1
  48. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +51 -12
  49. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +6 -0
  50. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +13 -2
  51. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +59 -30
  52. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +51 -2
  53. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.js +151 -0
  54. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +0 -1
  55. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +26 -23
  56. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +0 -25
  57. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +39 -19
  58. package/dist/collection/components/tax-and-cash/utils.js +55 -0
  59. package/dist/esm/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +5 -5
  60. package/dist/{mint-components/p-0c0d4065.js → esm/data-8698cbc6.js} +25 -5
  61. package/dist/esm/eventKeys-f76b6a03.js +3 -0
  62. package/dist/esm/{global-96c14d63.js → global-75e96214.js} +1 -1
  63. package/dist/esm/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
  64. package/dist/esm/keys-1054056a.js +8 -0
  65. package/dist/esm/loader.js +3 -3
  66. package/dist/esm/mint-components.js +3 -3
  67. package/dist/esm/parseStates-ed75e224.js +14 -0
  68. package/dist/esm/{re-render-f30aeb6b.js → re-render-bf46ba54.js} +1 -1
  69. package/dist/esm/sqm-banking-info-form_10.entry.js +466 -1045
  70. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +454 -21
  71. package/dist/esm/sqm-close-button.entry.js +1 -1
  72. package/dist/esm/sqm-code-verification.entry.js +7 -8
  73. package/dist/esm/sqm-context-router.entry.js +1 -1
  74. package/dist/esm/sqm-email-verification_2.entry.js +874 -0
  75. package/dist/esm/sqm-empty_4.entry.js +2 -2
  76. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  77. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  78. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  79. package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
  80. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  81. package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
  82. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  83. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  84. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  85. package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
  86. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  87. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  88. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  89. package/dist/esm/sqm-partner-info-modal-view-bc843d7d.js +152 -0
  90. package/dist/esm/sqm-password-field.entry.js +2 -2
  91. package/dist/esm/sqm-popup-container.entry.js +1 -1
  92. package/dist/esm/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
  93. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  94. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  95. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  96. package/dist/esm/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
  97. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  98. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  99. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  100. package/dist/esm/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
  101. package/dist/esm/sqm-qr-code.entry.js +2 -2
  102. package/dist/esm/sqm-referral-table_11.entry.js +32 -14
  103. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  104. package/dist/esm/sqm-rewards-table_9.entry.js +35 -14
  105. package/dist/esm/sqm-stencilbook.entry.js +916 -333
  106. package/dist/esm/sqm-tab.entry.js +2 -2
  107. package/dist/esm/sqm-tabs.entry.js +3 -3
  108. package/dist/esm/sqm-user-info-form-view-5322525c.js +1421 -0
  109. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  110. package/dist/esm/subregions-7c9778d0.js +1492 -0
  111. package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
  112. package/dist/esm/{usePayoutStatus-46c0c289.js → useIndirectTaxForm-a6ac7e7e.js} +292 -5
  113. package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +2 -2
  114. package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +2 -2
  115. package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +2 -2
  116. package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
  117. package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +3 -3
  118. package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
  119. package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
  120. package/dist/esm/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
  121. package/dist/esm-es5/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +1 -1
  122. package/dist/esm-es5/data-8698cbc6.js +1 -0
  123. package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
  124. package/dist/esm-es5/{global-96c14d63.js → global-75e96214.js} +1 -1
  125. package/dist/esm-es5/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
  126. package/dist/esm-es5/keys-1054056a.js +1 -0
  127. package/dist/esm-es5/loader.js +1 -1
  128. package/dist/esm-es5/mint-components.js +1 -1
  129. package/dist/esm-es5/parseStates-ed75e224.js +1 -0
  130. package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-bf46ba54.js} +1 -1
  131. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  132. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  133. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  134. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  135. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  136. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -0
  137. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  138. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  139. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  140. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  141. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
  142. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  143. package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
  144. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  145. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  146. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  147. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
  148. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  149. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  150. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  151. package/dist/esm-es5/sqm-partner-info-modal-view-bc843d7d.js +1 -0
  152. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  153. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  154. package/dist/esm-es5/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
  155. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  156. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  157. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  158. package/dist/esm-es5/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
  159. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  160. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  161. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  162. package/dist/esm-es5/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
  163. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  164. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  165. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  166. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  167. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  168. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  169. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  170. package/dist/esm-es5/sqm-user-info-form-view-5322525c.js +1 -0
  171. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  172. package/dist/esm-es5/subregions-7c9778d0.js +1 -0
  173. package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
  174. package/dist/esm-es5/useIndirectTaxForm-a6ac7e7e.js +6 -0
  175. package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +1 -1
  176. package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +1 -1
  177. package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +1 -1
  178. package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
  179. package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +1 -1
  180. package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
  181. package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
  182. package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
  183. package/dist/mint-components/mint-components.esm.js +1 -1
  184. package/dist/mint-components/mint-components.js +1 -1
  185. package/dist/mint-components/{p-626b31cb.system.entry.js → p-025ddad2.system.entry.js} +1 -1
  186. package/dist/mint-components/{p-5b871e38.system.entry.js → p-02c0f88e.system.entry.js} +1 -1
  187. package/dist/mint-components/{p-f55ecf35.system.js → p-02e2b13b.system.js} +1 -1
  188. package/dist/mint-components/{p-a4f8abad.js → p-0766438e.js} +1 -1
  189. package/dist/mint-components/{p-205cfdcd.system.js → p-0815b973.system.js} +1 -1
  190. package/dist/mint-components/{p-db0a2afd.entry.js → p-092c2606.entry.js} +1 -1
  191. package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-099ce3d5.system.entry.js} +1 -1
  192. package/dist/mint-components/p-0a6489fa.entry.js +1 -0
  193. package/dist/mint-components/{p-fc284f91.system.entry.js → p-0b32e1d4.system.entry.js} +1 -1
  194. package/dist/mint-components/p-115dfc03.system.js +1 -0
  195. package/dist/mint-components/{p-7b59e13c.system.js → p-1317cc92.system.js} +1 -1
  196. package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-13bb56a8.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-f8a09b0f.js → p-13d8ecad.js} +1 -1
  198. package/dist/mint-components/p-13e439bc.js +1 -0
  199. package/dist/mint-components/p-13f3a647.js +1 -0
  200. package/dist/mint-components/{p-61897e72.entry.js → p-14183edc.entry.js} +1 -1
  201. package/dist/mint-components/{p-8f2d03c7.entry.js → p-1599a178.entry.js} +1 -1
  202. package/dist/mint-components/{p-02499e08.entry.js → p-1b0326d1.entry.js} +1 -1
  203. package/dist/mint-components/p-1d398dbc.entry.js +11 -0
  204. package/dist/mint-components/p-1d86895f.system.js +1 -0
  205. package/dist/mint-components/{p-c8a3f3b0.js → p-1efb42e2.js} +1 -1
  206. package/dist/mint-components/p-1f387c7b.system.js +1 -0
  207. package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-209157a9.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-30c1ef36.system.js → p-2190dc73.system.js} +1 -1
  209. package/dist/mint-components/p-24a867ab.system.js +1 -0
  210. package/dist/mint-components/{p-80e116ec.system.entry.js → p-24f1d342.system.entry.js} +1 -1
  211. package/dist/mint-components/{p-6668f9f0.entry.js → p-27daf264.entry.js} +1 -1
  212. package/dist/mint-components/p-28ed2ae9.js +1 -0
  213. package/dist/mint-components/{p-09f7aacd.entry.js → p-29bc5f50.entry.js} +2 -2
  214. package/dist/mint-components/p-2bc6ac74.system.entry.js +1 -0
  215. package/dist/mint-components/{p-738dce27.system.entry.js → p-2d3f7b76.system.entry.js} +1 -1
  216. package/dist/mint-components/p-2d4132fb.js +99 -0
  217. package/dist/mint-components/p-2ed13619.entry.js +1 -0
  218. package/dist/mint-components/{p-c45a929a.system.entry.js → p-30cfe3e3.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-d55c50af.system.js → p-31815fb6.system.js} +1 -1
  220. package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-3354cc75.system.entry.js} +1 -1
  221. package/dist/mint-components/{p-5bc5c61e.entry.js → p-335a5736.entry.js} +1 -1
  222. package/dist/mint-components/{p-e9485160.system.entry.js → p-33ca28ba.system.entry.js} +1 -1
  223. package/dist/mint-components/{p-8583ce0c.system.js → p-376c7608.system.js} +1 -1
  224. package/dist/mint-components/p-37e24621.system.entry.js +1 -0
  225. package/dist/mint-components/{p-95510f27.entry.js → p-38d04e4b.entry.js} +1 -1
  226. package/dist/mint-components/{p-e84b874c.js → p-3a41b39c.js} +1 -1
  227. package/dist/mint-components/{p-e5ea43b1.entry.js → p-3bbc0db2.entry.js} +2 -2
  228. package/dist/mint-components/{p-982d1f6f.entry.js → p-432a44de.entry.js} +3 -2
  229. package/dist/mint-components/{p-bab4929e.js → p-45230a44.js} +1 -1
  230. package/dist/mint-components/p-4691e9d5.system.js +1 -0
  231. package/dist/mint-components/{p-1d92c169.entry.js → p-4d73a616.entry.js} +1 -1
  232. package/dist/mint-components/{p-3bc62ca6.entry.js → p-4e3db52b.entry.js} +1 -1
  233. package/dist/mint-components/{p-3286ef38.js → p-4eaa3eb7.js} +1 -1
  234. package/dist/mint-components/{p-013564b3.entry.js → p-4eadbd5b.entry.js} +1 -1
  235. package/dist/mint-components/p-4f9dc974.js +1 -0
  236. package/dist/mint-components/{p-f7ca4cc4.system.entry.js → p-51ae6716.system.entry.js} +1 -1
  237. package/dist/mint-components/p-5623f1e0.js +1 -0
  238. package/dist/mint-components/p-5bc707cf.entry.js +299 -0
  239. package/dist/mint-components/p-5c52100b.js +117 -0
  240. package/dist/mint-components/{p-77b9cde8.system.js → p-5fdf0286.system.js} +1 -1
  241. package/dist/mint-components/{p-09348341.entry.js → p-60b1f3d9.entry.js} +1 -1
  242. package/dist/mint-components/{p-d005df28.system.entry.js → p-623a0a0b.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-c30d0049.system.entry.js → p-6b4e5d94.system.entry.js} +1 -1
  244. package/dist/mint-components/p-6ef373ed.system.js +6 -0
  245. package/dist/mint-components/{p-f4e36adf.system.entry.js → p-6f6c3ac6.system.entry.js} +1 -1
  246. package/dist/mint-components/p-6f8dde97.system.js +1 -0
  247. package/dist/mint-components/{p-43c31fd5.system.js → p-7628e56f.system.js} +1 -1
  248. package/dist/mint-components/{p-653db72e.entry.js → p-78e6dc8d.entry.js} +1 -1
  249. package/dist/mint-components/{p-f581aac7.js → p-7a091fa7.js} +1 -1
  250. package/dist/mint-components/{p-40bad95a.entry.js → p-7cbdf341.entry.js} +2 -2
  251. package/dist/mint-components/{p-044f930a.system.js → p-7d2d9ef9.system.js} +1 -1
  252. package/dist/mint-components/{p-5c4ba8a0.entry.js → p-7ea3f49c.entry.js} +1 -1
  253. package/dist/mint-components/p-7f29622d.js +1 -0
  254. package/dist/mint-components/{p-5ce78407.system.entry.js → p-81bc6dca.system.entry.js} +1 -1
  255. package/dist/mint-components/{p-f6528f8a.entry.js → p-84495fb8.entry.js} +1 -1
  256. package/dist/mint-components/p-85ecc0aa.entry.js +83 -0
  257. package/dist/mint-components/{p-b96e90a2.system.entry.js → p-86d20b47.system.entry.js} +1 -1
  258. package/dist/mint-components/p-87f86492.js +1 -0
  259. package/dist/mint-components/p-8a08cec6.system.entry.js +1 -0
  260. package/dist/mint-components/{p-d0993bb9.js → p-8a6531d2.js} +1 -1
  261. package/dist/mint-components/p-8ae8968c.js +1 -0
  262. package/dist/mint-components/{p-7265bbcb.system.js → p-8e148cb0.system.js} +1 -1
  263. package/dist/mint-components/p-8f15bf17.entry.js +1 -0
  264. package/dist/mint-components/{p-b66f45d1.entry.js → p-921eb024.entry.js} +1 -1
  265. package/dist/mint-components/{p-f1374258.system.entry.js → p-925aa740.system.entry.js} +1 -1
  266. package/dist/mint-components/p-99eecdcb.system.entry.js +1 -0
  267. package/dist/mint-components/{p-e12754f5.system.entry.js → p-9a15cd5a.system.entry.js} +1 -1
  268. package/dist/mint-components/p-9c1f5317.system.js +1 -0
  269. package/dist/mint-components/{p-832aea99.js → p-9f48640d.js} +1 -1
  270. package/dist/mint-components/p-a49d9288.entry.js +1 -0
  271. package/dist/mint-components/p-a8cfa8fd.entry.js +9 -0
  272. package/dist/mint-components/{p-90833864.system.entry.js → p-ab59c5eb.system.entry.js} +1 -1
  273. package/dist/mint-components/{p-e6240c72.js → p-abd717d4.js} +1 -1
  274. package/dist/mint-components/p-ae2f610e.system.js +1 -0
  275. package/dist/mint-components/{p-19c441b2.system.js → p-b2ad3fca.system.js} +1 -1
  276. package/dist/mint-components/{p-c8a8d231.entry.js → p-b3309d9b.entry.js} +2 -2
  277. package/dist/mint-components/p-b3e1f2fa.entry.js +91 -0
  278. package/dist/mint-components/p-b7188d47.system.entry.js +1 -0
  279. package/dist/mint-components/{p-8962e023.js → p-b871d158.js} +1 -1
  280. package/dist/mint-components/p-b9509a55.system.entry.js +1 -0
  281. package/dist/mint-components/p-badf28bb.system.js +1 -0
  282. package/dist/mint-components/{p-035d9b65.js → p-bb0b5e4b.js} +1 -1
  283. package/dist/mint-components/{p-52674798.entry.js → p-bcfdb510.entry.js} +1 -1
  284. package/dist/mint-components/p-bd03efe0.system.js +1 -0
  285. package/dist/mint-components/{p-642f2c89.js → p-bf9ab2d3.js} +1 -1
  286. package/dist/mint-components/{p-bc386a7b.js → p-c0a85e22.js} +1 -1
  287. package/dist/mint-components/p-c0f8f977.system.entry.js +1 -0
  288. package/dist/mint-components/p-c13c20b2.system.js +1 -0
  289. package/dist/mint-components/p-c41d536d.entry.js +1 -0
  290. package/dist/mint-components/{p-a0c5631b.system.js → p-c66e5217.system.js} +1 -1
  291. package/dist/mint-components/{p-0d83907e.js → p-cfea215d.js} +1 -1
  292. package/dist/mint-components/p-d08408b3.entry.js +1 -0
  293. package/dist/mint-components/{p-172675ca.system.js → p-d284ae70.system.js} +1 -1
  294. package/dist/mint-components/{p-027fc3be.system.entry.js → p-d34564f8.system.entry.js} +1 -1
  295. package/dist/mint-components/{p-1021a49f.system.entry.js → p-db6bf7cf.system.entry.js} +1 -1
  296. package/dist/mint-components/{p-4da5a3fe.system.entry.js → p-df897432.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-036a2617.system.js → p-e651593c.system.js} +1 -1
  298. package/dist/mint-components/{p-f39cf252.system.entry.js → p-e6de31a7.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-2668335b.js → p-e8e7af06.js} +1 -1
  300. package/dist/mint-components/{p-85721089.system.js → p-e920c95c.system.js} +1 -1
  301. package/dist/mint-components/{p-3366b81e.js → p-eae44b42.js} +2 -2
  302. package/dist/mint-components/{p-af407cce.entry.js → p-ef32fa8f.entry.js} +1 -1
  303. package/dist/mint-components/{p-7efb8782.system.js → p-f32050f6.system.js} +1 -1
  304. package/dist/mint-components/{p-782af7ae.system.entry.js → p-f6de2e5c.system.entry.js} +1 -1
  305. package/dist/mint-components/{p-9390586b.system.entry.js → p-fa85ea51.system.entry.js} +1 -1
  306. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +15 -0
  307. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +51 -0
  308. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +123 -0
  309. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +16 -0
  310. package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +18 -1
  311. package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +19 -7
  312. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
  313. package/dist/types/components/sqm-widget-verification/keys.d.ts +2 -0
  314. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +75 -7
  315. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +2 -0
  316. package/dist/types/components/tax-and-cash/data.d.ts +3 -0
  317. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +8 -0
  318. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
  319. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +173 -0
  320. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
  321. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +7 -0
  322. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +1 -0
  323. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -5
  324. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/TaxAndCashDashboardView.stories.d.ts +19 -0
  325. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -1
  326. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -4
  327. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
  328. package/dist/types/components/tax-and-cash/utils.d.ts +5 -0
  329. package/dist/types/components.d.ts +644 -32
  330. package/dist/types/saasquatch.d.ts +2 -0
  331. package/docs/docs.docx +0 -0
  332. package/docs/raisins.json +1 -1
  333. package/grapesjs/grapesjs.js +1 -1
  334. package/package.json +2 -4
  335. package/dist/cjs/extractProps-e9c55ba8.js +0 -35
  336. package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -418
  337. package/dist/cjs/sqm-user-info-form-view-53306f6e.js +0 -2074
  338. package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -214
  339. package/dist/esm/data-12e6aae1.js +0 -216
  340. package/dist/esm/extractProps-54064fb0.js +0 -32
  341. package/dist/esm/keys-406491dc.js +0 -6
  342. package/dist/esm/sqm-email-verification.entry.js +0 -414
  343. package/dist/esm/sqm-user-info-form-view-19d81a2b.js +0 -2066
  344. package/dist/esm/sqm-widget-verification.entry.js +0 -210
  345. package/dist/esm-es5/data-12e6aae1.js +0 -1
  346. package/dist/esm-es5/extractProps-54064fb0.js +0 -1
  347. package/dist/esm-es5/keys-406491dc.js +0 -1
  348. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  349. package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
  350. package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +0 -1
  351. package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
  352. package/dist/esm-es5/usePayoutStatus-46c0c289.js +0 -6
  353. package/dist/mint-components/p-00b235c5.system.entry.js +0 -1
  354. package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
  355. package/dist/mint-components/p-0797a946.js +0 -1
  356. package/dist/mint-components/p-13292317.entry.js +0 -11
  357. package/dist/mint-components/p-2d5c2bd4.system.entry.js +0 -1
  358. package/dist/mint-components/p-38c7775a.js +0 -1
  359. package/dist/mint-components/p-3adbfd0b.system.js +0 -6
  360. package/dist/mint-components/p-3af3e2c1.entry.js +0 -25
  361. package/dist/mint-components/p-5492dd51.system.entry.js +0 -1
  362. package/dist/mint-components/p-57dd28bd.system.js +0 -1
  363. package/dist/mint-components/p-5b1d2866.system.js +0 -1
  364. package/dist/mint-components/p-6c4ad51a.js +0 -1
  365. package/dist/mint-components/p-77fa2383.entry.js +0 -1
  366. package/dist/mint-components/p-7939e4af.entry.js +0 -1
  367. package/dist/mint-components/p-8285869e.entry.js +0 -9
  368. package/dist/mint-components/p-892797eb.system.entry.js +0 -1
  369. package/dist/mint-components/p-91a96e98.entry.js +0 -1
  370. package/dist/mint-components/p-b2b85238.entry.js +0 -1
  371. package/dist/mint-components/p-b395470f.entry.js +0 -16
  372. package/dist/mint-components/p-bba16a46.system.entry.js +0 -1
  373. package/dist/mint-components/p-be12607e.entry.js +0 -281
  374. package/dist/mint-components/p-bf188b72.system.entry.js +0 -1
  375. package/dist/mint-components/p-ca098be1.system.js +0 -1
  376. package/dist/mint-components/p-d18dedd4.js +0 -1
  377. package/dist/mint-components/p-d4f332a7.entry.js +0 -106
  378. package/dist/mint-components/p-d6193876.system.js +0 -1
  379. package/dist/mint-components/p-de0d6fd7.js +0 -49
  380. package/dist/mint-components/p-e00ec007.js +0 -1
  381. package/dist/mint-components/p-e55aafe9.system.js +0 -1
  382. package/dist/mint-components/p-ea03e50e.system.js +0 -1
  383. package/dist/mint-components/p-ec0b649a.entry.js +0 -1
  384. package/dist/mint-components/p-f8026ed6.system.js +0 -1
  385. package/dist/mint-components/p-fb804001.system.entry.js +0 -1
  386. package/dist/mint-components/p-fe70e20c.entry.js +0 -1
  387. package/dist/mint-components/p-ff118a19.system.js +0 -1
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,s=1,t=arguments.length;s<t;s++){a=arguments[s];for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o))r[o]=a[o]}return r};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-30c1ef36.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(r){"use strict";var a,s,t,o;return{setters:[function(r){a=r.h},function(r){s=r.j},function(r){t=r.c},function(r){o=r.g}],execute:function(){r("N",e);function e(r){var e=r.states,n=r.data,i=r.padding,c=i===void 0?"x-small":i;var l=r.backgroundColor||"var(--sqm-portal-background)";var u=r.backgroundHoverColor||"var(--sqm-primary-button-background-hover)";var v=r.backgroundFocusedColor||"var(--sqm-primary-button-background)";var d=r.textFocusedColor||"var(--sqm-primary-button-color)";var p={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?v:l),borderRadius:r.borderRadius?r.borderRadius+"px":"var(--sqm-border-radius-normal)",padding:"var(--sl-spacing-"+c+")","text-decoration":"none",color:e.active?d:r.textColor||"var(--sqm-text)","align-items":"center"},o({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?v:u,color:e.active?d:r.textHoverColor||"var(--sqm-primary-button-color-hover)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var m=t(p);var g=m.toString();return a("a",{part:"sqm-link",href:n.path,onClick:function(r){r.preventDefault();s.push(n.path)},class:m.classes.ItemContainer},a("style",{type:"text/css"},g),a("sl-icon",{class:m.classes.Icon,name:n.icon}),a("p",{class:m.classes.Label,part:"sqm-label"},n.label))}}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,s=1,t=arguments.length;s<t;s++){a=arguments[s];for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o))r[o]=a[o]}return r};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-2190dc73.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(r){"use strict";var a,s,t,o;return{setters:[function(r){a=r.h},function(r){s=r.j},function(r){t=r.c},function(r){o=r.g}],execute:function(){r("N",e);function e(r){var e=r.states,n=r.data,i=r.padding,c=i===void 0?"x-small":i;var l=r.backgroundColor||"var(--sqm-portal-background)";var u=r.backgroundHoverColor||"var(--sqm-primary-button-background-hover)";var v=r.backgroundFocusedColor||"var(--sqm-primary-button-background)";var d=r.textFocusedColor||"var(--sqm-primary-button-color)";var p={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?v:l),borderRadius:r.borderRadius?r.borderRadius+"px":"var(--sqm-border-radius-normal)",padding:"var(--sl-spacing-"+c+")","text-decoration":"none",color:e.active?d:r.textColor||"var(--sqm-text)","align-items":"center"},o({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?v:u,color:e.active?d:r.textHoverColor||"var(--sqm-primary-button-color-hover)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var m=t(p);var g=m.toString();return a("a",{part:"sqm-link",href:n.path,onClick:function(r){r.preventDefault();s.push(n.path)},class:m.classes.ItemContainer},a("style",{type:"text/css"},g),a("sl-icon",{class:m.classes.Icon,name:n.icon}),a("p",{class:m.classes.Label,part:"sqm-label"},n.label))}}}}));
@@ -1,4 +1,4 @@
1
- import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-d0993bb9.js";const t=e.gql`
1
+ import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}from"./p-8a6531d2.js";const t=e.gql`
2
2
  query userLookup {
3
3
  viewer {
4
4
  ... on User {
@@ -45,4 +45,4 @@ import{k as i,f as r}from"./p-a7fc1e02.js";import{d as e,J as o,X as n,$ as s}fr
45
45
  accessKey
46
46
  }
47
47
  }
48
- `;function d(){const e=o(),[d,v]=i(null),[m,f]=i({participant:!1,impact:!1}),[p]=n(t),[E,{loading:I,errors:y}]=s(a),[$,{loading:h,errors:w}]=s(l),U=I||h,b=y||w,[g,{loading:C,errors:q}]=s(u),[A,{loading:F,errors:P}]=s(c),V=C||F,j=q||P,[k,K]=i(!1);return r((()=>{k||(async()=>{var i,r,e,o,n,s,t,a;try{const l=await p({});if(!l||l instanceof Error)throw new Error;f({participant:!!(null===(i=null==l?void 0:l.viewer)||void 0===i?void 0:i.email),impact:!!(null===(o=null===(e=null===(r=null==l?void 0:l.viewer)||void 0===r?void 0:r.impactConnection)||void 0===e?void 0:e.user)||void 0===o?void 0:o.email)}),v((null===(t=null===(s=null===(n=null==l?void 0:l.viewer)||void 0===n?void 0:n.impactConnection)||void 0===s?void 0:s.user)||void 0===t?void 0:t.email)||(null===(a=null==l?void 0:l.viewer)||void 0===a?void 0:a.email)||null),K(!0)}catch(i){console.error("Could not initialise verification",i)}})()}),[]),{initialized:k,verificationEmail:d,send:[async()=>{let i=null;if(!k)return i;if(!m.participant&&!m.impact)return i;try{const r=m.impact?$:E,o=await r({user:{id:e.id,accountId:e.accountId}});if(o instanceof Error||!o)throw new Error;i=m.impact?o.requestImpactPublisherEmail2FA:o.requestUserEmailVerification}catch(i){console.error("Could not send verification email",i)}finally{return i}},{loading:U,errors:b}],verify:[async i=>{var r;let o=null;if(!k)return o;if(!m.participant&&!m.impact)return o;try{const n=m.impact?A:g,s=await n({user:{id:e.id,accountId:e.accountId},code:i});if(s instanceof Error||!s)throw new Error;o={success:!0,accessKey:m.impact?null===(r=s.submitImpactPublisherEmail2FACode)||void 0===r?void 0:r.accessKey:void 0}}catch(i){console.error("Could not verify email",i)}finally{return o}},{loading:V,errors:j}]}}export{d as u}
48
+ `;function d(){const e=o(),[d,v]=i(null),[m,f]=i({participant:!1,impact:!1}),[p]=n(t),[E,{loading:I,errors:y}]=s(a),[$,{loading:h,errors:w}]=s(l),U=I||h,g=y||w,[b,{loading:C,errors:q}]=s(u),[A,{loading:F,errors:P}]=s(c),V=C||F,j=q||P,[k,K]=i(!1);return r((()=>{k||(async()=>{var i,r,e,o,n,s,t,a;try{const l=await p({});if(!l||l instanceof Error)throw new Error;f({participant:!!(null===(i=null==l?void 0:l.viewer)||void 0===i?void 0:i.email),impact:!!(null===(o=null===(e=null===(r=null==l?void 0:l.viewer)||void 0===r?void 0:r.impactConnection)||void 0===e?void 0:e.user)||void 0===o?void 0:o.email)}),v((null===(t=null===(s=null===(n=null==l?void 0:l.viewer)||void 0===n?void 0:n.impactConnection)||void 0===s?void 0:s.user)||void 0===t?void 0:t.email)||(null===(a=null==l?void 0:l.viewer)||void 0===a?void 0:a.email)||null),K(!0)}catch(i){console.error("Could not initialise verification",i)}})()}),[]),{initialized:k,verificationEmail:d,send:[async()=>{let i=null;if(!k)return i;if(!m.participant&&!m.impact)return i;try{const r=m.impact?$:E,o=await r({user:{id:e.id,accountId:e.accountId}});if(o instanceof Error||!o)throw new Error;i=m.impact?o.requestImpactPublisherEmail2FA:o.requestUserEmailVerification}catch(i){console.error("Could not send verification email",i)}finally{return i}},{loading:U,errors:g}],verify:[async i=>{var r;let o=null;if(!k)return o;if(!m.participant&&!m.impact)return o;try{const n=m.impact?A:b,s=await n({user:{id:e.id,accountId:e.accountId},code:i});if(s instanceof Error||!s)throw new Error;o={success:!0,accessKey:m.impact?null===(r=s.submitImpactPublisherEmail2FACode)||void 0===r?void 0:r.accessKey:void 0}}catch(i){console.error("Could not verify email",i)}finally{return o}},{loading:V,errors:j}]}}export{d as u}
@@ -1 +1 @@
1
- import{h as t,r as e,c as s}from"./p-083180bf.js";import{i as n}from"./p-f8a09b0f.js";import{n as a}from"./p-a7fc1e02.js";import"./p-d0993bb9.js";import{g as i}from"./p-9ec99ced.js";import"./p-cef45012.js";import{o as r}from"./p-f75de169.js";import{P as o,a as l}from"./p-e30abc44.js";function m(e){const{emptyStateHeader:s,emptyStateImage:a,emptyStateText:i,supportText:o,missingFeature:l=""}=e;return t("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},t("img",{style:{height:"100px",margin:"auto"},src:r(a,{height:200}),decoding:"async"}),t("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("p",{part:"header-text"},s)),t("sqm-text",{slot:"content"},t("p",{part:"description-text"},n.formatMessage({id:"emptyStateText",defaultMessage:i},{supportText:t("a",{target:"_blank",href:`mailto:saasquatch-support@impact.com?subject=Next steps for ${l} feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the ${l} feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: ${l}%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you`},o)})))))}const h=class{constructor(t){e(this,t)}render(){return t(s,{slot:"empty"},t(m,{emptyStateImage:this.emptyStateImage||"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))}},p=class{constructor(t){e(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",this.flexWrap="wrap",a(this)}disconnectedCallback(){}render(){return t(o,Object.assign({},i(this)),t("slot",null))}},c=class{constructor(t){e(this,t),this.ignored=!0,a(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,`\n sqm-text {\n display: block;\n color: ${this.textColor||"var(--sqm-text)"};\n }\n\n sqm-text h1 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xxx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-x-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-large)"};\n font-weight: var(--sl-font-weight-bold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text p {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-medium)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text sub {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-small)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n `),t("slot",null))}},x=class{constructor(t){e(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",a(this)}disconnectedCallback(){}render(){const e=t("slot",{name:"label"},this.label),s=t("slot",{name:"content"});return t(l,Object.assign({},{...i(this),label:e,content:s}))}};export{h as sqm_empty,p as sqm_portal_container,c as sqm_text,x as sqm_titled_section}
1
+ import{h as t,r as e,c as s}from"./p-083180bf.js";import{i as n}from"./p-13d8ecad.js";import{n as a}from"./p-a7fc1e02.js";import"./p-8a6531d2.js";import{g as i}from"./p-9ec99ced.js";import"./p-cef45012.js";import{o as r}from"./p-f75de169.js";import{P as o,a as l}from"./p-e30abc44.js";function m(e){const{emptyStateHeader:s,emptyStateImage:a,emptyStateText:i,supportText:o,missingFeature:l=""}=e;return t("sqm-portal-container",{padding:"large",gap:"medium",part:"sqm-base"},t("img",{style:{height:"100px",margin:"auto"},src:r(a,{height:200}),decoding:"async"}),t("sqm-titled-section",{style:{maxHeight:"400px"},"label-margin":"xxx-small","text-align":"center"},t("sqm-text",{slot:"label"},t("p",{part:"header-text"},s)),t("sqm-text",{slot:"content"},t("p",{part:"description-text"},n.formatMessage({id:"emptyStateText",defaultMessage:i},{supportText:t("a",{target:"_blank",href:`mailto:saasquatch-support@impact.com?subject=Next steps for ${l} feature&body=Hi Support Team, %0D%0A\n %0D%0A \n I am interested to learn more about the ${l} feature. Please let me know the next steps to access this feature, including any necessary plan upgrades.%0D%0A\n %0D%0A \n - Feature Interested In: ${l}%0D%0A\n - Company Name: [Please fill out your company name here]%0D%0A\n %0D%0A\n Thank you`},o)})))))}const h=class{constructor(t){e(this,t)}render(){return t(s,{slot:"empty"},t(m,{emptyStateImage:this.emptyStateImage||"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png",emptyStateHeader:this.emptyStateHeader,emptyStateText:this.emptyStateText,supportText:this.supportText}))}},c=class{constructor(t){e(this,t),this.ignored=!0,this.direction="column",this.gap="xxx-large",this.display="grid",this.maxWidth="100%",this.flexWrap="wrap",a(this)}disconnectedCallback(){}render(){return t(o,Object.assign({},i(this)),t("slot",null))}},p=class{constructor(t){e(this,t),this.ignored=!0,a(this)}disconnectedCallback(){}componentWillLoad(){}render(){return t("div",null,t("style",null,`\n sqm-text {\n display: block;\n color: ${this.textColor||"var(--sqm-text)"};\n }\n\n sqm-text h1 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xxx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h2 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-xx-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h3 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-x-large)"};\n font-weight: var(--sl-font-weight-semibold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text h4 {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-large)"};\n font-weight: var(--sl-font-weight-bold);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text p {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-medium)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n\n sqm-text sub {\n font-size: ${this.fontSize?`${this.fontSize}px`:"var(--sl-font-size-small)"};\n font-weight: var(--sl-font-weight-normal);\n color: ${this.textColor||"var(--sqm-text)"};\n margin: 0;\n }\n `),t("slot",null))}},x=class{constructor(t){e(this,t),this.textAlign="left",this.labelMargin="small",this.padding="none",a(this)}disconnectedCallback(){}render(){const e=t("slot",{name:"label"},this.label),s=t("slot",{name:"content"});return t(l,Object.assign({},{...i(this),label:e,content:s}))}};export{h as sqm_empty,c as sqm_portal_container,p as sqm_text,x as sqm_titled_section}
@@ -1 +1 @@
1
- var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,n=0,t=arguments.length;n<t;n++)r+=arguments[n].length;for(var e=Array(r),s=0,n=0;n<t;n++)for(var i=arguments[n],u=0,a=i.length;u<a;u++,s++)e[s]=i[u];return e};System.register(["./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(r){"use strict";var n,t,e;return{setters:[function(r){n=r.k;t=r.u},function(r){e=r._}],execute:function(){r("u",s);function s(){var r=e();var s=r.children.length?Array.from(r.children):[];var i=n(s),u=i[0],a=i[1];var c;t((function(){c=new MutationObserver((function(){var n=Array.from(r.children);a(__spreadArrays(n))}))}),[]);t((function(){if(!c)return;c.observe(r,{childList:true});return function(){c.disconnect()}}),[r]);return u}}}}));
1
+ var __spreadArrays=this&&this.__spreadArrays||function(){for(var r=0,n=0,t=arguments.length;n<t;n++)r+=arguments[n].length;for(var e=Array(r),s=0,n=0;n<t;n++)for(var i=arguments[n],u=0,a=i.length;u<a;u++,s++)e[s]=i[u];return e};System.register(["./p-b6504987.system.js","./p-2190dc73.system.js"],(function(r){"use strict";var n,t,e;return{setters:[function(r){n=r.k;t=r.u},function(r){e=r._}],execute:function(){r("u",s);function s(){var r=e();var s=r.children.length?Array.from(r.children):[];var i=n(s),u=i[0],a=i[1];var c;t((function(){c=new MutationObserver((function(){var n=Array.from(r.children);a(__spreadArrays(n))}))}),[]);t((function(){if(!c)return;c.observe(r,{childList:true});return function(){c.disconnect()}}),[r]);return u}}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.o;o=t.f;u=t.n},function(t){a=t.G;c=t.e;s=t.E;l=t.P}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=c();u=s(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,a)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(n){return c([t,n])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(e)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1];o=u;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(u);break}if(o[2])e.ops.pop();e.trys.pop();continue}u=n.call(t,e)}catch(t){u=[6,t];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-2190dc73.system.js"],(function(t){"use strict";var n,e,r,i,o,u,a,c,s,l;return{setters:[function(t){n=t.r;e=t.h;r=t.c},function(t){i=t.o;o=t.f;u=t.n},function(t){a=t.G;c=t.e;s=t.E;l=t.P}],execute:function(){function f(t){var n=t.domain;return __awaiter(this,void 0,void 0,(function(){var t,e,r,u,f,h;return __generator(this,(function(p){t=a();e=n;r=c();u=s(e,r,t);f=i(l,u),h=f[1];o((function(){h(u)}),[u]);return[2]}))}))}var h=t("sqm_graphql_client_provider",function(){function t(t){n(this,t);this.ignored=true;u(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){f(this);return e(r,{style:{display:"contents"}},e("slot",null))};return t}())}}}));
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{c(s.next(e))}catch(e){n(e)}}function i(e){try{c(s["throw"](e))}catch(e){n(e)}}function c(e){e.done?r(e.value):o(e.value).then(a,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,o,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return c([e,t])}}function c(a){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-30c1ef36.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js","./p-a4825ec2.system.js"],(function(e){"use strict";var t,r,s,o,n,a,i,c,d,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;n=e.n},function(e){a=e.f;i=e.T;c=e.j;d=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,n,d,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=a(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(c.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(n){switch(n.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=n.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);c.push(t.href)};var I=function(){c.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(d=(n=(r=C.errors)===null||r===void 0?void 0:r.response)===null||n===void 0?void 0:n.errors)===null||d===void 0?void 0:d[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,s){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{c(s.next(e))}catch(e){n(e)}}function i(e){try{c(s["throw"](e))}catch(e){n(e)}}function c(e){e.done?r(e.value):o(e.value).then(a,i)}c((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,o,n,a;return a={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function i(e){return function(t){return c([e,t])}}function c(a){if(s)throw new TypeError("Generator is already executing.");while(r)try{if(s=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;o=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1];n=a;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(a);break}if(n[2])r.ops.pop();r.trys.pop();continue}a=t.call(e,r)}catch(e){a=[6,e];o=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-641f968d.system.js","./p-b6504987.system.js","./p-2190dc73.system.js","./p-b2295bc5.system.js","./p-4bd679a7.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js","./p-7562cd98.system.js","./p-a4825ec2.system.js"],(function(e){"use strict";var t,r,s,o,n,a,i,c,d,u,l,f,w;return{setters:[function(e){t=e.r;r=e.h},function(e){s=e.k;o=e.f;n=e.n},function(e){a=e.f;i=e.T;c=e.j;d=e.i},function(e){u=e.j},function(e){l=e.c},function(e){f=e.s},function(){},function(){},function(){},function(e){w=e.P}],execute:function(){function h(e){var t=this;var r,n,d,l,w,h,p,m,x,v;var T=s(false),b=T[0],g=T[1];var P=s(""),y=P[0],E=P[1];var _=a(),R=_[0],M=_[1];var k=i(),q=k[0],C=k[1];var j=new URLSearchParams(c.location.search);var L=j.get("oobCode");j.delete("oobCode");var S=j.get("nextPage");var B=function(){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:return[4,R({oobCode:L})];case 1:t=r.sent();if(t instanceof Error){E(e.networkErrorMessage)}return[2]}}))}))};o((function(){B()}),[]);var F=function(r){return __awaiter(t,void 0,void 0,(function(){var t,s,o;return __generator(this,(function(n){switch(n.label){case 0:E("");t=r.detail.formData;t===null||t===void 0?void 0:t.forEach((function(e,r){u.set(t,r,e)}));s={oobCode:L,password:t.password};if(t.password!==t.confirmPassword){E(e.passwordMismatchText);return[2]}return[4,q(s)];case 1:o=n.sent();if(o instanceof Error){return[2,E(e.networkErrorMessage)]}if(o.resetManagedIdentityPassword){g(true);setTimeout((function(){H()}),5e3)}return[2]}}))}))};var H=function(){j.delete("nextPage");var t=f(S||e.nextPage);c.push(t.href)};var I=function(){c.push({pathname:e.failedPage,search:j.toString()&&"?"+j.toString()})};return{states:{loading:C.loading,reset:b,confirmPassword:e.confirmPassword,error:((w=(l=(d=(n=(r=C.errors)===null||r===void 0?void 0:r.response)===null||n===void 0?void 0:n.errors)===null||d===void 0?void 0:d[0])===null||l===void 0?void 0:l.extensions)===null||w===void 0?void 0:w.message)||((x=(m=(p=(h=C.errors)===null||h===void 0?void 0:h.response)===null||p===void 0?void 0:p.errors)===null||m===void 0?void 0:m[0])===null||x===void 0?void 0:x.message)||y,oobCodeValidating:M.loading,oobCodeValid:(v=M.data)===null||v===void 0?void 0:v.verifyManagedIdentityPasswordResetCode.success,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:F,failed:I,gotoNextPage:H}}}var p=e("sqm_portal_reset_password",function(){function e(e){t(this,e);this.ignored=true;this.nextPage="/";this.failedPage="/";this.confirmPassword=false;this.resetPasswordHeader="Reset your password";this.passwordResetHeader="Password reset";this.resetPasswordButtonText="Reset Password";this.continueButtonText="Continue";this.confirmPasswordFieldLabel="Confirm Password";this.passwordFieldLabel="New Password";this.meetsRequirementsText="Password has met all requirements";this.doesNotMeetRequirementsText="Password must meet the following requirements:";this.minErrorText="be a minimum of 8 characters";this.uppercaseErrorText="contain at least 1 uppercase character";this.lowercaseErrorText="contain at least 1 lowercase character";this.hasErrorText="contain at least 1 number or symbol";this.passwordMismatchText="Passwords do not match.";this.codeInvalidText="The password reset code is invalid or has expired, please try again.";this.resetSuccessText="Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";this.networkErrorMessage="An error occurred while resetting your password. Please refresh the page and try again.";n(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?m(this):h(this),t=e.states,s=e.callbacks;return r(w,{states:t,callbacks:s})};return e}());function m(e){var t=this;return l({states:{error:"",loading:false,reset:false,confirmPassword:e.confirmPassword,oobCodeValidating:false,oobCodeValid:true,content:{passwordResetHeader:e.passwordResetHeader,resetPasswordHeader:e.resetPasswordHeader,continueButtonText:e.continueButtonText,resetPasswordButtonText:e.resetPasswordButtonText,confirmPasswordFieldLabel:e.confirmPasswordFieldLabel,passwordFieldLabel:e.passwordFieldLabel,meetsRequirementsText:e.meetsRequirementsText,doesNotMeetRequirementsText:e.doesNotMeetRequirementsText,minErrorText:e.minErrorText,uppercaseErrorText:e.uppercaseErrorText,lowercaseErrorText:e.lowercaseErrorText,hasErrorText:e.hasErrorText,passwordMismatchText:e.passwordMismatchText,codeInvalidText:e.codeInvalidText,resetSuccessText:e.resetSuccessText}},callbacks:{submit:function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(e){console.log("submit");return[2]}))}))},failed:function(){},gotoNextPage:function(){}}},e.demoData||{},{arrayMerge:function(e,t){return t}})}}}}));
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const NewPartnerEmpty: () => any;
6
+ export declare const NewPartnerPrefilled: () => any;
7
+ export declare const NewPartnerFullySelected: () => any;
8
+ export declare const ExistingPartnerConfirm: () => any;
9
+ export declare const ExistingPartnerEmpty: () => any;
10
+ export declare const Submitting: () => any;
11
+ export declare const WithError: () => any;
12
+ export declare const ValidationError: () => any;
13
+ export declare const Closed: () => any;
14
+ export declare const SQMComponentExistingPartner: () => any;
15
+ export declare const SQMComponentNewPartner: () => any;
@@ -0,0 +1,51 @@
1
+ export interface PartnerInfoModalViewProps {
2
+ states: {
3
+ open: boolean;
4
+ loading: boolean;
5
+ submitting: boolean;
6
+ isExistingPartner: boolean;
7
+ countryCode: string;
8
+ currency: string;
9
+ error: string;
10
+ success: boolean;
11
+ filteredCountries: {
12
+ countryCode: string;
13
+ displayName: string;
14
+ }[];
15
+ filteredCurrencies: {
16
+ currencyCode: string;
17
+ displayName: string;
18
+ }[];
19
+ allowBankingCollection: boolean;
20
+ disabled: boolean;
21
+ };
22
+ callbacks: {
23
+ onCountryChange: (e: any) => void;
24
+ onCurrencyChange: (e: any) => void;
25
+ onCheckboxChange: (e: any) => void;
26
+ setCurrencySearch: (c: any) => void;
27
+ setCountrySearch: (c: any) => void;
28
+ onSubmit: () => void;
29
+ onClose: () => void;
30
+ onInitialFocus?: (e: any) => void;
31
+ };
32
+ text: {
33
+ modalHeader: string;
34
+ descriptionNewPartner: string;
35
+ descriptionExistingPartner: string;
36
+ countryLabel: string;
37
+ currencyLabel: string;
38
+ submitButtonLabel: string;
39
+ confirmButtonLabel: string;
40
+ searchCountryPlaceholder: string;
41
+ searchCurrencyPlaceholder: string;
42
+ supportDescriptionExistingPartner: string;
43
+ supportLink: string;
44
+ modalHeaderExistingPartner: string;
45
+ allowBankingCollection: string;
46
+ termsAndConditionsLabel: string;
47
+ termsAndConditionsLink: string;
48
+ };
49
+ }
50
+ export declare function PartnerInfoModalContentView(props: PartnerInfoModalViewProps): any;
51
+ export declare function PartnerInfoModalView(props: PartnerInfoModalViewProps): any;
@@ -0,0 +1,123 @@
1
+ import { DemoData } from "../../global/demo";
2
+ import { PartnerInfoModalResult } from "./usePartnerInfoModal";
3
+ /**
4
+ * @uiName Partner Info Modal
5
+ * @exampleGroup Tax and Cash
6
+ * @validParents ["sqm-portal-container", "sqm-portal-frame", "div", "sqm-divided-layout", "sqb-program-section", "sqb-conditional-section"]
7
+ * @example Partner Info Modal - <sqm-partner-info-modal></sqm-partner-info-modal>
8
+ * @hidden
9
+ */
10
+ export declare class PartnerInfoModal {
11
+ /**
12
+ * Header text when user has no existing partner
13
+ *
14
+ * @uiName New partner header
15
+ * @uiWidget textArea
16
+ */
17
+ modalHeader: string;
18
+ /**
19
+ * Header text when user has an existing partner
20
+ *
21
+ * @uiName Existing partner header
22
+ * @uiWidget textArea
23
+ */
24
+ modalHeaderExistingPartner: string;
25
+ /**
26
+ * Description for new partner setup
27
+ *
28
+ * @uiName New partner description
29
+ * @uiWidget textArea
30
+ */
31
+ descriptionNewPartner: string;
32
+ /**
33
+ * Description for existing partner confirmation
34
+ *
35
+ * @uiName Existing partner description
36
+ * @uiWidget textArea
37
+ */
38
+ descriptionExistingPartner: string;
39
+ /**
40
+ * Support description for existing partner confirmation
41
+ *
42
+ * @uiName Existing partner support description
43
+ * @uiWidget textArea
44
+ */
45
+ supportDescriptionExistingPartner: string;
46
+ /**
47
+ * Support description for existing partner confirmation
48
+ *
49
+ * @uiName Existing partner support description
50
+ */
51
+ supportLink: string;
52
+ /**
53
+ * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
54
+ * @uiName Terms and conditions checkbox
55
+ */
56
+ allowBankingCollection: string;
57
+ /**
58
+ * The link text that appears in the terms and conditions checkbox
59
+ * @uiName Terms and conditions text
60
+ * @uiWidget textArea
61
+ */
62
+ termsAndConditionsLabel: string;
63
+ /**
64
+ * The link that appears in the terms and conditions checkbox
65
+ * @uiName Terms and conditions link
66
+ */
67
+ termsAndConditionsLink: string;
68
+ /**
69
+ * @uiName Country label
70
+ */
71
+ countryLabel: string;
72
+ /**
73
+ * @uiName Currency label
74
+ */
75
+ currencyLabel: string;
76
+ /**
77
+ * @uiName Submit button label
78
+ */
79
+ submitButtonLabel: string;
80
+ /**
81
+ * @uiName Confirm button label
82
+ */
83
+ confirmButtonLabel: string;
84
+ /**
85
+ * @uiName Search country placeholder
86
+ */
87
+ searchCountryPlaceholder: string;
88
+ /**
89
+ * @uiName Search currency placeholder
90
+ */
91
+ searchCurrencyPlaceholder: string;
92
+ /**
93
+ * @uiName Network error text
94
+ * @uiWidget textArea
95
+ */
96
+ networkErrorText: string;
97
+ /**
98
+ * @uiName Missing fields error text
99
+ * @uiWidget textArea
100
+ */
101
+ missingFieldsErrorText: string;
102
+ /**
103
+ * Used to render in another modal.
104
+ * @undocumented
105
+ */
106
+ inModal: boolean;
107
+ /**
108
+ * @undocumented
109
+ * @componentState { "title": "Connected (hidden)", "default": true, "props": { "states": { "open": false } } }
110
+ * @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
111
+ * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
112
+ */
113
+ stateController: string;
114
+ /**
115
+ * @undocumented
116
+ * @uiType object
117
+ */
118
+ demoData?: DemoData<PartnerInfoModalResult>;
119
+ constructor();
120
+ disconnectedCallback(): void;
121
+ getTextProps(): this;
122
+ render(): any;
123
+ }
@@ -0,0 +1,16 @@
1
+ import { PartnerInfoModal } from "./sqm-partner-info-modal";
2
+ import { PartnerInfoModalViewProps } from "./sqm-partner-info-modal-view";
3
+ export declare const GET_USER_PARTNER_INFO: string;
4
+ export declare const GET_COUNTRIES: string;
5
+ export declare const GET_CURRENCIES: string;
6
+ export declare type TaxCountry = {
7
+ countryCode: string;
8
+ displayName: string;
9
+ };
10
+ export declare type CountriesQuery = {
11
+ impactPayoutCountries: {
12
+ data: TaxCountry[];
13
+ };
14
+ };
15
+ export declare function usePartnerInfoModal(props: PartnerInfoModal): PartnerInfoModalViewProps;
16
+ export declare type PartnerInfoModalResult = ReturnType<typeof usePartnerInfoModal>;
@@ -2,6 +2,22 @@ declare const _default: {
2
2
  title: string;
3
3
  };
4
4
  export default _default;
5
+ export declare const RewardsCellFraudDenied: () => any;
6
+ export declare const RewardsCellFraudPendingReview: () => any;
7
+ export declare const RewardsCellPartnerNotCreatedSetupNotStarted: () => any;
8
+ export declare const RewardsCellPartnerCreatedSetupStartedButIncomplete: () => any;
9
+ export declare const RewardsCellPayoutCancelled: () => any;
10
+ export declare const RewardsCellPayoutFailed: () => any;
11
+ export declare const RewardsCellPayoutProcessing: () => any;
12
+ export declare const RewardsCellPayoutApproved: () => any;
13
+ export declare const RewardsCellPendingW9Required: () => any;
14
+ export declare const RewardsCellUsTaxPartnerNotConnected: () => any;
15
+ export declare const RewardsCellPendingTaxSubmission: () => any;
16
+ export declare const RewardsCellPendingNewTaxForm: () => any;
17
+ export declare const RewardsCellPendingTaxReview: () => any;
18
+ export declare const RewardsCellExistingTaxFormNoWithdrawalSettings: () => any;
19
+ export declare const RewardsCellMissingPayoutConfiguration: () => any;
20
+ export declare const RewardsCellNoMatchingRule: () => any;
5
21
  export declare const CashReward: () => any;
6
22
  export declare const PayoutApproved: () => any;
7
23
  export declare const PayoutProcessing: () => any;
@@ -10,5 +26,6 @@ export declare const PayoutCancelled: () => any;
10
26
  export declare const PendingTaxReview: () => any;
11
27
  export declare const PendingNewTaxForm: () => any;
12
28
  export declare const PendingTaxSubmission: () => any;
13
- export declare const PendingPartnerCreation: () => any;
29
+ export declare const PartnerNotCreatedSetupNotStarted: () => any;
30
+ export declare const PartnerCreatedSetupStartedButIncomplete: () => any;
14
31
  export declare const PendingW9: () => any;
@@ -3,12 +3,24 @@ declare const _default: {
3
3
  };
4
4
  export default _default;
5
5
  export declare const CashReward: () => any;
6
- export declare const StatusCellPendingTaxReview: () => any;
7
- export declare const StatusCellPendingNewTaxForm: () => any;
8
- export declare const StatusCellPendingTaxSubmission: () => any;
9
- export declare const StatusCellPendingPartnerCreation: () => any;
10
- export declare const StatusCellPendingW9: () => any;
11
- export declare const StatusCellPayoutSent: () => any;
6
+ export declare const StatusCellFraudDenied: () => any;
7
+ export declare const StatusCellFraudPendingReview: () => any;
8
+ export declare const StatusCellPayoutCancelled: () => any;
12
9
  export declare const StatusCellPayoutFailed: () => any;
10
+ export declare const StatusCellPartnerCreatedSetupStartedButIncomplete: () => any;
11
+ export declare const StatusCellPartnerNotCreatedSetupNotStarted: () => any;
12
+ export declare const StatusCellMissingPayoutConfiguration: () => any;
13
13
  export declare const StatusCellPayoutProcessing: () => any;
14
- export declare const StatusCellPayoutCancelled: () => any;
14
+ export declare const StatusCellPayoutApproved: () => any;
15
+ export declare const StatusCellRewardCancelled: () => any;
16
+ export declare const StatusCellRewardExpired: () => any;
17
+ export declare const StatusCellPendingScheduled: () => any;
18
+ export declare const StatusCellNoMatchingRule: () => any;
19
+ export declare const StatusCellPendingW9Required: () => any;
20
+ export declare const StatusCellPendingTaxSubmission: () => any;
21
+ export declare const StatusCellPendingNewTaxForm: () => any;
22
+ export declare const StatusCellPendingTaxReview: () => any;
23
+ export declare const StatusCellExistingTaxFormNoWithdrawalSettings: () => any;
24
+ export declare const StatusCellConnectedNoTaxRequiredNoWithdrawalSettings: () => any;
25
+ export declare const StatusCellPayoutSent: () => any;
26
+ export declare const StatusCellPendingW9: () => any;
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Step1Email: () => any;
6
+ export declare const Step2Code: () => any;
7
+ export declare const Step3PartnerModal: () => any;
8
+ export declare const Loading: () => any;
@@ -1,4 +1,6 @@
1
1
  export declare const SHOW_CODE_NAMESPACE = "sq:code-verification";
2
+ export declare const SHOW_PARTNER_MODAL_NAMESPACE = "sq:show-partner-modal";
3
+ export declare const PARTNER_CREATED_NAMESPACE = "sq:partner-created";
2
4
  export declare const VERIFICATION_EMAIL_NAMESPACE = "sq:verification-email";
3
5
  export declare const VERIFICATION_PARENT_NAMESPACE = "sq:verification-context";
4
6
  export declare const VERIFICATION_EVENT_KEY = "sq:code-verified";
@@ -5,15 +5,10 @@
5
5
  */
6
6
  export declare class WidgetVerification {
7
7
  /**
8
- * @uiName General verify widget header text
8
+ * @uiName General widget header text with partner creation
9
9
  * @uiGroup General Text
10
10
  */
11
- general_verifyEmailHeader: string;
12
- /**
13
- * @uiName General verify widget description text
14
- * @uiGroup General Text
15
- */
16
- general_verifyEmailDescription: string;
11
+ general_widgetHeaderWithPartnerCreation: string;
17
12
  /**
18
13
  * @uiName Verify email widget header text
19
14
  * @uiGroup Email Verification Step
@@ -89,10 +84,83 @@ export declare class WidgetVerification {
89
84
  * @uiGroup Code Verification Step
90
85
  */
91
86
  codeStep_networkErrorMessage: string;
87
+ /**
88
+ * @uiName New partner header
89
+ * @uiGroup Partner Creation Step
90
+ * @uiWidget textArea
91
+ */
92
+ createPartnerStep_modalHeader: string;
93
+ /**
94
+ * @uiName Existing partner header
95
+ * @uiGroup Partner Creation Step
96
+ * @uiWidget textArea
97
+ */
98
+ createPartnerStep_modalHeaderExistingPartner: string;
99
+ /**
100
+ * @uiName New partner description
101
+ * @uiGroup Partner Creation Step
102
+ * @uiWidget textArea
103
+ */
104
+ createPartnerStep_descriptionNewPartner: string;
105
+ /**
106
+ * @uiName Existing partner description
107
+ * @uiGroup Partner Creation Step
108
+ * @uiWidget textArea
109
+ */
110
+ createPartnerStep_descriptionExistingPartner: string;
111
+ /**
112
+ * @uiName Existing partner support description
113
+ * @uiGroup Partner Creation Step
114
+ * @uiWidget textArea
115
+ */
116
+ createPartnerStep_supportDescriptionExistingPartner: string;
117
+ /**
118
+ * @uiName Country label
119
+ * @uiGroup Partner Creation Step
120
+ */
121
+ createPartnerStep_countryLabel: string;
122
+ /**
123
+ * @uiName Currency label
124
+ * @uiGroup Partner Creation Step
125
+ */
126
+ createPartnerStep_currencyLabel: string;
127
+ /**
128
+ * @uiName Submit button label
129
+ * @uiGroup Partner Creation Step
130
+ */
131
+ createPartnerStep_submitButtonLabel: string;
132
+ /**
133
+ * @uiName Confirm button label
134
+ * @uiGroup Partner Creation Step
135
+ */
136
+ createPartnerStep_confirmButtonLabel: string;
137
+ /**
138
+ * @uiName Search country placeholder
139
+ * @uiGroup Partner Creation Step
140
+ */
141
+ createPartnerStep_searchCountryPlaceholder: string;
142
+ /**
143
+ * @uiName Search currency placeholder
144
+ * @uiGroup Partner Creation Step
145
+ */
146
+ createPartnerStep_searchCurrencyPlaceholder: string;
147
+ /**
148
+ * @uiName Network error text
149
+ * @uiGroup Partner Creation Step
150
+ * @uiWidget textArea
151
+ */
152
+ createPartnerStep_networkErrorText: string;
153
+ /**
154
+ * @uiName Missing fields error text
155
+ * @uiGroup Partner Creation Step
156
+ * @uiWidget textArea
157
+ */
158
+ createPartnerStep_missingFieldsErrorText: string;
92
159
  /**
93
160
  * @undocumented
94
161
  * @componentState { "title": "Step 1: Enter email", "props": { "showCode": false }, "dependencies": ["sqm-email-verification"], "uiGroup": "Email Verification Step" }
95
162
  * @componentState { "title": "Step 2: Enter code", "props": { "showCode": true }, "dependencies": ["sqm-code-verification"], "uiGroup": "Code Verification Step" }
163
+ * @componentState { "title": "Step 3: Create Partner", "props": { "showPartnerModal": true }, "dependencies": ["sqm-partner-info-modal"], "uiGroup": "Partner Creation Step" }
96
164
  */
97
165
  stateController: string;
98
166
  constructor();
@@ -1,5 +1,7 @@
1
1
  export declare function useWidgetVerification(): {
2
2
  showCode: boolean;
3
+ showPartnerModal: boolean;
3
4
  onVerification: () => void;
5
+ onPartnerModalComplete: () => void;
4
6
  loading: boolean;
5
7
  };
@@ -76,6 +76,8 @@ export declare type ImpactUser = {
76
76
  };
77
77
  export declare type UserQuery = {
78
78
  user: {
79
+ id?: string;
80
+ accountId?: string;
79
81
  firstName?: string;
80
82
  lastName?: string;
81
83
  email?: string;
@@ -100,6 +102,7 @@ export declare type UserQuery = {
100
102
  impactConnection: null | {
101
103
  connected: boolean;
102
104
  user: null | ImpactUser;
105
+ connectionStatus: "NOT_STARTED" | "STARTED" | "COMPLETED";
103
106
  publisher: null | ImpactPublisher;
104
107
  };
105
108
  };
@@ -4,6 +4,8 @@ export declare function getFormMap({ props, getValidationErrorMessage, bankCount
4
4
  getValidationErrorMessage: (props: {
5
5
  type: "required" | "invalid";
6
6
  label: string;
7
+ errorCode?: string;
8
+ fieldName?: string;
7
9
  }) => string;
8
10
  bankCountry?: string;
9
11
  }): {
@@ -52,4 +54,10 @@ export declare function getFormMap({ props, getValidationErrorMessage, bankCount
52
54
  14: {
53
55
  input: any;
54
56
  };
57
+ 15: {
58
+ input: any;
59
+ };
60
+ 16: {
61
+ input: any;
62
+ };
55
63
  };
@@ -28,6 +28,7 @@ export interface BankingInfoFormViewProps {
28
28
  inputErrors?: {
29
29
  [field: string]: {
30
30
  type: "required" | "invalid";
31
+ errorCode?: string;
31
32
  };
32
33
  };
33
34
  };
@@ -103,6 +104,9 @@ export interface BankingInfoFormViewProps {
103
104
  generalTitle: string;
104
105
  generalDescription: string;
105
106
  };
107
+ errorMessages?: {
108
+ [field: string]: string;
109
+ };
106
110
  };
107
111
  refs: {
108
112
  formRef: any;