@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
|
@@ -4,8 +4,9 @@ import { PortalChangePasswordView, } from "./sqm-portal-change-password-view";
|
|
|
4
4
|
import { usePortalChangePassword } from "./usePortalChangePassword";
|
|
5
5
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
6
6
|
import deepmerge from "deepmerge";
|
|
7
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
7
8
|
/**
|
|
8
|
-
* @uiName
|
|
9
|
+
* @uiName Microsite Password Change
|
|
9
10
|
*/
|
|
10
11
|
export class PortalChangePassword {
|
|
11
12
|
constructor() {
|
|
@@ -41,7 +42,8 @@ export class PortalChangePassword {
|
|
|
41
42
|
/**
|
|
42
43
|
* Successful password change message
|
|
43
44
|
*
|
|
44
|
-
* @uiName Successful Message
|
|
45
|
+
* @uiName Successful Password Change Message
|
|
46
|
+
* @uiWidget textArea
|
|
45
47
|
*/
|
|
46
48
|
this.successMessage = "Your password has been updated.";
|
|
47
49
|
/**
|
|
@@ -183,8 +185,11 @@ export class PortalChangePassword {
|
|
|
183
185
|
"optional": false,
|
|
184
186
|
"docs": {
|
|
185
187
|
"tags": [{
|
|
186
|
-
"text": "Successful Message",
|
|
188
|
+
"text": "Successful Password Change Message",
|
|
187
189
|
"name": "uiName"
|
|
190
|
+
}, {
|
|
191
|
+
"text": "textArea",
|
|
192
|
+
"name": "uiWidget"
|
|
188
193
|
}],
|
|
189
194
|
"text": "Successful password change message"
|
|
190
195
|
},
|
|
@@ -270,23 +275,24 @@ export class PortalChangePassword {
|
|
|
270
275
|
}; }
|
|
271
276
|
}
|
|
272
277
|
function usePortalChangePasswordDemo(props) {
|
|
278
|
+
const [open, setOpen] = useState(false);
|
|
273
279
|
return deepmerge({
|
|
274
280
|
states: {
|
|
275
|
-
open
|
|
281
|
+
open,
|
|
276
282
|
error: "",
|
|
277
283
|
content: {
|
|
278
|
-
modalChangePasswordHeader:
|
|
279
|
-
cancelText:
|
|
280
|
-
changePasswordButtonText:
|
|
281
|
-
passwordFieldLabel:
|
|
282
|
-
confirmPasswordFieldLabel:
|
|
283
|
-
successMessage:
|
|
284
|
-
portalChangePasswordHeader:
|
|
285
|
-
portalChangePasswordButtonText:
|
|
284
|
+
modalChangePasswordHeader: props.modalChangePasswordHeader,
|
|
285
|
+
cancelText: props.cancelText,
|
|
286
|
+
changePasswordButtonText: props.changePasswordButtonText,
|
|
287
|
+
passwordFieldLabel: props.passwordFieldLabel,
|
|
288
|
+
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
289
|
+
successMessage: props.successMessage,
|
|
290
|
+
portalChangePasswordHeader: props.portalChangePasswordHeader,
|
|
291
|
+
portalChangePasswordButtonText: props.portalChangePasswordButtonText,
|
|
286
292
|
},
|
|
287
293
|
},
|
|
288
294
|
callbacks: {
|
|
289
|
-
setOpen: (
|
|
295
|
+
setOpen: (update) => setOpen(update),
|
|
290
296
|
submit: (e) => console.log("Submit", e),
|
|
291
297
|
},
|
|
292
298
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
2
2
|
import jsonpointer from "jsonpointer";
|
|
3
3
|
import { useChangePasswordMutation, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
4
4
|
export function usePortalChangePassword(props) {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6
6
|
const [request, { loading, errors, data }] = useChangePasswordMutation();
|
|
7
7
|
const [open, setOpen] = useState(false);
|
|
8
8
|
const [error, setError] = useState("");
|
|
9
9
|
const [success, setSuccess] = useState(false);
|
|
10
10
|
const user = useUserIdentity();
|
|
11
11
|
const submit = async (event) => {
|
|
12
|
-
var _a;
|
|
12
|
+
var _a, _b;
|
|
13
13
|
setSuccess(false);
|
|
14
14
|
const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
|
|
15
15
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
@@ -27,20 +27,17 @@ export function usePortalChangePassword(props) {
|
|
|
27
27
|
const variables = {
|
|
28
28
|
password: formData.password,
|
|
29
29
|
};
|
|
30
|
-
await request(variables);
|
|
31
|
-
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
var _a;
|
|
34
|
-
if ((_a = data === null || data === void 0 ? void 0 : data.changeManagedIdentityPassword) === null || _a === void 0 ? void 0 : _a.success) {
|
|
30
|
+
const result = await request(variables);
|
|
31
|
+
if (!(result instanceof Error) && ((_b = result.changeManagedIdentityPassword) === null || _b === void 0 ? void 0 : _b.success)) {
|
|
35
32
|
setSuccess(true);
|
|
36
33
|
}
|
|
37
|
-
}
|
|
34
|
+
};
|
|
38
35
|
return {
|
|
39
36
|
states: {
|
|
40
37
|
open,
|
|
41
38
|
loading,
|
|
42
39
|
success,
|
|
43
|
-
error: error || ((
|
|
40
|
+
error: error || ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message),
|
|
44
41
|
content: {
|
|
45
42
|
modalChangePasswordHeader: props.modalChangePasswordHeader,
|
|
46
43
|
cancelText: props.cancelText,
|
|
@@ -6,8 +6,8 @@ import { getProps } from "../../utils/utils";
|
|
|
6
6
|
* @uiName Container
|
|
7
7
|
* @slots [{"name":"", "title":"Widget Content"}]
|
|
8
8
|
* @exampleGroup Layout
|
|
9
|
-
* @example Row Layout Container - <sqm-portal-container direction="row" padding="none" gap="xxx-large" display="flex" max-width="100%"><p>Add your
|
|
10
|
-
* @example Column Layout Container - <sqm-portal-container direction="column" padding="none" gap="xxx-large" display="grid" max-width="100%"><p>Add your column content
|
|
9
|
+
* @example Row Layout Container - <sqm-portal-container direction="row" padding="none" gap="xxx-large" display="flex" max-width="100%"><p>Add your row content!</p></sqm-portal-container>
|
|
10
|
+
* @example Column Layout Container - <sqm-portal-container direction="column" padding="none" gap="xxx-large" display="grid" max-width="100%"><p>Add your column content!</p></sqm-portal-container>
|
|
11
11
|
*/
|
|
12
12
|
export class PortalContainer {
|
|
13
13
|
constructor() {
|
package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js
CHANGED
|
@@ -5,15 +5,16 @@ import deepmerge from "deepmerge";
|
|
|
5
5
|
import { PortalEmailVerificationView, } from "./sqm-portal-email-verification-view";
|
|
6
6
|
import { usePortalEmailVerification } from "./usePortalEmailVerification";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Email Verification
|
|
9
9
|
*/
|
|
10
10
|
export class PortalEmailVerification {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
* The page that
|
|
14
|
+
* The microsite page that participants are redirected to from the verification email.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Email Redirection
|
|
16
|
+
* @uiName Email Redirection Path
|
|
17
|
+
* @uiWidget pageSelect
|
|
17
18
|
*/
|
|
18
19
|
this.redirectPath = "/verifyEmail";
|
|
19
20
|
/**
|
|
@@ -26,8 +27,9 @@ export class PortalEmailVerification {
|
|
|
26
27
|
this.resendEmailButtonText = "Re-send Email";
|
|
27
28
|
/**
|
|
28
29
|
* @uiName Email Verification Body Text
|
|
30
|
+
* @uiWidget textArea
|
|
29
31
|
*/
|
|
30
|
-
this.verifyMessage = "A verification email was sent to {email}. Please verify your email to continue to the portal.";
|
|
32
|
+
this.verifyMessage = "A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email with invalidate the previous email.";
|
|
31
33
|
withHooks(this);
|
|
32
34
|
}
|
|
33
35
|
disconnectedCallback() { }
|
|
@@ -52,10 +54,13 @@ export class PortalEmailVerification {
|
|
|
52
54
|
"optional": false,
|
|
53
55
|
"docs": {
|
|
54
56
|
"tags": [{
|
|
55
|
-
"text": "Email Redirection
|
|
57
|
+
"text": "Email Redirection Path",
|
|
56
58
|
"name": "uiName"
|
|
59
|
+
}, {
|
|
60
|
+
"text": "pageSelect",
|
|
61
|
+
"name": "uiWidget"
|
|
57
62
|
}],
|
|
58
|
-
"text": "The page that
|
|
63
|
+
"text": "The microsite page that participants are redirected to from the verification email."
|
|
59
64
|
},
|
|
60
65
|
"attribute": "redirect-path",
|
|
61
66
|
"reflect": false,
|
|
@@ -117,12 +122,15 @@ export class PortalEmailVerification {
|
|
|
117
122
|
"tags": [{
|
|
118
123
|
"text": "Email Verification Body Text",
|
|
119
124
|
"name": "uiName"
|
|
125
|
+
}, {
|
|
126
|
+
"text": "textArea",
|
|
127
|
+
"name": "uiWidget"
|
|
120
128
|
}],
|
|
121
129
|
"text": ""
|
|
122
130
|
},
|
|
123
131
|
"attribute": "verify-message",
|
|
124
132
|
"reflect": false,
|
|
125
|
-
"defaultValue": "\"A verification email was sent to {email}. Please verify your email to continue to the portal.\""
|
|
133
|
+
"defaultValue": "\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email with invalidate the previous email.\""
|
|
126
134
|
},
|
|
127
135
|
"demoData": {
|
|
128
136
|
"type": "unknown",
|
package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useUserIdentity, useRequestVerificationEmailMutation, } from "@saasquatch/component-boilerplate";
|
|
1
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
2
|
+
import { useUserIdentity, useRequestVerificationEmailMutation, navigation, } from "@saasquatch/component-boilerplate";
|
|
3
3
|
export function usePortalEmailVerification(props) {
|
|
4
|
-
var _a, _b, _c, _d, _e, _f, _g, _h
|
|
4
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5
5
|
const [request, { loading, data, errors }] = useRequestVerificationEmailMutation();
|
|
6
6
|
const userIdent = useUserIdentity();
|
|
7
7
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
8
8
|
const [success, setSuccess] = useState(false);
|
|
9
9
|
const [error, setError] = useState("");
|
|
10
|
-
const urlParams = new URLSearchParams(
|
|
10
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
11
11
|
const nextPage = urlParams.get("nextPage");
|
|
12
12
|
const submit = async () => {
|
|
13
|
+
var _a;
|
|
13
14
|
if (!email)
|
|
14
15
|
return;
|
|
15
16
|
setError("");
|
|
@@ -17,23 +18,19 @@ export function usePortalEmailVerification(props) {
|
|
|
17
18
|
const urlParams = nextPage ? { nextPage } : null;
|
|
18
19
|
const redirectPath = props.redirectPath;
|
|
19
20
|
const variables = { email, urlParams, redirectPath };
|
|
20
|
-
await request(variables);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
setSuccess(true);
|
|
26
|
-
}
|
|
27
|
-
}, [(_b = data === null || data === void 0 ? void 0 : data.requestManagedIdentityVerificationEmail) === null || _b === void 0 ? void 0 : _b.success]);
|
|
28
|
-
useEffect(() => {
|
|
29
|
-
if (errors === null || errors === void 0 ? void 0 : errors.message) {
|
|
30
|
-
setError("Network request failed.");
|
|
21
|
+
const result = await request(variables);
|
|
22
|
+
if (result instanceof Error) {
|
|
23
|
+
if (result.message)
|
|
24
|
+
setError("Network request failed.");
|
|
25
|
+
return;
|
|
31
26
|
}
|
|
32
|
-
|
|
27
|
+
if ((_a = result.requestManagedIdentityVerificationEmail) === null || _a === void 0 ? void 0 : _a.success)
|
|
28
|
+
setSuccess(true);
|
|
29
|
+
};
|
|
33
30
|
return {
|
|
34
31
|
states: {
|
|
35
32
|
loading,
|
|
36
|
-
error: ((
|
|
33
|
+
error: ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.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) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
|
|
37
34
|
error,
|
|
38
35
|
success,
|
|
39
36
|
},
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
const defaultProps = {
|
|
11
11
|
supportEmail: "support@example.com",
|
|
12
12
|
supportText: "For program support, contact {email}",
|
|
13
|
-
|
|
13
|
+
hidePoweredBy: false,
|
|
14
14
|
poweredByLink: "https://saasquatch.com",
|
|
15
15
|
paddingTop: "large",
|
|
16
16
|
paddingRight: "large",
|
|
@@ -21,4 +21,4 @@ export const DefaultFooter = () => h(PortalFooterView, Object.assign({}, default
|
|
|
21
21
|
export const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions" })));
|
|
22
22
|
export const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
23
23
|
export const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
24
|
-
export const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ",
|
|
24
|
+
export const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
@@ -61,6 +61,6 @@ export function PortalFooterView(props) {
|
|
|
61
61
|
}, {
|
|
62
62
|
email: (h("a", { target: "_blank", href: `mailto:${props.supportEmail}` }, props.supportEmail)),
|
|
63
63
|
})),
|
|
64
|
-
props.
|
|
64
|
+
!props.hidePoweredBy && (h("a", { class: sheet.classes.PoweredByLink, target: "_blank", href: props.poweredByLink },
|
|
65
65
|
h(PoweredByImg, null)))));
|
|
66
66
|
}
|
|
@@ -3,7 +3,7 @@ import { Component, h, Prop, State } from "@stencil/core";
|
|
|
3
3
|
import { getProps } from "../../utils/utils";
|
|
4
4
|
import { PortalFooterView } from "./sqm-portal-footer-view";
|
|
5
5
|
/**
|
|
6
|
-
* @uiName
|
|
6
|
+
* @uiName Footer
|
|
7
7
|
*/
|
|
8
8
|
export class PortalFooter {
|
|
9
9
|
constructor() {
|
|
@@ -14,30 +14,39 @@ export class PortalFooter {
|
|
|
14
14
|
this.supportEmail = "support@example.com";
|
|
15
15
|
/**
|
|
16
16
|
* @uiName Support Text
|
|
17
|
+
* @uiWidget textArea
|
|
17
18
|
*/
|
|
18
19
|
this.supportText = "For program support, contact {email}";
|
|
19
20
|
/**
|
|
20
|
-
* @uiName
|
|
21
|
+
* @uiName Hide Powered By SaaSquatch
|
|
21
22
|
*/
|
|
22
|
-
this.
|
|
23
|
+
this.hidePoweredBy = false;
|
|
23
24
|
/**
|
|
24
25
|
* @uiName Powered By Link
|
|
25
26
|
*/
|
|
26
27
|
this.poweredByLink = "https://saasquatch.com";
|
|
27
28
|
/**
|
|
28
29
|
* @uiName Padding Top
|
|
30
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
31
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
29
32
|
*/
|
|
30
33
|
this.paddingTop = "large";
|
|
31
34
|
/**
|
|
32
35
|
* @uiName Padding Right
|
|
36
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
37
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
33
38
|
*/
|
|
34
39
|
this.paddingRight = "large";
|
|
35
40
|
/**
|
|
36
41
|
* @uiName Padding Bottom
|
|
42
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
43
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
37
44
|
*/
|
|
38
45
|
this.paddingBottom = "large";
|
|
39
46
|
/**
|
|
40
47
|
* @uiName Padding Left
|
|
48
|
+
* @uiEnum ["none", "xxx-small", "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large", "xxxx-large"]
|
|
49
|
+
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
41
50
|
*/
|
|
42
51
|
this.paddingLeft = "large";
|
|
43
52
|
withHooks(this);
|
|
@@ -85,6 +94,9 @@ export class PortalFooter {
|
|
|
85
94
|
"tags": [{
|
|
86
95
|
"text": "Support Text",
|
|
87
96
|
"name": "uiName"
|
|
97
|
+
}, {
|
|
98
|
+
"text": "textArea",
|
|
99
|
+
"name": "uiWidget"
|
|
88
100
|
}],
|
|
89
101
|
"text": ""
|
|
90
102
|
},
|
|
@@ -172,7 +184,7 @@ export class PortalFooter {
|
|
|
172
184
|
"attribute": "faq-text",
|
|
173
185
|
"reflect": false
|
|
174
186
|
},
|
|
175
|
-
"
|
|
187
|
+
"hidePoweredBy": {
|
|
176
188
|
"type": "boolean",
|
|
177
189
|
"mutable": false,
|
|
178
190
|
"complexType": {
|
|
@@ -184,14 +196,14 @@ export class PortalFooter {
|
|
|
184
196
|
"optional": false,
|
|
185
197
|
"docs": {
|
|
186
198
|
"tags": [{
|
|
187
|
-
"text": "
|
|
199
|
+
"text": "Hide Powered By SaaSquatch",
|
|
188
200
|
"name": "uiName"
|
|
189
201
|
}],
|
|
190
202
|
"text": ""
|
|
191
203
|
},
|
|
192
|
-
"attribute": "
|
|
204
|
+
"attribute": "hide-powered-by",
|
|
193
205
|
"reflect": false,
|
|
194
|
-
"defaultValue": "
|
|
206
|
+
"defaultValue": "false"
|
|
195
207
|
},
|
|
196
208
|
"poweredByLink": {
|
|
197
209
|
"type": "string",
|
|
@@ -228,6 +240,12 @@ export class PortalFooter {
|
|
|
228
240
|
"tags": [{
|
|
229
241
|
"text": "Padding Top",
|
|
230
242
|
"name": "uiName"
|
|
243
|
+
}, {
|
|
244
|
+
"text": "[\"none\", \"xxx-small\", \"xx-small\", \"x-small\", \"small\", \"medium\", \"large\", \"x-large\", \"xx-large\", \"xxx-large\", \"xxxx-large\"]",
|
|
245
|
+
"name": "uiEnum"
|
|
246
|
+
}, {
|
|
247
|
+
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
248
|
+
"name": "uiEnumNames"
|
|
231
249
|
}],
|
|
232
250
|
"text": ""
|
|
233
251
|
},
|
|
@@ -249,6 +267,12 @@ export class PortalFooter {
|
|
|
249
267
|
"tags": [{
|
|
250
268
|
"text": "Padding Right",
|
|
251
269
|
"name": "uiName"
|
|
270
|
+
}, {
|
|
271
|
+
"text": "[\"none\", \"xxx-small\", \"xx-small\", \"x-small\", \"small\", \"medium\", \"large\", \"x-large\", \"xx-large\", \"xxx-large\", \"xxxx-large\"]",
|
|
272
|
+
"name": "uiEnum"
|
|
273
|
+
}, {
|
|
274
|
+
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
275
|
+
"name": "uiEnumNames"
|
|
252
276
|
}],
|
|
253
277
|
"text": ""
|
|
254
278
|
},
|
|
@@ -270,6 +294,12 @@ export class PortalFooter {
|
|
|
270
294
|
"tags": [{
|
|
271
295
|
"text": "Padding Bottom",
|
|
272
296
|
"name": "uiName"
|
|
297
|
+
}, {
|
|
298
|
+
"text": "[\"none\", \"xxx-small\", \"xx-small\", \"x-small\", \"small\", \"medium\", \"large\", \"x-large\", \"xx-large\", \"xxx-large\", \"xxxx-large\"]",
|
|
299
|
+
"name": "uiEnum"
|
|
300
|
+
}, {
|
|
301
|
+
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
302
|
+
"name": "uiEnumNames"
|
|
273
303
|
}],
|
|
274
304
|
"text": ""
|
|
275
305
|
},
|
|
@@ -291,6 +321,12 @@ export class PortalFooter {
|
|
|
291
321
|
"tags": [{
|
|
292
322
|
"text": "Padding Left",
|
|
293
323
|
"name": "uiName"
|
|
324
|
+
}, {
|
|
325
|
+
"text": "[\"none\", \"xxx-small\", \"xx-small\", \"x-small\", \"small\", \"medium\", \"large\", \"x-large\", \"xx-large\", \"xxx-large\", \"xxxx-large\"]",
|
|
326
|
+
"name": "uiEnum"
|
|
327
|
+
}, {
|
|
328
|
+
"text": "[\"None\", \"XXX-Small\", \"XX-Small\", \"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"XX-Large\", \"XXX-Large\", \"XXXX-Large\"]",
|
|
329
|
+
"name": "uiEnumNames"
|
|
294
330
|
}],
|
|
295
331
|
"text": ""
|
|
296
332
|
},
|
|
@@ -5,19 +5,20 @@ import deepmerge from "deepmerge";
|
|
|
5
5
|
import { PortalForgotPasswordView, } from "./sqm-portal-forgot-password-view";
|
|
6
6
|
import { usePortalForgotPassword } from "./usePortalForgotPassword";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Forgot Password
|
|
9
9
|
*/
|
|
10
10
|
export class PortalForgotPassword {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
* The page that
|
|
14
|
+
* The microsite page that participants are redirected to from the password reset email.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Email Redirection
|
|
16
|
+
* @uiName Email Redirection Path
|
|
17
|
+
* @uiWidget pageSelect
|
|
17
18
|
*/
|
|
18
19
|
this.redirectPath = "/resetPassword";
|
|
19
20
|
/**
|
|
20
|
-
* @uiName Email Label
|
|
21
|
+
* @uiName Email Field Label
|
|
21
22
|
*/
|
|
22
23
|
this.emailLabel = "Email";
|
|
23
24
|
/**
|
|
@@ -25,9 +26,19 @@ export class PortalForgotPassword {
|
|
|
25
26
|
*/
|
|
26
27
|
this.submitLabel = "Request Password Reset";
|
|
27
28
|
/**
|
|
28
|
-
* @uiName Login
|
|
29
|
+
* @uiName Login Redirect Path
|
|
30
|
+
* @uiWidget pageSelect
|
|
29
31
|
*/
|
|
30
32
|
this.loginPath = "/login";
|
|
33
|
+
/**
|
|
34
|
+
* @uiName Header Text
|
|
35
|
+
* @uiWidget textArea
|
|
36
|
+
*/
|
|
37
|
+
this.headerText = "Enter your email below to receive a password reset link.";
|
|
38
|
+
/**
|
|
39
|
+
* Sign In Link Text
|
|
40
|
+
*/
|
|
41
|
+
this.loginText = "Sign In";
|
|
31
42
|
withHooks(this);
|
|
32
43
|
}
|
|
33
44
|
disconnectedCallback() { }
|
|
@@ -59,10 +70,13 @@ export class PortalForgotPassword {
|
|
|
59
70
|
"optional": false,
|
|
60
71
|
"docs": {
|
|
61
72
|
"tags": [{
|
|
62
|
-
"text": "Email Redirection
|
|
73
|
+
"text": "Email Redirection Path",
|
|
63
74
|
"name": "uiName"
|
|
75
|
+
}, {
|
|
76
|
+
"text": "pageSelect",
|
|
77
|
+
"name": "uiWidget"
|
|
64
78
|
}],
|
|
65
|
-
"text": "The page that
|
|
79
|
+
"text": "The microsite page that participants are redirected to from the password reset email."
|
|
66
80
|
},
|
|
67
81
|
"attribute": "redirect-path",
|
|
68
82
|
"reflect": false,
|
|
@@ -80,7 +94,7 @@ export class PortalForgotPassword {
|
|
|
80
94
|
"optional": false,
|
|
81
95
|
"docs": {
|
|
82
96
|
"tags": [{
|
|
83
|
-
"text": "Email Label",
|
|
97
|
+
"text": "Email Field Label",
|
|
84
98
|
"name": "uiName"
|
|
85
99
|
}],
|
|
86
100
|
"text": ""
|
|
@@ -122,8 +136,11 @@ export class PortalForgotPassword {
|
|
|
122
136
|
"optional": false,
|
|
123
137
|
"docs": {
|
|
124
138
|
"tags": [{
|
|
125
|
-
"text": "Login
|
|
139
|
+
"text": "Login Redirect Path",
|
|
126
140
|
"name": "uiName"
|
|
141
|
+
}, {
|
|
142
|
+
"text": "pageSelect",
|
|
143
|
+
"name": "uiWidget"
|
|
127
144
|
}],
|
|
128
145
|
"text": ""
|
|
129
146
|
},
|
|
@@ -131,6 +148,48 @@ export class PortalForgotPassword {
|
|
|
131
148
|
"reflect": false,
|
|
132
149
|
"defaultValue": "\"/login\""
|
|
133
150
|
},
|
|
151
|
+
"headerText": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"mutable": false,
|
|
154
|
+
"complexType": {
|
|
155
|
+
"original": "string",
|
|
156
|
+
"resolved": "string",
|
|
157
|
+
"references": {}
|
|
158
|
+
},
|
|
159
|
+
"required": false,
|
|
160
|
+
"optional": false,
|
|
161
|
+
"docs": {
|
|
162
|
+
"tags": [{
|
|
163
|
+
"text": "Header Text",
|
|
164
|
+
"name": "uiName"
|
|
165
|
+
}, {
|
|
166
|
+
"text": "textArea",
|
|
167
|
+
"name": "uiWidget"
|
|
168
|
+
}],
|
|
169
|
+
"text": ""
|
|
170
|
+
},
|
|
171
|
+
"attribute": "header-text",
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"defaultValue": "\"Enter your email below to receive a password reset link.\""
|
|
174
|
+
},
|
|
175
|
+
"loginText": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"mutable": false,
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "string",
|
|
180
|
+
"resolved": "string",
|
|
181
|
+
"references": {}
|
|
182
|
+
},
|
|
183
|
+
"required": false,
|
|
184
|
+
"optional": false,
|
|
185
|
+
"docs": {
|
|
186
|
+
"tags": [],
|
|
187
|
+
"text": "Sign In Link Text"
|
|
188
|
+
},
|
|
189
|
+
"attribute": "login-text",
|
|
190
|
+
"reflect": false,
|
|
191
|
+
"defaultValue": "\"Sign In\""
|
|
192
|
+
},
|
|
134
193
|
"demoData": {
|
|
135
194
|
"type": "unknown",
|
|
136
195
|
"mutable": false,
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import jsonpointer from "jsonpointer";
|
|
2
|
-
import {
|
|
3
|
-
import { useRequestPasswordResetEmailMutation } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
3
|
+
import { navigation, useRequestPasswordResetEmailMutation, } from "@saasquatch/component-boilerplate";
|
|
4
4
|
export function usePortalForgotPassword(props) {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6
6
|
const [success, setSuccess] = useState(false);
|
|
7
7
|
const [error, setError] = useState("");
|
|
8
8
|
const [request, { loading, data, errors }] = useRequestPasswordResetEmailMutation();
|
|
9
|
-
const urlParams = new URLSearchParams(
|
|
9
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
10
10
|
const nextPage = urlParams.get("nextPage");
|
|
11
11
|
const submit = async (event) => {
|
|
12
|
+
var _a;
|
|
12
13
|
setError("");
|
|
13
14
|
setSuccess(false);
|
|
14
15
|
let formData = event.detail.formData;
|
|
@@ -18,26 +19,25 @@ export function usePortalForgotPassword(props) {
|
|
|
18
19
|
const urlParams = nextPage ? { nextPage } : null;
|
|
19
20
|
const redirectPath = props.redirectPath;
|
|
20
21
|
const variables = { email: formData.email, urlParams, redirectPath };
|
|
21
|
-
await request(variables);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
setSuccess(true);
|
|
22
|
+
const result = await request(variables);
|
|
23
|
+
if (result instanceof Error) {
|
|
24
|
+
if (result.message)
|
|
25
|
+
setError("Network request failed.");
|
|
26
|
+
return;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (errors === null || errors === void 0 ? void 0 : errors.message) {
|
|
31
|
-
setError("Network request failed.");
|
|
28
|
+
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
29
|
+
setSuccess(true);
|
|
32
30
|
}
|
|
33
|
-
}
|
|
31
|
+
};
|
|
34
32
|
return {
|
|
35
33
|
states: {
|
|
36
34
|
loading,
|
|
37
|
-
error: ((
|
|
35
|
+
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
38
36
|
error,
|
|
39
37
|
success,
|
|
40
38
|
loginPath: props.loginPath,
|
|
39
|
+
headerText: props.headerText,
|
|
40
|
+
loginText: props.loginText,
|
|
41
41
|
},
|
|
42
42
|
callbacks: {
|
|
43
43
|
submit,
|
|
@@ -3,11 +3,7 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
import { HostBlock } from "../../global/mixins";
|
|
4
4
|
const style = {
|
|
5
5
|
HostBlock: HostBlock,
|
|
6
|
-
":host": {
|
|
7
|
-
"min-height": "100vh",
|
|
8
|
-
},
|
|
9
6
|
Frame: {
|
|
10
|
-
"min-height": "100vh",
|
|
11
7
|
display: "flex",
|
|
12
8
|
"flex-direction": "column",
|
|
13
9
|
"box-sizing": "border-box",
|
|
@@ -5,7 +5,8 @@ import { PortalFrameView } from "./sqm-portal-frame-view";
|
|
|
5
5
|
import { usePortalFrame } from "./usePortalFrame";
|
|
6
6
|
import deepmerge from "deepmerge";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Frame
|
|
9
|
+
* @slots [{"name":"header","title":"Header Content"},{"name":"footer","title":"Footer Content"},{"name":"","title":"Body Content"}]
|
|
9
10
|
*/
|
|
10
11
|
export class PortalFrame {
|
|
11
12
|
constructor() {
|