@saasquatch/mint-components 1.6.2-2 → 1.6.2-22

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 (578) hide show
  1. package/dist/{esm/useValidationState-adb2b066.js → cjs/AsYouType-6788393a.js} +2 -10
  2. package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
  3. package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
  4. package/dist/cjs/{ShadowViewAddon-aa14c0c4.js → ShadowViewAddon-4b75a331.js} +56 -42
  5. package/dist/cjs/{global-5e3deef1.js → global-b645d18a.js} +5 -15
  6. package/dist/cjs/{index.module-ffe1aa35.js → index.module-93c78ac7.js} +6884 -6841
  7. package/dist/cjs/loader.cjs.js +5 -6
  8. package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
  9. package/dist/cjs/mint-components.cjs.js +5 -6
  10. package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
  11. package/dist/cjs/{re-render-8fee17a9.js → re-render-afeabe91.js} +5 -5
  12. package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
  13. package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
  14. package/dist/cjs/sqm-big-stat_35.cjs.entry.js +215 -200
  15. package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
  19. package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
  20. package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-9820193d.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
  24. package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
  28. package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
  29. package/dist/cjs/{sqm-portal-email-verification-view-57fbd19b.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
  30. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
  31. package/dist/cjs/{sqm-portal-footer-view-eb757378.js → sqm-portal-footer-view-6b0660cf.js} +3 -3
  32. package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
  33. package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
  34. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
  35. package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
  36. package/dist/cjs/{sqm-portal-profile-view-7cb535a8.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
  37. package/dist/cjs/sqm-portal-profile.cjs.entry.js +27 -36
  38. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -11
  39. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +138 -71
  40. package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
  41. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +45 -50
  42. package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
  43. package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
  44. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -56
  45. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
  46. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
  47. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
  48. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
  49. package/dist/cjs/sqm-stencilbook.cjs.entry.js +173 -138
  50. package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
  51. package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
  52. package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
  53. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
  54. package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
  55. package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
  56. package/dist/cjs/useChildElements-c0cc8f5d.js +32 -0
  57. package/dist/cjs/{useReferralTable-7e18f12e.js → useReferralTable-db1b33db.js} +10 -10
  58. package/dist/cjs/useRegistrationFormState-bee054d6.js +14 -0
  59. package/dist/collection/collection-manifest.json +2 -4
  60. package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
  61. package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
  62. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
  63. package/dist/collection/components/sqm-brand/sqm-brand.js +7 -1
  64. package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
  65. package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
  66. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -2
  67. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +13 -7
  68. package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +3 -3
  69. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
  70. package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
  71. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
  72. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +10 -3
  73. package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
  74. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
  75. package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
  76. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
  77. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
  78. package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
  79. package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
  80. package/dist/collection/components/sqm-image/sqm-image.js +1 -1
  81. package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
  82. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
  83. package/dist/collection/components/sqm-input-field/sqm-input-field.js +9 -3
  84. package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
  85. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
  86. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
  87. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
  88. package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
  89. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
  90. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
  91. package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
  92. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
  93. package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
  94. package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
  95. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
  96. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +19 -13
  97. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
  98. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
  99. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
  100. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
  101. package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
  102. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
  103. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +43 -7
  104. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
  105. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
  106. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -4
  107. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
  108. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +56 -54
  109. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
  110. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
  111. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +27 -35
  112. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
  113. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
  114. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
  115. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
  116. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +45 -39
  117. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
  118. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
  119. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +17 -11
  120. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +66 -38
  121. package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +97 -36
  122. package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
  123. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +29 -21
  124. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
  125. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
  126. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -41
  127. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
  128. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
  129. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
  130. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
  131. package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
  132. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
  133. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
  134. package/dist/collection/components/sqm-route/sqm-route.js +2 -1
  135. package/dist/collection/components/sqm-router/sqm-router.js +2 -1
  136. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
  137. package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
  138. package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
  139. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
  140. package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
  141. package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
  142. package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
  143. package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
  144. package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
  145. package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
  146. package/dist/collection/components/sqm-text/sqm-text.js +0 -7
  147. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
  148. package/dist/collection/components/sqm-user-name/sqm-user-name.js +3 -3
  149. package/dist/collection/global/styles.js +2 -12
  150. package/dist/collection/global/styles.ts +2 -12
  151. package/dist/collection/tables/GenericTableView.js +2 -2
  152. package/dist/collection/tables/useChildElements.js +13 -4
  153. package/dist/{cjs/useValidationState-63f00763.js → esm/AsYouType-46f67d0d.js} +1 -15
  154. package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
  155. package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
  156. package/dist/esm/{ShadowViewAddon-3626a92b.js → ShadowViewAddon-c201908c.js} +56 -42
  157. package/dist/esm/{global-0842e0e4.js → global-c2d5e2fa.js} +5 -15
  158. package/dist/esm/{index.module-96470dcf.js → index.module-25496635.js} +6865 -6822
  159. package/dist/esm/loader.js +5 -6
  160. package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  161. package/dist/esm/mint-components.js +5 -6
  162. package/dist/esm/raisins-plop-target.entry.js +6 -9
  163. package/dist/esm/{re-render-f444e556.js → re-render-8ece93cd.js} +5 -5
  164. package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  165. package/dist/esm/sqm-asset-card.entry.js +7 -8
  166. package/dist/esm/sqm-big-stat_35.entry.js +214 -199
  167. package/dist/esm/sqm-empty_5.entry.js +4 -5
  168. package/dist/esm/sqm-form-message.entry.js +1 -1
  169. package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
  170. package/dist/esm/sqm-header-logo.entry.js +26 -0
  171. package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +3 -3
  172. package/dist/esm/sqm-hero.entry.js +6 -5
  173. package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
  174. package/dist/esm/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
  175. package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
  176. package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  177. package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
  178. package/dist/esm/sqm-password-field.entry.js +23 -20
  179. package/dist/esm/sqm-popup-container.entry.js +6 -7
  180. package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  181. package/dist/esm/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
  182. package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
  183. package/dist/esm/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +3 -3
  184. package/dist/esm/sqm-portal-footer.entry.js +17 -9
  185. package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
  186. package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
  187. package/dist/esm/sqm-portal-logout.entry.js +10 -8
  188. package/dist/esm/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +4 -4
  189. package/dist/esm/sqm-portal-profile.entry.js +27 -36
  190. package/dist/esm/sqm-portal-protected-route.entry.js +13 -11
  191. package/dist/esm/sqm-portal-registration-form.entry.js +137 -70
  192. package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
  193. package/dist/esm/sqm-portal-reset-password.entry.js +45 -50
  194. package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  195. package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
  196. package/dist/esm/sqm-portal-verify-email.entry.js +37 -56
  197. package/dist/esm/sqm-referral-table_11.entry.js +15 -16
  198. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
  199. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
  200. package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
  201. package/dist/esm/sqm-stencilbook.entry.js +173 -138
  202. package/dist/esm/sqm-tab.entry.js +7 -0
  203. package/dist/esm/sqm-tabs.entry.js +8 -7
  204. package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  205. package/dist/esm/sqm-text-span.entry.js +3 -4
  206. package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  207. package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
  208. package/dist/esm/useChildElements-d86f03c6.js +30 -0
  209. package/dist/esm/{useReferralTable-0a8ee3b7.js → useReferralTable-7aeb954d.js} +10 -10
  210. package/dist/esm/useRegistrationFormState-3cdf2939.js +11 -0
  211. package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
  212. package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
  213. package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
  214. package/dist/esm-es5/ShadowViewAddon-c201908c.js +1 -0
  215. package/dist/esm-es5/{global-0842e0e4.js → global-c2d5e2fa.js} +2 -2
  216. package/dist/esm-es5/index.module-25496635.js +1 -0
  217. package/dist/esm-es5/loader.js +1 -1
  218. package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
  219. package/dist/esm-es5/mint-components.js +1 -1
  220. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  221. package/dist/esm-es5/{re-render-f444e556.js → re-render-8ece93cd.js} +1 -1
  222. package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
  223. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  224. package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
  225. package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
  226. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  227. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  228. package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
  229. package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +1 -1
  230. package/dist/esm-es5/sqm-hero.entry.js +1 -1
  231. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  232. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +1 -1
  233. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  234. package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
  235. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  236. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  237. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  238. package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
  239. package/dist/esm-es5/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
  240. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  241. package/dist/esm-es5/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +1 -1
  242. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
  243. package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
  244. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  245. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  246. package/dist/esm-es5/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +1 -1
  247. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  248. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  249. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  250. package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
  251. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  252. package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
  253. package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
  254. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  255. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  256. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  257. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  258. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  259. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  260. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  261. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  262. package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
  263. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  264. package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
  265. package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
  266. package/dist/esm-es5/useChildElements-d86f03c6.js +1 -0
  267. package/dist/esm-es5/useReferralTable-7aeb954d.js +1 -0
  268. package/dist/esm-es5/useRegistrationFormState-3cdf2939.js +1 -0
  269. package/dist/mint-components/global/styles.ts +2 -12
  270. package/dist/mint-components/mint-components.esm.js +1 -1
  271. package/dist/mint-components/mint-components.js +1 -1
  272. package/dist/mint-components/p-01016d01.entry.js +1 -0
  273. package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
  274. package/dist/mint-components/{p-ea1b0e1c.js → p-0425104d.js} +2 -2
  275. package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
  276. package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
  277. package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
  278. package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
  279. package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
  280. package/dist/mint-components/p-11a4a003.system.js +1 -0
  281. package/dist/mint-components/p-121cdc60.js +1 -0
  282. package/dist/mint-components/p-1287215d.js +1 -0
  283. package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
  284. package/dist/mint-components/p-175ef60c.js +1 -0
  285. package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
  286. package/dist/mint-components/{p-958d913e.js → p-19deed13.js} +1 -1
  287. package/dist/mint-components/p-19f572c9.entry.js +1 -0
  288. package/dist/mint-components/p-1a673057.system.js +8 -0
  289. package/dist/mint-components/p-1cb7125b.entry.js +1 -0
  290. package/dist/mint-components/{p-f9056e14.system.js → p-20268b64.system.js} +1 -1
  291. package/dist/mint-components/p-23ce9541.system.entry.js +1 -0
  292. package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
  293. package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
  294. package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
  295. package/dist/mint-components/p-28b0cd34.entry.js +1 -0
  296. package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
  297. package/dist/mint-components/p-2c805081.system.js +1 -0
  298. package/dist/mint-components/p-33cf5799.entry.js +9 -0
  299. package/dist/mint-components/{p-19266514.js → p-33fe169e.js} +1 -1
  300. package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
  301. package/dist/mint-components/{p-5d80f75a.entry.js → p-3aa067f0.entry.js} +2 -2
  302. package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
  303. package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
  304. package/dist/mint-components/p-3f15986b.entry.js +1 -0
  305. package/dist/mint-components/p-40a8ea40.entry.js +1 -0
  306. package/dist/mint-components/p-41962e08.js +1 -0
  307. package/dist/mint-components/p-4352909d.js +1 -0
  308. package/dist/mint-components/p-4560faa8.entry.js +1 -0
  309. package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
  310. package/dist/mint-components/p-49c7d8f5.system.entry.js +1 -0
  311. package/dist/mint-components/p-4a2238b1.system.entry.js +1 -0
  312. package/dist/mint-components/p-4a5d61fe.entry.js +99 -0
  313. package/dist/mint-components/p-4b83d7ea.js +1 -0
  314. package/dist/mint-components/p-4cc59fed.system.entry.js +1 -0
  315. package/dist/mint-components/{p-b1441d8e.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
  316. package/dist/mint-components/p-528ce342.system.entry.js +1 -0
  317. package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
  318. package/dist/mint-components/p-54db9721.js +1 -0
  319. package/dist/mint-components/p-58c173ff.entry.js +1 -0
  320. package/dist/mint-components/p-5a78d954.system.js +1 -0
  321. package/dist/mint-components/p-5b51f97d.system.entry.js +1 -0
  322. package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
  323. package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
  324. package/dist/mint-components/p-61b954e7.entry.js +1 -0
  325. package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
  326. package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
  327. package/dist/mint-components/p-6a529e0e.entry.js +1 -0
  328. package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
  329. package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
  330. package/dist/mint-components/p-76f151b2.entry.js +1 -0
  331. package/dist/mint-components/p-783b8440.entry.js +1 -0
  332. package/dist/mint-components/p-7850a5e5.system.js +1 -0
  333. package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
  334. package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
  335. package/dist/mint-components/p-7ab63827.entry.js +1 -0
  336. package/dist/mint-components/{p-092d030a.system.js → p-7e6c6d95.system.js} +1 -1
  337. package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
  338. package/dist/mint-components/p-89c64db7.entry.js +1 -0
  339. package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
  340. package/dist/mint-components/p-8dfebcc6.js +268 -0
  341. package/dist/mint-components/{p-bd32d6f4.js → p-914511f3.js} +2 -2
  342. package/dist/mint-components/p-92110eef.entry.js +1 -0
  343. package/dist/mint-components/{p-1b962e50.system.js → p-94578d79.system.js} +1 -1
  344. package/dist/mint-components/p-95b461dd.system.entry.js +1 -0
  345. package/dist/mint-components/p-976604c2.entry.js +33 -0
  346. package/dist/mint-components/p-99397ef5.system.js +1 -0
  347. package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
  348. package/dist/mint-components/p-9d362d44.system.js +1 -0
  349. package/dist/mint-components/p-9db0c9fc.system.entry.js +1 -0
  350. package/dist/mint-components/p-9fa6c616.entry.js +1 -0
  351. package/dist/mint-components/{p-95f70cb1.js → p-a1434ef0.js} +1 -1
  352. package/dist/mint-components/p-a400c8c6.entry.js +13 -0
  353. package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
  354. package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
  355. package/dist/mint-components/p-a837750f.system.entry.js +1 -0
  356. package/dist/mint-components/p-ab5a8bf0.system.entry.js +1 -0
  357. package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
  358. package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
  359. package/dist/mint-components/p-b33e0421.system.js +1 -0
  360. package/dist/mint-components/p-bd3c2e67.system.js +1 -0
  361. package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
  362. package/dist/mint-components/p-bf17dc65.system.js +1 -0
  363. package/dist/mint-components/{p-42133e0b.entry.js → p-c83ec898.entry.js} +8 -8
  364. package/dist/mint-components/p-c869970e.system.entry.js +1 -0
  365. package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
  366. package/dist/mint-components/p-cef45012.js +1 -0
  367. package/dist/mint-components/p-d1341773.entry.js +1 -0
  368. package/dist/mint-components/{p-5a7f7362.system.js → p-d20361b8.system.js} +1 -1
  369. package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
  370. package/dist/mint-components/p-dbfb865e.js +1 -0
  371. package/dist/mint-components/p-dcf30408.entry.js +1 -0
  372. package/dist/mint-components/p-de745531.system.entry.js +1 -0
  373. package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
  374. package/dist/mint-components/p-e4d76dfb.system.entry.js +1 -0
  375. package/dist/mint-components/p-e5380001.system.entry.js +1 -0
  376. package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
  377. package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
  378. package/dist/mint-components/p-e58e454d.system.entry.js +1 -0
  379. package/dist/mint-components/p-e67fc6a5.entry.js +1 -0
  380. package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
  381. package/dist/mint-components/p-eaa9a926.entry.js +1 -0
  382. package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
  383. package/dist/mint-components/{p-b02064c4.system.js → p-fdcd2b8f.system.js} +2 -2
  384. package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
  385. package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
  386. package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
  387. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
  388. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -2
  389. package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +2 -1
  390. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
  391. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
  392. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +6 -1
  393. package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
  394. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
  395. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
  396. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
  397. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
  398. package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
  399. package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
  400. package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
  401. package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
  402. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +5 -1
  403. package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
  404. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
  405. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
  406. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
  407. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
  408. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
  409. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
  410. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
  411. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
  412. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +3 -2
  413. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
  414. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
  415. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
  416. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +12 -3
  417. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
  418. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
  419. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
  420. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +16 -26
  421. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
  422. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +7 -15
  423. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
  424. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
  425. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
  426. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +18 -16
  427. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
  428. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -2
  429. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +25 -16
  430. package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +3 -1
  431. package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
  432. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +12 -10
  433. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
  434. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
  435. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
  436. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
  437. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
  438. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
  439. package/dist/types/components/sqm-route/sqm-route.d.ts +2 -1
  440. package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
  441. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
  442. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
  443. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
  444. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  445. package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
  446. package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
  447. package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
  448. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
  449. package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
  450. package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
  451. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
  452. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
  453. package/dist/types/components.d.ts +333 -749
  454. package/dist/types/global/styles.d.ts +1 -1
  455. package/docs/docs.docx +0 -0
  456. package/docs/raisins.json +1 -1
  457. package/grapesjs/grapesjs.js +1 -1
  458. package/package.json +5 -4
  459. package/dist/cjs/extends-08099afd.js +0 -21
  460. package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
  461. package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
  462. package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
  463. package/dist/cjs/useChildElements-a7a7b921.js +0 -23
  464. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  465. package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
  466. package/dist/collection/assets/saasquatch-logo.png +0 -0
  467. package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
  468. package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
  469. package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
  470. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
  471. package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
  472. package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
  473. package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
  474. package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
  475. package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
  476. package/dist/esm/extends-c31f1eff.js +0 -19
  477. package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
  478. package/dist/esm/sqm-qa-tabs.entry.js +0 -96
  479. package/dist/esm/sqm-qa.entry.js +0 -108
  480. package/dist/esm/useChildElements-756c6a81.js +0 -21
  481. package/dist/esm-es5/ShadowViewAddon-3626a92b.js +0 -1
  482. package/dist/esm-es5/extends-c31f1eff.js +0 -1
  483. package/dist/esm-es5/index.module-96470dcf.js +0 -1
  484. package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
  485. package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
  486. package/dist/esm-es5/sqm-qa.entry.js +0 -1
  487. package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
  488. package/dist/esm-es5/useChildElements-756c6a81.js +0 -1
  489. package/dist/esm-es5/useReferralTable-0a8ee3b7.js +0 -1
  490. package/dist/esm-es5/useValidationState-adb2b066.js +0 -1
  491. package/dist/mint-components/p-0777ac5b.entry.js +0 -9
  492. package/dist/mint-components/p-09551f97.entry.js +0 -1
  493. package/dist/mint-components/p-0b7ec490.entry.js +0 -1
  494. package/dist/mint-components/p-0b838d31.entry.js +0 -1
  495. package/dist/mint-components/p-14e28fcc.entry.js +0 -1
  496. package/dist/mint-components/p-16beb451.system.entry.js +0 -1
  497. package/dist/mint-components/p-19dfb893.system.entry.js +0 -1
  498. package/dist/mint-components/p-1bd5cd35.system.entry.js +0 -1
  499. package/dist/mint-components/p-1c17892a.system.js +0 -1
  500. package/dist/mint-components/p-1ff7ee8a.entry.js +0 -1
  501. package/dist/mint-components/p-22b45a04.system.entry.js +0 -1
  502. package/dist/mint-components/p-23485cfe.system.js +0 -1
  503. package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
  504. package/dist/mint-components/p-27aac88b.system.entry.js +0 -1
  505. package/dist/mint-components/p-27ed7b95.js +0 -1
  506. package/dist/mint-components/p-2809a9c7.system.entry.js +0 -1
  507. package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
  508. package/dist/mint-components/p-2b2ed97b.entry.js +0 -1
  509. package/dist/mint-components/p-2c4da197.entry.js +0 -1
  510. package/dist/mint-components/p-2ec62a9b.system.entry.js +0 -1
  511. package/dist/mint-components/p-3364ee29.system.entry.js +0 -1
  512. package/dist/mint-components/p-33a8d572.entry.js +0 -33
  513. package/dist/mint-components/p-380c3d58.system.entry.js +0 -1
  514. package/dist/mint-components/p-3c7b3831.entry.js +0 -1
  515. package/dist/mint-components/p-42994d5d.entry.js +0 -99
  516. package/dist/mint-components/p-42d3eb3e.system.js +0 -1
  517. package/dist/mint-components/p-46ed891a.entry.js +0 -1
  518. package/dist/mint-components/p-49e61dc4.entry.js +0 -1
  519. package/dist/mint-components/p-4a0ef2d3.entry.js +0 -1
  520. package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
  521. package/dist/mint-components/p-4c93df52.entry.js +0 -1
  522. package/dist/mint-components/p-505d8965.system.entry.js +0 -1
  523. package/dist/mint-components/p-51dd860c.system.entry.js +0 -1
  524. package/dist/mint-components/p-5660e578.system.js +0 -1
  525. package/dist/mint-components/p-577299fe.system.entry.js +0 -1
  526. package/dist/mint-components/p-57b7a680.entry.js +0 -1
  527. package/dist/mint-components/p-5928afc0.js +0 -1
  528. package/dist/mint-components/p-5da081c3.entry.js +0 -1
  529. package/dist/mint-components/p-5e6890eb.system.entry.js +0 -1
  530. package/dist/mint-components/p-61eeea9e.entry.js +0 -1
  531. package/dist/mint-components/p-7dff3e29.entry.js +0 -1
  532. package/dist/mint-components/p-80981da1.entry.js +0 -1
  533. package/dist/mint-components/p-81f34787.js +0 -1
  534. package/dist/mint-components/p-8390e33e.system.entry.js +0 -1
  535. package/dist/mint-components/p-89d8133d.entry.js +0 -1
  536. package/dist/mint-components/p-8c1348dc.system.js +0 -1
  537. package/dist/mint-components/p-8dfe5873.system.entry.js +0 -1
  538. package/dist/mint-components/p-90bd03bb.entry.js +0 -1
  539. package/dist/mint-components/p-99830904.system.entry.js +0 -1
  540. package/dist/mint-components/p-9bb39058.system.entry.js +0 -1
  541. package/dist/mint-components/p-9ef39196.system.entry.js +0 -1
  542. package/dist/mint-components/p-a3f87461.entry.js +0 -1
  543. package/dist/mint-components/p-a4fa8ba2.system.js +0 -1
  544. package/dist/mint-components/p-a6291305.system.entry.js +0 -1
  545. package/dist/mint-components/p-a9d7eb10.js +0 -1
  546. package/dist/mint-components/p-b17b4a61.system.entry.js +0 -1
  547. package/dist/mint-components/p-b5bfb818.system.js +0 -1
  548. package/dist/mint-components/p-bf298e68.js +0 -1
  549. package/dist/mint-components/p-c2aecbd1.js +0 -268
  550. package/dist/mint-components/p-c2b5997d.entry.js +0 -1
  551. package/dist/mint-components/p-c88cb982.entry.js +0 -1
  552. package/dist/mint-components/p-c8e8aab7.js +0 -1
  553. package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
  554. package/dist/mint-components/p-ca2819e8.system.js +0 -1
  555. package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
  556. package/dist/mint-components/p-cdabe7a8.js +0 -1
  557. package/dist/mint-components/p-d1aef95c.entry.js +0 -1
  558. package/dist/mint-components/p-d1e6d105.system.entry.js +0 -1
  559. package/dist/mint-components/p-d5d32d0d.system.js +0 -8
  560. package/dist/mint-components/p-d5e12393.system.entry.js +0 -1
  561. package/dist/mint-components/p-d8876d3f.js +0 -1
  562. package/dist/mint-components/p-daf8de5c.entry.js +0 -1
  563. package/dist/mint-components/p-dec7a657.entry.js +0 -1
  564. package/dist/mint-components/p-e0140005.system.entry.js +0 -1
  565. package/dist/mint-components/p-e6eedd9e.js +0 -1
  566. package/dist/mint-components/p-e8acccb5.system.js +0 -1
  567. package/dist/mint-components/p-f2bd9120.system.entry.js +0 -1
  568. package/dist/mint-components/p-ffe8c6ce.system.entry.js +0 -1
  569. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
  570. package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
  571. package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
  572. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
  573. package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
  574. package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
  575. package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
  576. package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
  577. package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
  578. package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
@@ -1,14 +1,14 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
- import { j as useRef, e as useEffect, m as h$1 } from './stencil-hooks.module-66fea7dc.js';
3
- import { u as useCallback } from './use-callback-69ec5c5c.js';
4
- import { W as We, I as In, L } from './index.module-96470dcf.js';
5
- import './extends-c31f1eff.js';
2
+ import { j as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-eefa3570.js';
3
+ import { u as useCallback } from './use-callback-684c8bb7.js';
4
+ import { d as dist, q as qe, a as dn, f as fn, i as isDemo } from './index.module-25496635.js';
6
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
7
6
  import { c as cjs } from './cjs-bdfb4486.js';
8
7
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
9
- import { c as createStyleSheet } from './JSS-f00f9536.js';
10
- import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
11
- import { u as useValidationState, A as AsYouType } from './useValidationState-adb2b066.js';
8
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
+ import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
10
+ import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
+ import { u as useRegistrationFormState } from './useRegistrationFormState-3cdf2939.js';
12
12
 
13
13
  const style = {
14
14
  Wrapper: { ...AuthWrapper, "max-width": "600px" },
@@ -39,7 +39,7 @@ sqm-portal-register {
39
39
  const sheet = createStyleSheet(style);
40
40
  const styleString = sheet.toString();
41
41
  function PortalRegistrationFormView(props) {
42
- var _a, _b, _c, _d, _e, _f, _g, _h;
42
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
43
43
  const { states, refs, callbacks, content } = props;
44
44
  if (states.error) {
45
45
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
@@ -50,10 +50,11 @@ function PortalRegistrationFormView(props) {
50
50
  styleString),
51
51
  h(TextSpanView, { type: "h3" }, content.pageLabel),
52
52
  h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
53
- states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
54
- h("div", { part: "erroralert-text" }, props.states.error))),
53
+ ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.disabled) ? (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
54
+ h("div", { part: "erroralert-text" }, states.registrationFormState.disabledMessage))) : (states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
55
+ h("div", { part: "erroralert-text" }, props.states.error)))),
55
56
  content.formData,
56
- !states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
57
+ !states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
57
58
  if (!value) {
58
59
  return "Cannot be empty";
59
60
  }
@@ -61,32 +62,76 @@ function PortalRegistrationFormView(props) {
61
62
  if (!value.includes("@")) {
62
63
  return "Must be a valid email address";
63
64
  }
64
- } }, (((_b = (_a = states.validationState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
65
+ } }, (((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.initialData) === null || _d === void 0 ? void 0 : _d.email) ? {
66
+ value: (_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.initialData) === null || _f === void 0 ? void 0 : _f.email,
67
+ }
68
+ : {}), (((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.email) ? {
65
69
  class: sheet.classes.ErrorStyle,
66
- helpText: ((_d = (_c = states.validationState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
70
+ helpText: ((_k = (_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.validationErrors) === null || _k === void 0 ? void 0 : _k.email) ||
67
71
  "Cannot be empty",
68
72
  }
69
73
  : [])))),
70
- !states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "enable-validation": states.enablePasswordValidation })),
74
+ !states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation })),
71
75
  content.passwordField,
