@saasquatch/mint-components 1.6.2-9 → 1.6.3-1
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/LICENSE +21 -21
- package/dist/cjs/{GenericTableView-47869553.js → GenericTableView-9271483b.js} +1 -1
- package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-0ce4871c.js → ShadowViewAddon-25a9cece.js} +410 -406
- package/dist/cjs/{global-4e52f274.js → global-a320ad05.js} +655 -655
- package/dist/cjs/{index.module-7972acac.js → index.module-0b9b8891.js} +228 -535
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/mint-components.cjs.js +3 -4
- package/dist/cjs/{re-render-99b2655c.js → re-render-172958b1.js} +4 -4
- 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 +3 -4
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +424 -388
- package/dist/cjs/sqm-empty_5.cjs.entry.js +53 -54
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-bc763ed2.js → sqm-hero-view-7bb2383c.js} +15 -15
- package/dist/cjs/sqm-hero.cjs.entry.js +2 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +16 -17
- package/dist/cjs/{sqm-navigation-sidebar-item-view-b3ca14b4.js → sqm-navigation-sidebar-item-view-bf62d5e2.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-87756d23.js} +7 -7
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +23 -26
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -5
- package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-b336f655.js} +5 -5
- package/dist/cjs/{sqm-portal-email-verification-view-f2a35e7c.js → sqm-portal-email-verification-view-4419779f.js} +16 -12
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +74 -23
- package/dist/cjs/{sqm-portal-footer-view-8eadb31d.js → sqm-portal-footer-view-edb2fbe3.js} +13 -13
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-f5c9b4b3.js} +9 -9
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +22 -23
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-profile-view-730252e8.js → sqm-portal-profile-view-b7ceb690.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +51 -54
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +9 -10
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +177 -96
- package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-92236225.js} +9 -9
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +47 -54
- 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-74b01b5f.js} +9 -9
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +15 -15
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -9
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +109 -110
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +844 -812
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -3
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -9
- package/dist/cjs/{sqm-text-span-view-2c7d94b5.js → sqm-text-span-view-aea267ba.js} +5 -5
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -3
- package/dist/cjs/{useChildElements-42a97f2a.js → useChildElements-6993ec39.js} +2 -2
- package/dist/cjs/{useReferralTable-a985ce58.js → useReferralTable-812f7288.js} +173 -173
- package/dist/cjs/{useRegistrationFormState-b7598d69.js → useRegistrationFormState-8f2caf7f.js} +2 -11
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-big-stat/useBigStat.js +238 -238
- package/dist/collection/components/sqm-brand/sqm-brand.js +31 -22
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +5 -5
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +17 -16
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +8 -5
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +13 -13
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -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 +16 -12
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +7 -4
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +32 -32
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +14 -14
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -3
- package/dist/collection/components/sqm-image/sqm-image-view.js +4 -4
- package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +12 -8
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +7 -4
- package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +4 -4
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +2 -2
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +40 -40
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +2 -2
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +12 -12
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +17 -17
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +3 -3
- package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +6 -6
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +1 -1
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +3 -0
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -6
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +13 -12
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +12 -13
- package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +22 -20
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +4 -4
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +1 -1
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +13 -9
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +71 -7
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +52 -13
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +11 -11
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +6 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +7 -7
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +12 -4
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +14 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +2 -6
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +27 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +7 -7
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +24 -10
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +7 -3
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +15 -17
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +33 -33
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +8 -8
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +19 -20
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +39 -28
- 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 +26 -27
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +201 -35
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +93 -46
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +7 -7
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +30 -24
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +7 -7
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +16 -8
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +2 -3
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +9 -9
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +9 -9
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -4
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +8 -8
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +166 -166
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +8 -8
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +51 -51
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -1
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +98 -98
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-router/Router.stories.js +71 -71
- package/dist/collection/components/sqm-router/sqm-router.css +7 -7
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +50 -50
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +13 -13
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +22 -22
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +4 -4
- package/dist/collection/components/sqm-share-button/useShareButton.js +17 -17
- package/dist/collection/components/sqm-share-code/useShareCode.js +13 -13
- package/dist/collection/components/sqm-share-link/useShareLink.js +12 -12
- package/dist/collection/components/sqm-stencilbook/Resizer.js +24 -24
- package/dist/collection/components/sqm-stencilbook/Themes.js +25 -25
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +475 -475
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +4 -4
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-task-card/useTaskCard.js +6 -6
- package/dist/collection/components/sqm-text/sqm-text.js +46 -46
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +4 -4
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +8 -8
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +8 -8
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +7 -7
- package/dist/collection/components/sqm-user-name/useUserName.js +9 -9
- package/dist/collection/global/styles.js +653 -653
- package/dist/collection/global/styles.ts +729 -729
- package/dist/esm/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
- package/dist/esm/{ShadowViewAddon-846aecda.js → ShadowViewAddon-d4705dae.js} +410 -406
- package/dist/esm/{global-44835899.js → global-126fa55c.js} +655 -655
- package/dist/esm/{index.module-132e274f.js → index.module-14794b69.js} +211 -519
- package/dist/esm/loader.js +3 -4
- package/dist/esm/mint-components.js +3 -4
- package/dist/esm/{re-render-81cd3caa.js → re-render-f48b74b9.js} +4 -4
- 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 +3 -4
- package/dist/esm/sqm-big-stat_35.entry.js +424 -388
- package/dist/esm/sqm-empty_5.entry.js +53 -54
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -6
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-9fb2be89.js → sqm-hero-view-1904c178.js} +15 -15
- package/dist/esm/sqm-hero.entry.js +2 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +16 -17
- package/dist/esm/{sqm-navigation-sidebar-item-view-364af025.js → sqm-navigation-sidebar-item-view-d6b9f5d0.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -5
- package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-a5b72846.js} +7 -7
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -3
- package/dist/esm/sqm-password-field.entry.js +23 -26
- package/dist/esm/sqm-popup-container.entry.js +4 -5
- package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-21bd84e0.js} +5 -5
- package/dist/esm/{sqm-portal-email-verification-view-5ac21bb4.js → sqm-portal-email-verification-view-c181c9ff.js} +16 -12
- package/dist/esm/sqm-portal-email-verification.entry.js +75 -24
- package/dist/esm/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-360cfd92.js} +13 -13
- package/dist/esm/sqm-portal-footer.entry.js +6 -7
- package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-b69c81b1.js} +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +23 -24
- package/dist/esm/sqm-portal-logout.entry.js +5 -5
- package/dist/esm/{sqm-portal-profile-view-630f05c8.js → sqm-portal-profile-view-93b584ab.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +51 -54
- package/dist/esm/sqm-portal-protected-route.entry.js +9 -10
- package/dist/esm/sqm-portal-registration-form.entry.js +177 -96
- package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-4afbbd6a.js} +9 -9
- package/dist/esm/sqm-portal-reset-password.entry.js +47 -54
- 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-cd01a420.js} +9 -9
- package/dist/esm/sqm-portal-verify-email.entry.js +15 -15
- package/dist/esm/sqm-referral-table_11.entry.js +8 -9
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +109 -110
- package/dist/esm/sqm-stencilbook.entry.js +844 -812
- package/dist/esm/sqm-tab.entry.js +2 -3
- package/dist/esm/sqm-tabs.entry.js +8 -9
- package/dist/esm/{sqm-text-span-view-0ba1484d.js → sqm-text-span-view-2567b6c0.js} +5 -5
- package/dist/esm/sqm-text-span.entry.js +2 -3
- package/dist/esm/{useChildElements-9431f3e2.js → useChildElements-d574b0ce.js} +2 -2
- package/dist/esm/{useReferralTable-0516b6d5.js → useReferralTable-4f070134.js} +173 -173
- package/dist/esm/useRegistrationFormState-abed2c1e.js +11 -0
- package/dist/esm-es5/{GenericTableView-10cac7d6.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-d4705dae.js +1 -0
- package/dist/esm-es5/{global-44835899.js → global-126fa55c.js} +2 -2
- package/dist/esm-es5/index.module-14794b69.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-81cd3caa.js → re-render-f48b74b9.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-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-9fb2be89.js → sqm-hero-view-1904c178.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-d6b9f5d0.js +1 -0
- 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-a5b72846.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-21bd84e0.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-c181c9ff.js +1 -0
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-f3a6eaed.js → sqm-portal-footer-view-360cfd92.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-b69c81b1.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-630f05c8.js → sqm-portal-profile-view-93b584ab.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-4afbbd6a.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-cd01a420.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-2567b6c0.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-9431f3e2.js → useChildElements-d574b0ce.js} +1 -1
- package/dist/esm-es5/{useReferralTable-0516b6d5.js → useReferralTable-4f070134.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-abed2c1e.js +1 -0
- package/dist/mint-components/global/styles.ts +729 -729
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-192617e7.system.js → p-052945ae.system.js} +1 -1
- package/dist/mint-components/p-05371d85.system.js +1 -0
- package/dist/mint-components/p-063d2251.entry.js +1 -0
- package/dist/mint-components/p-06c386c7.system.js +1 -0
- package/dist/mint-components/p-09e2ad91.entry.js +1 -0
- package/dist/mint-components/{p-436779be.js → p-1077f3f6.js} +1 -1
- package/dist/mint-components/p-10d73c6f.entry.js +1 -0
- package/dist/mint-components/p-1138df57.system.entry.js +1 -0
- package/dist/mint-components/{p-0e441a14.system.js → p-13fc7d5e.system.js} +1 -1
- package/dist/mint-components/{p-1c21b5d1.js → p-15ff38a8.js} +1 -1
- package/dist/mint-components/{p-519dc03b.system.js → p-19b6f55d.system.js} +1 -1
- package/dist/mint-components/p-1a673057.system.js +8 -0
- package/dist/mint-components/p-1b572110.system.entry.js +1 -0
- package/dist/mint-components/{p-53aef3ba.system.js → p-1fcd03ba.system.js} +2 -2
- package/dist/mint-components/p-212663a2.system.entry.js +1 -0
- package/dist/mint-components/p-2723c5cd.system.entry.js +1 -0
- package/dist/mint-components/p-28dcad3f.entry.js +33 -0
- package/dist/mint-components/p-29542a79.system.entry.js +1 -0
- package/dist/mint-components/p-2db22fc6.system.js +1 -0
- package/dist/mint-components/p-2e308c1b.system.js +1 -0
- package/dist/mint-components/p-34213ad0.js +1 -0
- package/dist/mint-components/p-3aace795.system.entry.js +1 -0
- package/dist/mint-components/p-3c27a64d.entry.js +1 -0
- package/dist/mint-components/{p-b0668789.system.js → p-3ea8021b.system.js} +1 -1
- package/dist/mint-components/p-40b4e40c.entry.js +1 -0
- package/dist/mint-components/p-4199cece.entry.js +1 -0
- package/dist/mint-components/p-445412d7.system.entry.js +1 -0
- package/dist/mint-components/p-459c3a9c.js +1 -0
- package/dist/mint-components/p-46ad2836.entry.js +1 -0
- package/dist/mint-components/{p-275cf42f.js → p-49395850.js} +1 -1
- package/dist/mint-components/p-4a93ab6a.entry.js +9 -0
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/p-4cb94566.entry.js +1 -0
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-501a0037.system.js} +1 -1
- package/dist/mint-components/p-5145c06d.system.entry.js +1 -0
- package/dist/mint-components/p-538ed60d.entry.js +1 -0
- package/dist/mint-components/p-54eae1a4.system.entry.js +1 -0
- package/dist/mint-components/{p-0d49d56d.js → p-5709f64a.js} +1 -1
- package/dist/mint-components/{p-afcf252c.js → p-57e38374.js} +2 -2
- package/dist/mint-components/p-5d21c616.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5d8343f5.system.entry.js +1 -0
- package/dist/mint-components/p-5ec62e5e.system.entry.js +1 -0
- package/dist/mint-components/p-67e0737e.entry.js +1 -0
- package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-0148c516.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/{p-210cd41b.js → p-6fd23a24.js} +1 -1
- package/dist/mint-components/p-6fe30760.entry.js +1 -0
- package/dist/mint-components/{p-6b5fbbdb.js → p-72444d0d.js} +1 -1
- package/dist/mint-components/p-7333c706.system.entry.js +1 -0
- package/dist/mint-components/p-7682724f.system.js +1 -0
- package/dist/mint-components/p-7768ba6a.system.entry.js +1 -0
- package/dist/mint-components/p-77fa96a0.system.entry.js +1 -0
- package/dist/mint-components/p-7b18ed47.system.entry.js +1 -0
- package/dist/mint-components/p-7c482d9c.entry.js +1 -0
- package/dist/mint-components/{p-c627c865.js → p-7cd232f3.js} +2 -2
- package/dist/mint-components/p-7de79b21.system.entry.js +1 -0
- package/dist/mint-components/p-7fd5b59a.system.entry.js +1 -0
- package/dist/mint-components/p-808f2155.entry.js +1 -0
- package/dist/mint-components/{p-703f4552.entry.js → p-84130e9c.entry.js} +12 -12
- package/dist/mint-components/p-86adbf81.js +1 -0
- package/dist/mint-components/p-89ca304c.system.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-8f99a2dd.system.js} +1 -1
- package/dist/mint-components/{p-7dea8d9a.js → p-91f576aa.js} +1 -1
- package/dist/mint-components/p-98dd1229.entry.js +1 -0
- package/dist/mint-components/p-9d2d4a46.system.entry.js +1 -0
- package/dist/mint-components/p-a05940ed.entry.js +1 -0
- package/dist/mint-components/p-a27bbf25.system.entry.js +1 -0
- package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/p-adde467d.entry.js +1 -0
- package/dist/mint-components/{p-1f6fdeda.system.entry.js → p-bb241e21.system.entry.js} +1 -1
- package/dist/mint-components/{p-d08b59df.entry.js → p-bdba5fa0.entry.js} +2 -2
- package/dist/mint-components/p-bea71a98.system.entry.js +1 -0
- package/dist/mint-components/{p-446a0805.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-c183a463.system.entry.js +1 -0
- package/dist/mint-components/p-c683c96d.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-c72e4a4c.system.js} +1 -1
- package/dist/mint-components/p-ca97933a.system.js +1 -0
- package/dist/mint-components/{p-ec689579.js → p-ceb1a772.js} +1 -1
- package/dist/mint-components/p-cef45012.js +1 -0
- package/dist/mint-components/{p-4778fb68.js → p-d047d6a1.js} +1 -1
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-1c24a18c.js → p-d4f42f8b.js} +1 -1
- package/dist/mint-components/p-d71278d3.system.js +1 -0
- package/dist/mint-components/{p-83d4885d.entry.js → p-d90834f7.entry.js} +2 -2
- package/dist/mint-components/p-df139412.entry.js +1 -0
- package/dist/mint-components/p-df5cb47b.entry.js +13 -0
- package/dist/mint-components/p-dfde7664.entry.js +1 -0
- package/dist/mint-components/{p-d64a0bc1.js → p-e2440408.js} +1 -1
- package/dist/mint-components/p-e8956db1.entry.js +1 -0
- package/dist/mint-components/{p-19b0e2b5.system.js → p-e8a2e2fd.system.js} +1 -1
- package/dist/mint-components/{p-89fc4544.system.js → p-e9e00618.system.js} +1 -1
- package/dist/mint-components/{p-4935076f.system.js → p-ec690422.system.js} +1 -1
- package/dist/mint-components/p-ec7a5d7c.system.entry.js +1 -0
- package/dist/mint-components/{p-5d292177.system.js → p-eec4ddab.system.js} +1 -1
- package/dist/mint-components/p-eecce333.system.entry.js +1 -0
- package/dist/mint-components/{p-52a2beaf.js → p-f1a2b660.js} +1 -1
- package/dist/mint-components/p-fa48fff3.system.entry.js +1 -0
- package/dist/mint-components/p-fcab0950.system.entry.js +1 -0
- package/dist/mint-components/p-fd207df1.js +268 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- 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 +3 -1
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -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 +3 -1
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
- 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 +3 -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 +0 -2
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +1 -1
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +1 -0
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +0 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +4 -5
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +5 -5
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +5 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +13 -2
- package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +5 -0
- 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 +2 -2
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +4 -2
- 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 +4 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +9 -4
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +3 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +2 -4
- 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 +4 -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 +13 -12
- 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 +6 -3
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +51 -14
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +9 -9
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +6 -4
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +3 -3
- package/dist/types/components.d.ts +391 -212
- package/dist/types/global/android.d.ts +7 -7
- package/dist/types/global/styles.d.ts +1 -1
- package/dist/types/saasquatch.d.ts +132 -132
- package/dist/types/stories/features.d.ts +4 -4
- package/dist/types/stories/templates.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +102 -102
- package/readme.md +13 -13
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm/useRegistrationFormState-ebb08075.js +0 -18
- package/dist/esm-es5/ShadowViewAddon-846aecda.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-132e274f.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-364af025.js +0 -1
- package/dist/esm-es5/sqm-portal-email-verification-view-5ac21bb4.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-ebb08075.js +0 -1
- package/dist/mint-components/p-00d4636f.system.entry.js +0 -1
- package/dist/mint-components/p-06f56536.js +0 -1
- package/dist/mint-components/p-07d424a2.system.entry.js +0 -1
- package/dist/mint-components/p-088d3b4a.system.entry.js +0 -1
- package/dist/mint-components/p-0b1d703d.entry.js +0 -1
- package/dist/mint-components/p-0d482ad4.js +0 -1
- package/dist/mint-components/p-0f4c1e0e.entry.js +0 -33
- package/dist/mint-components/p-1191cada.entry.js +0 -1
- package/dist/mint-components/p-136325c0.system.js +0 -1
- package/dist/mint-components/p-162fca19.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1c40d459.js +0 -268
- package/dist/mint-components/p-1cc3dfe5.system.js +0 -1
- package/dist/mint-components/p-222e5418.entry.js +0 -1
- package/dist/mint-components/p-2383eadd.system.entry.js +0 -1
- package/dist/mint-components/p-242bd74b.entry.js +0 -9
- package/dist/mint-components/p-292857fd.system.js +0 -1
- package/dist/mint-components/p-2dce26fa.system.entry.js +0 -1
- package/dist/mint-components/p-3d0dc005.system.entry.js +0 -1
- package/dist/mint-components/p-4ce8e325.system.entry.js +0 -1
- package/dist/mint-components/p-50553269.system.entry.js +0 -1
- package/dist/mint-components/p-50afa774.entry.js +0 -1
- package/dist/mint-components/p-51102b8f.entry.js +0 -13
- package/dist/mint-components/p-574ba520.system.js +0 -1
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-63101d0c.entry.js +0 -1
- package/dist/mint-components/p-7c3e3cb4.entry.js +0 -1
- package/dist/mint-components/p-7f4b0ba0.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +0 -1
- package/dist/mint-components/p-8c4bcbc6.entry.js +0 -1
- package/dist/mint-components/p-8d6a2a61.system.entry.js +0 -1
- package/dist/mint-components/p-90dfce36.entry.js +0 -1
- package/dist/mint-components/p-9f596d8d.system.entry.js +0 -1
- package/dist/mint-components/p-a1acdbb4.entry.js +0 -1
- package/dist/mint-components/p-a395bae0.entry.js +0 -1
- package/dist/mint-components/p-a4335cb5.system.entry.js +0 -1
- package/dist/mint-components/p-af3b56d3.system.entry.js +0 -1
- package/dist/mint-components/p-b2e7ca31.system.entry.js +0 -1
- package/dist/mint-components/p-b3d7d353.entry.js +0 -1
- package/dist/mint-components/p-b52109dd.entry.js +0 -1
- package/dist/mint-components/p-b593a42e.system.entry.js +0 -1
- package/dist/mint-components/p-bb9dadd3.system.entry.js +0 -1
- package/dist/mint-components/p-bc2cf095.entry.js +0 -1
- package/dist/mint-components/p-bed78bee.system.entry.js +0 -1
- package/dist/mint-components/p-c01e754d.system.entry.js +0 -1
- package/dist/mint-components/p-c4e22786.system.js +0 -1
- package/dist/mint-components/p-ca08cf71.entry.js +0 -1
- package/dist/mint-components/p-cac0e237.entry.js +0 -1
- package/dist/mint-components/p-ce6f7e0e.entry.js +0 -1
- package/dist/mint-components/p-ceeeb344.entry.js +0 -1
- package/dist/mint-components/p-ceefa54a.system.entry.js +0 -1
- package/dist/mint-components/p-d21ccfa1.entry.js +0 -1
- package/dist/mint-components/p-d307abaa.entry.js +0 -1
- package/dist/mint-components/p-d4b1fcbc.system.entry.js +0 -1
- package/dist/mint-components/p-d5c94703.entry.js +0 -1
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-dc37fe51.system.js +0 -1
- package/dist/mint-components/p-df2b4e11.system.entry.js +0 -1
- package/dist/mint-components/p-e0fa9595.system.js +0 -1
- package/dist/mint-components/p-e8d07dfa.system.entry.js +0 -1
- package/dist/mint-components/p-f3eaabf8.system.entry.js +0 -1
- package/dist/mint-components/p-f54b436e.entry.js +0 -1
- package/dist/mint-components/p-f5e601b0.system.entry.js +0 -1
- package/dist/mint-components/p-f8863064.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/docs/grapesjs.js +0 -54
|
@@ -4,6 +4,7 @@ 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
9
|
* @uiName Microsite Password Change
|
|
9
10
|
*/
|
|
@@ -15,25 +16,25 @@ export class PortalChangePassword {
|
|
|
15
16
|
*/
|
|
16
17
|
this.modalChangePasswordHeader = "Change Password";
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Found in modal
|
|
19
20
|
*
|
|
20
21
|
* @uiName Cancel Button Text
|
|
21
22
|
*/
|
|
22
23
|
this.cancelText = "Cancel";
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
+
* Found in modal
|
|
25
26
|
*
|
|
26
27
|
* @uiName Change Password Button Text
|
|
27
28
|
*/
|
|
28
29
|
this.changePasswordButtonText = "Change Password";
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
+
* Found in modal
|
|
31
32
|
*
|
|
32
|
-
* @uiName Password Label
|
|
33
|
+
* @uiName New Password Field Label
|
|
33
34
|
*/
|
|
34
35
|
this.passwordFieldLabel = "New Password";
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
+
* Found in modal
|
|
37
38
|
*
|
|
38
39
|
* @uiName Confirm Password Label
|
|
39
40
|
*/
|
|
@@ -103,7 +104,7 @@ export class PortalChangePassword {
|
|
|
103
104
|
"text": "Cancel Button Text",
|
|
104
105
|
"name": "uiName"
|
|
105
106
|
}],
|
|
106
|
-
"text": "
|
|
107
|
+
"text": "Found in modal"
|
|
107
108
|
},
|
|
108
109
|
"attribute": "cancel-text",
|
|
109
110
|
"reflect": false,
|
|
@@ -124,7 +125,7 @@ export class PortalChangePassword {
|
|
|
124
125
|
"text": "Change Password Button Text",
|
|
125
126
|
"name": "uiName"
|
|
126
127
|
}],
|
|
127
|
-
"text": "
|
|
128
|
+
"text": "Found in modal"
|
|
128
129
|
},
|
|
129
130
|
"attribute": "change-password-button-text",
|
|
130
131
|
"reflect": false,
|
|
@@ -142,10 +143,10 @@ export class PortalChangePassword {
|
|
|
142
143
|
"optional": false,
|
|
143
144
|
"docs": {
|
|
144
145
|
"tags": [{
|
|
145
|
-
"text": "Password Label",
|
|
146
|
+
"text": "New Password Field Label",
|
|
146
147
|
"name": "uiName"
|
|
147
148
|
}],
|
|
148
|
-
"text": "
|
|
149
|
+
"text": "Found in modal"
|
|
149
150
|
},
|
|
150
151
|
"attribute": "password-field-label",
|
|
151
152
|
"reflect": false,
|
|
@@ -166,7 +167,7 @@ export class PortalChangePassword {
|
|
|
166
167
|
"text": "Confirm Password Label",
|
|
167
168
|
"name": "uiName"
|
|
168
169
|
}],
|
|
169
|
-
"text": "
|
|
170
|
+
"text": "Found in modal"
|
|
170
171
|
},
|
|
171
172
|
"attribute": "confirm-password-field-label",
|
|
172
173
|
"reflect": false,
|
|
@@ -274,23 +275,24 @@ export class PortalChangePassword {
|
|
|
274
275
|
}; }
|
|
275
276
|
}
|
|
276
277
|
function usePortalChangePasswordDemo(props) {
|
|
278
|
+
const [open, setOpen] = useState(false);
|
|
277
279
|
return deepmerge({
|
|
278
280
|
states: {
|
|
279
|
-
open
|
|
281
|
+
open,
|
|
280
282
|
error: "",
|
|
281
283
|
content: {
|
|
282
|
-
modalChangePasswordHeader:
|
|
283
|
-
cancelText:
|
|
284
|
-
changePasswordButtonText:
|
|
285
|
-
passwordFieldLabel:
|
|
286
|
-
confirmPasswordFieldLabel:
|
|
287
|
-
successMessage:
|
|
288
|
-
portalChangePasswordHeader:
|
|
289
|
-
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,
|
|
290
292
|
},
|
|
291
293
|
},
|
|
292
294
|
callbacks: {
|
|
293
|
-
setOpen: (
|
|
295
|
+
setOpen: (update) => setOpen(update),
|
|
294
296
|
submit: (e) => console.log("Submit", e),
|
|
295
297
|
},
|
|
296
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,
|
|
@@ -15,10 +15,10 @@ export function PortalContainerView(props, children) {
|
|
|
15
15
|
justifyContent: props.justifyContent,
|
|
16
16
|
},
|
|
17
17
|
};
|
|
18
|
-
const vanillaStyle = `
|
|
19
|
-
:host{
|
|
20
|
-
width: 100%;
|
|
21
|
-
display: block;
|
|
18
|
+
const vanillaStyle = `
|
|
19
|
+
:host{
|
|
20
|
+
width: 100%;
|
|
21
|
+
display: block;
|
|
22
22
|
}`;
|
|
23
23
|
const sheet = createStyleSheet(style);
|
|
24
24
|
const styleString = sheet.toString();
|
|
@@ -200,7 +200,7 @@ export class PortalContainer {
|
|
|
200
200
|
"type": "string",
|
|
201
201
|
"mutable": false,
|
|
202
202
|
"complexType": {
|
|
203
|
-
"original": "| \"start\"\n | \"center\"\n | \"end\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\"",
|
|
203
|
+
"original": "| \"start\"\r\n | \"center\"\r\n | \"end\"\r\n | \"space-between\"\r\n | \"space-around\"\r\n | \"space-evenly\"",
|
|
204
204
|
"resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
|
|
205
205
|
"references": {}
|
|
206
206
|
},
|
|
@@ -7,18 +7,18 @@ const style = {
|
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
8
8
|
Column: { ...AuthColumn },
|
|
9
9
|
};
|
|
10
|
-
const vanillaStyle = `
|
|
11
|
-
:host {
|
|
12
|
-
display: block;
|
|
13
|
-
}
|
|
14
|
-
:host([hidden]): {
|
|
15
|
-
display: none;
|
|
16
|
-
}
|
|
10
|
+
const vanillaStyle = `
|
|
11
|
+
:host {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
:host([hidden]): {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
17
|
`;
|
|
18
18
|
const sheet = createStyleSheet(style);
|
|
19
19
|
const styleString = sheet.toString();
|
|
20
20
|
export function PortalEmailVerificationView(props) {
|
|
21
|
-
const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, }, } = props;
|
|
21
|
+
const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, verificationStatusMessage, verificationLoadingMessage, }, } = props;
|
|
22
22
|
return (h("div", { class: sheet.classes.Wrapper },
|
|
23
23
|
h("style", { type: "text/css" },
|
|
24
24
|
vanillaStyle,
|
|
@@ -35,5 +35,9 @@ export function PortalEmailVerificationView(props) {
|
|
|
35
35
|
}, {
|
|
36
36
|
email: (h("span", { style: { fontWeight: "var(--sl-font-weight-semibold)" } }, email)),
|
|
37
37
|
})),
|
|
38
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, resendEmailButtonText)
|
|
38
|
+
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, resendEmailButtonText),
|
|
39
|
+
states.loadingVerification ? (h("p", null, verificationLoadingMessage)) : (h("p", null, intl.formatMessage({
|
|
40
|
+
id: `verificationStatus`,
|
|
41
|
+
defaultMessage: verificationStatusMessage,
|
|
42
|
+
}, { countdown: states.countdown }))))));
|
|
39
43
|
}
|
package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js
CHANGED
|
@@ -11,9 +11,10 @@ export class PortalEmailVerification {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Redirect participants to this page from their verification email.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Email
|
|
16
|
+
* @uiName Email Redirect
|
|
17
|
+
* @uiWidget pageSelect
|
|
17
18
|
*/
|
|
18
19
|
this.redirectPath = "/verifyEmail";
|
|
19
20
|
/**
|
|
@@ -28,7 +29,17 @@ export class PortalEmailVerification {
|
|
|
28
29
|
* @uiName Email Verification Body Text
|
|
29
30
|
* @uiWidget textArea
|
|
30
31
|
*/
|
|
31
|
-
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 will invalidate the previous email.";
|
|
33
|
+
/**
|
|
34
|
+
* @uiName Email Verification Status Text
|
|
35
|
+
* @uiWidget textArea
|
|
36
|
+
*/
|
|
37
|
+
this.verificationStatusMessage = "Check verification status in {countdown}";
|
|
38
|
+
/**
|
|
39
|
+
* @uiName Email Verification Checking Text
|
|
40
|
+
* @uiWidget textArea
|
|
41
|
+
*/
|
|
42
|
+
this.verificationLoadingMessage = "Verification status refreshing";
|
|
32
43
|
withHooks(this);
|
|
33
44
|
}
|
|
34
45
|
disconnectedCallback() { }
|
|
@@ -53,10 +64,13 @@ export class PortalEmailVerification {
|
|
|
53
64
|
"optional": false,
|
|
54
65
|
"docs": {
|
|
55
66
|
"tags": [{
|
|
56
|
-
"text": "Email
|
|
67
|
+
"text": "Email Redirect",
|
|
57
68
|
"name": "uiName"
|
|
69
|
+
}, {
|
|
70
|
+
"text": "pageSelect",
|
|
71
|
+
"name": "uiWidget"
|
|
58
72
|
}],
|
|
59
|
-
"text": "
|
|
73
|
+
"text": "Redirect participants to this page from their verification email."
|
|
60
74
|
},
|
|
61
75
|
"attribute": "redirect-path",
|
|
62
76
|
"reflect": false,
|
|
@@ -126,14 +140,62 @@ export class PortalEmailVerification {
|
|
|
126
140
|
},
|
|
127
141
|
"attribute": "verify-message",
|
|
128
142
|
"reflect": false,
|
|
129
|
-
"defaultValue": "\"A verification email was sent to {email}. Please verify your email to continue to the portal.\""
|
|
143
|
+
"defaultValue": "\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\""
|
|
144
|
+
},
|
|
145
|
+
"verificationStatusMessage": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "string",
|
|
150
|
+
"resolved": "string",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [{
|
|
157
|
+
"text": "Email Verification Status Text",
|
|
158
|
+
"name": "uiName"
|
|
159
|
+
}, {
|
|
160
|
+
"text": "textArea",
|
|
161
|
+
"name": "uiWidget"
|
|
162
|
+
}],
|
|
163
|
+
"text": ""
|
|
164
|
+
},
|
|
165
|
+
"attribute": "verification-status-message",
|
|
166
|
+
"reflect": false,
|
|
167
|
+
"defaultValue": "\"Check verification status in {countdown}\""
|
|
168
|
+
},
|
|
169
|
+
"verificationLoadingMessage": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"mutable": false,
|
|
172
|
+
"complexType": {
|
|
173
|
+
"original": "string",
|
|
174
|
+
"resolved": "string",
|
|
175
|
+
"references": {}
|
|
176
|
+
},
|
|
177
|
+
"required": false,
|
|
178
|
+
"optional": false,
|
|
179
|
+
"docs": {
|
|
180
|
+
"tags": [{
|
|
181
|
+
"text": "Email Verification Checking Text",
|
|
182
|
+
"name": "uiName"
|
|
183
|
+
}, {
|
|
184
|
+
"text": "textArea",
|
|
185
|
+
"name": "uiWidget"
|
|
186
|
+
}],
|
|
187
|
+
"text": ""
|
|
188
|
+
},
|
|
189
|
+
"attribute": "verification-loading-message",
|
|
190
|
+
"reflect": false,
|
|
191
|
+
"defaultValue": "\"Verification status refreshing\""
|
|
130
192
|
},
|
|
131
193
|
"demoData": {
|
|
132
194
|
"type": "unknown",
|
|
133
195
|
"mutable": false,
|
|
134
196
|
"complexType": {
|
|
135
197
|
"original": "DemoData<PortalEmailVerificationViewProps>",
|
|
136
|
-
"resolved": "{ states?: { error: string; loading: boolean; success: boolean; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; }; }",
|
|
198
|
+
"resolved": "{ states?: { error: string; loading: boolean; success: boolean; isVerified?: boolean; loadingVerification?: boolean; countdown?: number; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; verificationStatusMessage?: string; verificationLoadingMessage?: string; }; }",
|
|
137
199
|
"references": {
|
|
138
200
|
"DemoData": {
|
|
139
201
|
"location": "import",
|
|
@@ -174,6 +236,8 @@ function usePortalEmailVerificationDemo(props) {
|
|
|
174
236
|
verifyMessage: "A verification email was sent to {email}. Please verify your email to continue to the portal.",
|
|
175
237
|
emailVerificationHeader: "Verify your email",
|
|
176
238
|
resendEmailButtonText: "Re-send Email",
|
|
239
|
+
verificationLoadingMessage: props.verificationLoadingMessage,
|
|
240
|
+
verificationStatusMessage: props.verificationStatusMessage,
|
|
177
241
|
},
|
|
178
242
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
179
243
|
}
|
package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { navigation, useManagedIdentitySessionQuery, useRequestVerificationEmailMutation, useUserIdentity, } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useCallback, useEffect, useRef, useState, } from "@saasquatch/universal-hooks";
|
|
3
|
+
// var refreshTimer;
|
|
3
4
|
export function usePortalEmailVerification(props) {
|
|
4
5
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
5
6
|
const [request, { loading, data, errors }] = useRequestVerificationEmailMutation();
|
|
7
|
+
const [getVerificationStatus, { data: user, loading: loadingVerification }] = useManagedIdentitySessionQuery();
|
|
6
8
|
const userIdent = useUserIdentity();
|
|
7
9
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
10
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
11
|
+
const nextPage = urlParams.get("nextPage");
|
|
8
12
|
const [success, setSuccess] = useState(false);
|
|
9
13
|
const [error, setError] = useState("");
|
|
10
|
-
const
|
|
11
|
-
const
|
|
14
|
+
const [countdown, setCountdown] = useState(10);
|
|
15
|
+
const timerRef = useRef(undefined);
|
|
12
16
|
const submit = async () => {
|
|
17
|
+
var _a;
|
|
13
18
|
if (!email)
|
|
14
19
|
return;
|
|
15
20
|
setError("");
|
|
@@ -17,25 +22,57 @@ export function usePortalEmailVerification(props) {
|
|
|
17
22
|
const urlParams = nextPage ? { nextPage } : null;
|
|
18
23
|
const redirectPath = props.redirectPath;
|
|
19
24
|
const variables = { email, urlParams, redirectPath };
|
|
20
|
-
await request(variables);
|
|
25
|
+
const result = await request(variables);
|
|
26
|
+
if (result instanceof Error) {
|
|
27
|
+
if (result.message)
|
|
28
|
+
setError("Network request failed.");
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if ((_a = result.requestManagedIdentityVerificationEmail) === null || _a === void 0 ? void 0 : _a.success)
|
|
32
|
+
setSuccess(true);
|
|
21
33
|
};
|
|
22
|
-
|
|
34
|
+
function clearTimer() {
|
|
35
|
+
console.log("clearing!", timerRef.current);
|
|
36
|
+
clearInterval(timerRef.current);
|
|
37
|
+
}
|
|
38
|
+
const checkVerification = useCallback(async () => {
|
|
23
39
|
var _a;
|
|
24
|
-
|
|
25
|
-
|
|
40
|
+
console.log("checking...", timerRef.current);
|
|
41
|
+
const data = (await getVerificationStatus());
|
|
42
|
+
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
43
|
+
console.log("verified!", timerRef.current);
|
|
44
|
+
clearTimer();
|
|
45
|
+
return navigation.push(props.redirectPath);
|
|
26
46
|
}
|
|
27
|
-
|
|
47
|
+
else {
|
|
48
|
+
setCountdown(10);
|
|
49
|
+
}
|
|
50
|
+
}, []);
|
|
28
51
|
useEffect(() => {
|
|
29
|
-
if (
|
|
30
|
-
|
|
52
|
+
if (!timerRef.current) {
|
|
53
|
+
checkVerification();
|
|
54
|
+
timerRef.current = setInterval(checkVerification, 10000);
|
|
31
55
|
}
|
|
32
|
-
|
|
56
|
+
return () => {
|
|
57
|
+
console.log("clear timer");
|
|
58
|
+
clearTimer();
|
|
59
|
+
};
|
|
60
|
+
}, []);
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
const countdownTimer = countdown > 0 && setInterval(() => setCountdown(countdown - 1), 1000);
|
|
63
|
+
if (countdown === 0)
|
|
64
|
+
clearInterval(countdownTimer);
|
|
65
|
+
return () => clearInterval(countdownTimer);
|
|
66
|
+
}, [countdown]);
|
|
33
67
|
return {
|
|
34
68
|
states: {
|
|
35
69
|
loading,
|
|
36
|
-
error: ((
|
|
70
|
+
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
71
|
error,
|
|
38
72
|
success,
|
|
73
|
+
loadingVerification,
|
|
74
|
+
isVerified: !!((_j = user === null || user === void 0 ? void 0 : user.managedIdentitySession) === null || _j === void 0 ? void 0 : _j.emailVerified),
|
|
75
|
+
countdown,
|
|
39
76
|
},
|
|
40
77
|
callbacks: {
|
|
41
78
|
submit,
|
|
@@ -45,6 +82,8 @@ export function usePortalEmailVerification(props) {
|
|
|
45
82
|
verifyMessage: props.verifyMessage,
|
|
46
83
|
emailVerificationHeader: props.emailVerificationHeader,
|
|
47
84
|
resendEmailButtonText: props.resendEmailButtonText,
|
|
85
|
+
verificationLoadingMessage: props.verificationLoadingMessage,
|
|
86
|
+
verificationStatusMessage: props.verificationStatusMessage,
|
|
48
87
|
},
|
|
49
88
|
};
|
|
50
89
|
}
|
|
@@ -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 })));
|
|
@@ -2,16 +2,16 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
3
|
import { intl } from "../../global/global";
|
|
4
4
|
import { PoweredByImg } from "./PoweredByImg";
|
|
5
|
-
const vanillaStyle = `
|
|
6
|
-
:host{
|
|
7
|
-
margin: 0 auto;
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
a{
|
|
11
|
-
cursor:pointer;
|
|
12
|
-
color: inherit;
|
|
13
|
-
text-decoration: none;
|
|
14
|
-
}
|
|
5
|
+
const vanillaStyle = `
|
|
6
|
+
:host{
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
a{
|
|
11
|
+
cursor:pointer;
|
|
12
|
+
color: inherit;
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
}
|
|
15
15
|
`;
|
|
16
16
|
export function PortalFooterView(props) {
|
|
17
17
|
const style = {
|
|
@@ -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
|
}
|
|
@@ -18,9 +18,9 @@ export class PortalFooter {
|
|
|
18
18
|
*/
|
|
19
19
|
this.supportText = "For program support, contact {email}";
|
|
20
20
|
/**
|
|
21
|
-
* @uiName
|
|
21
|
+
* @uiName Hide Powered By SaaSquatch
|
|
22
22
|
*/
|
|
23
|
-
this.
|
|
23
|
+
this.hidePoweredBy = false;
|
|
24
24
|
/**
|
|
25
25
|
* @uiName Powered By Link
|
|
26
26
|
*/
|
|
@@ -184,7 +184,7 @@ export class PortalFooter {
|
|
|
184
184
|
"attribute": "faq-text",
|
|
185
185
|
"reflect": false
|
|
186
186
|
},
|
|
187
|
-
"
|
|
187
|
+
"hidePoweredBy": {
|
|
188
188
|
"type": "boolean",
|
|
189
189
|
"mutable": false,
|
|
190
190
|
"complexType": {
|
|
@@ -196,14 +196,14 @@ export class PortalFooter {
|
|
|
196
196
|
"optional": false,
|
|
197
197
|
"docs": {
|
|
198
198
|
"tags": [{
|
|
199
|
-
"text": "
|
|
199
|
+
"text": "Hide Powered By SaaSquatch",
|
|
200
200
|
"name": "uiName"
|
|
201
201
|
}],
|
|
202
202
|
"text": ""
|
|
203
203
|
},
|
|
204
|
-
"attribute": "
|
|
204
|
+
"attribute": "hide-powered-by",
|
|
205
205
|
"reflect": false,
|
|
206
|
-
"defaultValue": "
|
|
206
|
+
"defaultValue": "false"
|
|
207
207
|
},
|
|
208
208
|
"poweredByLink": {
|
|
209
209
|
"type": "string",
|
package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js
CHANGED
|
@@ -11,13 +11,13 @@ const style = {
|
|
|
11
11
|
width: "25%",
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
|
-
const vanillaStyle = `
|
|
15
|
-
:host {
|
|
16
|
-
display: block;
|
|
17
|
-
}
|
|
18
|
-
:host([hidden]): {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
14
|
+
const vanillaStyle = `
|
|
15
|
+
:host {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
:host([hidden]): {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
21
|
`;
|
|
22
22
|
const sheet = createStyleSheet(style);
|
|
23
23
|
const styleString = sheet.toString();
|
|
@@ -11,9 +11,10 @@ export class PortalForgotPassword {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Redirect participants to this page after they verify their email.
|
|
15
15
|
*
|
|
16
|
-
* @uiName Email
|
|
16
|
+
* @uiName Email Redirect
|
|
17
|
+
* @uiWidget pageSelect
|
|
17
18
|
*/
|
|
18
19
|
this.redirectPath = "/resetPassword";
|
|
19
20
|
/**
|
|
@@ -26,6 +27,7 @@ export class PortalForgotPassword {
|
|
|
26
27
|
this.submitLabel = "Request Password Reset";
|
|
27
28
|
/**
|
|
28
29
|
* @uiName Login Redirect Path
|
|
30
|
+
* @uiWidget pageSelect
|
|
29
31
|
*/
|
|
30
32
|
this.loginPath = "/login";
|
|
31
33
|
/**
|
|
@@ -68,10 +70,13 @@ export class PortalForgotPassword {
|
|
|
68
70
|
"optional": false,
|
|
69
71
|
"docs": {
|
|
70
72
|
"tags": [{
|
|
71
|
-
"text": "Email
|
|
73
|
+
"text": "Email Redirect",
|
|
72
74
|
"name": "uiName"
|
|
75
|
+
}, {
|
|
76
|
+
"text": "pageSelect",
|
|
77
|
+
"name": "uiWidget"
|
|
73
78
|
}],
|
|
74
|
-
"text": "
|
|
79
|
+
"text": "Redirect participants to this page after they verify their email."
|
|
75
80
|
},
|
|
76
81
|
"attribute": "redirect-path",
|
|
77
82
|
"reflect": false,
|
|
@@ -133,6 +138,9 @@ export class PortalForgotPassword {
|
|
|
133
138
|
"tags": [{
|
|
134
139
|
"text": "Login Redirect Path",
|
|
135
140
|
"name": "uiName"
|
|
141
|
+
}, {
|
|
142
|
+
"text": "pageSelect",
|
|
143
|
+
"name": "uiWidget"
|
|
136
144
|
}],
|
|
137
145
|
"text": ""
|
|
138
146
|
},
|