@saasquatch/mint-components 1.8.5-9 → 1.9.1-0
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-89ba2ab0.js → ShadowViewAddon-1d7d274f.js} +23 -23
- package/dist/cjs/{email-registration-view-a6b6430e.js → email-registration-view-5170d9f1.js} +3 -3
- package/dist/cjs/{global-468407e1.js → global-32cf67e2.js} +2 -2
- package/dist/cjs/{index.module-caa31174.js → index.module-0c942e81.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{luxon-a4661470.js → luxon-05098e19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{mockRewardData-8e760564.js → mockRewardData-4258e067.js} +1 -1
- package/dist/cjs/{re-render-941b676e.js → re-render-4b9dab91.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +24 -24
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +11 -11
- package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +2 -2
- package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-invoice-table-view-501f8985.js → sqm-invoice-table-view-7660f329.js} +9 -9
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7f79627b.js → sqm-navigation-sidebar-item-view-52d8a6ab.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-8f15bace.js → sqm-portal-email-verification-view-4224f1c3.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-forgot-password-view-ca5f6db9.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d8697f23.js → sqm-portal-profile-view-04239bdf.js} +5 -5
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-reset-password-view-07a13210.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-verify-email-view-ce552bbc.js → sqm-portal-verify-email-view-7ffcc0d4.js} +4 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +41 -47
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
- 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 +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +21 -19
- package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- package/dist/cjs/{stencil-hooks.module-faabb426.js → stencil-hooks.module-72742a0b.js} +1 -1
- package/dist/cjs/{useChildElements-f1923bc6.js → useChildElements-fbcd8f72.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-fe258c50.js → useInstantAccessRegistration-988b4965.js} +3 -3
- package/dist/cjs/{useReferralTable-7244325a.js → useReferralTable-984e432d.js} +4 -4
- package/dist/cjs/{useRegistrationFormState-ad3190c9.js → useRegistrationFormState-70ae0627.js} +2 -2
- package/dist/cjs/{utilities-73df97e1.js → utilities-d1a46070.js} +2 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +3 -3
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +2 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +2 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +4 -4
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +2 -2
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +2 -2
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +2 -2
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +2 -2
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -0
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +4 -2
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +39 -45
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +8 -8
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -12
- package/dist/collection/components/views/email-registration-view.js +3 -3
- package/dist/esm/{ShadowViewAddon-c22043d9.js → ShadowViewAddon-b04465af.js} +23 -23
- package/dist/esm/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +3 -3
- package/dist/esm/{global-938df634.js → global-56126a31.js} +2 -2
- package/dist/esm/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm/{re-render-b61a14be.js → re-render-6d9db92d.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +24 -24
- package/dist/esm/sqm-big-stat_38.entry.js +11 -11
- package/dist/esm/sqm-close-button.entry.js +2 -2
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
- package/dist/esm/{sqm-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.js} +9 -9
- package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
- package/dist/esm/sqm-logout-current-user.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-13f0ef79.js → sqm-portal-profile-view-0b68e4e5.js} +5 -5
- package/dist/esm/sqm-portal-profile.entry.js +5 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +5 -5
- package/dist/esm/{sqm-portal-reset-password-view-d3e726a9.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/{sqm-portal-verify-email-view-283bf637.js → sqm-portal-verify-email-view-d7ea2c56.js} +4 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +41 -47
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- package/dist/esm/sqm-referred-registration.entry.js +5 -5
- 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 +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +21 -19
- package/dist/esm/sqm-tab.entry.js +3 -3
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +3 -3
- package/dist/esm/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +4 -4
- package/dist/esm/{useRegistrationFormState-0e09e2ca.js → useRegistrationFormState-afc73a09.js} +2 -2
- package/dist/esm/{utilities-21d8a4df.js → utilities-ffa6a093.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-b04465af.js +1 -0
- package/dist/esm-es5/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +1 -1
- package/dist/esm-es5/{global-938df634.js → global-56126a31.js} +1 -1
- package/dist/esm-es5/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm-es5/{re-render-b61a14be.js → re-render-6d9db92d.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.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-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.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-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.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-0b68e4e5.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 → sqm-portal-reset-password-view-79a85e02.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-d7ea2c56.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-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm-es5/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +1 -1
- package/dist/esm-es5/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-afc73a09.js +1 -0
- package/dist/esm-es5/{utilities-21d8a4df.js → utilities-ffa6a093.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-02e550bc.system.entry.js → p-0357abfc.system.entry.js} +1 -1
- package/dist/mint-components/{p-71c592d4.js → p-0985eff1.js} +1 -1
- package/dist/mint-components/p-0a910041.entry.js +1 -0
- package/dist/mint-components/p-10036f16.js +1 -0
- package/dist/mint-components/{p-59e810e6.system.js → p-104a1a77.system.js} +1 -1
- package/dist/mint-components/{p-4e513c81.entry.js → p-12b0b5e8.entry.js} +1 -1
- package/dist/mint-components/{p-399d6f42.entry.js → p-178d2d2e.entry.js} +1 -1
- package/dist/mint-components/{p-ea6a7135.js → p-1b9e6fc6.js} +1 -1
- package/dist/mint-components/{p-df1b9e5b.js → p-251e7567.js} +1 -1
- package/dist/mint-components/{p-d5a682bf.system.js → p-2a414b2e.system.js} +1 -1
- package/dist/mint-components/p-2c2dfdb3.system.entry.js +1 -0
- package/dist/mint-components/p-2f1bc59a.entry.js +1 -0
- package/dist/mint-components/{p-f710f9d7.entry.js → p-339ae6e1.entry.js} +3 -3
- package/dist/mint-components/{p-d3cd5ec5.entry.js → p-33c683e0.entry.js} +1 -1
- package/dist/mint-components/{p-88eab2f3.system.js → p-344340aa.system.js} +1 -1
- package/dist/mint-components/p-35f24af0.system.entry.js +1 -0
- package/dist/mint-components/{p-b689baf8.system.js → p-370a1a73.system.js} +1 -1
- package/dist/mint-components/{p-13b2638b.entry.js → p-3ba7f54e.entry.js} +2 -2
- package/dist/mint-components/p-3ed71bef.system.js +1 -0
- package/dist/mint-components/{p-9546c6db.entry.js → p-40599315.entry.js} +1 -1
- package/dist/mint-components/p-448c1de0.system.entry.js +1 -0
- package/dist/mint-components/{p-b388ad61.system.entry.js → p-454396dd.system.entry.js} +1 -1
- package/dist/mint-components/p-472d7d7e.entry.js +1 -0
- package/dist/mint-components/p-4869e1d6.js +391 -0
- package/dist/mint-components/p-4bcbc469.system.entry.js +1 -0
- package/dist/mint-components/{p-fca0dc98.system.js → p-4e48267b.system.js} +1 -1
- package/dist/mint-components/p-52abb8e5.entry.js +1 -0
- package/dist/mint-components/{p-561262cd.entry.js → p-59bc9a2d.entry.js} +2 -2
- package/dist/mint-components/{p-c5429a81.system.js → p-60926595.system.js} +1 -1
- package/dist/mint-components/{p-fd51e80e.system.js → p-64815e22.system.js} +1 -1
- package/dist/mint-components/{p-921a134c.entry.js → p-64c48ad5.entry.js} +1 -1
- package/dist/mint-components/p-683ce644.system.js +1 -0
- package/dist/mint-components/p-6a84e37c.js +1 -0
- package/dist/mint-components/{p-5532c083.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/p-6bf41e0d.system.js +1 -0
- package/dist/mint-components/p-6cddd2fc.system.entry.js +1 -0
- package/dist/mint-components/{p-907c3344.system.entry.js → p-6d2a23e7.system.entry.js} +1 -1
- package/dist/mint-components/{p-44b12b2e.system.js → p-6ffed27b.system.js} +1 -1
- package/dist/mint-components/{p-598a1715.entry.js → p-778f4b27.entry.js} +1 -1
- package/dist/mint-components/{p-9c9a46cf.entry.js → p-77b22de8.entry.js} +2 -2
- package/dist/mint-components/p-78921f0a.system.entry.js +1 -0
- package/dist/mint-components/p-7a725b40.js +1 -0
- package/dist/mint-components/{p-7487f23c.system.js → p-7d5e0645.system.js} +1 -1
- package/dist/mint-components/p-84f8dc6c.system.js +1 -0
- package/dist/mint-components/{p-c2f23665.system.js → p-85e31229.system.js} +1 -1
- package/dist/mint-components/{p-be96cc00.system.entry.js → p-881b97d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-d943d0e8.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
- package/dist/mint-components/{p-f3e7bdd4.system.entry.js → p-88c69048.system.entry.js} +1 -1
- package/dist/mint-components/{p-18ccb4ad.system.entry.js → p-89d376f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-2a6133dc.entry.js → p-90da6dce.entry.js} +1 -1
- package/dist/mint-components/{p-cac769d2.entry.js → p-916d5e78.entry.js} +1 -1
- package/dist/mint-components/{p-1273b20d.entry.js → p-91cf7cd4.entry.js} +1 -1
- package/dist/mint-components/{p-cd45b39f.system.js → p-952c0cb6.system.js} +1 -1
- package/dist/mint-components/{p-6d0e3263.system.entry.js → p-954cd130.system.entry.js} +1 -1
- package/dist/mint-components/{p-1a8a8795.entry.js → p-959400ac.entry.js} +1 -1
- package/dist/mint-components/p-96ab6e6b.js +1 -0
- package/dist/mint-components/{p-7dceeaf0.entry.js → p-99bd299b.entry.js} +1 -1
- package/dist/mint-components/{p-7cf5c24c.js → p-9bc18724.js} +1 -1
- package/dist/mint-components/{p-79bd1db8.system.js → p-9c984615.system.js} +1 -1
- package/dist/mint-components/{p-20e29ff1.system.entry.js → p-9d15d169.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ae356ae.system.js → p-9e1b0266.system.js} +1 -1
- package/dist/mint-components/{p-d8f59e94.system.entry.js → p-9e6c3933.system.entry.js} +1 -1
- package/dist/mint-components/{p-d567f968.system.entry.js → p-a262adf8.system.entry.js} +1 -1
- package/dist/mint-components/p-a7c8003b.entry.js +1 -0
- package/dist/mint-components/{p-70554628.system.entry.js → p-a8c90696.system.entry.js} +1 -1
- package/dist/mint-components/{p-957ebdc4.system.entry.js → p-aca4988d.system.entry.js} +1 -1
- package/dist/mint-components/{p-ab49b4e4.js → p-ad4bf4fa.js} +1 -1
- package/dist/mint-components/{p-571b55b4.js → p-af532d79.js} +1 -1
- package/dist/mint-components/p-b0568235.system.entry.js +1 -0
- package/dist/mint-components/{p-e5802992.system.entry.js → p-b3b5b4b7.system.entry.js} +1 -1
- package/dist/mint-components/{p-fd3dacb9.system.entry.js → p-b6b8e4f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a9fc2aa.system.entry.js → p-baa8c445.system.entry.js} +1 -1
- package/dist/mint-components/{p-2f2b220a.entry.js → p-bb669aaf.entry.js} +2 -2
- package/dist/mint-components/{p-09c7f320.entry.js → p-bd52e601.entry.js} +1 -1
- package/dist/mint-components/{p-5b2abce0.system.js → p-bf435047.system.js} +1 -1
- package/dist/mint-components/{p-dd5ca1b2.entry.js → p-c00bfb48.entry.js} +2 -2
- package/dist/mint-components/{p-82f2efa4.entry.js → p-c0e61eab.entry.js} +1 -1
- package/dist/mint-components/p-c3e83277.js +1 -0
- package/dist/mint-components/p-c53a801b.system.js +1 -0
- package/dist/mint-components/p-c8610d0c.js +1 -0
- package/dist/mint-components/p-c8878e79.entry.js +1 -0
- package/dist/mint-components/p-c8cae3bc.system.js +1 -0
- package/dist/mint-components/{p-17cef69b.system.entry.js → p-ccf70291.system.entry.js} +1 -1
- package/dist/mint-components/p-ce72e90a.entry.js +1 -0
- package/dist/mint-components/{p-5e8996cd.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/{p-46ef82ed.js → p-d49e2f7a.js} +1 -1
- package/dist/mint-components/{p-3539d14d.js → p-d64754c2.js} +1 -1
- package/dist/mint-components/{p-214ad777.entry.js → p-d745102d.entry.js} +1 -1
- package/dist/mint-components/{p-cefb6938.system.entry.js → p-dc93e1e2.system.entry.js} +1 -1
- package/dist/mint-components/{p-4bdfee88.entry.js → p-dd0d79bf.entry.js} +1 -1
- package/dist/mint-components/{p-da99e3c7.system.entry.js → p-ddcc5163.system.entry.js} +1 -1
- package/dist/mint-components/{p-f40d3edd.js → p-dec50ec2.js} +1 -1
- package/dist/mint-components/{p-eb8ed21b.entry.js → p-e01d0da5.entry.js} +1 -1
- package/dist/mint-components/{p-67cf72f0.system.entry.js → p-e4c6ebf1.system.entry.js} +1 -1
- package/dist/mint-components/p-e680ae37.entry.js +9 -0
- package/dist/mint-components/p-e8e07d8d.system.entry.js +1 -0
- package/dist/mint-components/p-eff38271.js +1 -0
- package/dist/mint-components/{p-9fe25b2d.system.entry.js → p-f0806232.system.entry.js} +1 -1
- package/dist/mint-components/{p-04cb0dbf.system.entry.js → p-f1d51cb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-65106298.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/p-f6735430.entry.js +1 -0
- package/dist/mint-components/{p-26192c42.system.entry.js → p-fa9efe00.system.entry.js} +1 -1
- package/dist/mint-components/{p-20e2037d.system.entry.js → p-fb1c30c3.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d6eda67.entry.js → p-fbdf0738.entry.js} +1 -1
- package/dist/mint-components/{p-2446212d.js → p-fd2c5407.js} +1 -1
- package/dist/mint-components/{p-80266bc5.js → p-fd3ab606.js} +2 -2
- package/dist/mint-components/{p-11be93f5.entry.js → p-fe451a32.entry.js} +1 -1
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/package.json +7 -4
- package/dist/esm-es5/ShadowViewAddon-c22043d9.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-13f0ef79.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-0e09e2ca.js +0 -1
- package/dist/mint-components/p-023145f0.entry.js +0 -1
- package/dist/mint-components/p-05bfb3bf.js +0 -391
- package/dist/mint-components/p-188ad1f6.system.entry.js +0 -1
- package/dist/mint-components/p-1fe0ea89.entry.js +0 -1
- package/dist/mint-components/p-3a5d82b7.system.entry.js +0 -1
- package/dist/mint-components/p-44c46a30.system.entry.js +0 -1
- package/dist/mint-components/p-4ca22e1b.js +0 -1
- package/dist/mint-components/p-4d9744bf.js +0 -1
- package/dist/mint-components/p-5cd6d4ed.system.entry.js +0 -1
- package/dist/mint-components/p-6a626a88.system.js +0 -1
- package/dist/mint-components/p-74872e41.entry.js +0 -1
- package/dist/mint-components/p-7f6a6657.system.js +0 -1
- package/dist/mint-components/p-90188bc1.entry.js +0 -1
- package/dist/mint-components/p-9149f891.entry.js +0 -1
- package/dist/mint-components/p-9b400b7e.system.entry.js +0 -1
- package/dist/mint-components/p-9cb1ab69.system.js +0 -1
- package/dist/mint-components/p-9f449032.entry.js +0 -1
- package/dist/mint-components/p-b153fc0c.system.js +0 -1
- package/dist/mint-components/p-b2b22a2a.entry.js +0 -9
- package/dist/mint-components/p-b4984452.js +0 -1
- package/dist/mint-components/p-b5ee2781.js +0 -1
- package/dist/mint-components/p-b67f5743.system.js +0 -1
- package/dist/mint-components/p-be584089.system.entry.js +0 -1
- package/dist/mint-components/p-c3a388cd.js +0 -1
- package/dist/mint-components/p-c74a8f95.entry.js +0 -1
- package/dist/mint-components/p-cd96e792.entry.js +0 -1
- package/dist/mint-components/p-cef64e28.system.entry.js +0 -1
- package/dist/mint-components/p-d1c7aed7.js +0 -1
- package/dist/mint-components/p-d4b174e1.system.js +0 -1
- package/dist/mint-components/p-e98b8f9a.system.entry.js +0 -1
- package/dist/mint-components/p-f5f25aba.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-56126a31.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
|
|
5
5
|
const INDIRECT_TAX_PROVINCES = [
|
|
@@ -1751,7 +1751,7 @@ const OtherRegionSlotView = (props) => {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
const IndirectTaxNumberInput = ({ label, error, name, }) => {
|
|
1753
1753
|
var _a;
|
|
1754
|
-
return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
|
|
1754
|
+
return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
|
|
1755
1755
|
class: classes.ErrorInput,
|
|
1756
1756
|
helpText: error,
|
|
1757
1757
|
}), { id: name, name: `/${name}` })));
|
|
@@ -1759,13 +1759,13 @@ const OtherRegionSlotView = (props) => {
|
|
|
1759
1759
|
const SpainFields = () => {
|
|
1760
1760
|
var _a, _b;
|
|
1761
1761
|
return (h("div", { class: classes.ConditionalInputsContainer },
|
|
1762
|
-
h("sl-select", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
|
|
1762
|
+
h("sl-select", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
|
|
1763
1763
|
class: classes.ErrorInput,
|
|
1764
1764
|
helpText: formatErrorMessage(text.subRegion, text.error.fieldRequiredError),
|
|
1765
1765
|
}), { id: "subRegion", name: "/subRegion" }), props.data.esRegions.map((r) => (h("sl-menu-item", { value: r.regionCode }, r.displayName)))),
|
|
1766
1766
|
h(IndirectTaxNumberInput, { name: "indirectTaxNumber", label: getTaxFieldLabel("VAT"), error: getTaxFieldError("VAT") }),
|
|
1767
|
-
h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
|
|
1768
|
-
formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
|
|
1767
|
+
h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
|
|
1768
|
+
formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
|
|
1769
1769
|
class: classes.ErrorInput,
|
|
1770
1770
|
helpText: formatErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
|
|
1771
1771
|
}), { id: "subRegionTaxNumber", name: "/subRegionTaxNumber" })))));
|
|
@@ -1775,14 +1775,14 @@ const OtherRegionSlotView = (props) => {
|
|
|
1775
1775
|
const { classes } = sheet$1;
|
|
1776
1776
|
const currentTaxType = (_a = INDIRECT_TAX_PROVINCES === null || INDIRECT_TAX_PROVINCES === void 0 ? void 0 : INDIRECT_TAX_PROVINCES.find((p) => p.regionCode === formState.province)) === null || _a === void 0 ? void 0 : _a.taxType;
|
|
1777
1777
|
return (h("div", { class: classes.ConditionalInputsContainer },
|
|
1778
|
-
h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
|
|
1778
|
+
h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
|
|
1779
1779
|
class: classes.ErrorInput,
|
|
1780
1780
|
helpText: formatErrorMessage(text.province, text.error.fieldRequiredError),
|
|
1781
1781
|
}), { id: "province", name: "/province" }), props.data.provinces.map((p) => (h("sl-menu-item", { value: p.regionCode }, p.displayName)))),
|
|
1782
1782
|
currentTaxType === "GST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("GST"), error: getTaxFieldError("GST"), name: "indirectTaxNumber" })),
|
|
1783
1783
|
currentTaxType === "HST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("HST"), error: getTaxFieldError("HST"), name: "indirectTaxNumber" })),
|
|
1784
1784
|
formState.province === "QUEBEC" && (h("div", { class: classes.ConditionalInputsContainer },
|
|
1785
|
-
h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
|
|
1785
|
+
h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
|
|
1786
1786
|
formState.hasQst && (h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: formatErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
|
|
1787
1787
|
};
|
|
1788
1788
|
const getActiveForm = (selectedRegion) => {
|
|
@@ -1793,7 +1793,7 @@ const OtherRegionSlotView = (props) => {
|
|
|
1793
1793
|
case "ES":
|
|
1794
1794
|
return h(SpainFields, null);
|
|
1795
1795
|
default:
|
|
1796
|
-
return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
|
|
1796
|
+
return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
|
|
1797
1797
|
class: classes.ErrorInput,
|
|
1798
1798
|
helpText: getTaxFieldError(vatLabels[selectedRegion] || "GENERAL"),
|
|
1799
1799
|
}), { id: "indirectTaxNumber", name: "/indirectTaxNumber" })));
|
|
@@ -1807,7 +1807,7 @@ const OtherRegionSlotView = (props) => {
|
|
|
1807
1807
|
vanillaStyle),
|
|
1808
1808
|
h("hr", { class: classes.HR }),
|
|
1809
1809
|
h("div", { class: classes.InputContainer },
|
|
1810
|
-
h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
|
|
1810
|
+
h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label, base: input-base", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
|
|
1811
1811
|
class: classes.ErrorInput,
|
|
1812
1812
|
helpText: formatErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
|
|
1813
1813
|
}), { id: "selectedRegion", name: "/selectedRegion" }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-56126a31.js';
|
|
4
|
+
import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-b4a6f095.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './JSS-67b5cff8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { S as Sn, i as isDemo } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { S as Sn, i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
8
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-fbaec120.js';
|
|
9
9
|
|
|
10
10
|
function useNavigationSidebarItem(props) {
|
|
11
11
|
const currentPage = Sn();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-
|
|
3
|
-
import { S as Sn, H } from './index.module-
|
|
2
|
+
import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { S as Sn, H } from './index.module-b4a6f095.js';
|
|
4
4
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
|
|
5
5
|
|
|
6
6
|
const NavigationSidebar = class {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import { E as ErrorStyles } from './mixins-f60a614c.js';
|
|
6
6
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-
|
|
8
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-afc73a09.js';
|
|
9
9
|
|
|
10
10
|
var constants = {
|
|
11
11
|
error: {
|
|
@@ -489,7 +489,7 @@ function PortalResetPasswordView(props) {
|
|
|
489
489
|
h("style", { type: "text/css" },
|
|
490
490
|
vanillaStyle,
|
|
491
491
|
styleString$1),
|
|
492
|
-
h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
|
|
492
|
+
h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
|
|
493
493
|
if (!value) {
|
|
494
494
|
return "Cannot be empty";
|
|
495
495
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { B } from './index.module-
|
|
2
|
+
import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { B } from './index.module-b4a6f095.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
|
|
6
6
|
const PopupContainerView = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-56126a31.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
5
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import { l as ln, n as nn, Q, $ as $n, u as useCallback, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import './global-56126a31.js';
|
|
4
|
+
import { l as ln, n as nn, Q, $ as $n, u as useCallback, i as isDemo } from './index.module-b4a6f095.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 './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-973c1e91.js';
|
|
10
10
|
|
|
11
11
|
function usePortalEmailVerification(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -34,7 +34,7 @@ function PortalForgotPasswordView(props) {
|
|
|
34
34
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
35
35
|
props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
|
|
36
36
|
h("div", { part: "successalert-text" }, content.successAlertText))),
|
|
37
|
-
h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
37
|
+
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
38
38
|
h("div", { class: sheet.classes.ButtonsContainer },
|
|
39
39
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
|
|
40
40
|
h("div", { class: sheet.classes.SecondaryButton }, content.secondaryButton)))));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, n as h } from './stencil-hooks.module-
|
|
3
|
-
import { e as un, $ as $n, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { e as un, $ as $n, i as isDemo } from './index.module-b4a6f095.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 './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-
|
|
9
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
10
10
|
|
|
11
11
|
function usePortalForgotPassword(props) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { b as setUserIdentity, $ as $n, i as isDemo } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { b as setUserIdentity, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
|
|
5
5
|
function usePortalLogout({ nextPage }) {
|
|
6
6
|
setUserIdentity(undefined);
|
package/dist/esm/{sqm-portal-profile-view-13f0ef79.js → sqm-portal-profile-view-0b68e4e5.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-56126a31.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
5
5
|
|
|
@@ -67,16 +67,16 @@ function PortalProfileView(props) {
|
|
|
67
67
|
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
68
68
|
h("div", { part: "erroralert-text" }, error))),
|
|
69
69
|
h("div", { class: sheet.classes.NameInputContainer },
|
|
70
|
-
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
70
|
+
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
71
71
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
72
72
|
: []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
|
|
73
73
|
? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
|
|
74
|
-
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
74
|
+
h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
75
75
|
? { class: "ErrorStyles", helpText: text.fieldEmptyText }
|
|
76
76
|
: []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
|
|
77
77
|
? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
|
|
78
|
-
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
|
|
79
|
-
states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label", disabled: true })),
|
|
78
|
+
h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label, base: input-base", disabled: true }),
|
|
79
|
+
states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label, base: input-base", disabled: true })),
|
|
80
80
|
h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
|
|
81
81
|
callbacks.onSubmit(e);
|
|
82
82
|
}, submit: true }, text.submitChangeButtonText))));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import { d as dist, Q, y as yn, f as $e, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import './global-56126a31.js';
|
|
4
|
+
import { d as dist, Q, y as yn, f as $e, i as isDemo } from './index.module-b4a6f095.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
import './sqm-text-span-view-8d140661.js';
|
|
9
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
10
|
-
import { i as isEmpty } from './utilities-
|
|
9
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-0b68e4e5.js';
|
|
10
|
+
import { i as isEmpty } from './utilities-ffa6a093.js';
|
|
11
11
|
|
|
12
12
|
const GET_USER = dist.gql `
|
|
13
13
|
query {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import { Q, S as Sn, $ as $n, i as isDemo } from './index.module-
|
|
2
|
+
import { f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { Q, S as Sn, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
|
|
5
5
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
6
6
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { m as useRef, f as useEffect, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { d as dist, L, W as We, y as yn, $ as $n, u as useCallback, i as isDemo } from './index.module-
|
|
2
|
+
import { m as useRef, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { d as dist, L, W as We, y as yn, $ as $n, u as useCallback, i as isDemo } from './index.module-b4a6f095.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-afc73a09.js';
|
|
10
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
11
11
|
|
|
12
12
|
const style = {
|
|
@@ -53,7 +53,7 @@ function PortalRegistrationFormView(props) {
|
|
|
53
53
|
h("div", { part: "erroralert-text" }, states.registrationFormState.disabledMessage))) : (states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
54
54
|
h("div", { part: "erroralert-text" }, props.states.error)))),
|
|
55
55
|
content.formData,
|
|
56
|
-
!states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
|
|
56
|
+
!states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
|
|
57
57
|
if (!value) {
|
|
58
58
|
return content.requiredFieldErrorMessage;
|
|
59
59
|
}
|
|
@@ -72,7 +72,7 @@ function PortalRegistrationFormView(props) {
|
|
|
72
72
|
: [])))),
|
|
73
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
|
-
!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) ? {
|
|
75
|
+
!states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", 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,
|
|
77
77
|
}
|
|
78
78
|
: {}), (((_s = (_r = states.registrationFormState) === null || _r === void 0 ? void 0 : _r.validationErrors) === null || _s === void 0 ? void 0 : _s.confirmPassword) ? {
|
|
@@ -69,7 +69,7 @@ function PortalResetPasswordView(props) {
|
|
|
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
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
|
-
!states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
|
|
72
|
+
!states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label, base: input-base", 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
|
|
75
75
|
? states.content.continueButtonText
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import { h as Qe, T as Te, $ as $n, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { h as Qe, T as Te, $ as $n, i as isDemo } from './index.module-b4a6f095.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-79a85e02.js';
|
|
11
11
|
|
|
12
12
|
function usePortalResetPassword(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -22,7 +22,9 @@ const sheet = createStyleSheet(style);
|
|
|
22
22
|
const styleString = sheet.toString();
|
|
23
23
|
function PortalVerifyEmailView(props) {
|
|
24
24
|
const { states, data, callbacks, content } = props;
|
|
25
|
-
if (states.
|
|
25
|
+
if (states.loading)
|
|
26
|
+
return;
|
|
27
|
+
if (states.success) {
|
|
26
28
|
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
|
|
27
29
|
h("style", { type: "text/css" },
|
|
28
30
|
vanillaStyle,
|
|
@@ -38,7 +40,7 @@ function PortalVerifyEmailView(props) {
|
|
|
38
40
|
h(TextSpanView, { type: "h3" }, content.verifyEmailText),
|
|
39
41
|
h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
40
42
|
h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
|
|
41
|
-
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed,
|
|
43
|
+
h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, disabled: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import { Q, j as an, $ as $n, b as setUserIdentity, i as isDemo } from './index.module-
|
|
2
|
+
import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { Q, j as an, $ as $n, b as setUserIdentity, i as isDemo } from './index.module-b4a6f095.js';
|
|
4
4
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
5
5
|
import './mixins-f60a614c.js';
|
|
6
6
|
import './JSS-67b5cff8.js';
|
|
7
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-d7ea2c56.js';
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
function setSubmitted(submitted) {
|
|
13
|
-
// using window due to dom-context getting reset on re-render
|
|
14
|
-
window[SUBMITTED_CONTEXT] = submitted;
|
|
15
|
-
}
|
|
11
|
+
let globalPromise = null;
|
|
16
12
|
function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
18
|
-
const
|
|
13
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
|
+
const [completed, setCompleted] = useState(false);
|
|
15
|
+
const [successful, setSuccessful] = useState(false);
|
|
19
16
|
const userIdent = Q();
|
|
20
|
-
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
21
17
|
const [request, { loading, data, errors }] = an();
|
|
22
18
|
const urlParams = new URLSearchParams($n.location.search);
|
|
23
19
|
const oobCode = urlParams.get("oobCode");
|
|
@@ -26,7 +22,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
26
22
|
// derived from useMutation in component boilerplate initialState
|
|
27
23
|
const disableContinue = data === undefined && errors === undefined && !!oobCode;
|
|
28
24
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
29
|
-
const verified = !!(((
|
|
25
|
+
const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_b = data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail) === null || _b === void 0 ? void 0 : _b.success) ||
|
|
26
|
+
successful);
|
|
27
|
+
const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
|
|
30
28
|
const failed = () => {
|
|
31
29
|
return $n.push({
|
|
32
30
|
pathname: failedPage,
|
|
@@ -38,48 +36,44 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
38
36
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
39
37
|
$n.push(url.href);
|
|
40
38
|
};
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
const logout = () => {
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
setUserIdentity(undefined);
|
|
42
|
+
gotoNextPage();
|
|
43
|
+
}, 3000);
|
|
44
|
+
};
|
|
45
|
+
const login = () => {
|
|
46
|
+
setTimeout(gotoNextPage, 3000);
|
|
45
47
|
};
|
|
46
|
-
console.log({ email, oobEmail, data, userIdent });
|
|
47
48
|
useEffect(() => {
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
const verify = async () => {
|
|
50
|
+
if (!globalPromise)
|
|
51
|
+
globalPromise = request({ oobCode });
|
|
52
|
+
const result = await globalPromise;
|
|
53
|
+
if (!(result instanceof Error) &&
|
|
54
|
+
result.verifyManagedIdentityEmail.success) {
|
|
55
|
+
// Needs to be explicitly updated if multiple renders have occured
|
|
56
|
+
setSuccessful(true);
|
|
52
57
|
}
|
|
53
|
-
|
|
54
|
-
gotoNextPage();
|
|
55
|
-
setUserIdentity(undefined);
|
|
56
|
-
setSubmitted(false);
|
|
57
|
-
}, 3000);
|
|
58
|
+
setCompleted(true);
|
|
58
59
|
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
logout();
|
|
64
|
-
return;
|
|
65
|
-
// Already verified, begin redirect
|
|
66
|
-
}
|
|
67
|
-
else if (verified) {
|
|
68
|
-
console.debug("VERIFIED");
|
|
69
|
-
setTimeout(() => {
|
|
70
|
-
gotoNextPage();
|
|
71
|
-
setSubmitted(false);
|
|
72
|
-
}, 3000);
|
|
60
|
+
verify();
|
|
61
|
+
}, []);
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
if (!completed)
|
|
73
64
|
return;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
if (verified && validEmail)
|
|
66
|
+
login();
|
|
67
|
+
else
|
|
68
|
+
logout();
|
|
69
|
+
}, [completed, verified]);
|
|
78
70
|
return {
|
|
79
71
|
states: {
|
|
80
|
-
loading: loading ||
|
|
81
|
-
|
|
82
|
-
|
|
72
|
+
loading: loading || !completed,
|
|
73
|
+
disableContinue,
|
|
74
|
+
error: ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) ||
|
|
75
|
+
(((errors === null || errors === void 0 ? void 0 : errors.message) || !validEmail) && networkErrorMessage),
|
|
76
|
+
success: completed && (verified || validEmail),
|
|
83
77
|
verified,
|
|
84
78
|
},
|
|
85
79
|
data: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { n as h, j 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 { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-56126a31.js';
|
|
4
|
+
import { i as isDemo } from './index.module-b4a6f095.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-d59d8ab4.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 { g as getPaypalMeta } from './mockRewardData-
|
|
13
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
9
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-6d9db92d.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-ab0424a8.js';
|
|
11
|
+
import { l as luxon } from './luxon-7600be8d.js';
|
|
12
|
+
import { g as getPaypalMeta } from './mockRewardData-0eb6e778.js';
|
|
13
|
+
import { u as useReferralTable, t as tryMethod } from './useReferralTable-1b2f12cd.js';
|
|
14
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
15
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
16
16
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import { i as isDemo, b as setUserIdentity } from './index.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as isDemo, b as setUserIdentity } from './index.module-b4a6f095.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
|
-
import { E as EmailRegistrationView } from './email-registration-view-
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
8
|
+
import { E as EmailRegistrationView } from './email-registration-view-07d80492.js';
|
|
9
|
+
import './useRegistrationFormState-afc73a09.js';
|
|
10
|
+
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-482dea49.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 { n as h } from './stencil-hooks.module-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.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 { n as h } from './stencil-hooks.module-
|
|
3
|
-
import './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import './index.module-b4a6f095.js';
|
|
4
|
+
import { a as useRequestRerender } from './re-render-6d9db92d.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteColumn = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-
|
|
2
|
+
import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-56126a31.js';
|
|
4
|
+
import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-b4a6f095.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-d59d8ab4.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 { m as mockRewardData } from './mockRewardData-
|
|
13
|
-
import { g as generateUserError } from './useReferralTable-
|
|
9
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-6d9db92d.js';
|
|
10
|
+
import { u as useChildElements } from './useChildElements-ab0424a8.js';
|
|
11
|
+
import { l as luxon } from './luxon-7600be8d.js';
|
|
12
|
+
import { m as mockRewardData } from './mockRewardData-0eb6e778.js';
|
|
13
|
+
import { g as generateUserError } from './useReferralTable-1b2f12cd.js';
|
|
14
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
15
|
|
|
16
16
|
const debug = browser("sq:useRewardsTable");
|