72
- !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
76
+ !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_m = (_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.initialData) === null || _m === void 0 ? void 0 : _m.confirmPassword) ? {
77
+ value: (_p = (_o = states.registrationFormState) === null || _o === void 0 ? void 0 : _o.initialData) === null || _p === void 0 ? void 0 : _p.confirmPassword,
78
+ }
79
+ : {}), (((_r = (_q = states.registrationFormState) === null || _q === void 0 ? void 0 : _q.validationErrors) === null || _r === void 0 ? void 0 : _r.confirmPassword) ? {
73
80
  class: sheet.classes.ErrorStyle,
74
- helpText: ((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) ||
75
- "Cannot be empty",
81
+ helpText: ((_t = (_s = states.registrationFormState) === null || _s === void 0 ? void 0 : _s.validationErrors) === null || _t === void 0 ? void 0 : _t.confirmPassword) || "Cannot be empty",
76
82
  }
77
83
  : [])))),
78
84
  content.terms,
79
85
  h("div", { class: sheet.classes.ButtonsContainer },
80
- h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
86
+ h("sl-button", { submit: true, loading: states.loading, disabled: (_u = states.registrationFormState) === null || _u === void 0 ? void 0 : _u.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
81
87
  content.secondaryButton))));
82
88
  }
83
89
 
