@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
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const mixins = require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
13
|
+
const useRegistrationFormState = require('./useRegistrationFormState-58ce55f2.js');
|
|
14
14
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
15
15
|
|
|
16
16
|
const style = {
|
|
@@ -74,7 +74,7 @@ function PortalRegistrationFormView(props) {
|
|
|
74
74
|
content.requiredFieldErrorMessage,
|
|
75
75
|
}
|
|
76
76
|
: [])))),
|
|
77
|
-
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation })),
|
|
77
|
+
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
|
|
78
78
|
content.passwordField,
|
|
79
79
|
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.disabled), required: true }, (((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.confirmPassword) ? {
|
|
80
80
|
value: (_q = (_p = states.registrationFormState) === null || _p === void 0 ? void 0 : _p.initialData) === null || _q === void 0 ? void 0 : _q.confirmPassword,
|
|
@@ -106,9 +106,10 @@ const RegistrationFormQuery = index_module.dist.gql `
|
|
|
106
106
|
function usePortalRegistrationForm(props) {
|
|
107
107
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
108
108
|
const formRef = stencilHooks_module.useRef(null);
|
|
109
|
+
const locale = index_module.N();
|
|
109
110
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
110
|
-
const [request, { loading, errors, data, formError }] = index_module.
|
|
111
|
-
const queryResponse = index_module.
|
|
111
|
+
const [request, { loading, errors, data, formError }] = index_module.xe();
|
|
112
|
+
const queryResponse = index_module.gn(RegistrationFormQuery, { key: props.formKey });
|
|
112
113
|
const formLoading = loading || queryResponse.loading;
|
|
113
114
|
stencilHooks_module.useEffect(() => {
|
|
114
115
|
var _a, _b, _c;
|
|
@@ -188,6 +189,7 @@ function usePortalRegistrationForm(props) {
|
|
|
188
189
|
const variables = {
|
|
189
190
|
key: props.formKey,
|
|
190
191
|
formData: {
|
|
192
|
+
locale,
|
|
191
193
|
email,
|
|
192
194
|
password,
|
|
193
195
|
redirectPath,
|
|
@@ -210,7 +212,7 @@ function usePortalRegistrationForm(props) {
|
|
|
210
212
|
managedIdentityResponse.result.results.length &&
|
|
211
213
|
managedIdentityResponse.result.results[0].success &&
|
|
212
214
|
managedIdentityResponse.result.results[0].data.token) {
|
|
213
|
-
index_module.
|
|
215
|
+
index_module.yn.push(props.nextPage);
|
|
214
216
|
}
|
|
215
217
|
else if (
|
|
216
218
|
// check for blocked email error response
|
|
@@ -390,6 +392,30 @@ const PortalRegistrationForm = class {
|
|
|
390
392
|
* @uiWidget textArea
|
|
391
393
|
*/
|
|
392
394
|
this.formDisabledErrorMessage = "The registration form is currently disabled.";
|
|
395
|
+
/**
|
|
396
|
+
* @uiName Password requirement met
|
|
397
|
+
*/
|
|
398
|
+
this.meetsRequirementsText = "Password has met all requirements";
|
|
399
|
+
/**
|
|
400
|
+
* @uiName Password requirement failed
|
|
401
|
+
*/
|
|
402
|
+
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
403
|
+
/**
|
|
404
|
+
* @uiName Minimum length text
|
|
405
|
+
*/
|
|
406
|
+
this.minErrorText = "be a minimum of 8 characters";
|
|
407
|
+
/**
|
|
408
|
+
* @uiName Missing uppercase text
|
|
409
|
+
*/
|
|
410
|
+
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
411
|
+
/**
|
|
412
|
+
* @uiName Missing lowercase text
|
|
413
|
+
*/
|
|
414
|
+
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
415
|
+
/**
|
|
416
|
+
* @uiName Missing number or symbol text
|
|
417
|
+
*/
|
|
418
|
+
this.hasErrorText = "contain at least 1 number or symbol";
|
|
393
419
|
stencilHooks_module.h$1(this);
|
|
394
420
|
}
|
|
395
421
|
disconnectedCallback() { }
|
|
@@ -399,7 +425,7 @@ const PortalRegistrationForm = class {
|
|
|
399
425
|
: usePortalRegistrationForm(this);
|
|
400
426
|
const content = {
|
|
401
427
|
formData: index.h("slot", { name: "formData" }),
|
|
402
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
428
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.yn.push(states.loginPath) }, this.loginLabel))),
|
|
403
429
|
terms: index.h("slot", { name: "terms" }),
|
|
404
430
|
emailLabel: this.emailLabel,
|
|
405
431
|
passwordLabel: this.passwordLabel,
|
|
@@ -411,6 +437,12 @@ const PortalRegistrationForm = class {
|
|
|
411
437
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
412
438
|
formDisabledErrorMessage: this.formDisabledErrorMessage,
|
|
413
439
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
440
|
+
meetsRequirementsText: this.meetsRequirementsText,
|
|
441
|
+
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
442
|
+
minErrorText: this.minErrorText,
|
|
443
|
+
uppercaseErrorText: this.uppercaseErrorText,
|
|
444
|
+
lowercaseErrorText: this.lowercaseErrorText,
|
|
445
|
+
hasErrorText: this.hasErrorText,
|
|
414
446
|
};
|
|
415
447
|
return (index.h(PortalRegistrationFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
416
448
|
}
|
|
@@ -45,7 +45,7 @@ function PortalResetPasswordView(props) {
|
|
|
45
45
|
index.h("style", { type: "text/css" }, styleString),
|
|
46
46
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, states.content.resetPasswordHeader),
|
|
47
47
|
index.h("sqm-form-message", { class: sheet.classes.CodeSuccess, exportparts: "success-icon" },
|
|
48
|
-
index.h("div", { part: "successalert-text" },
|
|
48
|
+
index.h("div", { part: "successalert-text" }, states.content.resetSuccessText)),
|
|
49
49
|
index.h("div", null,
|
|
50
50
|
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
51
51
|
}
|
|
@@ -56,7 +56,7 @@ function PortalResetPasswordView(props) {
|
|
|
56
56
|
return (index.h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}` },
|
|
57
57
|
index.h("style", { type: "text/css" }, styleString),
|
|
58
58
|
index.h("sqm-form-message", { class: sheet.classes.CodeError, type: "error", exportparts: "erroralert-icon" },
|
|
59
|
-
index.h("div", { part: "erroralert-text" },
|
|
59
|
+
index.h("div", { part: "erroralert-text" }, states.content.codeInvalidText)),
|
|
60
60
|
index.h("div", null,
|
|
61
61
|
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
62
62
|
}
|
|
@@ -70,7 +70,7 @@ function PortalResetPasswordView(props) {
|
|
|
70
70
|
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
71
71
|
props.states.error && (index.h("sqm-form-message", { type: "error", class: sheet.classes.Banner, exportparts: "erroralert-icon" },
|
|
72
72
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
73
|
-
!states.reset && (index.h("sqm-password-field", { fieldLabel: states.content.passwordFieldLabel, demoData: states.passwordDemoData })),
|
|
73
|
+
!states.reset && (index.h("sqm-password-field", { fieldLabel: states.content.passwordFieldLabel, demoData: states.passwordDemoData, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText })),
|
|
74
74
|
!states.reset && states.confirmPassword && (index.h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
|
|
75
75
|
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
76
76
|
index.h("sl-button", { class: sheet.classes.ContinueButton, submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.reset
|
|
@@ -3,30 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
8
8
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const utils = require('./utils-6847bc06.js');
|
|
13
13
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
14
|
-
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-
|
|
14
|
+
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-07a13210.js');
|
|
15
15
|
|
|
16
16
|
function usePortalResetPassword(props) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
18
18
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
19
19
|
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
21
|
-
const [resetPassword, resetPasswordState] = index_module.
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
20
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.He();
|
|
21
|
+
const [resetPassword, resetPasswordState] = index_module.Ue();
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.yn.location.search);
|
|
23
23
|
const oobCode = urlParams.get("oobCode");
|
|
24
24
|
urlParams.delete("oobCode");
|
|
25
25
|
const nextPageOverride = urlParams.get("nextPage");
|
|
26
26
|
const verifyPasswordResetCodeAndHandleResponse = async () => {
|
|
27
27
|
const result = await verifyPasswordResetCode({ oobCode });
|
|
28
28
|
if (result instanceof Error) {
|
|
29
|
-
setError(
|
|
29
|
+
setError(props.networkErrorMessage);
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
stencilHooks_module.useEffect(() => {
|
|
@@ -40,12 +40,12 @@ function usePortalResetPassword(props) {
|
|
|
40
40
|
});
|
|
41
41
|
const variables = { oobCode, password: formData.password };
|
|
42
42
|
if (formData.password !== formData.confirmPassword) {
|
|
43
|
-
setError(
|
|
43
|
+
setError(props.passwordMismatchText);
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
46
|
const result = await resetPassword(variables);
|
|
47
47
|
if (result instanceof Error) {
|
|
48
|
-
return setError(
|
|
48
|
+
return setError(props.networkErrorMessage);
|
|
49
49
|
}
|
|
50
50
|
if (result.resetManagedIdentityPassword) {
|
|
51
51
|
setReset(true);
|
|
@@ -57,10 +57,10 @@ function usePortalResetPassword(props) {
|
|
|
57
57
|
const gotoNextPage = () => {
|
|
58
58
|
urlParams.delete("nextPage");
|
|
59
59
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
60
|
-
index_module.
|
|
60
|
+
index_module.yn.push(url.href);
|
|
61
61
|
};
|
|
62
62
|
const failed = () => {
|
|
63
|
-
index_module.
|
|
63
|
+
index_module.yn.push({
|
|
64
64
|
pathname: props.failedPage,
|
|
65
65
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
66
66
|
});
|
|
@@ -81,6 +81,15 @@ function usePortalResetPassword(props) {
|
|
|
81
81
|
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
82
82
|
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
83
83
|
passwordFieldLabel: props.passwordFieldLabel,
|
|
84
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
85
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
86
|
+
minErrorText: props.minErrorText,
|
|
87
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
88
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
89
|
+
hasErrorText: props.hasErrorText,
|
|
90
|
+
passwordMismatchText: props.passwordMismatchText,
|
|
91
|
+
codeInvalidText: props.codeInvalidText,
|
|
92
|
+
resetSuccessText: props.resetSuccessText,
|
|
84
93
|
},
|
|
85
94
|
},
|
|
86
95
|
callbacks: { submit, failed, gotoNextPage },
|
|
@@ -138,6 +147,48 @@ const PortalResetPassword = class {
|
|
|
138
147
|
* @uiName Password field label
|
|
139
148
|
*/
|
|
140
149
|
this.passwordFieldLabel = "New Password";
|
|
150
|
+
/**
|
|
151
|
+
* @uiName Password requirement met
|
|
152
|
+
*/
|
|
153
|
+
this.meetsRequirementsText = "Password has met all requirements";
|
|
154
|
+
/**
|
|
155
|
+
* @uiName Password requirement failed
|
|
156
|
+
*/
|
|
157
|
+
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
158
|
+
/**
|
|
159
|
+
* @uiName Minimum length text
|
|
160
|
+
*/
|
|
161
|
+
this.minErrorText = "be a minimum of 8 characters";
|
|
162
|
+
/**
|
|
163
|
+
* @uiName Missing uppercase text
|
|
164
|
+
*/
|
|
165
|
+
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
166
|
+
/**
|
|
167
|
+
* @uiName Missing lowercase text
|
|
168
|
+
*/
|
|
169
|
+
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
170
|
+
/**
|
|
171
|
+
* @uiName Missing number or symbol text
|
|
172
|
+
*/
|
|
173
|
+
this.hasErrorText = "contain at least 1 number or symbol";
|
|
174
|
+
/**
|
|
175
|
+
* @uiName Passwords don’t match error message
|
|
176
|
+
* Please make sure your passwords match
|
|
177
|
+
*/
|
|
178
|
+
this.passwordMismatchText = "Passwords do not match.";
|
|
179
|
+
/**
|
|
180
|
+
* @uiName Reset code invalid error message
|
|
181
|
+
*/
|
|
182
|
+
this.codeInvalidText = "The password reset code is invalid or has expired, please try again.";
|
|
183
|
+
/**
|
|
184
|
+
* @uiName Reset success text
|
|
185
|
+
*/
|
|
186
|
+
this.resetSuccessText = "Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";
|
|
187
|
+
/**
|
|
188
|
+
* @uiName Network error message
|
|
189
|
+
* Displayed when the password reset fails due to a network error. The participant can try refreshing the page.
|
|
190
|
+
*/
|
|
191
|
+
this.networkErrorMessage = "An error occurred while resetting your password. Please refresh the page and try again.";
|
|
141
192
|
stencilHooks_module.h$1(this);
|
|
142
193
|
}
|
|
143
194
|
disconnectedCallback() { }
|
|
@@ -164,6 +215,15 @@ function usePortalResetPasswordDemo(props) {
|
|
|
164
215
|
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
165
216
|
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
166
217
|
passwordFieldLabel: props.passwordFieldLabel,
|
|
218
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
219
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
220
|
+
minErrorText: props.minErrorText,
|
|
221
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
222
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
223
|
+
hasErrorText: props.hasErrorText,
|
|
224
|
+
passwordMismatchText: props.passwordMismatchText,
|
|
225
|
+
codeInvalidText: props.codeInvalidText,
|
|
226
|
+
resetSuccessText: props.resetSuccessText,
|
|
167
227
|
},
|
|
168
228
|
},
|
|
169
229
|
callbacks: {
|
|
@@ -23,24 +23,24 @@ const vanillaStyle = `
|
|
|
23
23
|
const sheet = JSS.createStyleSheet(style);
|
|
24
24
|
const styleString = sheet.toString();
|
|
25
25
|
function PortalVerifyEmailView(props) {
|
|
26
|
-
const { states, data, callbacks } = props;
|
|
26
|
+
const { states, data, callbacks, content } = props;
|
|
27
27
|
if (states.verified) {
|
|
28
28
|
return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
29
29
|
index.h("style", { type: "text/css" },
|
|
30
30
|
vanillaStyle,
|
|
31
31
|
styleString),
|
|
32
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" },
|
|
32
|
+
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
33
33
|
index.h("sqm-form-message", { exportparts: "success-icon" },
|
|
34
|
-
index.h("div", { part: "successalert-text" },
|
|
35
|
-
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" },
|
|
34
|
+
index.h("div", { part: "successalert-text" }, content.verifySuccessText)),
|
|
35
|
+
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
36
36
|
}
|
|
37
37
|
if (states.error || !data.oobCode) {
|
|
38
38
|
return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
39
39
|
index.h("style", { type: "text/css" }, styleString),
|
|
40
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" },
|
|
40
|
+
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
41
41
|
index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
42
|
-
index.h("div", { part: "erroralert-text" },
|
|
43
|
-
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" },
|
|
42
|
+
index.h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
|
|
43
|
+
index.h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
13
|
-
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-
|
|
13
|
+
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-ce552bbc.js');
|
|
14
14
|
|
|
15
|
-
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
15
|
+
function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, }) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17
|
-
const userIdent = index_module.
|
|
18
|
-
const [request, { loading, data, errors }] = index_module.
|
|
19
|
-
const urlParams = new URLSearchParams(index_module.
|
|
17
|
+
const userIdent = index_module.H();
|
|
18
|
+
const [request, { loading, data, errors }] = index_module.nn();
|
|
19
|
+
const urlParams = new URLSearchParams(index_module.yn.location.search);
|
|
20
20
|
const oobCode = urlParams.get("oobCode");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
22
22
|
// derived from useMutation in component boilerplate initialState
|
|
@@ -24,7 +24,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
24
24
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
25
25
|
const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || (data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail.success));
|
|
26
26
|
const failed = () => {
|
|
27
|
-
return index_module.
|
|
27
|
+
return index_module.yn.push({
|
|
28
28
|
pathname: failedPage,
|
|
29
29
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
30
30
|
});
|
|
@@ -32,7 +32,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
32
32
|
const gotoNextPage = () => {
|
|
33
33
|
urlParams.delete("nextPage");
|
|
34
34
|
const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
|
|
35
|
-
index_module.
|
|
35
|
+
index_module.yn.push(url.href);
|
|
36
36
|
};
|
|
37
37
|
const submit = async () => {
|
|
38
38
|
var _a;
|
|
@@ -62,7 +62,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
62
62
|
states: {
|
|
63
63
|
loading: loading || disableContinue,
|
|
64
64
|
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) ||
|
|
65
|
-
((errors === null || errors === void 0 ? void 0 : errors.message) &&
|
|
65
|
+
((errors === null || errors === void 0 ? void 0 : errors.message) && networkErrorMessage),
|
|
66
66
|
verified,
|
|
67
67
|
},
|
|
68
68
|
data: {
|
|
@@ -72,6 +72,11 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
72
72
|
failed,
|
|
73
73
|
gotoNextPage,
|
|
74
74
|
},
|
|
75
|
+
content: {
|
|
76
|
+
verifySuccessText,
|
|
77
|
+
verifyEmailText,
|
|
78
|
+
verifyInvalidText,
|
|
79
|
+
},
|
|
75
80
|
};
|
|
76
81
|
}
|
|
77
82
|
|
|
@@ -93,14 +98,38 @@ const PortalVerifyEmail = class {
|
|
|
93
98
|
* @uiWidget pageSelect
|
|
94
99
|
*/
|
|
95
100
|
this.failedPage = "/";
|
|
101
|
+
/**
|
|
102
|
+
* @uiName Verify email text
|
|
103
|
+
* @uiWidget textArea
|
|
104
|
+
*/
|
|
105
|
+
this.verifyEmailText = "Verify your email";
|
|
106
|
+
/**
|
|
107
|
+
* @uiName Email verification success text
|
|
108
|
+
* @uiWidget textArea
|
|
109
|
+
*/
|
|
110
|
+
this.verifySuccessText = "Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";
|
|
111
|
+
/**
|
|
112
|
+
* @uiName Email verification invalid text
|
|
113
|
+
* @uiWidget textArea
|
|
114
|
+
*/
|
|
115
|
+
this.verifyInvalidText = "The email verification code is invalid or has expired, please try again.";
|
|
116
|
+
/**
|
|
117
|
+
* @uiName Continue text
|
|
118
|
+
*/
|
|
119
|
+
this.continueText = "Continue";
|
|
120
|
+
/**
|
|
121
|
+
* @uiName Network error message
|
|
122
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
123
|
+
*/
|
|
124
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
96
125
|
stencilHooks_module.h$1(this);
|
|
97
126
|
}
|
|
98
127
|
disconnectedCallback() { }
|
|
99
128
|
render() {
|
|
100
|
-
const { states, data, callbacks } = index_module.isDemo()
|
|
101
|
-
? usePortalVerifyEmailDemo(this)
|
|
102
|
-
: usePortalVerifyEmail(this);
|
|
103
|
-
return (index.h(sqmPortalVerifyEmailView.PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks }));
|
|
129
|
+
const { states, data, callbacks, content } = index_module.isDemo()
|
|
130
|
+
? usePortalVerifyEmailDemo(utils.getProps(this))
|
|
131
|
+
: usePortalVerifyEmail(utils.getProps(this));
|
|
132
|
+
return (index.h(sqmPortalVerifyEmailView.PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks, content: content }));
|
|
104
133
|
}
|
|
105
134
|
};
|
|
106
135
|
function usePortalVerifyEmailDemo(props) {
|
|
@@ -115,6 +144,12 @@ function usePortalVerifyEmailDemo(props) {
|
|
|
115
144
|
},
|
|
116
145
|
gotoNextPage: () => { },
|
|
117
146
|
},
|
|
147
|
+
content: {
|
|
148
|
+
verifySuccessText: props.verifySuccessText,
|
|
149
|
+
verifyEmailText: props.verifyEmailText,
|
|
150
|
+
verifyInvalidText: props.verifyInvalidText,
|
|
151
|
+
continueText: props.continueText,
|
|
152
|
+
},
|
|
118
153
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
119
154
|
}
|
|
120
155
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const global = require('./global-a8fd1f10.js');
|
|
8
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-380b83e2.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
-
const luxon = require('./luxon-
|
|
16
|
-
const useReferralTable = require('./useReferralTable-
|
|
13
|
+
const reRender = require('./re-render-e77c897d.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-410453fc.js');
|
|
15
|
+
const luxon = require('./luxon-a4661470.js');
|
|
16
|
+
const useReferralTable = require('./useReferralTable-28fff5b8.js');
|
|
17
17
|
const utils = require('./utils-6847bc06.js');
|
|
18
18
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
19
19
|
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-a6b6430e.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-58ce55f2.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-42b320b3.js');
|
|
15
15
|
|
|
16
16
|
const ReferredRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
7
|
require('./JSS-8503a151.js');
|
|
8
8
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
9
9
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./index.module-
|
|
8
|
-
const reRender = require('./re-render-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
require('./index.module-7c0deb52.js');
|
|
8
|
+
const reRender = require('./re-render-e77c897d.js');
|
|
9
9
|
|
|
10
10
|
const RewardTableCustomerNoteColumn = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
|
|
7
|
+
const global = require('./global-a8fd1f10.js');
|
|
8
|
+
const index_module = require('./index.module-7c0deb52.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const GenericTableView = require('./GenericTableView-380b83e2.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
-
const luxon = require('./luxon-
|
|
16
|
-
const useReferralTable = require('./useReferralTable-
|
|
13
|
+
const reRender = require('./re-render-e77c897d.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-410453fc.js');
|
|
15
|
+
const luxon = require('./luxon-a4661470.js');
|
|
16
|
+
const useReferralTable = require('./useReferralTable-28fff5b8.js');
|
|
17
17
|
const utils = require('./utils-6847bc06.js');
|
|
18
18
|
|
|
19
19
|
const debug = stencilHooks_module.browser("sq:useRewardsTable");
|
|
@@ -131,9 +131,9 @@ const GET_REWARDS = index_module.dist.gql `
|
|
|
131
131
|
`;
|
|
132
132
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
133
133
|
var _a, _b;
|
|
134
|
-
const user = index_module.
|
|
135
|
-
const programIdContext = index_module.
|
|
136
|
-
const locale = index_module.
|
|
134
|
+
const user = index_module.H();
|
|
135
|
+
const programIdContext = index_module._();
|
|
136
|
+
const locale = index_module.N();
|
|
137
137
|
// Default to context, overriden by props
|
|
138
138
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
139
139
|
const rewardFilter = {
|
|
@@ -155,7 +155,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
155
155
|
loading: false,
|
|
156
156
|
page: 0,
|
|
157
157
|
});
|
|
158
|
-
const { envelope: rewardsData, states, callbacks, } = index_module.
|
|
158
|
+
const { envelope: rewardsData, states, callbacks, } = index_module.bn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
159
159
|
limit: props.perPage,
|
|
160
160
|
offset: 0,
|
|
161
161
|
}, {
|