@saasquatch/mint-components 1.9.0 → 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-1e2f6f9b.js → ShadowViewAddon-1d7d274f.js} +6 -6
- 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 +8 -8
- 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 +1 -1
- 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 +4 -4
- package/dist/cjs/{sqm-invoice-table-view-cae2a67d.js → sqm-invoice-table-view-7660f329.js} +1 -1
- 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 +3 -3
- 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.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-851a020f.js → sqm-portal-profile-view-04239bdf.js} +1 -1
- 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 +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
- 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 +44 -40
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
- 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 +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +16 -14
- 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-link-button/sqm-link-button-view.js +2 -2
- 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 +43 -39
- package/dist/esm/{ShadowViewAddon-8fd4f148.js → ShadowViewAddon-b04465af.js} +6 -6
- 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 +8 -8
- 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 +1 -1
- 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 +4 -4
- package/dist/esm/{sqm-invoice-table-view-c905071b.js → sqm-invoice-table-view-3707b42c.js} +1 -1
- 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 +3 -3
- 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.entry.js +2 -2
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-eeff5fa0.js → sqm-portal-profile-view-0b68e4e5.js} +1 -1
- 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 +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
- 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 +44 -40
- package/dist/esm/sqm-referral-table_11.entry.js +8 -8
- 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 +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +16 -14
- 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-8fd4f148.js → ShadowViewAddon-b04465af.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-c905071b.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.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-eeff5fa0.js → sqm-portal-profile-view-0b68e4e5.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.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-59e810e6.system.js → p-104a1a77.system.js} +1 -1
- package/dist/mint-components/{p-6868667d.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-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-4d964945.entry.js → p-339ae6e1.entry.js} +1 -1
- package/dist/mint-components/{p-41e2a408.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-da718618.system.entry.js → p-448c1de0.system.entry.js} +1 -1
- 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-d60b15e7.js → p-4869e1d6.js} +1 -1
- package/dist/mint-components/{p-9bdccddd.system.entry.js → p-4bcbc469.system.entry.js} +1 -1
- package/dist/mint-components/p-52abb8e5.entry.js +1 -0
- package/dist/mint-components/{p-4b3fff57.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-8c5a6603.js → p-6a84e37c.js} +1 -1
- package/dist/mint-components/{p-5532c083.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/{p-ccb7d32e.system.entry.js → p-6cddd2fc.system.entry.js} +1 -1
- package/dist/mint-components/{p-6a6b1966.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-5e1366ac.system.js → p-84f8dc6c.system.js} +1 -1
- package/dist/mint-components/{p-c2f23665.system.js → p-85e31229.system.js} +1 -1
- package/dist/mint-components/{p-6d95589e.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-11858d60.system.entry.js → p-89d376f3.system.entry.js} +1 -1
- package/dist/mint-components/{p-f3be6d20.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-2020caa1.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-5c750437.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-b2e34063.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-e0f374e2.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-9891a965.entry.js → p-c00bfb48.entry.js} +1 -1
- 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-abc6cb26.system.js → p-c53a801b.system.js} +1 -1
- 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-0382167f.entry.js → p-ce72e90a.entry.js} +1 -1
- package/dist/mint-components/{p-5e8996cd.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/{p-03cfceb5.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-1403b1f1.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-ab174fe6.system.entry.js → p-e8e07d8d.system.entry.js} +1 -1
- 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-a61430ad.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-ebbcc7c5.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 +5 -4
- 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-1fe0ea89.entry.js +0 -1
- package/dist/mint-components/p-3652236f.system.entry.js +0 -1
- package/dist/mint-components/p-3e096e73.entry.js +0 -1
- package/dist/mint-components/p-44c46a30.system.entry.js +0 -1
- package/dist/mint-components/p-4a3a0014.entry.js +0 -9
- package/dist/mint-components/p-4ca22e1b.js +0 -1
- package/dist/mint-components/p-4d9744bf.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-90188bc1.entry.js +0 -1
- package/dist/mint-components/p-9149f891.entry.js +0 -1
- package/dist/mint-components/p-9cb1ab69.system.js +0 -1
- package/dist/mint-components/p-b4984452.js +0 -1
- package/dist/mint-components/p-c3a388cd.js +0 -1
- package/dist/mint-components/p-cd96e792.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-e1253472.system.entry.js +0 -1
- package/dist/mint-components/p-e98b8f9a.system.entry.js +0 -1
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
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, 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;
|
|
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
17
|
const [request, { loading, data, errors }] = an();
|
|
21
18
|
const urlParams = new URLSearchParams($n.location.search);
|
|
22
19
|
const oobCode = urlParams.get("oobCode");
|
|
20
|
+
const oobEmail = urlParams.get("email");
|
|
23
21
|
const nextPageOverride = urlParams.get("nextPage");
|
|
24
22
|
// derived from useMutation in component boilerplate initialState
|
|
25
23
|
const disableContinue = data === undefined && errors === undefined && !!oobCode;
|
|
26
24
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
27
|
-
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)
|
|
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;
|
|
28
28
|
const failed = () => {
|
|
29
29
|
return $n.push({
|
|
30
30
|
pathname: failedPage,
|
|
@@ -36,40 +36,44 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
|
|
|
36
36
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
37
37
|
$n.push(url.href);
|
|
38
38
|
};
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// pause on error if logged out/unverified
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
gotoNextPage();
|
|
52
|
-
setSubmitted(false);
|
|
53
|
-
}, 3000);
|
|
54
|
-
}
|
|
39
|
+
const logout = () => {
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
setUserIdentity(undefined);
|
|
42
|
+
gotoNextPage();
|
|
43
|
+
}, 3000);
|
|
44
|
+
};
|
|
45
|
+
const login = () => {
|
|
46
|
+
setTimeout(gotoNextPage, 3000);
|
|
55
47
|
};
|
|
56
48
|
useEffect(() => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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);
|
|
57
|
+
}
|
|
58
|
+
setCompleted(true);
|
|
59
|
+
};
|
|
60
|
+
verify();
|
|
61
|
+
}, []);
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
if (!completed)
|
|
63
64
|
return;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
if (verified && validEmail)
|
|
66
|
+
login();
|
|
67
|
+
else
|
|
68
|
+
logout();
|
|
69
|
+
}, [completed, verified]);
|
|
68
70
|
return {
|
|
69
71
|
states: {
|
|
70
|
-
loading: loading ||
|
|
71
|
-
|
|
72
|
-
|
|
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),
|
|
73
77
|
verified,
|
|
74
78
|
},
|
|
75
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
8
|
import { E as EmailRegistrationView } from './email-registration-view-07d80492.js';
|
|
9
|
-
import './useRegistrationFormState-
|
|
10
|
-
import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-
|
|
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");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import './global-
|
|
4
|
-
import { $ as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-
|
|
2
|
+
import { a as commonjsGlobal, u as useMemo, k as useState, f as useEffect, c as createCommonjsModule, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import './global-56126a31.js';
|
|
4
|
+
import { $ as $n, S as Sn, b as setUserIdentity, d as dist, X as Xe, o as setProgramId } from './index.module-b4a6f095.js';
|
|
5
5
|
import './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 './useChildElements-
|
|
10
|
-
import { l as luxon } from './luxon-
|
|
9
|
+
import './useChildElements-ab0424a8.js';
|
|
10
|
+
import { l as luxon } from './luxon-7600be8d.js';
|
|
11
11
|
import './utils-334c1e34.js';
|
|
12
12
|
import './sqm-text-span-view-8d140661.js';
|
|
13
13
|
import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
|
|
@@ -17,16 +17,16 @@ import { E as EmailRegistrationView } from './email-registration-view-07d80492.j
|
|
|
17
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
18
18
|
import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
|
|
19
19
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
|
|
20
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
20
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-fbaec120.js';
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-973c1e91.js';
|
|
22
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
24
|
-
import './utilities-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-0b68e4e5.js';
|
|
24
|
+
import './utilities-ffa6a093.js';
|
|
25
25
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
|
|
26
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
27
|
-
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-
|
|
26
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
|
|
27
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, h as PoweredByImg$1, i as PortalFooterView, H as HeroView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, J as rewardExchange, K as CardFeedView, M as CouponCodeView, O as ProgressBar$2, Q as autoColorScaleCss, U as ShadowViewAddon } from './ShadowViewAddon-b04465af.js';
|
|
28
28
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
|
|
29
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-
|
|
29
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, T as TaxForm } from './sqm-invoice-table-view-3707b42c.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -7601,7 +7601,7 @@ const PortalResetPassword = /*#__PURE__*/Object.freeze({
|
|
|
7601
7601
|
CodeValidating: CodeValidating
|
|
7602
7602
|
});
|
|
7603
7603
|
|
|
7604
|
-
const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n
|
|
7604
|
+
const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n Background: A user is on the email verification page\n Given a user who has been redirected to the email verification page\n\n @motivating\n Scenario: Verifying your email takes you to the portal login page\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they click \"Continue\"\n Then they are redirected to login\n\n @motivating\n Scenario: Users are automatically redirected if they dont click \"Continue\"\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they wait 5 seconds\n Then they are redirected to login\n\n @motivating\n Scenario: Users are notified if verifying their email has failed\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email fails to be validated\n Then an banner is shown stating that an error occured\n\n @motivating\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their verification code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\n And the user has verified their email\n When they click \"Continue\"\n Then they are redirected to <nextPageParamValue>\n Examples:\n | mayHave | nextPageValue | nextPageParamValue |\n | has | /dashboard | /activity |\n | does not have | N/A | /activity |\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |\n\n\n @minutia\n Scenario Outline: Users may be logged in or logged out depending on the verified status and logged in email\n Given an oobCode with email <oobCodeEmail> as a url query parameter\n And the user is logged in as <loggedInEmail>\n And the logged in user <isVerified>\n When the oobCode is submitted\n And the oobCode <isValid>\n Then the <submitState> screen is shown\n And after 3 seconds pass\n Then the user is redirected to <redirect>\n Examples:\n | oobCodeEmail | loggedInEmail | isVerified | isValid | submitState | redirect |\n | user1@example.com | N/A | false | is valid | success | /login |\n | user1@example.com | N/A | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | false | is valid | success | /activity |\n | user1@example.com | user1@example.com | false | is not valid | error | N/A |\n | user1@example.com | user2@example.com | false | is valid | success | /login |\n | user1@example.com | user2@example.com | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | true | is valid | success | /activity |\n | user1@example.com | user1@example.com | true | is not valid | success | /activity |\n | user1@example.com | user2@example.com | true | is not valid | error | /login |\n | N/A | N/A | false | is not valid | error | N/A |\n";
|
|
7605
7605
|
|
|
7606
7606
|
const PortalVerifyEmail_stories = {
|
|
7607
7607
|
title: "Components/Microsite Verify Email",
|
|
@@ -7614,6 +7614,7 @@ const errorProps$5 = {
|
|
|
7614
7614
|
error: "Something went wrong. Please try again.",
|
|
7615
7615
|
loading: false,
|
|
7616
7616
|
verified: false,
|
|
7617
|
+
success: false,
|
|
7617
7618
|
},
|
|
7618
7619
|
data: {
|
|
7619
7620
|
oobCode: "abc123",
|
|
@@ -7633,6 +7634,7 @@ const verifiedProps = {
|
|
|
7633
7634
|
error: "",
|
|
7634
7635
|
loading: false,
|
|
7635
7636
|
verified: true,
|
|
7637
|
+
success: true,
|
|
7636
7638
|
},
|
|
7637
7639
|
data: {
|
|
7638
7640
|
oobCode: "abc123",
|
|
@@ -9951,7 +9953,7 @@ const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Genera
|
|
|
9951
9953
|
|
|
9952
9954
|
const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ---------------------------- | ------------------------------ | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; isVerified?: boolean; loadingVerification?: boolean; countdown?: number; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; verificationStatusMessage?: string; verificationLoadingMessage?: string; verificationResentMessage?: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your password. Please refresh the page.\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verificationLoadingMessage` | `verification-loading-message` | | `string` | `\"Checking verification status\"` |\n| `verificationResentMessage` | `verification-resent-message` | | `string` | `\"Your verification email has been resent successfully\"` |\n| `verificationStatusMessage` | `verification-status-message` | | `string` | `\"Checking verification status in {countdown}\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9953
9955
|
|
|
9954
|
-
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type
|
|
9956
|
+
const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `continueText` | `continue-text` | | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your email. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\n| `verifyEmailText` | `verify-email-text` | | `string` | `\"Verify your email\"` |\n| `verifyInvalidText` | `verify-invalid-text` | | `string` | `\"The email verification code is invalid or has expired, please try again.\"` |\n| `verifySuccessText` | `verify-success-text` | | `string` | `\"Your email has been verified and you are being redirected. If you are not redirected, please click Continue.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9955
9957
|
|
|
9956
9958
|
const PortalTemplates_stories = {
|
|
9957
9959
|
title: "Templates / Microsite",
|
|
@@ -1,7 +1,7 @@
|
|
|
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 './index.module-
|
|
4
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { n as h$1 } 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 TabView = ({}, children) => {
|
|
7
7
|
return h(Host, null, children);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { _ } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { u as useMemo, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { _ } from './index.module-b4a6f095.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-6d9db92d.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-ab0424a8.js';
|
|
6
6
|
import { g as getProps } from './utils-334c1e34.js';
|
|
7
7
|
|
|
8
8
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -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
|
|
|
@@ -1105,7 +1105,7 @@ formatters.j = function (v) {
|
|
|
1105
1105
|
};
|
|
1106
1106
|
});
|
|
1107
1107
|
|
|
1108
|
-
function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t){e.options.onChange&&e.options.onChange(t);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){this.__current=t,this.__listeners.forEach(function(
|
|
1108
|
+
function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t,n){e.options.onChange&&e.options.onChange(t,n);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t,t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){var n=this.__current;this.__current=t,this.__listeners.forEach(function(e){return e.onChange(t,n)});},get:function(){return a(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function a(t){return "function"==typeof typeof t?t():t}
|
|
1109
1109
|
|
|
1110
1110
|
function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var u=1e3,C=60*u,l=60*C,d$1=24*l,f=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*d$1;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*C;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=d$1?g(e,t,d$1,"day"):t>=l?g(e,t,l,"hour"):t>=C?g(e,t,C,"minute"):t>=u?g(e,t,u,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=d$1?Math.round(e/d$1)+"d":t>=l?Math.round(e/l)+"h":t>=C?Math.round(e/C)+"m":t>=u?Math.round(e/u)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function g(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}var p,m$1=(function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r));}),t.splice(o,0,n);},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug");}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug");}catch(e){}return !e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return !("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return ()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=function(e){function t(e){let r,o=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date);n.diff=o-(r||o),n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return "%";a++;const s=t.formatters[o];return "function"==typeof s&&(r=s.call(n,e[a]),e.splice(a,1),a--),r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e);}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===o?t.enabled(e):o,set:e=>{o=e;}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));},t.enabled=function(e){if("*"===e[e.length-1])return !0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return !1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return !0;return !1},t.humanize=f,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");},Object.keys(e).forEach(n=>{t[n]=e[n];}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};}(p={exports:{}},p.exports),p.exports)("useDomContext");function h$1(e,n,i){void 0===i&&(i={});var u=useRef(void 0),C=useState(void 0),l=C[0],d=C[1],f=useMemo(function(){var r;try{(r=new s$1(c$1({contextName:n,element:e,onChange:function(e){u&&(u.current=e),d(e);}},i))).start();}catch(e){m$1("Listener failed to start",e);}return m$1("Listener initialized",r),{listener:r}},[n,u]).listener;return useEffect(function(){return m$1("Listener starting (or restarting)",f),f.start(),function(){m$1("Listener stopping (or restopping)",f),f.stop();}},[f,e.isConnected]),l||(null==u?void 0:u.current)}function y$1(e,t,r){var o=useMemo(function(){var o=new c({contextName:t,element:e,initialState:r});return o.start(),m$1("Provider initialized",o),o},[t,e]);useEffect(function(){return m$1("Provider starting (or restarting)",o),o.start(),function(){m$1("Provider stopping (or re-stopping)",o),o.stop();}},[o,e.isConnected]);var c$1=useReducer(function(e,t){var n;return m$1("New context value",t),n="function"==typeof t?t(o.context):t,o.context=n,o.context},o.context);return [c$1[0],c$1[1],o]}
|
|
1111
1111
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as useState, u as useMemo } from './stencil-hooks.module-
|
|
2
|
-
import { _ } from './index.module-
|
|
1
|
+
import { k as useState, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
+
import { _ } from './index.module-b4a6f095.js';
|
|
3
3
|
|
|
4
4
|
function useChildElements() {
|
|
5
5
|
const host = _();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as useState } from './stencil-hooks.module-
|
|
2
|
-
import { c as mn } from './index.module-
|
|
1
|
+
import { k as useState } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
+
import { c as mn } from './index.module-b4a6f095.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
4
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-afc73a09.js';
|
|
5
5
|
|
|
6
6
|
function useInstantAccessRegistration(props) {
|
|
7
7
|
const cookie = new URLSearchParams(window.location.search);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-
|
|
3
|
-
import { d as dist, Q, H, L, y as yn, k as kn } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { b as browser, j as useReducer, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { d as dist, Q, H, L, y as yn, k as kn } from './index.module-b4a6f095.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-6d9db92d.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-ab0424a8.js';
|
|
6
6
|
|
|
7
7
|
const debug = browser("sq:useReferralTable");
|
|
8
8
|
const CSS_NAMESPACE = "sqm-referral-table";
|
package/dist/esm/{useRegistrationFormState-0e09e2ca.js → useRegistrationFormState-afc73a09.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y } from './stencil-hooks.module-
|
|
2
|
-
import { _ } from './index.module-
|
|
1
|
+
import { y } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
+
import { _ } from './index.module-b4a6f095.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
function useRegistrationFormState(formState) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as useState, f as useEffect } from './stencil-hooks.module-
|
|
2
|
-
import { u as useCallback } from './index.module-
|
|
1
|
+
import { k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
+
import { u as useCallback } from './index.module-b4a6f095.js';
|
|
3
3
|
|
|
4
4
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
5
5
|
function isMobile(breakPoint) {
|