@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.
- package/dist/{esm/useValidationState-adb2b066.js → cjs/AsYouType-6788393a.js} +2 -10
- package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
- package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-aa14c0c4.js → ShadowViewAddon-4b75a331.js} +56 -42
- package/dist/cjs/{global-5e3deef1.js → global-b645d18a.js} +5 -15
- package/dist/cjs/{index.module-ffe1aa35.js → index.module-93c78ac7.js} +6884 -6841
- package/dist/cjs/loader.cjs.js +5 -6
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -6
- package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
- package/dist/cjs/{re-render-8fee17a9.js → re-render-afeabe91.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +215 -200
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.js} +3 -3
- package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9820193d.js → sqm-navigation-sidebar-item-view-2eda59bf.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-57fbd19b.js → sqm-portal-email-verification-view-b280d0b0.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-eb757378.js → sqm-portal-footer-view-6b0660cf.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-profile-view-7cb535a8.js → sqm-portal-profile-view-e615e2b2.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +27 -36
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -11
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +138 -71
- package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +45 -50
- package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -56
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -21
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +173 -138
- package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-b318af73.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/useChildElements-c0cc8f5d.js +32 -0
- package/dist/cjs/{useReferralTable-7e18f12e.js → useReferralTable-db1b33db.js} +10 -10
- package/dist/cjs/useRegistrationFormState-bee054d6.js +14 -0
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
- package/dist/collection/components/sqm-brand/sqm-brand.js +7 -1
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +13 -7
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +3 -3
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +10 -3
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-image/sqm-image.js +1 -1
- package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +9 -3
- package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
- package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
- package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +19 -13
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +43 -7
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +0 -4
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +56 -54
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +27 -35
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +45 -39
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +1 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +17 -11
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +66 -38
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +97 -36
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +29 -21
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +21 -41
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +2 -2
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +2 -1
- package/dist/collection/components/sqm-router/sqm-router.js +2 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
- package/dist/collection/components/sqm-text/sqm-text.js +0 -7
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +3 -3
- package/dist/collection/global/styles.js +2 -12
- package/dist/collection/global/styles.ts +2 -12
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/{cjs/useValidationState-63f00763.js → esm/AsYouType-46f67d0d.js} +1 -15
- package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
- package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
- package/dist/esm/{ShadowViewAddon-3626a92b.js → ShadowViewAddon-c201908c.js} +56 -42
- package/dist/esm/{global-0842e0e4.js → global-c2d5e2fa.js} +5 -15
- package/dist/esm/{index.module-96470dcf.js → index.module-25496635.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/raisins-plop-target.entry.js +6 -9
- package/dist/esm/{re-render-f444e556.js → re-render-8ece93cd.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +7 -8
- package/dist/esm/sqm-big-stat_35.entry.js +214 -199
- package/dist/esm/sqm-empty_5.entry.js +4 -5
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +3 -3
- package/dist/esm/sqm-hero.entry.js +6 -5
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
- package/dist/esm/sqm-password-field.entry.js +23 -20
- package/dist/esm/sqm-popup-container.entry.js +6 -7
- package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +17 -9
- package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
- package/dist/esm/sqm-portal-logout.entry.js +10 -8
- package/dist/esm/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +27 -36
- package/dist/esm/sqm-portal-protected-route.entry.js +13 -11
- package/dist/esm/sqm-portal-registration-form.entry.js +137 -70
- package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +45 -50
- package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +37 -56
- package/dist/esm/sqm-referral-table_11.entry.js +15 -16
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +26 -21
- package/dist/esm/sqm-stencilbook.entry.js +173 -138
- package/dist/esm/sqm-tab.entry.js +7 -0
- package/dist/esm/sqm-tabs.entry.js +8 -7
- package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/useChildElements-d86f03c6.js +30 -0
- package/dist/esm/{useReferralTable-0a8ee3b7.js → useReferralTable-7aeb954d.js} +10 -10
- package/dist/esm/useRegistrationFormState-3cdf2939.js +11 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
- package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-c201908c.js +1 -0
- package/dist/esm-es5/{global-0842e0e4.js → global-c2d5e2fa.js} +2 -2
- package/dist/esm-es5/index.module-25496635.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-f444e556.js → re-render-8ece93cd.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-fb10e0c2.js → sqm-navigation-sidebar-item-view-24d5f092.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-f6daf315.js → sqm-portal-email-verification-view-4fa01d0a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-42db3277.js → sqm-portal-footer-view-b68f250d.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-dd2774b2.js → sqm-portal-profile-view-ec58906b.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-d86f03c6.js +1 -0
- package/dist/esm-es5/useReferralTable-7aeb954d.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-3cdf2939.js +1 -0
- package/dist/mint-components/global/styles.ts +2 -12
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-01016d01.entry.js +1 -0
- package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
- package/dist/mint-components/{p-ea1b0e1c.js → p-0425104d.js} +2 -2
- package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-0c98df9a.system.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/p-0f3c6e11.entry.js +1 -0
- package/dist/mint-components/p-11a4a003.system.js +1 -0
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/p-1287215d.js +1 -0
- package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/p-175ef60c.js +1 -0
- package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/{p-958d913e.js → p-19deed13.js} +1 -1
- package/dist/mint-components/p-19f572c9.entry.js +1 -0
- package/dist/mint-components/p-1a673057.system.js +8 -0
- package/dist/mint-components/p-1cb7125b.entry.js +1 -0
- package/dist/mint-components/{p-f9056e14.system.js → p-20268b64.system.js} +1 -1
- package/dist/mint-components/p-23ce9541.system.entry.js +1 -0
- package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
- package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
- package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
- package/dist/mint-components/p-28b0cd34.entry.js +1 -0
- package/dist/mint-components/p-29c42c90.system.entry.js +1 -0
- package/dist/mint-components/p-2c805081.system.js +1 -0
- package/dist/mint-components/p-33cf5799.entry.js +9 -0
- package/dist/mint-components/{p-19266514.js → p-33fe169e.js} +1 -1
- package/dist/mint-components/p-369d00f3.system.entry.js +1 -0
- package/dist/mint-components/{p-5d80f75a.entry.js → p-3aa067f0.entry.js} +2 -2
- package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
- package/dist/mint-components/p-3f15986b.entry.js +1 -0
- package/dist/mint-components/p-40a8ea40.entry.js +1 -0
- package/dist/mint-components/p-41962e08.js +1 -0
- package/dist/mint-components/p-4352909d.js +1 -0
- package/dist/mint-components/p-4560faa8.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/p-49c7d8f5.system.entry.js +1 -0
- package/dist/mint-components/p-4a2238b1.system.entry.js +1 -0
- package/dist/mint-components/p-4a5d61fe.entry.js +99 -0
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/p-4cc59fed.system.entry.js +1 -0
- package/dist/mint-components/{p-b1441d8e.system.entry.js → p-4d4e5ac4.system.entry.js} +1 -1
- package/dist/mint-components/p-528ce342.system.entry.js +1 -0
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-54db9721.js +1 -0
- package/dist/mint-components/p-58c173ff.entry.js +1 -0
- package/dist/mint-components/p-5a78d954.system.js +1 -0
- package/dist/mint-components/p-5b51f97d.system.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5effdc5e.system.entry.js +1 -0
- package/dist/mint-components/p-61b954e7.entry.js +1 -0
- package/dist/mint-components/p-674c9b4b.system.entry.js +1 -0
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6a529e0e.entry.js +1 -0
- package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/p-76f151b2.entry.js +1 -0
- package/dist/mint-components/p-783b8440.entry.js +1 -0
- package/dist/mint-components/p-7850a5e5.system.js +1 -0
- package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/p-7aa067b0.system.entry.js +1 -0
- package/dist/mint-components/p-7ab63827.entry.js +1 -0
- package/dist/mint-components/{p-092d030a.system.js → p-7e6c6d95.system.js} +1 -1
- package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/p-89c64db7.entry.js +1 -0
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8dfebcc6.js +268 -0
- package/dist/mint-components/{p-bd32d6f4.js → p-914511f3.js} +2 -2
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/{p-1b962e50.system.js → p-94578d79.system.js} +1 -1
- package/dist/mint-components/p-95b461dd.system.entry.js +1 -0
- package/dist/mint-components/p-976604c2.entry.js +33 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9a87d5ae.system.entry.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/p-9db0c9fc.system.entry.js +1 -0
- package/dist/mint-components/p-9fa6c616.entry.js +1 -0
- package/dist/mint-components/{p-95f70cb1.js → p-a1434ef0.js} +1 -1
- package/dist/mint-components/p-a400c8c6.entry.js +13 -0
- package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
- package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/p-a837750f.system.entry.js +1 -0
- package/dist/mint-components/p-ab5a8bf0.system.entry.js +1 -0
- package/dist/mint-components/p-aefc2633.system.entry.js +1 -0
- package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/p-b33e0421.system.js +1 -0
- package/dist/mint-components/p-bd3c2e67.system.js +1 -0
- package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-bf17dc65.system.js +1 -0
- package/dist/mint-components/{p-42133e0b.entry.js → p-c83ec898.entry.js} +8 -8
- package/dist/mint-components/p-c869970e.system.entry.js +1 -0
- package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
- package/dist/mint-components/p-cef45012.js +1 -0
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-5a7f7362.system.js → p-d20361b8.system.js} +1 -1
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-dcf30408.entry.js +1 -0
- package/dist/mint-components/p-de745531.system.entry.js +1 -0
- package/dist/mint-components/p-e0de4ac3.entry.js +1 -0
- package/dist/mint-components/p-e4d76dfb.system.entry.js +1 -0
- package/dist/mint-components/p-e5380001.system.entry.js +1 -0
- package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/p-e58df0ff.system.entry.js +1 -0
- package/dist/mint-components/p-e58e454d.system.entry.js +1 -0
- package/dist/mint-components/p-e67fc6a5.entry.js +1 -0
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-eaa9a926.entry.js +1 -0
- package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/{p-b02064c4.system.js → p-fdcd2b8f.system.js} +2 -2
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +6 -2
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +2 -1
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +6 -1
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +5 -1
- package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +3 -2
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +2 -2
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +12 -3
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +16 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +7 -15
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +18 -16
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -2
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +25 -16
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +3 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +12 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +2 -2
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +3 -3
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
- package/dist/types/components/sqm-route/sqm-route.d.ts +2 -1
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
- package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -3
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +2 -2
- package/dist/types/components.d.ts +333 -749
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +5 -4
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
- package/dist/cjs/sqm-qa.cjs.entry.js +0 -112
- package/dist/cjs/useChildElements-a7a7b921.js +0 -23
- package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
- package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
- package/dist/collection/assets/saasquatch-logo.png +0 -0
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
- package/dist/esm/sqm-qa-tabs.entry.js +0 -96
- package/dist/esm/sqm-qa.entry.js +0 -108
- package/dist/esm/useChildElements-756c6a81.js +0 -21
- package/dist/esm-es5/ShadowViewAddon-3626a92b.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-96470dcf.js +0 -1
- package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
- package/dist/esm-es5/sqm-qa.entry.js +0 -1
- package/dist/esm-es5/use-callback-69ec5c5c.js +0 -1
- package/dist/esm-es5/useChildElements-756c6a81.js +0 -1
- package/dist/esm-es5/useReferralTable-0a8ee3b7.js +0 -1
- package/dist/esm-es5/useValidationState-adb2b066.js +0 -1
- package/dist/mint-components/p-0777ac5b.entry.js +0 -9
- package/dist/mint-components/p-09551f97.entry.js +0 -1
- package/dist/mint-components/p-0b7ec490.entry.js +0 -1
- package/dist/mint-components/p-0b838d31.entry.js +0 -1
- package/dist/mint-components/p-14e28fcc.entry.js +0 -1
- package/dist/mint-components/p-16beb451.system.entry.js +0 -1
- package/dist/mint-components/p-19dfb893.system.entry.js +0 -1
- package/dist/mint-components/p-1bd5cd35.system.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1ff7ee8a.entry.js +0 -1
- package/dist/mint-components/p-22b45a04.system.entry.js +0 -1
- package/dist/mint-components/p-23485cfe.system.js +0 -1
- package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
- package/dist/mint-components/p-27aac88b.system.entry.js +0 -1
- package/dist/mint-components/p-27ed7b95.js +0 -1
- package/dist/mint-components/p-2809a9c7.system.entry.js +0 -1
- package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
- package/dist/mint-components/p-2b2ed97b.entry.js +0 -1
- package/dist/mint-components/p-2c4da197.entry.js +0 -1
- package/dist/mint-components/p-2ec62a9b.system.entry.js +0 -1
- package/dist/mint-components/p-3364ee29.system.entry.js +0 -1
- package/dist/mint-components/p-33a8d572.entry.js +0 -33
- package/dist/mint-components/p-380c3d58.system.entry.js +0 -1
- package/dist/mint-components/p-3c7b3831.entry.js +0 -1
- package/dist/mint-components/p-42994d5d.entry.js +0 -99
- package/dist/mint-components/p-42d3eb3e.system.js +0 -1
- package/dist/mint-components/p-46ed891a.entry.js +0 -1
- package/dist/mint-components/p-49e61dc4.entry.js +0 -1
- package/dist/mint-components/p-4a0ef2d3.entry.js +0 -1
- package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
- package/dist/mint-components/p-4c93df52.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-51dd860c.system.entry.js +0 -1
- package/dist/mint-components/p-5660e578.system.js +0 -1
- package/dist/mint-components/p-577299fe.system.entry.js +0 -1
- package/dist/mint-components/p-57b7a680.entry.js +0 -1
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-5da081c3.entry.js +0 -1
- package/dist/mint-components/p-5e6890eb.system.entry.js +0 -1
- package/dist/mint-components/p-61eeea9e.entry.js +0 -1
- package/dist/mint-components/p-7dff3e29.entry.js +0 -1
- package/dist/mint-components/p-80981da1.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-8390e33e.system.entry.js +0 -1
- package/dist/mint-components/p-89d8133d.entry.js +0 -1
- package/dist/mint-components/p-8c1348dc.system.js +0 -1
- package/dist/mint-components/p-8dfe5873.system.entry.js +0 -1
- package/dist/mint-components/p-90bd03bb.entry.js +0 -1
- package/dist/mint-components/p-99830904.system.entry.js +0 -1
- package/dist/mint-components/p-9bb39058.system.entry.js +0 -1
- package/dist/mint-components/p-9ef39196.system.entry.js +0 -1
- package/dist/mint-components/p-a3f87461.entry.js +0 -1
- package/dist/mint-components/p-a4fa8ba2.system.js +0 -1
- package/dist/mint-components/p-a6291305.system.entry.js +0 -1
- package/dist/mint-components/p-a9d7eb10.js +0 -1
- package/dist/mint-components/p-b17b4a61.system.entry.js +0 -1
- package/dist/mint-components/p-b5bfb818.system.js +0 -1
- package/dist/mint-components/p-bf298e68.js +0 -1
- package/dist/mint-components/p-c2aecbd1.js +0 -268
- package/dist/mint-components/p-c2b5997d.entry.js +0 -1
- package/dist/mint-components/p-c88cb982.entry.js +0 -1
- package/dist/mint-components/p-c8e8aab7.js +0 -1
- package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
- package/dist/mint-components/p-ca2819e8.system.js +0 -1
- package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-d1aef95c.entry.js +0 -1
- package/dist/mint-components/p-d1e6d105.system.entry.js +0 -1
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d5e12393.system.entry.js +0 -1
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-daf8de5c.entry.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-e6eedd9e.js +0 -1
- package/dist/mint-components/p-e8acccb5.system.js +0 -1
- package/dist/mint-components/p-f2bd9120.system.entry.js +0 -1
- package/dist/mint-components/p-ffe8c6ce.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
- 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,
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
4
|
-
import {
|
|
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-
|
|
10
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
11
|
-
import {
|
|
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.
|
|
54
|
-
h("div", { part: "erroralert-text" },
|
|
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
|
-
} }, (((
|
|
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: ((
|
|
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, "
|
|
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 }, (((
|
|
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: ((
|
|
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 {
|
|
88
|
-
const [request, { loading, errors, data, formError }] =
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
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 ((
|
|
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) && !((
|
|
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 = (
|
|
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
|
-
|
|
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
|
|
272
|
+
* @uiName Registration Redirect Path
|
|
273
|
+
* @uiWidget pageSelect
|
|
207
274
|
*/
|
|
208
275
|
this.nextPage = "/";
|
|
209
276
|
/**
|
|
210
|
-
* The page that
|
|
277
|
+
* The page that participants are redirected to from the verification email.
|
|
211
278
|
*
|
|
212
|
-
* @uiName Email Redirection
|
|
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
|
|
310
|
+
* @uiName Disable Password Validation
|
|
244
311
|
*/
|
|
245
|
-
this.
|
|
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
|
|
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 } =
|
|
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: () =>
|
|
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-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
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,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
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-
|
|
8
|
+
import './JSS-67b5cff8.js';
|
|
10
9
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
11
|
-
import './sqm-text-span-view-
|
|
12
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
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
|
|
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] =
|
|
19
|
-
const [resetPassword, resetPasswordState] =
|
|
20
|
-
const urlParams = new URLSearchParams(
|
|
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
|
-
|
|
57
|
+
fn.push(url.href);
|
|
41
58
|
};
|
|
42
59
|
const failed = () => {
|
|
43
|
-
|
|
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: ((
|
|
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: (
|
|
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
|
|
92
|
+
* The page that participants are redirected to when the password reset succeeds.
|
|
100
93
|
*
|
|
101
|
-
* @uiName
|
|
94
|
+
* @uiName Reset Successful Redirect Path
|
|
95
|
+
* @uiWidget pageSelect
|
|
102
96
|
*/
|
|
103
97
|
this.nextPage = "/";
|
|
104
98
|
/**
|
|
105
|
-
* The page that
|
|
99
|
+
* The page that participants are redirected to if the reset fails due to outdated password reset attempt.
|
|
106
100
|
*
|
|
107
|
-
* @uiName Failed
|
|
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
|
|
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 } =
|
|
144
|
+
const { states, callbacks } = isDemo()
|
|
150
145
|
? usePortalResetPasswordDemo(this)
|
|
151
146
|
: usePortalResetPassword(this);
|
|
152
147
|
return h$1(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { c as createStyleSheet } from './JSS-
|
|
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-
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
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,
|