90
+ const RegistrationFormQuery = dist.gql `
91
+ query RegistrationFormQuery($key: String!) {
92
+ form(key: $key) {
93
+ key
94
+ type
95
+ initialData {
96
+ initialData
97
+ isEnabled
98
+ isEnabledErrorMessage
99
+ }
100
+ }
101
+ }
102
+ `;
84
103
  function usePortalRegistrationForm(props) {
85
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
104
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
86
105
  const formRef = useRef(null);
87
- const { validationState, setValidationState } = useValidationState({});
88
- const [request, { loading, errors, data, formError }] = We();
106
+ const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
107
+ const [request, { loading, errors, data, formError }] = qe();
108
+ const queryResponse = dn(RegistrationFormQuery, { key: props.formKey });
109
+ const formLoading = loading || queryResponse.loading;
110
+ useEffect(() => {
111
+ var _a, _b, _c;
112
+ const initialData = (_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData.initialData;
113
+ const disabled = ((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false;
114
+ const disabledMessage = ((_c = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _c === void 0 ? void 0 : _c.form.initialData.isEnabledErrorMessage) ||
115
+ "The registration form is currently disabled.";
116
+ const formState = {
117
+ loading: formLoading,
118
+ disabled,
119
+ disabledMessage,
120
+ initialData,
121
+ };
122
+ setRegistrationFormState(formState);
123
+ }, [(_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData]);
124
+ useEffect(() => {
125
+ if (!formRef.current)
126
+ return;
127
+ const form = formRef.current;
128
+ form.addEventListener("sl-input", inputFunction);
129
+ return () => {
130
+ form.removeEventListener("sl-input", inputFunction);
131
+ };
132
+ }, [formRef.current]);
89
133
  const submit = async (event) => {
134
+ var _a;
90
135
  let formControls = event.target.getFormControls();
91
136
  let formData = {};
92
137
  let validationErrors = {};
@@ -95,6 +140,7 @@ function usePortalRegistrationForm(props) {
95
140
  return;
96
141
  const key = control.name;
97
142
  const value = control.value;
143
+ // control.value = initialData[key] || control.value;
98
144
  jsonpointer.set(formData, key, value);
99
145
  // required validation
100
146
  if (control.required && !value) {
@@ -115,28 +161,61 @@ function usePortalRegistrationForm(props) {
115
161
  confirmPassword: "Passwords do not match.",
116
162
  };
117
163
  }
118
- setValidationState({ error: "", validationErrors });
119
164
  if (Object.keys(validationErrors).length) {
120
165
  // early return for validation errors
166
+ setRegistrationFormState({
167
+ ...registrationFormState,
168
+ loading: false,
169
+ error: "",
170
+ validationErrors,
171
+ });
121
172
  return;
122
173
  }
174
+ setRegistrationFormState({
175
+ ...registrationFormState,
176
+ loading: true,
177
+ error: "",
178
+ validationErrors: {},
179
+ });
123
180
  const { email, password } = formData;
124
181
  delete formData.email;
125
182
  delete formData.password;
126
183
  delete formData.confirmPassword;
127
- formData = { ...formData };
128
184
  const redirectPath = props.redirectPath;
129
185
  const variables = {
130
- email,
131
- password,
132
- formData,
133
- redirectPath,
186
+ key: props.formKey,
187
+ formData: {
188
+ email,
189
+ password,
190
+ redirectPath,
191
+ ...formData,
192
+ },
134
193
  };
135
194
  try {
136
- await request(variables);
195
+ const result = await request(variables);
196
+ if (result instanceof Error) {
197
+ throw result;
198
+ }
199
+ setRegistrationFormState({
200
+ ...registrationFormState,
201
+ loading: false,
202
+ error: "",
203
+ validationErrors: {},
204
+ });
205
+ const managedIdentityResponse = (_a = result.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
206
+ if (managedIdentityResponse &&
207
+ managedIdentityResponse.result.results.length &&
208
+ managedIdentityResponse.result.results[0].success &&
209
+ managedIdentityResponse.result.results[0].data.token) {
210
+ fn.push(props.nextPage);
211
+ }
137
212
  }
138
213
  catch (error) {
139
- setValidationState({ error: "Network request failed." });
214
+ setRegistrationFormState({
215
+ ...registrationFormState,
216
+ loading: false,
217
+ error: "Network request failed.",
218
+ });
140
219
  }
141
220
  };
142
221
  const inputFunction = useCallback((e) => {
@@ -147,44 +226,31 @@ function usePortalRegistrationForm(props) {
147
226
  const asYouType = new AsYouType("US");
148
227
  e.target.value = asYouType.input(e.target.value);
149
228
  }, []);
150
- useEffect(() => {
151
- var _a;
152
- const managedIdentityResponse = (_a = data === null || data === void 0 ? void 0 : data.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
153
- if (managedIdentityResponse &&
154
- managedIdentityResponse.result.results.length &&
155
- managedIdentityResponse.result.results[0].success &&
156
- managedIdentityResponse.result.results[0].data.token) {
157
- In.push(props.nextPage);
158
- }
159
- }, [data === null || data === void 0 ? void 0 : data.submitForm]);
160
- useEffect(() => {
161
- if (!formRef.current)
162
- return;
163
- const form = formRef.current;
164
- form.addEventListener("sl-input", inputFunction);
165
- return () => {
166
- form.removeEventListener("sl-input", inputFunction);
167
- };
168
- }, [formRef.current]);
169
229
  let errorMessage = "";
170
- if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
230
+ if (((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false) {
231
+ errorMessage =
232
+ ((_c = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _c === void 0 ? void 0 : _c.form.initialData.isEnabledErrorMessage) ||
233
+ "The registration form is disabled";
234
+ }
235
+ else if ((_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d["error"]) {
171
236
  errorMessage = "Network request failed";
172
237
  }
173
- else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
238
+ else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors.length)) {
174
239
  errorMessage = "Network request failed";
175
240
  }
176
241
  else {
177
242
  errorMessage =
178
- formError || ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
243
+ formError || ((_j = (_h = (_g = (_f = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || ((_o = (_m = (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.response) === null || _k === void 0 ? void 0 : _k.errors) === null || _l === void 0 ? void 0 : _l[0]) === null || _m === void 0 ? void 0 : _m.extensions) === null || _o === void 0 ? void 0 : _o.message) || ((_r = (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.response) === null || _p === void 0 ? void 0 : _p.errors) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
179
244
  }
180
245
  return {
181
246
  states: {
182
- loading,
247
+ loading: loading || queryResponse.loading,
183
248
  error: errorMessage,
184
- validationState,
249
+ registrationFormState,
185
250
  confirmPassword: props.confirmPassword,
186
251
  hideInputs: props.hideInputs,
187
252
  loginPath: props.loginPath,
253
+ enablePasswordValidation: !props.disablePasswordValidation,
188
254
  },
189
255
  callbacks: {
190
256
  submit,
@@ -201,23 +267,25 @@ const PortalRegistrationForm = class {
201
267
  registerInstance(this, hostRef);
202
268
  this.ignored = true;
203
269
  /**
204
- * Page navigated to after registration
270
+ * Page participants are navigated to after registration.
205
271
  *
206
- * @uiName Next Page
272
+ * @uiName Registration Redirect Path
273
+ * @uiWidget pageSelect
207
274
  */
208
275
  this.nextPage = "/";
209
276
  /**
210
- * The page that users are redirected to from the verification email.
277
+ * The page that participants are redirected to from the verification email.
211
278
  *
212
- * @uiName Email Redirection Base Path
279
+ * @uiName Email Redirection Path
280
+ * @uiWidget pageSelect
213
281
  */
214
282
  this.redirectPath = "/verifyEmail";
215
283
  /**
216
- * @uiName Email Label
284
+ * @uiName Email Field Label
217
285
  */
218
286
  this.emailLabel = "Email";
219
287
  /**
220
- * @uiName Password Label
288
+ * @uiName Password Field Label
221
289
  */
222
290
  this.passwordLabel = "Password";
223
291
  /**
@@ -233,43 +301,42 @@ const PortalRegistrationForm = class {
233
301
  */
234
302
  this.confirmPasswordLabel = "Confirm Password";
235
303
  /**
236
- * Show or hide the confirm password input
304
+ * Show or hide the confirm password input.
237
305
  *
238
306
  * @uiName Show Confirm Password Field
239
- * @default
240
307
  */
241
308
  this.confirmPassword = false;
242
309
  /**
243
- * @uiName Enable Password Validation
310
+ * @uiName Disable Password Validation
244
311
  */
245
- this.enablePasswordValidation = true;
312
+ this.disablePasswordValidation = false;
246
313
  /**
247
- * Hide default input fields to use custom fields
314
+ * Hide default input fields to use custom fields.
248
315
  *
249
316
  * @uiName Hide Default Inputs
250
- * @default
251
317
  */
252
318
  this.hideInputs = false;
253
319
  /**
254
- * @uiName Heading Label
320
+ * @uiName Header Text
255
321
  */
256
322
  this.pageLabel = "Register";
257
323
  /**
258
- * Login button redirection path
324
+ * Login button redirection path.
259
325
  *
260
- * @uiName Login Path
326
+ * @uiName Login Redirect Path
327
+ * @uiWidget pageSelect
261
328
  */
262
329
  this.loginPath = "/login";
263
330
  h$1(this);
264
331
  }
265
332
  disconnectedCallback() { }
266
333
  render() {
267
- const { states, callbacks, refs } = L()
334
+ const { states, callbacks, refs } = isDemo()
268
335
  ? useRegisterDemo(this)
269
336
  : usePortalRegistrationForm(this);
270
337
  const content = {
271
338
  formData: h("slot", { name: "formData" }),
272
- secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => In.push(states.loginPath) }, this.loginLabel))),
339
+ secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => fn.push(states.loginPath) }, this.loginLabel))),
273
340
  terms: h("slot", { name: "terms" }),
274
341
  emailLabel: this.emailLabel,
275
342
  passwordLabel: this.passwordLabel,
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
3
- import { c as createStyleSheet } from './JSS-f00f9536.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
3
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
5
5
 
6
6
  const style = {
7
7
  Wrapper: AuthWrapper,
@@ -1,26 +1,34 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { i as useState, e as useEffect, m as h } from './stencil-hooks.module-66fea7dc.js';
3
- import './use-callback-69ec5c5c.js';
4
- import { K as Ke, G as Ge, I as In, L } from './index.module-96470dcf.js';
5
- import './extends-c31f1eff.js';
2
+ import { i as useState, f as useEffect, m as h } from './stencil-hooks.module-eefa3570.js';
3
+ import './use-callback-684c8bb7.js';
4
+ import { e as Ne, W as We, f as fn, i as isDemo } from './index.module-25496635.js';
6
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
7
6
  import { c as cjs } from './cjs-bdfb4486.js';
8
7
  import './mixins-f60a614c.js';
9
- import './JSS-f00f9536.js';
8
+ import './JSS-67b5cff8.js';
10
9
  import { s as sanitizeUrlPath } from './utils-334c1e34.js';
11
- import './sqm-text-span-view-0ba1484d.js';
12
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-213b3af6.js';
10
+ import './sqm-text-span-view-8b194920.js';
11
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-06f6ffac.js';
13
12
 
14
13
  function usePortalResetPassword(props) {
15
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
16
15
  const [reset, setReset] = useState(false);
17
16
  const [error, setError] = useState("");
18
- const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Ke();
19
- const [resetPassword, resetPasswordState] = Ge();
20
- const urlParams = new URLSearchParams(window.location.search);
17
+ const [verifyPasswordResetCode, verifyPasswordResetCodeState] = Ne();
18
+ const [resetPassword, resetPasswordState] = We();
19
+ const urlParams = new URLSearchParams(fn.location.search);
21
20
  const oobCode = urlParams.get("oobCode");
22
21
  urlParams.delete("oobCode");
23
22
  const nextPageOverride = urlParams.get("nextPage");
23
+ const verifyPasswordResetCodeAndHandleResponse = async () => {
24
+ const result = await verifyPasswordResetCode({ oobCode });
25
+ if (result instanceof Error) {
26
+ setError("Network request failed.");
27
+ }
28
+ };
29
+ useEffect(() => {
30
+ verifyPasswordResetCodeAndHandleResponse();
31
+ }, []);
24
32
  const submit = async (event) => {
25
33
  setError("");
26
34
  let formData = event.detail.formData;
@@ -32,52 +40,37 @@ function usePortalResetPassword(props) {
32
40
  setError("Passwords do not match.");
33
41
  return;
34
42
  }
35
- await resetPassword(variables);
43
+ const result = await resetPassword(variables);
44
+ if (result instanceof Error) {
45
+ return setError("Network request failed.");
46
+ }
47
+ if (result.resetManagedIdentityPassword) {
48
+ setReset(true);
49
+ setTimeout(() => {
50
+ gotoNextPage();
51
+ }, 5000);
52
+ }
36
53
  };
37
54
  const gotoNextPage = () => {
38
55
  urlParams.delete("nextPage");
39
56
  const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
40
- In.push(url.href);
57
+ fn.push(url.href);
41
58
  };
42
59
  const failed = () => {
43
- In.push({
60
+ fn.push({
44
61
  pathname: props.failedPage,
45
62
  search: urlParams.toString() && "?" + urlParams.toString(),
46
63
  });
47
64
  };
48
- useEffect(() => {
49
- var _a;
50
- if ((_a = resetPasswordState.data) === null || _a === void 0 ? void 0 : _a.resetManagedIdentityPassword) {
51
- setReset(true);
52
- setTimeout(() => {
53
- gotoNextPage();
54
- }, 5000);
55
- }
56
- }, [(_a = resetPasswordState.data) === null || _a === void 0 ? void 0 : _a.resetManagedIdentityPassword]);
57
- useEffect(() => {
58
- verifyPasswordResetCode({ oobCode });
59
- }, [oobCode]);
60
- useEffect(() => {
61
- var _a;
62
- if ((_a = verifyPasswordResetCodeState === null || verifyPasswordResetCodeState === void 0 ? void 0 : verifyPasswordResetCodeState.errors) === null || _a === void 0 ? void 0 : _a.message) {
63
- setError("Network request failed.");
64
- }
65
- }, [verifyPasswordResetCodeState === null || verifyPasswordResetCodeState === void 0 ? void 0 : verifyPasswordResetCodeState.errors]);
66
- useEffect(() => {
67
- var _a;
68
- if ((_a = resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.message) {
69
- setError("Network request failed.");
70
- }
71
- }, [resetPasswordState === null || resetPasswordState === void 0 ? void 0 : resetPasswordState.errors]);
72
65
  return {
73
66
  states: {
74
67
  loading: resetPasswordState.loading,
75
68
  reset,
76
69
  confirmPassword: props.confirmPassword,
77
- error: ((_f = (_e = (_d = (_c = (_b = resetPasswordState.errors) === null || _b === void 0 ? void 0 : _b.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_k = (_j = (_h = (_g = resetPasswordState.errors) === null || _g === void 0 ? void 0 : _g.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) ||
70
+ error: ((_e = (_d = (_c = (_b = (_a = resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_j = (_h = (_g = (_f = resetPasswordState.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) ||
78
71
  error,
79
72
  oobCodeValidating: verifyPasswordResetCodeState.loading,
80
- oobCodeValid: (_l = verifyPasswordResetCodeState.data) === null || _l === void 0 ? void 0 : _l.verifyManagedIdentityPasswordResetCode.success,
73
+ oobCodeValid: (_k = verifyPasswordResetCodeState.data) === null || _k === void 0 ? void 0 : _k.verifyManagedIdentityPasswordResetCode.success,
81
74
  content: {
82
75
  passwordResetHeader: props.passwordResetHeader,
83
76
  resetPasswordHeader: props.resetPasswordHeader,
@@ -96,22 +89,23 @@ const PortalResetPassword = class {
96
89
  registerInstance(this, hostRef);
97
90
  this.ignored = true;
98
91
  /**
99
- * The page that users are redirected to when the password reset succeeds.
92
+ * The page that participants are redirected to when the password reset succeeds.
100
93
  *
101
- * @uiName Next Page Path
94
+ * @uiName Reset Successful Redirect Path
95
+ * @uiWidget pageSelect
102
96
  */
103
97
  this.nextPage = "/";
104
98
  /**
105
- * The page that users are redirected to if the reset fails due to outdated password reset attempt.
99
+ * The page that participants are redirected to if the reset fails due to outdated password reset attempt.
106
100
  *
107
- * @uiName Failed Page Path
101
+ * @uiName Reset Failed Redirect Path
102
+ * @uiWidget pageSelect
108
103
  */
109
104
  this.failedPage = "/";
110
105
  /**
111
- * Show or hide confirm password field
106
+ * Show or hide confirm password field.
112
107
  *
113
108
  * @uiName Show Confirm Password
114
- * @default
115
109
  */
116
110
  this.confirmPassword = false;
117
111
  /**
@@ -119,9 +113,10 @@ const PortalResetPassword = class {
119
113
  */
120
114
  this.resetPasswordHeader = "Reset your password";
121
115
  /**
122
- * Displayed after a successful password reset
116
+ * Displayed after a successful password reset.
123
117
  *
124
118
  * @uiName Successful Password Reset Text
119
+ * @uiWidget textArea
125
120
  */
126
121
  this.passwordResetHeader = "Password reset";
127
122
  /**
@@ -129,13 +124,13 @@ const PortalResetPassword = class {
129
124
  */
130
125
  this.resetPasswordButtonText = "Reset Password";
131
126
  /**
132
- * Button text displayed after a successful password reset
127
+ * Button text displayed after a successful password reset.
133
128
  *
134
129
  * @uiName Continue Button Text
135
130
  */
136
131
  this.continueButtonText = "Continue";
137
132
  /**
138
- * @uiName Confirm Password Label
133
+ * @uiName Password Comfirmation Label
139
134
  */
140
135
  this.confirmPasswordFieldLabel = "Confirm Password";
141
136
  /**
@@ -146,7 +141,7 @@ const PortalResetPassword = class {
146
141
  }
147
142
  disconnectedCallback() { }
148
143
  render() {
149
- const { states, callbacks } = L()
144
+ const { states, callbacks } = isDemo()
150
145
  ? usePortalResetPasswordDemo(this)
151
146
  : usePortalResetPassword(this);
152
147
  return h$1(PortalResetPasswordView, { states: states, callbacks: callbacks });
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { c as createStyleSheet } from './JSS-f00f9536.js';
2
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
3
3
 
4
4
  function PortalSectionView(props) {
5
5
  // Due to sole usage of props, not feasiable to move out of render function
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-17b4da69.js';
2
2
  import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
3
- import { c as createStyleSheet } from './JSS-f00f9536.js';
4
- import { T as TextSpanView } from './sqm-text-span-view-0ba1484d.js';
3
+ import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
+ import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
5
5
 
6
6
  const style = {
7
7
  Wrapper: AuthWrapper,