@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
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { k as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { d as dist,
|
|
2
|
+
import { k as useRef, f as useEffect, m as h$1 } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { d as dist, N, x as xe, g as gn, y as yn, j as useCallback, i as isDemo } from './index.module-cbe33f2d.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
9
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-424e2af2.js';
|
|
10
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
11
11
|
|
|
12
12
|
const style = {
|
|
@@ -70,7 +70,7 @@ function PortalRegistrationFormView(props) {
|
|
|
70
70
|
content.requiredFieldErrorMessage,
|
|
71
71
|
}
|
|
72
72
|
: [])))),
|
|
73
|
-
!states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation })),
|
|
73
|
+
!states.hideInputs && (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 })),
|
|
74
74
|
content.passwordField,
|
|
75
75
|
!states.hideInputs && states.confirmPassword && (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) ? {
|
|
76
76
|
value: (_q = (_p = states.registrationFormState) === null || _p === void 0 ? void 0 : _p.initialData) === null || _q === void 0 ? void 0 : _q.confirmPassword,
|
|
@@ -102,9 +102,10 @@ const RegistrationFormQuery = dist.gql `
|
|
|
102
102
|
function usePortalRegistrationForm(props) {
|
|
103
103
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
104
104
|
const formRef = useRef(null);
|
|
105
|
+
const locale = N();
|
|
105
106
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
106
|
-
const [request, { loading, errors, data, formError }] =
|
|
107
|
-
const queryResponse =
|
|
107
|
+
const [request, { loading, errors, data, formError }] = xe();
|
|
108
|
+
const queryResponse = gn(RegistrationFormQuery, { key: props.formKey });
|
|
108
109
|
const formLoading = loading || queryResponse.loading;
|
|
109
110
|
useEffect(() => {
|
|
110
111
|
var _a, _b, _c;
|
|
@@ -184,6 +185,7 @@ function usePortalRegistrationForm(props) {
|
|
|
184
185
|
const variables = {
|
|
185
186
|
key: props.formKey,
|
|
186
187
|
formData: {
|
|
188
|
+
locale,
|
|
187
189
|
email,
|
|
188
190
|
password,
|
|
189
191
|
redirectPath,
|
|
@@ -206,7 +208,7 @@ function usePortalRegistrationForm(props) {
|
|
|
206
208
|
managedIdentityResponse.result.results.length &&
|
|
207
209
|
managedIdentityResponse.result.results[0].success &&
|
|
208
210
|
managedIdentityResponse.result.results[0].data.token) {
|
|
209
|
-
|
|
211
|
+
yn.push(props.nextPage);
|
|
210
212
|
}
|
|
211
213
|
else if (
|
|
212
214
|
// check for blocked email error response
|
|
@@ -386,6 +388,30 @@ const PortalRegistrationForm = class {
|
|
|
386
388
|
* @uiWidget textArea
|
|
387
389
|
*/
|
|
388
390
|
this.formDisabledErrorMessage = "The registration form is currently disabled.";
|
|
391
|
+
/**
|
|
392
|
+
* @uiName Password requirement met
|
|
393
|
+
*/
|
|
394
|
+
this.meetsRequirementsText = "Password has met all requirements";
|
|
395
|
+
/**
|
|
396
|
+
* @uiName Password requirement failed
|
|
397
|
+
*/
|
|
398
|
+
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
399
|
+
/**
|
|
400
|
+
* @uiName Minimum length text
|
|
401
|
+
*/
|
|
402
|
+
this.minErrorText = "be a minimum of 8 characters";
|
|
403
|
+
/**
|
|
404
|
+
* @uiName Missing uppercase text
|
|
405
|
+
*/
|
|
406
|
+
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
407
|
+
/**
|
|
408
|
+
* @uiName Missing lowercase text
|
|
409
|
+
*/
|
|
410
|
+
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
411
|
+
/**
|
|
412
|
+
* @uiName Missing number or symbol text
|
|
413
|
+
*/
|
|
414
|
+
this.hasErrorText = "contain at least 1 number or symbol";
|
|
389
415
|
h$1(this);
|
|
390
416
|
}
|
|
391
417
|
disconnectedCallback() { }
|
|
@@ -395,7 +421,7 @@ const PortalRegistrationForm = class {
|
|
|
395
421
|
: usePortalRegistrationForm(this);
|
|
396
422
|
const content = {
|
|
397
423
|
formData: h("slot", { name: "formData" }),
|
|
398
|
-
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
424
|
+
secondaryButton: (h("slot", { name: "secondaryButton" }, h("sl-button", { type: "text", disabled: states.loading, onClick: () => yn.push(states.loginPath) }, this.loginLabel))),
|
|
399
425
|
terms: h("slot", { name: "terms" }),
|
|
400
426
|
emailLabel: this.emailLabel,
|
|
401
427
|
passwordLabel: this.passwordLabel,
|
|
@@ -407,6 +433,12 @@ const PortalRegistrationForm = class {
|
|
|
407
433
|
invalidEmailErrorMessage: this.invalidEmailErrorMessage,
|
|
408
434
|
formDisabledErrorMessage: this.formDisabledErrorMessage,
|
|
409
435
|
requiredFieldErrorMessage: this.requiredFieldErrorMessage,
|
|
436
|
+
meetsRequirementsText: this.meetsRequirementsText,
|
|
437
|
+
doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
|
|
438
|
+
minErrorText: this.minErrorText,
|
|
439
|
+
uppercaseErrorText: this.uppercaseErrorText,
|
|
440
|
+
lowercaseErrorText: this.lowercaseErrorText,
|
|
441
|
+
hasErrorText: this.hasErrorText,
|
|
410
442
|
};
|
|
411
443
|
return (h(PortalRegistrationFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
|
|
412
444
|
}
|
|
@@ -43,7 +43,7 @@ function PortalResetPasswordView(props) {
|
|
|
43
43
|
h("style", { type: "text/css" }, styleString),
|
|
44
44
|
h(TextSpanView, { type: "h3" }, states.content.resetPasswordHeader),
|
|
45
45
|
h("sqm-form-message", { class: sheet.classes.CodeSuccess, exportparts: "success-icon" },
|
|
46
|
-
h("div", { part: "successalert-text" },
|
|
46
|
+
h("div", { part: "successalert-text" }, states.content.resetSuccessText)),
|
|
47
47
|
h("div", null,
|
|
48
48
|
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
49
49
|
}
|
|
@@ -54,7 +54,7 @@ function PortalResetPasswordView(props) {
|
|
|
54
54
|
return (h("div", { class: `${sheet.classes.Wrapper} ${sheet.classes.Column}` },
|
|
55
55
|
h("style", { type: "text/css" }, styleString),
|
|
56
56
|
h("sqm-form-message", { class: sheet.classes.CodeError, type: "error", exportparts: "erroralert-icon" },
|
|
57
|
-
h("div", { part: "erroralert-text" },
|
|
57
|
+
h("div", { part: "erroralert-text" }, states.content.codeInvalidText)),
|
|
58
58
|
h("div", null,
|
|
59
59
|
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, exportparts: "base: primarybutton-base", type: "primary" }, states.content.continueButtonText))));
|
|
60
60
|
}
|
|
@@ -68,7 +68,7 @@ function PortalResetPasswordView(props) {
|
|
|
68
68
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
69
69
|
props.states.error && (h("sqm-form-message", { type: "error", class: sheet.classes.Banner, exportparts: "erroralert-icon" },
|
|
70
70
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
71
|
-
!states.reset && (h("sqm-password-field", { fieldLabel: states.content.passwordFieldLabel, demoData: states.passwordDemoData })),
|
|
71
|
+
!states.reset && (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 })),
|
|
72
72
|
!states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
|
|
73
73
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
74
74
|
h("sl-button", { class: sheet.classes.ContinueButton, submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.reset
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import {
|
|
2
|
+
import { j as useState, f as useEffect, m as h } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { l as He, U as Ue, y as yn, i as isDemo } from './index.module-cbe33f2d.js';
|
|
4
4
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
9
9
|
import './sqm-text-span-view-8d140661.js';
|
|
10
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-
|
|
10
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-d3e726a9.js';
|
|
11
11
|
|
|
12
12
|
function usePortalResetPassword(props) {
|
|
13
|
-
var _a, _b, _c, _d, _e
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
14
|
const [reset, setReset] = useState(false);
|
|
15
15
|
const [error, setError] = useState("");
|
|
16
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
17
|
-
const [resetPassword, resetPasswordState] =
|
|
18
|
-
const urlParams = new URLSearchParams(
|
|
16
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = He();
|
|
17
|
+
const [resetPassword, resetPasswordState] = Ue();
|
|
18
|
+
const urlParams = new URLSearchParams(yn.location.search);
|
|
19
19
|
const oobCode = urlParams.get("oobCode");
|
|
20
20
|
urlParams.delete("oobCode");
|
|
21
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
22
22
|
const verifyPasswordResetCodeAndHandleResponse = async () => {
|
|
23
23
|
const result = await verifyPasswordResetCode({ oobCode });
|
|
24
24
|
if (result instanceof Error) {
|
|
25
|
-
setError(
|
|
25
|
+
setError(props.networkErrorMessage);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
useEffect(() => {
|
|
@@ -36,12 +36,12 @@ function usePortalResetPassword(props) {
|
|
|
36
36
|
});
|
|
37
37
|
const variables = { oobCode, password: formData.password };
|
|
38
38
|
if (formData.password !== formData.confirmPassword) {
|
|
39
|
-
setError(
|
|
39
|
+
setError(props.passwordMismatchText);
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
const result = await resetPassword(variables);
|
|
43
43
|
if (result instanceof Error) {
|
|
44
|
-
return setError(
|
|
44
|
+
return setError(props.networkErrorMessage);
|
|
45
45
|
}
|
|
46
46
|
if (result.resetManagedIdentityPassword) {
|
|
47
47
|
setReset(true);
|
|
@@ -53,10 +53,10 @@ function usePortalResetPassword(props) {
|
|
|
53
53
|
const gotoNextPage = () => {
|
|
54
54
|
urlParams.delete("nextPage");
|
|
55
55
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
56
|
-
|
|
56
|
+
yn.push(url.href);
|
|
57
57
|
};
|
|
58
58
|
const failed = () => {
|
|
59
|
-
|
|
59
|
+
yn.push({
|
|
60
60
|
pathname: props.failedPage,
|
|
61
61
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
62
62
|
});
|
|
@@ -66,7 +66,7 @@ function usePortalResetPassword(props) {
|
|
|
66
66
|
loading: resetPasswordState.loading,
|
|
67
67
|
reset,
|
|
68
68
|
confirmPassword: props.confirmPassword,
|
|
69
|
-
error: ((_e
|
|
69
|
+
error: ((_e = (_d = (_c = (_b = (_a = resetPasswordState.errors) === null || _a === void 0 ? void 0 : _a.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) || ((_j = (_h = (_g = (_f = resetPasswordState.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) ||
|
|
70
70
|
error,
|
|
71
71
|
oobCodeValidating: verifyPasswordResetCodeState.loading,
|
|
72
72
|
oobCodeValid: (_k = verifyPasswordResetCodeState.data) === null || _k === void 0 ? void 0 : _k.verifyManagedIdentityPasswordResetCode.success,
|
|
@@ -77,6 +77,15 @@ function usePortalResetPassword(props) {
|
|
|
77
77
|
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
78
78
|
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
79
79
|
passwordFieldLabel: props.passwordFieldLabel,
|
|
80
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
81
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
82
|
+
minErrorText: props.minErrorText,
|
|
83
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
84
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
85
|
+
hasErrorText: props.hasErrorText,
|
|
86
|
+
passwordMismatchText: props.passwordMismatchText,
|
|
87
|
+
codeInvalidText: props.codeInvalidText,
|
|
88
|
+
resetSuccessText: props.resetSuccessText,
|
|
80
89
|
},
|
|
81
90
|
},
|
|
82
91
|
callbacks: { submit, failed, gotoNextPage },
|
|
@@ -134,6 +143,48 @@ const PortalResetPassword = class {
|
|
|
134
143
|
* @uiName Password field label
|
|
135
144
|
*/
|
|
136
145
|
this.passwordFieldLabel = "New Password";
|
|
146
|
+
/**
|
|
147
|
+
* @uiName Password requirement met
|
|
148
|
+
*/
|
|
149
|
+
this.meetsRequirementsText = "Password has met all requirements";
|
|
150
|
+
/**
|
|
151
|
+
* @uiName Password requirement failed
|
|
152
|
+
*/
|
|
153
|
+
this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
|
|
154
|
+
/**
|
|
155
|
+
* @uiName Minimum length text
|
|
156
|
+
*/
|
|
157
|
+
this.minErrorText = "be a minimum of 8 characters";
|
|
158
|
+
/**
|
|
159
|
+
* @uiName Missing uppercase text
|
|
160
|
+
*/
|
|
161
|
+
this.uppercaseErrorText = "contain at least 1 uppercase character";
|
|
162
|
+
/**
|
|
163
|
+
* @uiName Missing lowercase text
|
|
164
|
+
*/
|
|
165
|
+
this.lowercaseErrorText = "contain at least 1 lowercase character";
|
|
166
|
+
/**
|
|
167
|
+
* @uiName Missing number or symbol text
|
|
168
|
+
*/
|
|
169
|
+
this.hasErrorText = "contain at least 1 number or symbol";
|
|
170
|
+
/**
|
|
171
|
+
* @uiName Passwords don’t match error message
|
|
172
|
+
* Please make sure your passwords match
|
|
173
|
+
*/
|
|
174
|
+
this.passwordMismatchText = "Passwords do not match.";
|
|
175
|
+
/**
|
|
176
|
+
* @uiName Reset code invalid error message
|
|
177
|
+
*/
|
|
178
|
+
this.codeInvalidText = "The password reset code is invalid or has expired, please try again.";
|
|
179
|
+
/**
|
|
180
|
+
* @uiName Reset success text
|
|
181
|
+
*/
|
|
182
|
+
this.resetSuccessText = "Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";
|
|
183
|
+
/**
|
|
184
|
+
* @uiName Network error message
|
|
185
|
+
* Displayed when the password reset fails due to a network error. The participant can try refreshing the page.
|
|
186
|
+
*/
|
|
187
|
+
this.networkErrorMessage = "An error occurred while resetting your password. Please refresh the page and try again.";
|
|
137
188
|
h(this);
|
|
138
189
|
}
|
|
139
190
|
disconnectedCallback() { }
|
|
@@ -160,6 +211,15 @@ function usePortalResetPasswordDemo(props) {
|
|
|
160
211
|
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
161
212
|
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
162
213
|
passwordFieldLabel: props.passwordFieldLabel,
|
|
214
|
+
meetsRequirementsText: props.meetsRequirementsText,
|
|
215
|
+
doesNotMeetRequirementsText: props.doesNotMeetRequirementsText,
|
|
216
|
+
minErrorText: props.minErrorText,
|
|
217
|
+
uppercaseErrorText: props.uppercaseErrorText,
|
|
218
|
+
lowercaseErrorText: props.lowercaseErrorText,
|
|
219
|
+
hasErrorText: props.hasErrorText,
|
|
220
|
+
passwordMismatchText: props.passwordMismatchText,
|
|
221
|
+
codeInvalidText: props.codeInvalidText,
|
|
222
|
+
resetSuccessText: props.resetSuccessText,
|
|
163
223
|
},
|
|
164
224
|
},
|
|
165
225
|
callbacks: {
|
|
@@ -21,24 +21,24 @@ const vanillaStyle = `
|
|
|
21
21
|
const sheet = createStyleSheet(style);
|
|
22
22
|
const styleString = sheet.toString();
|
|
23
23
|
function PortalVerifyEmailView(props) {
|
|
24
|
-
const { states, data, callbacks } = props;
|
|
24
|
+
const { states, data, callbacks, content } = props;
|
|
25
25
|
if (states.verified) {
|
|
26
26
|
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
27
27
|
h("style", { type: "text/css" },
|
|
28
28
|
vanillaStyle,
|
|
29
29
|
styleString),
|
|
30
|
-
h(TextSpanView, { type: "h3" },
|
|
30
|
+
h(TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
31
31
|
h("sqm-form-message", { exportparts: "success-icon" },
|
|
32
|
-
h("div", { part: "successalert-text" },
|
|
33
|
-
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" },
|
|
32
|
+
h("div", { part: "successalert-text" }, content.verifySuccessText)),
|
|
33
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.gotoNextPage, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
34
34
|
}
|
|
35
35
|
if (states.error || !data.oobCode) {
|
|
36
36
|
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
37
37
|
h("style", { type: "text/css" }, styleString),
|
|
38
|
-
h(TextSpanView, { type: "h3" },
|
|
38
|
+
h(TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
39
39
|
h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
40
|
-
h("div", { part: "erroralert-text" },
|
|
41
|
-
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" },
|
|
40
|
+
h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
|
|
41
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { f as useEffect, m as h } from './stencil-hooks.module-
|
|
3
|
-
import {
|
|
2
|
+
import { f as useEffect, m as h } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { H, n as nn, y as yn, i as isDemo } from './index.module-cbe33f2d.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
|
-
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
7
|
+
import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
9
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-283bf637.js';
|
|
10
10
|
|
|
11
|
-
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
11
|
+
function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, }) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
13
|
-
const userIdent =
|
|
14
|
-
const [request, { loading, data, errors }] =
|
|
15
|
-
const urlParams = new URLSearchParams(
|
|
13
|
+
const userIdent = H();
|
|
14
|
+
const [request, { loading, data, errors }] = nn();
|
|
15
|
+
const urlParams = new URLSearchParams(yn.location.search);
|
|
16
16
|
const oobCode = urlParams.get("oobCode");
|
|
17
17
|
const nextPageOverride = urlParams.get("nextPage");
|
|
18
18
|
// derived from useMutation in component boilerplate initialState
|
|
@@ -20,7 +20,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
20
20
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
21
21
|
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));
|
|
22
22
|
const failed = () => {
|
|
23
|
-
return
|
|
23
|
+
return yn.push({
|
|
24
24
|
pathname: failedPage,
|
|
25
25
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
26
26
|
});
|
|
@@ -28,7 +28,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
28
28
|
const gotoNextPage = () => {
|
|
29
29
|
urlParams.delete("nextPage");
|
|
30
30
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
31
|
-
|
|
31
|
+
yn.push(url.href);
|
|
32
32
|
};
|
|
33
33
|
const submit = async () => {
|
|
34
34
|
var _a;
|
|
@@ -58,7 +58,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
58
58
|
states: {
|
|
59
59
|
loading: loading || disableContinue,
|
|
60
60
|
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) ||
|
|
61
|
-
((errors === null || errors === void 0 ? void 0 : errors.message) &&
|
|
61
|
+
((errors === null || errors === void 0 ? void 0 : errors.message) && networkErrorMessage),
|
|
62
62
|
verified,
|
|
63
63
|
},
|
|
64
64
|
data: {
|
|
@@ -68,6 +68,11 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
68
68
|
failed,
|
|
69
69
|
gotoNextPage,
|
|
70
70
|
},
|
|
71
|
+
content: {
|
|
72
|
+
verifySuccessText,
|
|
73
|
+
verifyEmailText,
|
|
74
|
+
verifyInvalidText,
|
|
75
|
+
},
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
|
|
@@ -89,14 +94,38 @@ const PortalVerifyEmail = class {
|
|
|
89
94
|
* @uiWidget pageSelect
|
|
90
95
|
*/
|
|
91
96
|
this.failedPage = "/";
|
|
97
|
+
/**
|
|
98
|
+
* @uiName Verify email text
|
|
99
|
+
* @uiWidget textArea
|
|
100
|
+
*/
|
|
101
|
+
this.verifyEmailText = "Verify your email";
|
|
102
|
+
/**
|
|
103
|
+
* @uiName Email verification success text
|
|
104
|
+
* @uiWidget textArea
|
|
105
|
+
*/
|
|
106
|
+
this.verifySuccessText = "Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";
|
|
107
|
+
/**
|
|
108
|
+
* @uiName Email verification invalid text
|
|
109
|
+
* @uiWidget textArea
|
|
110
|
+
*/
|
|
111
|
+
this.verifyInvalidText = "The email verification code is invalid or has expired, please try again.";
|
|
112
|
+
/**
|
|
113
|
+
* @uiName Continue text
|
|
114
|
+
*/
|
|
115
|
+
this.continueText = "Continue";
|
|
116
|
+
/**
|
|
117
|
+
* @uiName Network error message
|
|
118
|
+
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
|
|
119
|
+
*/
|
|
120
|
+
this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
|
|
92
121
|
h(this);
|
|
93
122
|
}
|
|
94
123
|
disconnectedCallback() { }
|
|
95
124
|
render() {
|
|
96
|
-
const { states, data, callbacks } = isDemo()
|
|
97
|
-
? usePortalVerifyEmailDemo(this)
|
|
98
|
-
: usePortalVerifyEmail(this);
|
|
99
|
-
return (h$1(PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks }));
|
|
125
|
+
const { states, data, callbacks, content } = isDemo()
|
|
126
|
+
? usePortalVerifyEmailDemo(getProps(this))
|
|
127
|
+
: usePortalVerifyEmail(getProps(this));
|
|
128
|
+
return (h$1(PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks, content: content }));
|
|
100
129
|
}
|
|
101
130
|
};
|
|
102
131
|
function usePortalVerifyEmailDemo(props) {
|
|
@@ -111,6 +140,12 @@ function usePortalVerifyEmailDemo(props) {
|
|
|
111
140
|
},
|
|
112
141
|
gotoNextPage: () => { },
|
|
113
142
|
},
|
|
143
|
+
content: {
|
|
144
|
+
verifySuccessText: props.verifySuccessText,
|
|
145
|
+
verifyEmailText: props.verifyEmailText,
|
|
146
|
+
verifyInvalidText: props.verifyInvalidText,
|
|
147
|
+
continueText: props.continueText,
|
|
148
|
+
},
|
|
114
149
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
115
150
|
}
|
|
116
151
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h, i as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { m as h, i as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { i as intl } from './global-0268f7bb.js';
|
|
4
|
+
import { i as isDemo } from './index.module-cbe33f2d.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
9
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import { l as luxon } from './luxon-
|
|
12
|
-
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
9
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-4e10b5ac.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-f6672214.js';
|
|
11
|
+
import { l as luxon } from './luxon-5ca0a018.js';
|
|
12
|
+
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-16e5c27f.js';
|
|
13
13
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
14
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
15
15
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import { i as isDemo,
|
|
2
|
+
import { m as h } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { i as isDemo, e as setUserIdentity } from './index.module-cbe33f2d.js';
|
|
4
4
|
import './jsonpointer-388a7082.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
9
|
+
import './useRegistrationFormState-424e2af2.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-c9d75808.js';
|
|
11
11
|
|
|
12
12
|
const ReferredRegistration = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-9ad75b88.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { m as h } from './stencil-hooks.module-
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { m as h } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import './index.module-cbe33f2d.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-4e10b5ac.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser, i as useReducer, f as useEffect, m as h$1, u as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
2
|
+
import { b as browser, i as useReducer, f as useEffect, m as h$1, u as useMemo } from './stencil-hooks.module-9ad75b88.js';
|
|
3
|
+
import { i as intl } from './global-0268f7bb.js';
|
|
4
|
+
import { d as dist, H, _, N, b as bn, i as isDemo } from './index.module-cbe33f2d.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
9
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import { l as luxon } from './luxon-
|
|
12
|
-
import { g as generateUserError, m as mockRewardData } from './useReferralTable-
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-4e10b5ac.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-f6672214.js';
|
|
11
|
+
import { l as luxon } from './luxon-5ca0a018.js';
|
|
12
|
+
import { g as generateUserError, m as mockRewardData } from './useReferralTable-16e5c27f.js';
|
|
13
13
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
14
14
|
|
|
15
15
|
const debug = browser("sq:useRewardsTable");
|
|
@@ -127,9 +127,9 @@ const GET_REWARDS = dist.gql `
|
|
|
127
127
|
`;
|
|
128
128
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
129
129
|
var _a, _b;
|
|
130
|
-
const user =
|
|
131
|
-
const programIdContext =
|
|
132
|
-
const locale =
|
|
130
|
+
const user = H();
|
|
131
|
+
const programIdContext = _();
|
|
132
|
+
const locale = N();
|
|
133
133
|
// Default to context, overriden by props
|
|
134
134
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
135
135
|
const rewardFilter = {
|
|
@@ -151,7 +151,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
151
151
|
loading: false,
|
|
152
152
|
page: 0,
|
|
153
153
|
});
|
|
154
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
154
|
+
const { envelope: rewardsData, states, callbacks, } = 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; }, {
|
|
155
155
|
limit: props.perPage,
|
|
156
156
|
offset: 0,
|
|
157
157
|
}, {
|