@saasquatch/mint-components 1.7.0-7 → 1.7.0-9
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/cjs/AsYouType-6788393a.js +3874 -0
- package/dist/cjs/{GenericTableView-6b0d1f93.js → GenericTableView-fa0cb936.js} +1 -1
- package/dist/cjs/{JSS-a75f3a9a.js → JSS-c73206b7.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-260da162.js → ShadowViewAddon-970dff24.js} +172 -194
- package/dist/cjs/{global-a7614907.js → global-97364373.js} +4 -4
- package/dist/cjs/{index.module-1c799b1f.js → index.module-d3a28293.js} +6887 -6843
- 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/{re-render-c02c16c0.js → re-render-7b0c34bb.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-07420209.js → sqm-asset-card-view-7e16757a.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -7
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +383 -4308
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -6
- 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-hamburger-menu.cjs.entry.js +160 -0
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-d5d46a36.js → sqm-hero-view-f4264d5e.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-85e51ba6.js → sqm-navigation-sidebar-item-view-46a53c67.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +197 -6
- 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-a3e86fc2.js → sqm-portal-container-view-4a8432e9.js} +1 -3
- package/dist/cjs/{sqm-portal-email-verification-view-c60833cc.js → sqm-portal-email-verification-view-56d07e94.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-d5478077.js → sqm-portal-footer-view-cbd4cd48.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +16 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-97932f7a.js → sqm-portal-forgot-password-view-aaa8dd17.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-a8ee44c2.js → sqm-portal-profile-view-9792a786.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +26 -37
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +14 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +441 -0
- package/dist/cjs/{sqm-portal-reset-password-view-042073ca.js → sqm-portal-reset-password-view-035245e6.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
- package/dist/cjs/{sqm-portal-section-view-765aae4d.js → sqm-portal-section-view-71a57cd9.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cb3c9c2f.js → sqm-portal-verify-email-view-7014ca89.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +36 -56
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +12 -13
- 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 +32 -30
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +205 -250
- 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-ab4ad6ef.js → sqm-text-span-view-b0c90c27.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-dc4c3132.js → useChildElements-24fbca82.js} +7 -5
- package/dist/cjs/{useReferralTable-f52c7f8e.js → useReferralTable-8f7a049c.js} +9 -9
- package/dist/cjs/useRegistrationFormState-3f88db90.js +14 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -13
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -144
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -3
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +2 -10
- package/dist/collection/components/sqm-brand/sqm-brand.js +13 -32
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -16
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +6 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +40 -2
- 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 +11 -4
- 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-hamburger-menu/HamburgerMenu.stories.js +7 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu-view.js +139 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu.js +45 -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-view.js +0 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -22
- package/dist/collection/components/sqm-image/sqm-image-view.js +0 -1
- package/dist/collection/components/sqm-image/sqm-image.js +1 -21
- 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 +10 -4
- 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/NavigationSidebar.stories.js +6 -5
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +146 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +36 -5
- package/dist/collection/components/sqm-navigation-sidebar/useNavigationSidebar.js +17 -0
- 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-portal-change-password/sqm-portal-change-password.js +29 -23
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +0 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +3 -46
- 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 +38 -6
- 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 +3 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -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 +26 -36
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
- 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 +49 -45
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +105 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +80 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +595 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +207 -0
- 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 +39 -33
- 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 +20 -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 +1 -1
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -20
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -130
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +18 -15
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +9 -22
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -125
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +2 -6
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -49
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -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-timeline/sqm-timeline-entry-view.js +2 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -23
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
- package/dist/collection/global/styles.js +1 -1
- package/dist/collection/global/styles.ts +1 -1
- package/dist/collection/stories/NewPortal.stories.js +6 -5
- package/dist/collection/tables/useChildElements.js +5 -3
- package/dist/esm/AsYouType-46f67d0d.js +3872 -0
- package/dist/esm/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm/{JSS-418cab16.js → JSS-506b9295.js} +17 -1
- package/dist/esm/{ShadowViewAddon-b2386d47.js → ShadowViewAddon-f0daae38.js} +172 -194
- package/dist/esm/{global-2d97b8c1.js → global-5f5e66ae.js} +4 -4
- package/dist/esm/{index.module-2b4f1755.js → index.module-877f3231.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/{re-render-2c1d8030.js → re-render-9d31cb93.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +6 -7
- package/dist/esm/sqm-big-stat_35.entry.js +383 -4308
- package/dist/esm/sqm-empty_5.entry.js +4 -6
- 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-hamburger-menu.entry.js +156 -0
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.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-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +199 -8
- 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-5d6f1411.js → sqm-portal-container-view-8f1bcc77.js} +1 -3
- package/dist/esm/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +16 -9
- package/dist/esm/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.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-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +26 -37
- package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +437 -0
- package/dist/esm/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
- package/dist/esm/{sqm-portal-section-view-c8d1c727.js → sqm-portal-section-view-d64cd5de.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +36 -56
- package/dist/esm/sqm-referral-table_11.entry.js +12 -13
- 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 +32 -30
- package/dist/esm/sqm-stencilbook.entry.js +205 -250
- 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-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/{useChildElements-0eab9c95.js → useChildElements-591435be.js} +7 -5
- package/dist/esm/{useReferralTable-3513622d.js → useReferralTable-f991c78a.js} +9 -9
- package/dist/esm/useRegistrationFormState-04a77cee.js +11 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
- package/dist/esm-es5/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm-es5/{JSS-418cab16.js → JSS-506b9295.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-f0daae38.js +1 -0
- package/dist/esm-es5/{global-2d97b8c1.js → global-5f5e66ae.js} +2 -2
- package/dist/esm-es5/index.module-877f3231.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-2c1d8030.js → re-render-9d31cb93.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.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-hamburger-menu.entry.js +1 -0
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.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-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.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-8f1bcc77.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.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-3d621db8.js → sqm-portal-profile-view-f5904a10.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 -0
- package/dist/esm-es5/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-section-view-d64cd5de.js +1 -0
- package/dist/esm-es5/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.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-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-591435be.js +1 -0
- package/dist/esm-es5/useReferralTable-f991c78a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-04a77cee.js +1 -0
- package/dist/mint-components/global/styles.ts +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-00732eb1.entry.js +1 -0
- package/dist/mint-components/p-0222e8b1.system.js +1 -0
- package/dist/mint-components/p-03b1dda6.js +1 -0
- package/dist/mint-components/p-0571ac6b.system.entry.js +1 -0
- package/dist/mint-components/p-0878d563.system.entry.js +1 -0
- package/dist/mint-components/p-095d7d5e.entry.js +1 -0
- package/dist/mint-components/p-09a4bd9b.system.entry.js +1 -0
- package/dist/mint-components/{p-ec634002.system.entry.js → p-0a27f867.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8452e47.entry.js → p-0b85f581.entry.js} +1 -1
- package/dist/mint-components/{p-be4cfea0.system.js → p-0bf5d514.system.js} +1 -1
- package/dist/mint-components/p-0f1fc54b.entry.js +1 -0
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/{p-fb5163d7.js → p-14aacddf.js} +1 -1
- package/dist/mint-components/{p-0935fef5.system.js → p-1c87be0c.system.js} +1 -1
- package/dist/mint-components/{p-a1b9ca51.system.js → p-1cc7a8e6.system.js} +1 -1
- package/dist/mint-components/p-1e541014.system.entry.js +1 -0
- package/dist/mint-components/{p-ab2cbd56.js → p-1fbf8d0b.js} +1 -1
- package/dist/mint-components/{p-aa0ccc8d.js → p-2506531b.js} +1 -1
- package/dist/mint-components/p-2a33de60.entry.js +13 -0
- package/dist/mint-components/p-2c4c978e.system.entry.js +1 -0
- package/dist/mint-components/{p-903a6d4d.js → p-2dc6e74c.js} +1 -1
- package/dist/mint-components/{p-5fca1bb9.system.js → p-330680dd.system.js} +1 -1
- package/dist/mint-components/p-3ac7063d.entry.js +1 -0
- package/dist/mint-components/p-3af0caba.entry.js +159 -0
- package/dist/mint-components/p-3b7d870e.entry.js +1 -0
- package/dist/mint-components/p-3bb4fd18.system.js +8 -0
- package/dist/mint-components/p-3bb76558.system.js +1 -0
- package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/{p-967445d6.system.js → p-3f13dae9.system.js} +1 -1
- package/dist/mint-components/p-41860440.system.entry.js +1 -0
- package/dist/mint-components/{p-541460a6.js → p-4494b612.js} +2 -2
- package/dist/mint-components/p-456571a6.entry.js +9 -0
- package/dist/mint-components/p-46a2d411.system.js +1 -0
- package/dist/mint-components/p-4708ece8.system.js +1 -0
- package/dist/mint-components/{p-38889f3c.system.js → p-48631971.system.js} +1 -1
- package/dist/mint-components/p-4a165275.entry.js +99 -0
- package/dist/mint-components/p-4f0a49e2.system.entry.js +1 -0
- package/dist/mint-components/{p-894cf728.system.js → p-51fc3d02.system.js} +1 -1
- package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/p-5934c4ab.entry.js +1 -0
- package/dist/mint-components/{p-e8f5f4e0.js → p-5a1ed9bb.js} +1 -1
- package/dist/mint-components/{p-937bf427.system.js → p-621a2912.system.js} +1 -1
- package/dist/mint-components/p-628437e6.entry.js +1 -0
- package/dist/mint-components/{p-97483814.system.entry.js → p-647256a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
- package/dist/mint-components/p-6b468f72.system.entry.js +1 -0
- package/dist/mint-components/p-6cf00931.system.entry.js +1 -0
- package/dist/mint-components/p-6cf891f8.system.entry.js +1 -0
- package/dist/mint-components/p-7341c340.entry.js +1 -0
- package/dist/mint-components/p-740afefb.entry.js +1 -0
- package/dist/mint-components/p-76767c7d.system.entry.js +1 -0
- package/dist/mint-components/p-767aedc8.entry.js +1 -0
- package/dist/mint-components/{p-72b3562a.system.js → p-774c9bb9.system.js} +1 -1
- package/dist/mint-components/p-7fa5ce30.system.js +1 -0
- package/dist/mint-components/{p-25846611.js → p-80934ab7.js} +2 -2
- package/dist/mint-components/{p-6081728e.system.js → p-8128c64d.system.js} +1 -1
- package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
- package/dist/mint-components/{p-6e0c7f7c.system.js → p-85528bea.system.js} +1 -1
- package/dist/mint-components/p-85a21d7b.entry.js +1 -0
- package/dist/mint-components/p-85e934c8.js +1 -0
- package/dist/mint-components/{p-46416f3e.js → p-864be7c2.js} +1 -1
- package/dist/mint-components/p-88cc585a.system.entry.js +1 -0
- package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-9124a1e9.system.entry.js +1 -0
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/p-92e8439a.system.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9c1841c6.entry.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/{p-066a4b23.system.js → p-9db19ba0.system.js} +2 -2
- package/dist/mint-components/p-9fd08e41.js +1 -0
- package/dist/mint-components/p-a91c1995.entry.js +1 -0
- package/dist/mint-components/p-af10beae.entry.js +33 -0
- package/dist/mint-components/p-b3436fd3.system.entry.js +1 -0
- package/dist/mint-components/p-b3610b44.entry.js +1 -0
- package/dist/mint-components/p-b9b4142b.js +268 -0
- package/dist/mint-components/p-be126e55.system.entry.js +1 -0
- package/dist/mint-components/{p-8763472e.js → p-bf4cd488.js} +1 -1
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/p-c4b5c3b0.entry.js +1 -0
- package/dist/mint-components/p-c52e21cf.entry.js +1 -0
- package/dist/mint-components/p-c53322f8.system.entry.js +1 -0
- package/dist/mint-components/p-c586b1bb.entry.js +1 -0
- package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
- package/dist/mint-components/{p-edb569b8.js → p-cecf6365.js} +1 -1
- package/dist/mint-components/{p-190d0446.system.js → p-d1242e79.system.js} +1 -1
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-d5645202.entry.js +1 -0
- package/dist/mint-components/p-d873d405.system.entry.js +1 -0
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/{p-6fd0198e.js → p-ddadc8e3.js} +1 -1
- package/dist/mint-components/p-df0899d3.entry.js +1 -0
- package/dist/mint-components/p-e3290be6.js +1 -0
- package/dist/mint-components/{p-54694cd4.system.js → p-e6b17831.system.js} +1 -1
- package/dist/mint-components/p-e71c3590.system.entry.js +1 -0
- package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-ea7ba030.system.entry.js +1 -0
- package/dist/mint-components/p-ec7e6d40.entry.js +1 -0
- package/dist/mint-components/p-eccd7d60.system.entry.js +1 -0
- package/dist/mint-components/p-ef147f86.system.entry.js +1 -0
- package/dist/mint-components/p-ef39ca69.system.entry.js +1 -0
- package/dist/mint-components/{p-9f08dc58.js → p-f30000d4.js} +1 -1
- package/dist/mint-components/p-f3a65df7.js +1 -0
- package/dist/mint-components/p-f6aa512e.system.js +1 -0
- package/dist/mint-components/p-fd14c63e.js +1 -0
- package/dist/mint-components/p-fdb3c23e.system.entry.js +1 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/mint-components/{p-380b25a3.js → p-ff39746d.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -25
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -6
- 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 +7 -2
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +9 -1
- 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 +7 -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-hamburger-menu/HamburgerMenu.stories.d.ts +5 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu-view.d.ts +6 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu.d.ts +11 -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-view.d.ts +0 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -7
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +0 -1
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -6
- 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 +6 -2
- 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-view.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +3 -3
- package/dist/types/components/sqm-navigation-sidebar/useNavigationSidebar.d.ts +4 -0
- 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-portal-change-password/sqm-portal-change-password.d.ts +8 -7
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -13
- 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 +10 -2
- 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-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -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 +6 -16
- 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 +8 -4
- 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 +19 -19
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +37 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +118 -0
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +27 -0
- 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 +13 -13
- 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 +1 -1
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -6
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -28
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +0 -5
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -28
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -10
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -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-timeline/sqm-timeline-entry-view.d.ts +0 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -5
- 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 +4 -4
- package/dist/types/components.d.ts +556 -1002
- 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 +3 -3
- package/CHANGELOG.md +0 -473
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/cjs/sqm-navigation-sidebar-view-0ee28f65.js +0 -36
- 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 -117
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1064
- 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-navigation-sidebar-view-9cb9a5f4.js +0 -34
- 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 -113
- package/dist/esm-es5/ShadowViewAddon-b2386d47.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-2b4f1755.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-5d6f1411.js +0 -1
- package/dist/esm-es5/sqm-portal-section-view-c8d1c727.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-697e2ff0.js +0 -1
- package/dist/esm-es5/useChildElements-0eab9c95.js +0 -1
- package/dist/esm-es5/useReferralTable-3513622d.js +0 -1
- package/dist/mint-components/p-03d5b192.entry.js +0 -159
- package/dist/mint-components/p-0ec3b3e5.system.js +0 -1
- package/dist/mint-components/p-127e25e6.system.entry.js +0 -1
- package/dist/mint-components/p-13f034ac.system.js +0 -1
- package/dist/mint-components/p-15b1a2b2.system.entry.js +0 -1
- package/dist/mint-components/p-16b6aea4.js +0 -1
- package/dist/mint-components/p-174767c7.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1e13c65a.system.entry.js +0 -1
- package/dist/mint-components/p-242d76ee.system.entry.js +0 -1
- package/dist/mint-components/p-24f8c2f6.entry.js +0 -1
- package/dist/mint-components/p-2800ad44.system.js +0 -8
- package/dist/mint-components/p-3149462a.system.entry.js +0 -1
- package/dist/mint-components/p-353a6419.system.js +0 -1
- package/dist/mint-components/p-36578b9f.system.entry.js +0 -1
- package/dist/mint-components/p-3894495a.js +0 -1
- package/dist/mint-components/p-39c637da.system.entry.js +0 -1
- package/dist/mint-components/p-408f983a.system.js +0 -1
- package/dist/mint-components/p-4647ef97.entry.js +0 -1
- package/dist/mint-components/p-46ab109e.system.entry.js +0 -1
- package/dist/mint-components/p-4d4fbaec.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-50ef8db6.system.entry.js +0 -1
- package/dist/mint-components/p-54bad89f.system.entry.js +0 -1
- package/dist/mint-components/p-555c9e1d.system.entry.js +0 -1
- package/dist/mint-components/p-59d481ea.entry.js +0 -1
- package/dist/mint-components/p-5c454d18.entry.js +0 -1
- package/dist/mint-components/p-5dd4dcc7.system.entry.js +0 -1
- package/dist/mint-components/p-6073e2f7.entry.js +0 -1
- package/dist/mint-components/p-60e2423f.entry.js +0 -1
- package/dist/mint-components/p-63617b4b.system.entry.js +0 -1
- package/dist/mint-components/p-6505fca3.system.entry.js +0 -1
- package/dist/mint-components/p-673a731f.entry.js +0 -1
- package/dist/mint-components/p-684967e6.entry.js +0 -1
- package/dist/mint-components/p-6882941e.system.entry.js +0 -1
- package/dist/mint-components/p-6e2ca2a0.js +0 -1
- package/dist/mint-components/p-6fc2fea4.entry.js +0 -1
- package/dist/mint-components/p-7473b40b.system.entry.js +0 -1
- package/dist/mint-components/p-77e5a1d4.entry.js +0 -1
- package/dist/mint-components/p-7d2d6a2b.system.js +0 -1
- package/dist/mint-components/p-7fd6f6ef.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-86fcb500.system.entry.js +0 -1
- package/dist/mint-components/p-889dbba5.entry.js +0 -1
- package/dist/mint-components/p-8d445a96.entry.js +0 -1
- package/dist/mint-components/p-96b0537b.system.js +0 -1
- package/dist/mint-components/p-9744ae44.system.js +0 -1
- package/dist/mint-components/p-991d3c0c.system.entry.js +0 -1
- package/dist/mint-components/p-9f54769f.system.entry.js +0 -1
- package/dist/mint-components/p-9f5e7313.entry.js +0 -33
- package/dist/mint-components/p-a73784bb.entry.js +0 -1
- package/dist/mint-components/p-ab8f86d3.js +0 -1
- package/dist/mint-components/p-ac80106e.entry.js +0 -1
- package/dist/mint-components/p-b3fa7c87.entry.js +0 -1
- package/dist/mint-components/p-bbb584e6.system.entry.js +0 -1
- package/dist/mint-components/p-be45347d.entry.js +0 -1
- package/dist/mint-components/p-bed4977e.entry.js +0 -1
- package/dist/mint-components/p-bf29e206.system.entry.js +0 -1
- package/dist/mint-components/p-c469be65.entry.js +0 -9
- package/dist/mint-components/p-c5573b7c.js +0 -1
- package/dist/mint-components/p-c81305b3.js +0 -268
- package/dist/mint-components/p-ccbacc32.entry.js +0 -1
- package/dist/mint-components/p-cee807de.system.entry.js +0 -1
- package/dist/mint-components/p-cf7d0aee.js +0 -1
- package/dist/mint-components/p-d298e4c5.system.entry.js +0 -1
- package/dist/mint-components/p-d30d1664.system.entry.js +0 -1
- package/dist/mint-components/p-d9488d28.entry.js +0 -1
- package/dist/mint-components/p-dc564561.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e4f4bfbb.entry.js +0 -1
- package/dist/mint-components/p-eb2f96a0.system.js +0 -1
- package/dist/mint-components/p-ec5b69bd.system.entry.js +0 -1
- package/dist/mint-components/p-ee461c80.js +0 -1
- package/dist/mint-components/p-f33e65c8.entry.js +0 -1
- package/dist/mint-components/p-f55d96ad.entry.js +0 -99
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -255
- 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
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
import jsonpointer from "jsonpointer";
|
|
2
|
-
import {
|
|
2
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import { navigation, useAuthenticateWithEmailAndPasswordMutation, } from "@saasquatch/component-boilerplate";
|
|
4
4
|
import { sanitizeUrlPath } from "../../utils/utils";
|
|
5
5
|
export function usePortalLogin(props) {
|
|
6
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
7
|
const [request, { loading, errors, data }] = useAuthenticateWithEmailAndPasswordMutation();
|
|
8
8
|
const [error, setError] = useState("");
|
|
9
|
-
const urlParams = new URLSearchParams(
|
|
9
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
10
10
|
const nextPageOverride = urlParams.get("nextPage");
|
|
11
11
|
const submit = async (event) => {
|
|
12
|
+
var _a, _b;
|
|
12
13
|
setError("");
|
|
13
14
|
let formData = event.detail.formData;
|
|
14
15
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
15
16
|
jsonpointer.set(formData, key, value);
|
|
16
17
|
});
|
|
17
18
|
const variables = { email: formData.email, password: formData.password };
|
|
18
|
-
await request(variables);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
const result = await request(variables);
|
|
20
|
+
if (result instanceof Error) {
|
|
21
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
22
|
+
setError("Network request failed.");
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
23
26
|
urlParams.delete("nextPage");
|
|
24
27
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
25
28
|
navigation.push(url.href);
|
|
26
29
|
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
var _a;
|
|
30
|
-
if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
|
|
31
|
-
setError("Network request failed.");
|
|
32
|
-
}
|
|
33
|
-
}, [errors]);
|
|
34
|
-
const errorMessage = ((_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) ||
|
|
30
|
+
};
|
|
31
|
+
const errorMessage = ((_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) ||
|
|
35
32
|
error;
|
|
36
33
|
return {
|
|
37
34
|
states: {
|
|
@@ -3,13 +3,16 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { Component, Prop, State } from "@stencil/core";
|
|
4
4
|
import { usePortalLogout } from "./usePortalLogout";
|
|
5
5
|
/**
|
|
6
|
-
* @uiName
|
|
6
|
+
* @uiName Microsite Logout
|
|
7
7
|
*/
|
|
8
8
|
export class PortalLogout {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.ignored = true;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Redirect participants to this page when they log out.
|
|
13
|
+
*
|
|
14
|
+
* @uiName Logout Redirect Path
|
|
15
|
+
* @uiWidget pageSelect
|
|
13
16
|
*/
|
|
14
17
|
this.nextPage = "/";
|
|
15
18
|
withHooks(this);
|
|
@@ -33,10 +36,13 @@ export class PortalLogout {
|
|
|
33
36
|
"optional": false,
|
|
34
37
|
"docs": {
|
|
35
38
|
"tags": [{
|
|
36
|
-
"text": "
|
|
39
|
+
"text": "Logout Redirect Path",
|
|
37
40
|
"name": "uiName"
|
|
41
|
+
}, {
|
|
42
|
+
"text": "pageSelect",
|
|
43
|
+
"name": "uiWidget"
|
|
38
44
|
}],
|
|
39
|
-
"text": ""
|
|
45
|
+
"text": "Redirect participants to this page when they log out."
|
|
40
46
|
},
|
|
41
47
|
"attribute": "next-page",
|
|
42
48
|
"reflect": false,
|
|
@@ -6,33 +6,25 @@ import { getProps } from "../../utils/utils";
|
|
|
6
6
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
|
-
* @uiName
|
|
9
|
+
* @uiName Microsite Participant Profile
|
|
10
10
|
*/
|
|
11
11
|
export class PortalProfile {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.ignored = true;
|
|
14
14
|
/**
|
|
15
|
-
* First name input field label
|
|
16
|
-
*
|
|
17
15
|
* @uiName First Name Label
|
|
18
16
|
*/
|
|
19
17
|
this.firstnametext = "First Name";
|
|
20
18
|
/**
|
|
21
|
-
* Last
|
|
22
|
-
*
|
|
23
|
-
* @uiName Last Name Label
|
|
19
|
+
* @uiName Last Name Field Label
|
|
24
20
|
*/
|
|
25
21
|
this.lastnametext = "Last Name";
|
|
26
22
|
/**
|
|
27
|
-
* Email
|
|
28
|
-
*
|
|
29
|
-
* @uiName Email Label
|
|
23
|
+
* @uiName Email Field Label
|
|
30
24
|
*/
|
|
31
25
|
this.emailtext = "Email";
|
|
32
26
|
/**
|
|
33
|
-
* Country
|
|
34
|
-
*
|
|
35
|
-
* @uiName Country Label
|
|
27
|
+
* @uiName Country Field Label
|
|
36
28
|
*/
|
|
37
29
|
this.countrytext = "Country";
|
|
38
30
|
/**
|
|
@@ -48,11 +40,9 @@ export class PortalProfile {
|
|
|
48
40
|
*/
|
|
49
41
|
this.submitChangeButtonText = "Submit Changes";
|
|
50
42
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @uiName Show Country Field
|
|
43
|
+
* @uiName Hide Country Field
|
|
54
44
|
*/
|
|
55
|
-
this.
|
|
45
|
+
this.hideCountry = false;
|
|
56
46
|
withHooks(this);
|
|
57
47
|
}
|
|
58
48
|
disconnectedCallback() { }
|
|
@@ -80,7 +70,7 @@ export class PortalProfile {
|
|
|
80
70
|
"text": "First Name Label",
|
|
81
71
|
"name": "uiName"
|
|
82
72
|
}],
|
|
83
|
-
"text": "
|
|
73
|
+
"text": ""
|
|
84
74
|
},
|
|
85
75
|
"attribute": "firstnametext",
|
|
86
76
|
"reflect": false,
|
|
@@ -98,10 +88,10 @@ export class PortalProfile {
|
|
|
98
88
|
"optional": false,
|
|
99
89
|
"docs": {
|
|
100
90
|
"tags": [{
|
|
101
|
-
"text": "Last Name Label",
|
|
91
|
+
"text": "Last Name Field Label",
|
|
102
92
|
"name": "uiName"
|
|
103
93
|
}],
|
|
104
|
-
"text": "
|
|
94
|
+
"text": ""
|
|
105
95
|
},
|
|
106
96
|
"attribute": "lastnametext",
|
|
107
97
|
"reflect": false,
|
|
@@ -119,10 +109,10 @@ export class PortalProfile {
|
|
|
119
109
|
"optional": false,
|
|
120
110
|
"docs": {
|
|
121
111
|
"tags": [{
|
|
122
|
-
"text": "Email Label",
|
|
112
|
+
"text": "Email Field Label",
|
|
123
113
|
"name": "uiName"
|
|
124
114
|
}],
|
|
125
|
-
"text": "
|
|
115
|
+
"text": ""
|
|
126
116
|
},
|
|
127
117
|
"attribute": "emailtext",
|
|
128
118
|
"reflect": false,
|
|
@@ -140,10 +130,10 @@ export class PortalProfile {
|
|
|
140
130
|
"optional": false,
|
|
141
131
|
"docs": {
|
|
142
132
|
"tags": [{
|
|
143
|
-
"text": "Country Label",
|
|
133
|
+
"text": "Country Field Label",
|
|
144
134
|
"name": "uiName"
|
|
145
135
|
}],
|
|
146
|
-
"text": "
|
|
136
|
+
"text": ""
|
|
147
137
|
},
|
|
148
138
|
"attribute": "countrytext",
|
|
149
139
|
"reflect": false,
|
|
@@ -212,7 +202,7 @@ export class PortalProfile {
|
|
|
212
202
|
"reflect": false,
|
|
213
203
|
"defaultValue": "\"Submit Changes\""
|
|
214
204
|
},
|
|
215
|
-
"
|
|
205
|
+
"hideCountry": {
|
|
216
206
|
"type": "boolean",
|
|
217
207
|
"mutable": false,
|
|
218
208
|
"complexType": {
|
|
@@ -224,14 +214,14 @@ export class PortalProfile {
|
|
|
224
214
|
"optional": false,
|
|
225
215
|
"docs": {
|
|
226
216
|
"tags": [{
|
|
227
|
-
"text": "
|
|
217
|
+
"text": "Hide Country Field",
|
|
228
218
|
"name": "uiName"
|
|
229
219
|
}],
|
|
230
|
-
"text": "
|
|
220
|
+
"text": ""
|
|
231
221
|
},
|
|
232
|
-
"attribute": "
|
|
222
|
+
"attribute": "hide-country",
|
|
233
223
|
"reflect": false,
|
|
234
|
-
"defaultValue": "
|
|
224
|
+
"defaultValue": "false"
|
|
235
225
|
},
|
|
236
226
|
"demoData": {
|
|
237
227
|
"type": "unknown",
|
|
@@ -274,7 +264,7 @@ function usePortalProfileDemo(props) {
|
|
|
274
264
|
success: false,
|
|
275
265
|
loading: false,
|
|
276
266
|
submitDisabled: false,
|
|
277
|
-
showCountry:
|
|
267
|
+
showCountry: !props.hideCountry,
|
|
278
268
|
user: {
|
|
279
269
|
id: "01",
|
|
280
270
|
accountId: "111100000",
|
|
@@ -284,13 +274,13 @@ function usePortalProfileDemo(props) {
|
|
|
284
274
|
countryCode: "CA",
|
|
285
275
|
},
|
|
286
276
|
text: {
|
|
287
|
-
firstnametext:
|
|
288
|
-
lastnametext:
|
|
289
|
-
emailtext:
|
|
290
|
-
countrytext:
|
|
291
|
-
editProfileHeader:
|
|
292
|
-
editProfileSubHeader:
|
|
293
|
-
submitChangeButtonText:
|
|
277
|
+
firstnametext: props.firstnametext,
|
|
278
|
+
lastnametext: props.lastnametext,
|
|
279
|
+
emailtext: props.emailtext,
|
|
280
|
+
countrytext: props.countrytext,
|
|
281
|
+
editProfileHeader: props.editProfileHeader,
|
|
282
|
+
editProfileSubHeader: props.editProfileSubHeader,
|
|
283
|
+
submitChangeButtonText: props.submitChangeButtonText,
|
|
294
284
|
},
|
|
295
285
|
formState: {
|
|
296
286
|
country: "Canada",
|
|
@@ -125,7 +125,7 @@ export function usePortalProfile(props) {
|
|
|
125
125
|
success,
|
|
126
126
|
loading: (userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.loading) || upsertUserResponse.loading,
|
|
127
127
|
submitDisabled: false,
|
|
128
|
-
showCountry: props.
|
|
128
|
+
showCountry: !props.hideCountry,
|
|
129
129
|
formState,
|
|
130
130
|
user: userData,
|
|
131
131
|
text: {
|
|
@@ -3,22 +3,26 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { h, Component, Prop, State, Host } from "@stencil/core";
|
|
4
4
|
import { usePortalProtectedRoute } from "./usePortalProtectedRoute";
|
|
5
5
|
/**
|
|
6
|
-
* @uiName
|
|
6
|
+
* @uiName Microsite Protected Route
|
|
7
|
+
* @slots [{"name":"","title":"Route Content"}]
|
|
7
8
|
*/
|
|
8
9
|
export class PortalProtectedRoute {
|
|
9
10
|
constructor() {
|
|
10
11
|
this.ignored = true;
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Redirect participants to this page they are not logged in.
|
|
14
|
+
*
|
|
15
|
+
* @uiName Unauthenticated Participant Redirect
|
|
13
16
|
*/
|
|
14
17
|
this.redirectTo = "/";
|
|
15
18
|
/**
|
|
16
19
|
* @uiName Require Email Verification
|
|
17
|
-
* @default
|
|
18
20
|
*/
|
|
19
21
|
this.requireEmailVerification = false;
|
|
20
22
|
/**
|
|
21
|
-
*
|
|
23
|
+
* Redirect participants to this page when email verification is required but they have not verified their email.
|
|
24
|
+
*
|
|
25
|
+
* @uiName Unverified Participant Redirect
|
|
22
26
|
*/
|
|
23
27
|
this.redirectToUnverified = "/emailVerification";
|
|
24
28
|
withHooks(this);
|
|
@@ -46,10 +50,10 @@ export class PortalProtectedRoute {
|
|
|
46
50
|
"optional": false,
|
|
47
51
|
"docs": {
|
|
48
52
|
"tags": [{
|
|
49
|
-
"text": "Redirect
|
|
53
|
+
"text": "Unauthenticated Participant Redirect",
|
|
50
54
|
"name": "uiName"
|
|
51
55
|
}],
|
|
52
|
-
"text": ""
|
|
56
|
+
"text": "Redirect participants to this page they are not logged in."
|
|
53
57
|
},
|
|
54
58
|
"attribute": "redirect-to",
|
|
55
59
|
"reflect": false,
|
|
@@ -69,9 +73,6 @@ export class PortalProtectedRoute {
|
|
|
69
73
|
"tags": [{
|
|
70
74
|
"text": "Require Email Verification",
|
|
71
75
|
"name": "uiName"
|
|
72
|
-
}, {
|
|
73
|
-
"text": undefined,
|
|
74
|
-
"name": "default"
|
|
75
76
|
}],
|
|
76
77
|
"text": ""
|
|
77
78
|
},
|
|
@@ -91,10 +92,10 @@ export class PortalProtectedRoute {
|
|
|
91
92
|
"optional": false,
|
|
92
93
|
"docs": {
|
|
93
94
|
"tags": [{
|
|
94
|
-
"text": "
|
|
95
|
+
"text": "Unverified Participant Redirect",
|
|
95
96
|
"name": "uiName"
|
|
96
97
|
}],
|
|
97
|
-
"text": ""
|
|
98
|
+
"text": "Redirect participants to this page when email verification is required but they have not verified their email."
|
|
98
99
|
},
|
|
99
100
|
"attribute": "redirect-to-unverified",
|
|
100
101
|
"reflect": false,
|
|
@@ -5,6 +5,7 @@ export default {
|
|
|
5
5
|
};
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
states: {
|
|
8
|
+
registrationFormState: {},
|
|
8
9
|
error: "",
|
|
9
10
|
loading: false,
|
|
10
11
|
confirmPassword: true,
|
|
@@ -23,6 +24,7 @@ const defaultProps = {
|
|
|
23
24
|
const errorProps = {
|
|
24
25
|
states: {
|
|
25
26
|
error: "Something went wrong. Please try again.",
|
|
27
|
+
registrationFormState: {},
|
|
26
28
|
loading: false,
|
|
27
29
|
confirmPassword: true,
|
|
28
30
|
hideInputs: false,
|
|
@@ -42,6 +44,7 @@ const errorProps = {
|
|
|
42
44
|
};
|
|
43
45
|
const loadingProps = {
|
|
44
46
|
states: {
|
|
47
|
+
registrationFormState: {},
|
|
45
48
|
error: "",
|
|
46
49
|
loading: true,
|
|
47
50
|
confirmPassword: true,
|
|
@@ -59,6 +62,7 @@ const loadingProps = {
|
|
|
59
62
|
};
|
|
60
63
|
const slottedProps = {
|
|
61
64
|
states: {
|
|
65
|
+
registrationFormState: {},
|
|
62
66
|
error: "",
|
|
63
67
|
loading: false,
|
|
64
68
|
confirmPassword: true,
|
|
@@ -86,6 +90,7 @@ export const RegisterLoading = () => h(PortalRegisterView, Object.assign({}, loa
|
|
|
86
90
|
export const FieldsHidden = () => {
|
|
87
91
|
return (h("sqm-portal-register", { demoData: {
|
|
88
92
|
states: {
|
|
93
|
+
registrationFormState: {},
|
|
89
94
|
error: "",
|
|
90
95
|
loading: true,
|
|
91
96
|
confirmPassword: true,
|
|
@@ -53,18 +53,17 @@ export function PortalRegisterView(props) {
|
|
|
53
53
|
if (!value.includes("@")) {
|
|
54
54
|
return "Must be a valid email address";
|
|
55
55
|
}
|
|
56
|
-
} }, (((_b = (_a = states.
|
|
56
|
+
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
57
57
|
class: sheet.classes.ErrorStyle,
|
|
58
|
-
helpText: ((_d = (_c = states.
|
|
58
|
+
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
59
59
|
"Cannot be empty",
|
|
60
60
|
}
|
|
61
61
|
: [])))),
|
|
62
|
-
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "
|
|
62
|
+
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation })),
|
|
63
63
|
content.passwordField,
|
|
64
|
-
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.
|
|
64
|
+
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
65
65
|
class: sheet.classes.ErrorStyle,
|
|
66
|
-
helpText: ((_h = (_g = states.
|
|
67
|
-
"Cannot be empty",
|
|
66
|
+
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || "Cannot be empty",
|
|
68
67
|
}
|
|
69
68
|
: [])))),
|
|
70
69
|
content.terms,
|
|
@@ -5,29 +5,32 @@ import deepmerge from "deepmerge";
|
|
|
5
5
|
import { PortalRegisterView, } from "./sqm-portal-register-view";
|
|
6
6
|
import { usePortalRegister } from "./usePortalRegister";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Registration
|
|
9
|
+
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
|
|
9
10
|
*/
|
|
10
11
|
export class PortalRegister {
|
|
11
12
|
constructor() {
|
|
12
13
|
this.ignored = true;
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* Redirect participants to this page from their verification email
|
|
15
16
|
*
|
|
16
|
-
* @uiName
|
|
17
|
+
* @uiName Registration Redirect
|
|
18
|
+
* @uiWidget pageSelect
|
|
17
19
|
*/
|
|
18
20
|
this.nextPage = "/";
|
|
19
21
|
/**
|
|
20
|
-
* The page that
|
|
22
|
+
* The page that participants are redirected to from the verification email.
|
|
21
23
|
*
|
|
22
|
-
* @uiName Email
|
|
24
|
+
* @uiName Email Verification Redirect
|
|
25
|
+
* @uiWidget pageSelect
|
|
23
26
|
*/
|
|
24
27
|
this.redirectPath = "/verifyEmail";
|
|
25
28
|
/**
|
|
26
|
-
* @uiName Email Label
|
|
29
|
+
* @uiName Email Field Label
|
|
27
30
|
*/
|
|
28
31
|
this.emailLabel = "Email";
|
|
29
32
|
/**
|
|
30
|
-
* @uiName Password Label
|
|
33
|
+
* @uiName Password Field Label
|
|
31
34
|
*/
|
|
32
35
|
this.passwordLabel = "Password";
|
|
33
36
|
/**
|
|
@@ -39,35 +42,32 @@ export class PortalRegister {
|
|
|
39
42
|
*/
|
|
40
43
|
this.loginLabel = "Sign in";
|
|
41
44
|
/**
|
|
42
|
-
* @uiName Confirm Password Label
|
|
45
|
+
* @uiName Confirm Password Field Label
|
|
43
46
|
*/
|
|
44
47
|
this.confirmPasswordLabel = "Confirm Password";
|
|
45
48
|
/**
|
|
46
|
-
* Show or hide the confirm password input
|
|
47
|
-
*
|
|
48
49
|
* @uiName Show Confirm Password Field
|
|
49
|
-
* @default
|
|
50
50
|
*/
|
|
51
51
|
this.confirmPassword = false;
|
|
52
52
|
/**
|
|
53
|
-
* @uiName
|
|
53
|
+
* @uiName Disable Password Validation
|
|
54
54
|
*/
|
|
55
|
-
this.
|
|
55
|
+
this.disablePasswordValidation = false;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
|
|
58
58
|
*
|
|
59
|
-
* @uiName Hide Default
|
|
60
|
-
* @default
|
|
59
|
+
* @uiName Hide Default Fields
|
|
61
60
|
*/
|
|
62
61
|
this.hideInputs = false;
|
|
63
62
|
/**
|
|
64
|
-
* @uiName
|
|
63
|
+
* @uiName Header Text
|
|
65
64
|
*/
|
|
66
65
|
this.pageLabel = "Register";
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
67
|
+
* Redirect participants to this page after clicking the login button.
|
|
69
68
|
*
|
|
70
|
-
* @uiName Login
|
|
69
|
+
* @uiName Login Redirect
|
|
70
|
+
* @uiWidget pageSelect
|
|
71
71
|
*/
|
|
72
72
|
this.loginPath = "/login";
|
|
73
73
|
withHooks(this);
|
|
@@ -105,10 +105,13 @@ export class PortalRegister {
|
|
|
105
105
|
"optional": false,
|
|
106
106
|
"docs": {
|
|
107
107
|
"tags": [{
|
|
108
|
-
"text": "
|
|
108
|
+
"text": "Registration Redirect",
|
|
109
109
|
"name": "uiName"
|
|
110
|
+
}, {
|
|
111
|
+
"text": "pageSelect",
|
|
112
|
+
"name": "uiWidget"
|
|
110
113
|
}],
|
|
111
|
-
"text": "
|
|
114
|
+
"text": "Redirect participants to this page from their verification email"
|
|
112
115
|
},
|
|
113
116
|
"attribute": "next-page",
|
|
114
117
|
"reflect": false,
|
|
@@ -126,10 +129,13 @@ export class PortalRegister {
|
|
|
126
129
|
"optional": false,
|
|
127
130
|
"docs": {
|
|
128
131
|
"tags": [{
|
|
129
|
-
"text": "Email
|
|
132
|
+
"text": "Email Verification Redirect",
|
|
130
133
|
"name": "uiName"
|
|
134
|
+
}, {
|
|
135
|
+
"text": "pageSelect",
|
|
136
|
+
"name": "uiWidget"
|
|
131
137
|
}],
|
|
132
|
-
"text": "The page that
|
|
138
|
+
"text": "The page that participants are redirected to from the verification email."
|
|
133
139
|
},
|
|
134
140
|
"attribute": "redirect-path",
|
|
135
141
|
"reflect": false,
|
|
@@ -147,7 +153,7 @@ export class PortalRegister {
|
|
|
147
153
|
"optional": false,
|
|
148
154
|
"docs": {
|
|
149
155
|
"tags": [{
|
|
150
|
-
"text": "Email Label",
|
|
156
|
+
"text": "Email Field Label",
|
|
151
157
|
"name": "uiName"
|
|
152
158
|
}],
|
|
153
159
|
"text": ""
|
|
@@ -168,7 +174,7 @@ export class PortalRegister {
|
|
|
168
174
|
"optional": false,
|
|
169
175
|
"docs": {
|
|
170
176
|
"tags": [{
|
|
171
|
-
"text": "Password Label",
|
|
177
|
+
"text": "Password Field Label",
|
|
172
178
|
"name": "uiName"
|
|
173
179
|
}],
|
|
174
180
|
"text": ""
|
|
@@ -231,7 +237,7 @@ export class PortalRegister {
|
|
|
231
237
|
"optional": false,
|
|
232
238
|
"docs": {
|
|
233
239
|
"tags": [{
|
|
234
|
-
"text": "Confirm Password Label",
|
|
240
|
+
"text": "Confirm Password Field Label",
|
|
235
241
|
"name": "uiName"
|
|
236
242
|
}],
|
|
237
243
|
"text": ""
|
|
@@ -254,17 +260,14 @@ export class PortalRegister {
|
|
|
254
260
|
"tags": [{
|
|
255
261
|
"text": "Show Confirm Password Field",
|
|
256
262
|
"name": "uiName"
|
|
257
|
-
}, {
|
|
258
|
-
"text": undefined,
|
|
259
|
-
"name": "default"
|
|
260
263
|
}],
|
|
261
|
-
"text": "
|
|
264
|
+
"text": ""
|
|
262
265
|
},
|
|
263
266
|
"attribute": "confirm-password",
|
|
264
267
|
"reflect": false,
|
|
265
268
|
"defaultValue": "false"
|
|
266
269
|
},
|
|
267
|
-
"
|
|
270
|
+
"disablePasswordValidation": {
|
|
268
271
|
"type": "boolean",
|
|
269
272
|
"mutable": false,
|
|
270
273
|
"complexType": {
|
|
@@ -276,14 +279,14 @@ export class PortalRegister {
|
|
|
276
279
|
"optional": false,
|
|
277
280
|
"docs": {
|
|
278
281
|
"tags": [{
|
|
279
|
-
"text": "
|
|
282
|
+
"text": "Disable Password Validation",
|
|
280
283
|
"name": "uiName"
|
|
281
284
|
}],
|
|
282
285
|
"text": ""
|
|
283
286
|
},
|
|
284
|
-
"attribute": "
|
|
287
|
+
"attribute": "disable-password-validation",
|
|
285
288
|
"reflect": false,
|
|
286
|
-
"defaultValue": "
|
|
289
|
+
"defaultValue": "false"
|
|
287
290
|
},
|
|
288
291
|
"hideInputs": {
|
|
289
292
|
"type": "boolean",
|
|
@@ -297,13 +300,10 @@ export class PortalRegister {
|
|
|
297
300
|
"optional": false,
|
|
298
301
|
"docs": {
|
|
299
302
|
"tags": [{
|
|
300
|
-
"text": "Hide Default
|
|
303
|
+
"text": "Hide Default Fields",
|
|
301
304
|
"name": "uiName"
|
|
302
|
-
}, {
|
|
303
|
-
"text": undefined,
|
|
304
|
-
"name": "default"
|
|
305
305
|
}],
|
|
306
|
-
"text": "
|
|
306
|
+
"text": "Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes \"email\" and \"password\" for this form to succeed."
|
|
307
307
|
},
|
|
308
308
|
"attribute": "hide-inputs",
|
|
309
309
|
"reflect": false,
|
|
@@ -321,7 +321,7 @@ export class PortalRegister {
|
|
|
321
321
|
"optional": false,
|
|
322
322
|
"docs": {
|
|
323
323
|
"tags": [{
|
|
324
|
-
"text": "
|
|
324
|
+
"text": "Header Text",
|
|
325
325
|
"name": "uiName"
|
|
326
326
|
}],
|
|
327
327
|
"text": ""
|
|
@@ -342,10 +342,13 @@ export class PortalRegister {
|
|
|
342
342
|
"optional": false,
|
|
343
343
|
"docs": {
|
|
344
344
|
"tags": [{
|
|
345
|
-
"text": "Login
|
|
345
|
+
"text": "Login Redirect",
|
|
346
346
|
"name": "uiName"
|
|
347
|
+
}, {
|
|
348
|
+
"text": "pageSelect",
|
|
349
|
+
"name": "uiWidget"
|
|
347
350
|
}],
|
|
348
|
-
"text": "
|
|
351
|
+
"text": "Redirect participants to this page after clicking the login button."
|
|
349
352
|
},
|
|
350
353
|
"attribute": "login-path",
|
|
351
354
|
"reflect": false,
|
|
@@ -356,7 +359,7 @@ export class PortalRegister {
|
|
|
356
359
|
"mutable": false,
|
|
357
360
|
"complexType": {
|
|
358
361
|
"original": "DemoData<PortalRegisterViewProps>",
|
|
359
|
-
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean;
|
|
362
|
+
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }",
|
|
360
363
|
"references": {
|
|
361
364
|
"DemoData": {
|
|
362
365
|
"location": "import",
|
|
@@ -391,10 +394,11 @@ function useRegisterDemo(props) {
|
|
|
391
394
|
states: {
|
|
392
395
|
error: "",
|
|
393
396
|
loading: false,
|
|
394
|
-
confirmPassword:
|
|
397
|
+
confirmPassword: props.confirmPassword,
|
|
395
398
|
hideInputs: props.hideInputs || false,
|
|
396
399
|
customPasswordField: false,
|
|
397
|
-
loginPath:
|
|
400
|
+
loginPath: props.loginPath,
|
|
401
|
+
disablePasswordValidation: props.disablePasswordValidation,
|
|
398
402
|
},
|
|
399
403
|
callbacks: {
|
|
400
404
|
submit: async (_event) => {
|