@saasquatch/mint-components 1.7.4 → 1.7.5
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/{ShadowViewAddon-25025125.js → ShadowViewAddon-54e29788.js} +39 -52
- package/dist/cjs/{global-be9af765.js → global-a8fd1f10.js} +3 -3
- package/dist/cjs/{index.module-8562f350.js → index.module-7c0deb52.js} +24 -26
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-53e983a6.js → luxon-a4661470.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{re-render-9a91bde6.js → re-render-e77c897d.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +172 -68
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +6 -6
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-28578dce.js → sqm-navigation-sidebar-item-view-84128b9f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +44 -19
- package/dist/cjs/sqm-popup-container.cjs.entry.js +13 -6
- package/dist/cjs/{sqm-portal-email-verification-view-077c12f7.js → sqm-portal-email-verification-view-b7cafe0c.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +20 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-0142350f.js → sqm-portal-forgot-password-view-ca5f6db9.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +19 -9
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-b3d1e0f7.js → sqm-portal-profile-view-f092a4ef.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +32 -12
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +40 -8
- package/dist/cjs/{sqm-portal-reset-password-view-d5bc7afc.js → sqm-portal-reset-password-view-07a13210.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +71 -11
- package/dist/cjs/{sqm-portal-verify-email-view-f6c7287e.js → sqm-portal-verify-email-view-ce552bbc.js} +7 -7
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +49 -14
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +7 -7
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +11 -11
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +62 -55
- package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{stencil-hooks.module-e4bf7f2d.js → stencil-hooks.module-faabb426.js} +1 -1
- package/dist/cjs/{useChildElements-be4e0841.js → useChildElements-410453fc.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-27a20410.js → useInstantAccessRegistration-42b320b3.js} +4 -4
- package/dist/cjs/{useReferralTable-ca564dcb.js → useReferralTable-28fff5b8.js} +10 -10
- package/dist/cjs/{useRegistrationFormState-7b557a04.js → useRegistrationFormState-58ce55f2.js} +3 -3
- package/dist/cjs/utilities-d2d257c7.js +25 -0
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +2 -2
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +77 -1
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +7 -5
- package/dist/collection/components/sqm-password-field/passwordValidation.js +11 -11
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +155 -4
- package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -1
- package/dist/collection/components/sqm-popup-container/PopupContainer.stories.js +18 -0
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +1 -1
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +27 -0
- package/dist/collection/components/sqm-popup-container/usePopupContainer.js +1 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +207 -1
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +8 -2
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +2 -2
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +57 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +61 -6
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +26 -0
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +1 -1
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +3 -3
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +104 -1
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +6 -5
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +157 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +157 -1
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +3 -1
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +4 -4
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +262 -1
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +12 -3
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +6 -0
- 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 +150 -5
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +7 -2
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +52 -0
- package/dist/collection/components/sqm-share-button/useShareButton.js +11 -11
- package/dist/collection/utilities.js +3 -0
- package/dist/esm/{ShadowViewAddon-53810b62.js → ShadowViewAddon-be3c7698.js} +36 -49
- package/dist/esm/{global-179b13db.js → global-0268f7bb.js} +3 -3
- package/dist/esm/{index.module-9469b28f.js → index.module-cbe33f2d.js} +6 -8
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-f01e85fe.js → luxon-5ca0a018.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{re-render-1048d024.js → re-render-4e10b5ac.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-big-stat_39.entry.js +172 -68
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
- package/dist/esm/sqm-leaderboard-rank.entry.js +6 -6
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-d2e0fdb1.js → sqm-navigation-sidebar-item-view-67fc08d3.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +44 -19
- package/dist/esm/sqm-popup-container.entry.js +13 -6
- package/dist/esm/{sqm-portal-email-verification-view-79ef6c2f.js → sqm-portal-email-verification-view-12fc1bd4.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +20 -9
- package/dist/esm/{sqm-portal-forgot-password-view-41afcace.js → sqm-portal-forgot-password-view-a764ad67.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +19 -9
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-6068a0f8.js → sqm-portal-profile-view-87730d84.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +32 -12
- package/dist/esm/sqm-portal-protected-route.entry.js +6 -6
- package/dist/esm/sqm-portal-registration-form.entry.js +40 -8
- package/dist/esm/{sqm-portal-reset-password-view-0df781f6.js → sqm-portal-reset-password-view-d3e726a9.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +73 -13
- package/dist/esm/{sqm-portal-verify-email-view-1db4fae6.js → sqm-portal-verify-email-view-283bf637.js} +7 -7
- package/dist/esm/sqm-portal-verify-email.entry.js +50 -15
- package/dist/esm/sqm-referral-table_11.entry.js +7 -7
- package/dist/esm/sqm-referred-registration.entry.js +4 -4
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +11 -11
- package/dist/esm/sqm-stencilbook.entry.js +62 -55
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-14b87f98.js → stencil-hooks.module-9ad75b88.js} +1 -1
- package/dist/esm/{useChildElements-1338b131.js → useChildElements-f6672214.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-53c43a63.js → useInstantAccessRegistration-c9d75808.js} +4 -4
- package/dist/esm/{useReferralTable-ada01642.js → useReferralTable-16e5c27f.js} +10 -10
- package/dist/esm/{useRegistrationFormState-49dfc8e0.js → useRegistrationFormState-424e2af2.js} +3 -3
- package/dist/esm/utilities-a6f1de33.js +21 -0
- package/dist/esm-es5/ShadowViewAddon-be3c7698.js +1 -0
- package/dist/esm-es5/{global-179b13db.js → global-0268f7bb.js} +2 -2
- package/dist/esm-es5/index.module-cbe33f2d.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-f01e85fe.js → luxon-5ca0a018.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-1048d024.js → re-render-4e10b5ac.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_5.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-d2e0fdb1.js → sqm-navigation-sidebar-item-view-67fc08d3.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-email-verification-view-79ef6c2f.js → sqm-portal-email-verification-view-12fc1bd4.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-41afcace.js → sqm-portal-forgot-password-view-a764ad67.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-87730d84.js +1 -0
- 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-d3e726a9.js +1 -0
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +1 -0
- 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-referred-registration.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.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-14b87f98.js → stencil-hooks.module-9ad75b88.js} +1 -1
- package/dist/esm-es5/{useChildElements-1338b131.js → useChildElements-f6672214.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-53c43a63.js → useInstantAccessRegistration-c9d75808.js} +1 -1
- package/dist/esm-es5/{useReferralTable-ada01642.js → useReferralTable-16e5c27f.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-424e2af2.js +1 -0
- package/dist/esm-es5/utilities-a6f1de33.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-583b1a0e.entry.js → p-048cb5a0.entry.js} +1 -1
- package/dist/mint-components/p-059b2db4.system.js +1 -0
- package/dist/mint-components/p-05d9a1c3.system.entry.js +1 -0
- package/dist/mint-components/p-0be7a34f.entry.js +187 -0
- package/dist/mint-components/p-0c3c573c.entry.js +1 -0
- package/dist/mint-components/{p-2b6c19e0.system.js → p-0e0bcf17.system.js} +1 -1
- package/dist/mint-components/p-0f48f5c4.entry.js +1 -0
- package/dist/mint-components/{p-330314f9.entry.js → p-11c2ddd5.entry.js} +1 -1
- package/dist/mint-components/p-126ef540.entry.js +1 -0
- package/dist/mint-components/p-158302b4.system.entry.js +1 -0
- package/dist/mint-components/p-16c4c0e6.system.entry.js +1 -0
- package/dist/mint-components/p-19078b96.system.entry.js +1 -0
- package/dist/mint-components/p-1be14c58.system.entry.js +1 -0
- package/dist/mint-components/{p-ee457000.system.js → p-21a152c9.system.js} +1 -1
- package/dist/mint-components/{p-fe721800.system.entry.js → p-25014681.system.entry.js} +1 -1
- package/dist/mint-components/p-2639d623.entry.js +33 -0
- package/dist/mint-components/p-29f83317.system.entry.js +1 -0
- package/dist/mint-components/p-2b03b921.entry.js +1 -0
- package/dist/mint-components/{p-c24079c2.js → p-2b3e1737.js} +1 -1
- package/dist/mint-components/{p-9ecfc085.system.js → p-2bd322a2.system.js} +1 -1
- package/dist/mint-components/p-2be08bc1.system.entry.js +1 -0
- package/dist/mint-components/{p-8ff83f3b.system.entry.js → p-2eacd22e.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d767d9d.js → p-3056e5df.js} +1 -1
- package/dist/mint-components/p-349b9603.system.js +1 -0
- package/dist/mint-components/{p-6dac42fc.system.js → p-34b61e2c.system.js} +1 -1
- package/dist/mint-components/{p-d3f6b6b4.entry.js → p-3884e029.entry.js} +1 -1
- package/dist/mint-components/p-3a306a99.system.entry.js +1 -0
- package/dist/mint-components/{p-d576140e.js → p-4086ea93.js} +1 -1
- package/dist/mint-components/p-40dde690.js +1 -0
- package/dist/mint-components/p-4251a664.entry.js +13 -0
- package/dist/mint-components/{p-901f5b80.js → p-42c43cc2.js} +1 -1
- package/dist/mint-components/p-43b92142.system.entry.js +1 -0
- package/dist/mint-components/p-46ef82ed.js +1 -0
- package/dist/mint-components/p-4d9744bf.js +1 -0
- package/dist/mint-components/{p-3cc28285.system.js → p-4eb96878.system.js} +1 -1
- package/dist/mint-components/p-5097066c.entry.js +1 -0
- package/dist/mint-components/p-5cba80eb.entry.js +1 -0
- package/dist/mint-components/{p-55eb6616.system.js → p-5f084d62.system.js} +1 -1
- package/dist/mint-components/p-6dc5988e.entry.js +1 -0
- package/dist/mint-components/p-702db9d3.entry.js +1 -0
- package/dist/mint-components/{p-b668aa0b.system.entry.js → p-71f1256c.system.entry.js} +1 -1
- package/dist/mint-components/p-7487f23c.system.js +1 -0
- package/dist/mint-components/{p-5ae4911c.entry.js → p-78348fd6.entry.js} +2 -2
- package/dist/mint-components/p-7cdc3d59.system.entry.js +1 -0
- package/dist/mint-components/{p-ef3bcec4.system.entry.js → p-7dcd091c.system.entry.js} +1 -1
- package/dist/mint-components/p-7f950006.entry.js +13 -0
- package/dist/mint-components/{p-747912c5.system.entry.js → p-7f9953fc.system.entry.js} +1 -1
- package/dist/mint-components/p-8756e3ae.system.entry.js +1 -0
- package/dist/mint-components/p-8930ca8e.system.entry.js +1 -0
- package/dist/mint-components/p-8be37b05.system.entry.js +1 -0
- package/dist/mint-components/p-8f4bf5e3.system.js +1 -0
- package/dist/mint-components/{p-7e1af11d.entry.js → p-9522cf59.entry.js} +1 -1
- package/dist/mint-components/{p-9fc8505c.entry.js → p-995117b1.entry.js} +1 -1
- package/dist/mint-components/{p-5ddfa30d.entry.js → p-9a67f0b2.entry.js} +1 -1
- package/dist/mint-components/{p-68e5a4a6.system.entry.js → p-9bb762f8.system.entry.js} +1 -1
- package/dist/mint-components/p-9f0aca0e.system.js +1 -0
- package/dist/mint-components/p-9f472ce9.entry.js +9 -0
- package/dist/mint-components/p-aac1d82a.system.js +1 -0
- package/dist/mint-components/p-adb1f996.js +1 -0
- package/dist/mint-components/p-b2d41729.js +1 -0
- package/dist/mint-components/{p-540a24e6.system.entry.js → p-b4779d76.system.entry.js} +1 -1
- package/dist/mint-components/{p-71a4e272.entry.js → p-b6713eac.entry.js} +1 -1
- package/dist/mint-components/{p-f6456854.js → p-bc64b988.js} +1 -1
- package/dist/mint-components/p-bcc9f143.js +379 -0
- package/dist/mint-components/p-bcd04c27.js +1 -0
- package/dist/mint-components/{p-97e758fd.system.entry.js → p-c51de4f4.system.entry.js} +1 -1
- package/dist/mint-components/p-c58a09e4.js +1 -0
- package/dist/mint-components/{p-21a1d705.js → p-c9818f06.js} +1 -1
- package/dist/mint-components/p-ca6e1a47.system.js +1 -0
- package/dist/mint-components/{p-ee469a91.entry.js → p-cfcb517b.entry.js} +1 -1
- package/dist/mint-components/p-d0f2d5e3.system.entry.js +1 -0
- package/dist/mint-components/p-d2bd3b4b.system.entry.js +1 -0
- package/dist/mint-components/{p-9e9dcd9c.entry.js → p-d3c26e65.entry.js} +1 -1
- package/dist/mint-components/p-d4b174e1.system.js +1 -0
- package/dist/mint-components/p-d4f8aa26.entry.js +1 -0
- package/dist/mint-components/{p-a8f6d72c.system.entry.js → p-d86c3c45.system.entry.js} +1 -1
- package/dist/mint-components/p-d88ed63d.entry.js +1 -0
- package/dist/mint-components/{p-c8d74710.entry.js → p-da31e785.entry.js} +1 -1
- package/dist/mint-components/{p-16394ed3.system.entry.js → p-da8bdb5e.system.entry.js} +1 -1
- package/dist/mint-components/p-dc59a463.entry.js +1 -0
- package/dist/mint-components/{p-0bf5a9b8.system.entry.js → p-dce5e97a.system.entry.js} +1 -1
- package/dist/mint-components/{p-2d592364.system.entry.js → p-debd47d0.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2260971.system.js → p-df15da1e.system.js} +1 -1
- package/dist/mint-components/{p-76cfebb1.system.js → p-df1af170.system.js} +1 -1
- package/dist/mint-components/p-e231860a.entry.js +1 -0
- package/dist/mint-components/p-e4b12586.system.entry.js +1 -0
- package/dist/mint-components/p-ea6a7135.js +1 -0
- package/dist/mint-components/p-ebccb162.js +1 -0
- package/dist/mint-components/{p-7fc020f4.entry.js → p-eccd2792.entry.js} +1 -1
- package/dist/mint-components/p-eea49084.entry.js +1 -0
- package/dist/mint-components/p-f11c9bb1.system.js +1 -0
- package/dist/mint-components/{p-6034522a.js → p-f6743fbe.js} +1 -1
- package/dist/mint-components/{p-a38baa99.system.entry.js → p-fa376627.system.entry.js} +1 -1
- package/dist/mint-components/{p-a223a8dc.entry.js → p-fabf03c8.entry.js} +1 -1
- package/dist/mint-components/{p-a87d66ac.system.entry.js → p-fc468ef7.system.entry.js} +1 -1
- package/dist/mint-components/p-fca0dc98.system.js +1 -0
- package/dist/mint-components/{p-e341e670.system.entry.js → p-fe276517.system.entry.js} +1 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile-view.d.ts +1 -0
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +12 -0
- package/dist/types/components/sqm-edit-profile/useEditProfile.d.ts +2 -11
- package/dist/types/components/sqm-password-field/passwordValidation.d.ts +1 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +24 -0
- package/dist/types/components/sqm-popup-container/PopupContainer.stories.d.ts +5 -0
- package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +1 -1
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +6 -0
- package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +2 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +6 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +32 -0
- package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +6 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +10 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +10 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +5 -0
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +4 -3
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +17 -0
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +2 -1
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +6 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +24 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +6 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +24 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +9 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +42 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +6 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +24 -0
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +11 -2
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +10 -0
- package/dist/types/components/sqm-share-button/useShareButton.d.ts +2 -0
- package/dist/types/components.d.ts +464 -2
- package/dist/types/utilities.d.ts +3 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -3
- package/dist/esm-es5/ShadowViewAddon-53810b62.js +0 -1
- package/dist/esm-es5/index.module-9469b28f.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-6068a0f8.js +0 -1
- package/dist/esm-es5/sqm-portal-reset-password-view-0df781f6.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-1db4fae6.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-49dfc8e0.js +0 -1
- package/dist/mint-components/p-0714bae2.entry.js +0 -33
- package/dist/mint-components/p-1437b793.system.js +0 -1
- package/dist/mint-components/p-1912f988.entry.js +0 -1
- package/dist/mint-components/p-19e46b11.entry.js +0 -1
- package/dist/mint-components/p-1c9d83b4.entry.js +0 -1
- package/dist/mint-components/p-228163a1.system.js +0 -1
- package/dist/mint-components/p-29e67994.entry.js +0 -9
- package/dist/mint-components/p-2aca0eae.js +0 -1
- package/dist/mint-components/p-2d39cf50.system.entry.js +0 -1
- package/dist/mint-components/p-3409e9a0.system.entry.js +0 -1
- package/dist/mint-components/p-39341b0c.entry.js +0 -187
- package/dist/mint-components/p-3b7c1be8.entry.js +0 -1
- package/dist/mint-components/p-42f1a044.system.entry.js +0 -1
- package/dist/mint-components/p-46be1518.system.js +0 -1
- package/dist/mint-components/p-509af914.system.entry.js +0 -1
- package/dist/mint-components/p-519bb212.js +0 -1
- package/dist/mint-components/p-56525896.system.js +0 -1
- package/dist/mint-components/p-571f6923.entry.js +0 -1
- package/dist/mint-components/p-58196113.system.entry.js +0 -1
- package/dist/mint-components/p-5b9195d7.system.entry.js +0 -1
- package/dist/mint-components/p-657659e8.entry.js +0 -13
- package/dist/mint-components/p-68db543e.system.entry.js +0 -1
- package/dist/mint-components/p-718cf151.js +0 -1
- package/dist/mint-components/p-75ddf3ca.js +0 -1
- package/dist/mint-components/p-76d4eb55.system.js +0 -1
- package/dist/mint-components/p-78066f92.entry.js +0 -13
- package/dist/mint-components/p-7862ab7d.entry.js +0 -1
- package/dist/mint-components/p-7ced669d.entry.js +0 -1
- package/dist/mint-components/p-82180848.js +0 -379
- package/dist/mint-components/p-8827fabe.system.entry.js +0 -1
- package/dist/mint-components/p-8d593b5e.system.entry.js +0 -1
- package/dist/mint-components/p-9551f888.system.entry.js +0 -1
- package/dist/mint-components/p-961998b6.system.entry.js +0 -1
- package/dist/mint-components/p-97b03f80.entry.js +0 -1
- package/dist/mint-components/p-9aa1bd46.system.js +0 -1
- package/dist/mint-components/p-a217deee.js +0 -1
- package/dist/mint-components/p-ae191f8c.js +0 -1
- package/dist/mint-components/p-af24b899.entry.js +0 -1
- package/dist/mint-components/p-ba42b92c.system.entry.js +0 -1
- package/dist/mint-components/p-bf0719b7.system.js +0 -1
- package/dist/mint-components/p-c3be93c7.system.entry.js +0 -1
- package/dist/mint-components/p-c5b61ade.system.js +0 -1
- package/dist/mint-components/p-cc391fac.js +0 -1
- package/dist/mint-components/p-d3de337c.system.entry.js +0 -1
- package/dist/mint-components/p-d9787e31.system.entry.js +0 -1
- package/dist/mint-components/p-e8f720b9.entry.js +0 -1
- package/dist/mint-components/p-efd129de.js +0 -1
- package/dist/mint-components/p-f7b7d395.system.js +0 -1
- package/dist/mint-components/p-f82bb604.entry.js +0 -1
- package/dist/mint-components/p-f9bfbfa2.entry.js +0 -1
- package/dist/mint-components/p-fe13762b.entry.js +0 -1
- package/dist/mint-components/p-ff3b0ece.system.entry.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -1
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -10,6 +10,12 @@ import { getProps } from "../../utils/utils";
|
|
|
10
10
|
*/
|
|
11
11
|
export class PopupContainer {
|
|
12
12
|
constructor() {
|
|
13
|
+
/**
|
|
14
|
+
* Text at the bottom of the popup
|
|
15
|
+
*
|
|
16
|
+
* @uiName "Powered by" text
|
|
17
|
+
*/
|
|
18
|
+
this.poweredByText = "Powered By";
|
|
13
19
|
withHooks(this);
|
|
14
20
|
}
|
|
15
21
|
disconnectedCallback() { }
|
|
@@ -85,6 +91,27 @@ export class PopupContainer {
|
|
|
85
91
|
"attribute": "close-button-text",
|
|
86
92
|
"reflect": false
|
|
87
93
|
},
|
|
94
|
+
"poweredByText": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "string",
|
|
99
|
+
"resolved": "string",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [{
|
|
106
|
+
"text": "\"Powered by\" text",
|
|
107
|
+
"name": "uiName"
|
|
108
|
+
}],
|
|
109
|
+
"text": "Text at the bottom of the popup"
|
|
110
|
+
},
|
|
111
|
+
"attribute": "powered-by-text",
|
|
112
|
+
"reflect": false,
|
|
113
|
+
"defaultValue": "\"Powered By\""
|
|
114
|
+
},
|
|
88
115
|
"embedPadding": {
|
|
89
116
|
"type": "string",
|
|
90
117
|
"mutable": false,
|
package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js
CHANGED
|
@@ -58,7 +58,7 @@ export function PortalChangePasswordView(props) {
|
|
|
58
58
|
h("div", { part: "successalert-text" }, states.content.successMessage))),
|
|
59
59
|
h("sl-form", { "onSl-submit": callbacks.submit },
|
|
60
60
|
h("div", { class: sheet.classes.InputContainer },
|
|
61
|
-
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel }),
|
|
61
|
+
h("sqm-password-field", { exportparts: "input-label: input-label", class: sheet.classes.PasswordField, fieldLabel: states.content.passwordFieldLabel, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText }),
|
|
62
62
|
h("sl-input", { exportparts: "label: input-label", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, required: true, togglePassword: true, disabled: states.loading, type: "password" })),
|
|
63
63
|
h(PortalContainerView, Object.assign({}, { direction: "row", padding: "none", gap: "20px" }),
|
|
64
64
|
h("sl-button", { class: sheet.classes.ChangePasswordButton, type: "primary", submit: true, loading: states.loading }, states.content.changePasswordButtonText),
|
|
@@ -56,6 +56,38 @@ export class PortalChangePassword {
|
|
|
56
56
|
* @uiName Change password button text
|
|
57
57
|
*/
|
|
58
58
|
this.portalChangePasswordButtonText = "Change your password...";
|
|
59
|
+
/**
|
|
60
|
+
* @uiName Password requirement met
|
|
61
|
+
*/
|
|
62
|
+
this.meetsRequirementsText = "Password has met all requirements";
|
|
63
|
+
/**
|
|
64
|
+
* @uiName Password requirement failed
|
|
65
|
+
*/
|
|
66
|
+
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
67
|
+
/**
|
|
68
|
+
* @uiName Minimum length text
|
|
69
|
+
*/
|
|
70
|
+
this.minErrorText = "be a minimum of 8 characters";
|
|
71
|
+
/**
|
|
72
|
+
* @uiName Missing uppercase text
|
|
73
|
+
*/
|
|
74
|
+
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
75
|
+
/**
|
|
76
|
+
* @uiName Missing lowercase text
|
|
77
|
+
*/
|
|
78
|
+
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
79
|
+
/**
|
|
80
|
+
* @uiName Passwords don’t match error message
|
|
81
|
+
*/
|
|
82
|
+
this.nonMatchingPasswordErrorText = "contain at least 1 lowercase character";
|
|
83
|
+
/**
|
|
84
|
+
* @uiName Invalid user session error message
|
|
85
|
+
*/
|
|
86
|
+
this.invalidSessionErrorText = "Please log in again to change your password.";
|
|
87
|
+
/**
|
|
88
|
+
* @uiName Missing number or symbol text
|
|
89
|
+
*/
|
|
90
|
+
this.hasErrorText = "contain at least 1 number or symbol";
|
|
59
91
|
withHooks(this);
|
|
60
92
|
}
|
|
61
93
|
disconnectedCallback() { }
|
|
@@ -239,12 +271,180 @@ export class PortalChangePassword {
|
|
|
239
271
|
"reflect": false,
|
|
240
272
|
"defaultValue": "\"Change your password...\""
|
|
241
273
|
},
|
|
274
|
+
"meetsRequirementsText": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "string",
|
|
279
|
+
"resolved": "string",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": false,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [{
|
|
286
|
+
"text": "Password requirement met",
|
|
287
|
+
"name": "uiName"
|
|
288
|
+
}],
|
|
289
|
+
"text": ""
|
|
290
|
+
},
|
|
291
|
+
"attribute": "meets-requirements-text",
|
|
292
|
+
"reflect": false,
|
|
293
|
+
"defaultValue": "\"Password has met all requirements\""
|
|
294
|
+
},
|
|
295
|
+
"doesNotMeetRequirementsText": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"mutable": false,
|
|
298
|
+
"complexType": {
|
|
299
|
+
"original": "string",
|
|
300
|
+
"resolved": "string",
|
|
301
|
+
"references": {}
|
|
302
|
+
},
|
|
303
|
+
"required": false,
|
|
304
|
+
"optional": false,
|
|
305
|
+
"docs": {
|
|
306
|
+
"tags": [{
|
|
307
|
+
"text": "Password requirement failed",
|
|
308
|
+
"name": "uiName"
|
|
309
|
+
}],
|
|
310
|
+
"text": ""
|
|
311
|
+
},
|
|
312
|
+
"attribute": "does-not-meet-requirements-text",
|
|
313
|
+
"reflect": false,
|
|
314
|
+
"defaultValue": "\"Password must meet the following requirements:\""
|
|
315
|
+
},
|
|
316
|
+
"minErrorText": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"mutable": false,
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "string",
|
|
321
|
+
"resolved": "string",
|
|
322
|
+
"references": {}
|
|
323
|
+
},
|
|
324
|
+
"required": false,
|
|
325
|
+
"optional": false,
|
|
326
|
+
"docs": {
|
|
327
|
+
"tags": [{
|
|
328
|
+
"text": "Minimum length text",
|
|
329
|
+
"name": "uiName"
|
|
330
|
+
}],
|
|
331
|
+
"text": ""
|
|
332
|
+
},
|
|
333
|
+
"attribute": "min-error-text",
|
|
334
|
+
"reflect": false,
|
|
335
|
+
"defaultValue": "\"be a minimum of 8 characters\""
|
|
336
|
+
},
|
|
337
|
+
"uppercaseErrorText": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"mutable": false,
|
|
340
|
+
"complexType": {
|
|
341
|
+
"original": "string",
|
|
342
|
+
"resolved": "string",
|
|
343
|
+
"references": {}
|
|
344
|
+
},
|
|
345
|
+
"required": false,
|
|
346
|
+
"optional": false,
|
|
347
|
+
"docs": {
|
|
348
|
+
"tags": [{
|
|
349
|
+
"text": "Missing uppercase text",
|
|
350
|
+
"name": "uiName"
|
|
351
|
+
}],
|
|
352
|
+
"text": ""
|
|
353
|
+
},
|
|
354
|
+
"attribute": "uppercase-error-text",
|
|
355
|
+
"reflect": false,
|
|
356
|
+
"defaultValue": "\"contain at least 1 uppercase character\""
|
|
357
|
+
},
|
|
358
|
+
"lowercaseErrorText": {
|
|
359
|
+
"type": "string",
|
|
360
|
+
"mutable": false,
|
|
361
|
+
"complexType": {
|
|
362
|
+
"original": "string",
|
|
363
|
+
"resolved": "string",
|
|
364
|
+
"references": {}
|
|
365
|
+
},
|
|
366
|
+
"required": false,
|
|
367
|
+
"optional": false,
|
|
368
|
+
"docs": {
|
|
369
|
+
"tags": [{
|
|
370
|
+
"text": "Missing lowercase text",
|
|
371
|
+
"name": "uiName"
|
|
372
|
+
}],
|
|
373
|
+
"text": ""
|
|
374
|
+
},
|
|
375
|
+
"attribute": "lowercase-error-text",
|
|
376
|
+
"reflect": false,
|
|
377
|
+
"defaultValue": "\"contain at least 1 lowercase character\""
|
|
378
|
+
},
|
|
379
|
+
"nonMatchingPasswordErrorText": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"mutable": false,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "string",
|
|
384
|
+
"resolved": "string",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": false,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [{
|
|
391
|
+
"text": "Passwords don\u2019t match error message",
|
|
392
|
+
"name": "uiName"
|
|
393
|
+
}],
|
|
394
|
+
"text": ""
|
|
395
|
+
},
|
|
396
|
+
"attribute": "non-matching-password-error-text",
|
|
397
|
+
"reflect": false,
|
|
398
|
+
"defaultValue": "\"contain at least 1 lowercase character\""
|
|
399
|
+
},
|
|
400
|
+
"invalidSessionErrorText": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"mutable": false,
|
|
403
|
+
"complexType": {
|
|
404
|
+
"original": "string",
|
|
405
|
+
"resolved": "string",
|
|
406
|
+
"references": {}
|
|
407
|
+
},
|
|
408
|
+
"required": false,
|
|
409
|
+
"optional": false,
|
|
410
|
+
"docs": {
|
|
411
|
+
"tags": [{
|
|
412
|
+
"text": "Invalid user session error message",
|
|
413
|
+
"name": "uiName"
|
|
414
|
+
}],
|
|
415
|
+
"text": ""
|
|
416
|
+
},
|
|
417
|
+
"attribute": "invalid-session-error-text",
|
|
418
|
+
"reflect": false,
|
|
419
|
+
"defaultValue": "\"Please log in again to change your password.\""
|
|
420
|
+
},
|
|
421
|
+
"hasErrorText": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"mutable": false,
|
|
424
|
+
"complexType": {
|
|
425
|
+
"original": "string",
|
|
426
|
+
"resolved": "string",
|
|
427
|
+
"references": {}
|
|
428
|
+
},
|
|
429
|
+
"required": false,
|
|
430
|
+
"optional": false,
|
|
431
|
+
"docs": {
|
|
432
|
+
"tags": [{
|
|
433
|
+
"text": "Missing number or symbol text",
|
|
434
|
+
"name": "uiName"
|
|
435
|
+
}],
|
|
436
|
+
"text": ""
|
|
437
|
+
},
|
|
438
|
+
"attribute": "has-error-text",
|
|
439
|
+
"reflect": false,
|
|
440
|
+
"defaultValue": "\"contain at least 1 number or symbol\""
|
|
441
|
+
},
|
|
242
442
|
"demoData": {
|
|
243
443
|
"type": "unknown",
|
|
244
444
|
"mutable": false,
|
|
245
445
|
"complexType": {
|
|
246
446
|
"original": "DemoData<PortalChangePasswordViewProps>",
|
|
247
|
-
"resolved": "{ states?: { open: boolean; error: string; loading: boolean; success: boolean; content: { modalChangePasswordHeader: string; cancelText: string; changePasswordButtonText: string; passwordFieldLabel: string; confirmPasswordFieldLabel: string; successMessage: string; portalChangePasswordHeader: string; portalChangePasswordButtonText: string; }; }; }",
|
|
447
|
+
"resolved": "{ states?: { open: boolean; error: string; loading: boolean; success: boolean; content: { modalChangePasswordHeader: string; cancelText: string; changePasswordButtonText: string; passwordFieldLabel: string; confirmPasswordFieldLabel: string; successMessage: string; portalChangePasswordHeader: string; portalChangePasswordButtonText: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }; }",
|
|
248
448
|
"references": {
|
|
249
449
|
"DemoData": {
|
|
250
450
|
"location": "import",
|
|
@@ -289,6 +489,12 @@ function usePortalChangePasswordDemo(props) {
|
|
|
289
489
|
successMessage: props.successMessage,
|
|
290
490
|
portalChangePasswordHeader: props.portalChangePasswordHeader,
|
|
291
491
|
portalChangePasswordButtonText: props.portalChangePasswordButtonText,
|
|
492
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
493
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
494
|
+
minErrorText: props.minErrorText,
|
|
495
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
496
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
497
|
+
hasErrorText: props.hasErrorText,
|
|
292
498
|
},
|
|
293
499
|
},
|
|
294
500
|
callbacks: {
|
|
@@ -16,11 +16,11 @@ export function usePortalChangePassword(props) {
|
|
|
16
16
|
jsonpointer.set(formData, key, value);
|
|
17
17
|
});
|
|
18
18
|
if (!(user === null || user === void 0 ? void 0 : user.jwt)) {
|
|
19
|
-
setError(
|
|
19
|
+
setError(props.invalidSessionErrorText);
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
if (formData.password !== formData.confirmPassword) {
|
|
23
|
-
setError(
|
|
23
|
+
setError(props.nonMatchingPasswordErrorText);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
26
|
setError("");
|
|
@@ -47,6 +47,12 @@ export function usePortalChangePassword(props) {
|
|
|
47
47
|
successMessage: props.successMessage,
|
|
48
48
|
portalChangePasswordHeader: props.portalChangePasswordHeader,
|
|
49
49
|
portalChangePasswordButtonText: props.portalChangePasswordButtonText,
|
|
50
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
51
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
52
|
+
minErrorText: props.minErrorText,
|
|
53
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
54
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
55
|
+
hasErrorText: props.hasErrorText,
|
|
50
56
|
},
|
|
51
57
|
},
|
|
52
58
|
data: {},
|
|
@@ -37,7 +37,7 @@ const vanillaStyle = `
|
|
|
37
37
|
const sheet = createStyleSheet(style);
|
|
38
38
|
const styleString = sheet.toString();
|
|
39
39
|
export function PortalEmailVerificationView(props) {
|
|
40
|
-
const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, verificationStatusMessage, verificationLoadingMessage, }, } = props;
|
|
40
|
+
const { states, callbacks, content: { email, verifyMessage, emailVerificationHeader, resendEmailButtonText, verificationStatusMessage, verificationLoadingMessage, verificationResentMessage, }, } = props;
|
|
41
41
|
return (h("div", { class: sheet.classes.Wrapper },
|
|
42
42
|
h("style", { type: "text/css" },
|
|
43
43
|
vanillaStyle,
|
|
@@ -47,7 +47,7 @@ export function PortalEmailVerificationView(props) {
|
|
|
47
47
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
48
48
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
49
49
|
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
50
|
-
h("div", { part: "successalert-text" },
|
|
50
|
+
h("div", { part: "successalert-text" }, verificationResentMessage))),
|
|
51
51
|
h(TextSpanView, { type: "p" }, intl.formatMessage({
|
|
52
52
|
id: "verifyMessage",
|
|
53
53
|
defaultMessage: verifyMessage,
|
package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js
CHANGED
|
@@ -40,6 +40,16 @@ export class PortalEmailVerification {
|
|
|
40
40
|
* @uiWidget textArea
|
|
41
41
|
*/
|
|
42
42
|
this.verificationLoadingMessage = "Checking verification status";
|
|
43
|
+
/**
|
|
44
|
+
* @uiName Email verification resent text
|
|
45
|
+
* @uiWidget textArea
|
|
46
|
+
*/
|
|
47
|
+
this.verificationResentMessage = "Your verification email has been resent successfully";
|
|
48
|
+
/**
|
|
49
|
+
* @uiName Network error message
|
|
50
|
+
* Displayed when your verification email fails to send due to a network error. The participant can try refreshing the page.
|
|
51
|
+
*/
|
|
52
|
+
this.networkErrorMessage = "An error occurred while verifying your password. Please refresh the page.";
|
|
43
53
|
withHooks(this);
|
|
44
54
|
}
|
|
45
55
|
disconnectedCallback() { }
|
|
@@ -190,12 +200,57 @@ export class PortalEmailVerification {
|
|
|
190
200
|
"reflect": false,
|
|
191
201
|
"defaultValue": "\"Checking verification status\""
|
|
192
202
|
},
|
|
203
|
+
"verificationResentMessage": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"mutable": false,
|
|
206
|
+
"complexType": {
|
|
207
|
+
"original": "string",
|
|
208
|
+
"resolved": "string",
|
|
209
|
+
"references": {}
|
|
210
|
+
},
|
|
211
|
+
"required": false,
|
|
212
|
+
"optional": false,
|
|
213
|
+
"docs": {
|
|
214
|
+
"tags": [{
|
|
215
|
+
"text": "Email verification resent text",
|
|
216
|
+
"name": "uiName"
|
|
217
|
+
}, {
|
|
218
|
+
"text": "textArea",
|
|
219
|
+
"name": "uiWidget"
|
|
220
|
+
}],
|
|
221
|
+
"text": ""
|
|
222
|
+
},
|
|
223
|
+
"attribute": "verification-resent-message",
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "\"Your verification email has been resent successfully\""
|
|
226
|
+
},
|
|
227
|
+
"networkErrorMessage": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "string",
|
|
232
|
+
"resolved": "string",
|
|
233
|
+
"references": {}
|
|
234
|
+
},
|
|
235
|
+
"required": false,
|
|
236
|
+
"optional": false,
|
|
237
|
+
"docs": {
|
|
238
|
+
"tags": [{
|
|
239
|
+
"text": "Network error message\nDisplayed when your verification email fails to send due to a network error. The participant can try refreshing the page.",
|
|
240
|
+
"name": "uiName"
|
|
241
|
+
}],
|
|
242
|
+
"text": ""
|
|
243
|
+
},
|
|
244
|
+
"attribute": "network-error-message",
|
|
245
|
+
"reflect": false,
|
|
246
|
+
"defaultValue": "\"An error occurred while verifying your password. Please refresh the page.\""
|
|
247
|
+
},
|
|
193
248
|
"demoData": {
|
|
194
249
|
"type": "unknown",
|
|
195
250
|
"mutable": false,
|
|
196
251
|
"complexType": {
|
|
197
252
|
"original": "DemoData<PortalEmailVerificationViewProps>",
|
|
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; }; }",
|
|
253
|
+
"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; verificationResentMessage?: string; }; }",
|
|
199
254
|
"references": {
|
|
200
255
|
"DemoData": {
|
|
201
256
|
"location": "import",
|
|
@@ -238,6 +293,7 @@ function usePortalEmailVerificationDemo(props) {
|
|
|
238
293
|
resendEmailButtonText: props.resendEmailButtonText,
|
|
239
294
|
verificationLoadingMessage: props.verificationLoadingMessage,
|
|
240
295
|
verificationStatusMessage: props.verificationStatusMessage,
|
|
296
|
+
verificationResentMessage: props.verificationResentMessage,
|
|
241
297
|
},
|
|
242
298
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
243
299
|
}
|
package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js
CHANGED
|
@@ -32,7 +32,7 @@ export function PortalForgotPasswordView(props) {
|
|
|
32
32
|
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
33
33
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
34
34
|
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
35
|
-
h("div", { part: "successalert-text" },
|
|
35
|
+
h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
36
36
|
h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
37
37
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
38
38
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
@@ -36,9 +36,18 @@ export class PortalForgotPassword {
|
|
|
36
36
|
*/
|
|
37
37
|
this.headerText = "Enter your email below to receive a password reset link.";
|
|
38
38
|
/**
|
|
39
|
-
* Sign in link text
|
|
39
|
+
* @uiName Sign in link text
|
|
40
40
|
*/
|
|
41
41
|
this.loginText = "Sign In";
|
|
42
|
+
/**
|
|
43
|
+
* @uiName Network error message
|
|
44
|
+
* Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
|
|
45
|
+
*/
|
|
46
|
+
this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
47
|
+
/**
|
|
48
|
+
* @uiName Email verification sent text
|
|
49
|
+
*/
|
|
50
|
+
this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
|
|
42
51
|
withHooks(this);
|
|
43
52
|
}
|
|
44
53
|
disconnectedCallback() { }
|
|
@@ -48,10 +57,11 @@ export class PortalForgotPassword {
|
|
|
48
57
|
: usePortalForgotPassword(this);
|
|
49
58
|
const content = {
|
|
50
59
|
secondaryButton: (h("slot", { name: "secondaryButton" },
|
|
51
|
-
h("sl-button", { type: "text", disabled: states.loading, onClick: () => navigation.push(states.loginPath) },
|
|
52
|
-
messageSlot:
|
|
60
|
+
h("sl-button", { type: "text", disabled: states.loading, onClick: () => navigation.push(states.loginPath) }, this.loginText))),
|
|
61
|
+
messageSlot: h("slot", { name: "messageSlot" }, this.headerText),
|
|
53
62
|
emailLabel: this.emailLabel,
|
|
54
63
|
submitLabel: this.submitLabel,
|
|
64
|
+
successAlertText: this.successAlertText,
|
|
55
65
|
};
|
|
56
66
|
return (h(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
|
|
57
67
|
}
|
|
@@ -183,19 +193,64 @@ export class PortalForgotPassword {
|
|
|
183
193
|
"required": false,
|
|
184
194
|
"optional": false,
|
|
185
195
|
"docs": {
|
|
186
|
-
"tags": [
|
|
187
|
-
|
|
196
|
+
"tags": [{
|
|
197
|
+
"text": "Sign in link text",
|
|
198
|
+
"name": "uiName"
|
|
199
|
+
}],
|
|
200
|
+
"text": ""
|
|
188
201
|
},
|
|
189
202
|
"attribute": "login-text",
|
|
190
203
|
"reflect": false,
|
|
191
204
|
"defaultValue": "\"Sign In\""
|
|
192
205
|
},
|
|
206
|
+
"networkErrorMessage": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"mutable": false,
|
|
209
|
+
"complexType": {
|
|
210
|
+
"original": "string",
|
|
211
|
+
"resolved": "string",
|
|
212
|
+
"references": {}
|
|
213
|
+
},
|
|
214
|
+
"required": false,
|
|
215
|
+
"optional": false,
|
|
216
|
+
"docs": {
|
|
217
|
+
"tags": [{
|
|
218
|
+
"text": "Network error message\nDisplayed when the forgot password action fails due to a network error. The participant can try refreshing the page.",
|
|
219
|
+
"name": "uiName"
|
|
220
|
+
}],
|
|
221
|
+
"text": ""
|
|
222
|
+
},
|
|
223
|
+
"attribute": "network-error-message",
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "\"An error occurred while loading this page. Please refresh the page.\""
|
|
226
|
+
},
|
|
227
|
+
"successAlertText": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "string",
|
|
232
|
+
"resolved": "string",
|
|
233
|
+
"references": {}
|
|
234
|
+
},
|
|
235
|
+
"required": false,
|
|
236
|
+
"optional": false,
|
|
237
|
+
"docs": {
|
|
238
|
+
"tags": [{
|
|
239
|
+
"text": "Email verification sent text",
|
|
240
|
+
"name": "uiName"
|
|
241
|
+
}],
|
|
242
|
+
"text": ""
|
|
243
|
+
},
|
|
244
|
+
"attribute": "success-alert-text",
|
|
245
|
+
"reflect": false,
|
|
246
|
+
"defaultValue": "\"If an account with that email exists, a password reset email will be sent.\""
|
|
247
|
+
},
|
|
193
248
|
"demoData": {
|
|
194
249
|
"type": "unknown",
|
|
195
250
|
"mutable": false,
|
|
196
251
|
"complexType": {
|
|
197
252
|
"original": "DemoData<PortalForgotPasswordViewProps>",
|
|
198
|
-
"resolved": "{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }",
|
|
253
|
+
"resolved": "{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; successAlertText?: string; }; }",
|
|
199
254
|
"references": {
|
|
200
255
|
"DemoData": {
|
|
201
256
|
"location": "import",
|
|
@@ -22,7 +22,7 @@ export function usePortalForgotPassword(props) {
|
|
|
22
22
|
const result = await request(variables);
|
|
23
23
|
if (result instanceof Error) {
|
|
24
24
|
if (result.message)
|
|
25
|
-
setError(
|
|
25
|
+
setError(props.networkErrorMessage);
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
@@ -54,6 +54,11 @@ export class PortalLogin {
|
|
|
54
54
|
* @uiWidget textArea
|
|
55
55
|
*/
|
|
56
56
|
this.pageLabel = "Sign in to your account";
|
|
57
|
+
/**
|
|
58
|
+
* @uiName Network error message
|
|
59
|
+
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
60
|
+
*/
|
|
61
|
+
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
57
62
|
withHooks(this);
|
|
58
63
|
}
|
|
59
64
|
disconnectedCallback() { }
|
|
@@ -277,6 +282,27 @@ export class PortalLogin {
|
|
|
277
282
|
"reflect": false,
|
|
278
283
|
"defaultValue": "\"Sign in to your account\""
|
|
279
284
|
},
|
|
285
|
+
"networkErrorMessage": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"mutable": false,
|
|
288
|
+
"complexType": {
|
|
289
|
+
"original": "string",
|
|
290
|
+
"resolved": "string",
|
|
291
|
+
"references": {}
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"optional": false,
|
|
295
|
+
"docs": {
|
|
296
|
+
"tags": [{
|
|
297
|
+
"text": "Network error message\nDisplayed when the login fails due to a network error. The participant can try refreshing the page.",
|
|
298
|
+
"name": "uiName"
|
|
299
|
+
}],
|
|
300
|
+
"text": ""
|
|
301
|
+
},
|
|
302
|
+
"attribute": "network-error-message",
|
|
303
|
+
"reflect": false,
|
|
304
|
+
"defaultValue": "\"An error occurred while logging you in. Please refresh the page and try again.\""
|
|
305
|
+
},
|
|
280
306
|
"demoData": {
|
|
281
307
|
"type": "unknown",
|
|
282
308
|
"mutable": false,
|
|
@@ -19,7 +19,7 @@ export function usePortalLogin(props) {
|
|
|
19
19
|
const result = await request(variables);
|
|
20
20
|
if (result instanceof Error) {
|
|
21
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(
|
|
22
|
+
setError(props.networkErrorMessage);
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
@@ -62,16 +62,16 @@ export function PortalProfileView(props) {
|
|
|
62
62
|
h(TextSpanView, Object.assign({}, { type: "h2" }), text.editProfileSubHeader),
|
|
63
63
|
h("form", { class: sheet.classes.FormStyle, onSubmit: callbacks.onSubmit },
|
|
64
64
|
states.success && (h("sqm-form-message", { class: sheet.classes.Success, exportparts: "success-icon" },
|
|
65
|
-
h("div", { part: "successalert-text" },
|
|
65
|
+
h("div", { part: "successalert-text" }, text.submissionSuccessText))),
|
|
66
66
|
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
67
67
|
h("div", { part: "erroralert-text" }, error))),
|
|
68
68
|
h("div", { class: sheet.classes.NameInputContainer },
|
|
69
69
|
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
70
|
-
? { class: "ErrorStyles", helpText:
|
|
70
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
71
71
|
: []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
72
72
|
? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
|
|
73
73
|
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
74
|
-
? { class: "ErrorStyles", helpText:
|
|
74
|
+
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
75
75
|
: []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
76
76
|
? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
|
|
77
77
|
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
|