@saasquatch/mint-components 1.13.0-41 → 1.13.0-42
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-44cb1a98.js → ShadowViewAddon-37f2cd8b.js} +132 -182
- package/dist/cjs/{copy-text-view-9b950efe.js → copy-text-view-67cb700e.js} +13 -12
- package/dist/cjs/{global-19fc8a7a.js → global-6fe7c678.js} +161 -10
- package/dist/cjs/index-e6bafae4.js +2227 -0
- package/dist/cjs/{index.module-57703088.js → index.module-b880d18a.js} +1196 -229
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{luxon-2926d85f.js → luxon-78820ce9.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +4 -4
- package/dist/cjs/{mockRewardData-272e22d6.js → mockRewardData-d117428d.js} +1 -1
- package/dist/cjs/{re-render-35b016ed.js → re-render-050852fe.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +404 -403
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +71 -143
- package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-9dfa2a16.js → sqm-invoice-table-view-9b735809.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -8
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba5f7e.js → sqm-navigation-sidebar-item-view-b76869c1.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +10 -9
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-email-verification-view-98d84549.js → sqm-portal-email-verification-view-39add3d2.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +9 -7
- package/dist/cjs/sqm-portal-login-view-761a4d8e.js +58 -0
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-bae28ea0.js → sqm-portal-profile-view-a722b40a.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-registration-form-view-bd72eeff.js → sqm-portal-registration-form-view-ebf355a6.js} +12 -11
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +8 -7
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +62 -61
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +22 -31
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/{stencil-hooks.module-3a336b0f.js → stencil-hooks.module-b248b384.js} +1 -4
- package/dist/cjs/{useChildElements-854cd1e5.js → useChildElements-e2139cb4.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-daff8290.js → useInstantAccessRegistration-653d2aba.js} +3 -3
- package/dist/cjs/usePortalLogin-521b6d8f.js +74 -0
- package/dist/cjs/{usePortalRegistrationForm-a89d736e.js → usePortalRegistrationForm-f7dfd694.js} +5 -4
- package/dist/cjs/{useReferralTable-283d2316.js → useReferralTable-43818f78.js} +14 -13
- package/dist/cjs/{useRegistrationFormState-986b5ea1.js → useRegistrationFormState-9aa98cfa.js} +2 -2
- package/dist/cjs/{utilities-c135f16f.js → utilities-d691629b.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +428 -0
- package/dist/collection/components/sqm-portal-google-login/usePortalGoogleLogin.js +0 -0
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -2
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -13
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +2 -56
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +12 -11
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -1
- package/dist/esm/{ShadowViewAddon-eba44767.js → ShadowViewAddon-864e3ca8.js} +107 -156
- package/dist/esm/{copy-text-view-b060162f.js → copy-text-view-4655f200.js} +3 -2
- package/dist/esm/{global-bedc4329.js → global-2f2a008c.js} +161 -10
- package/dist/esm/index-c5f8b525.js +2225 -0
- package/dist/esm/{index.module-a2989d3c.js → index.module-863d1595.js} +1194 -224
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{luxon-8d51c92b.js → luxon-e0fc3e69.js} +1 -1
- package/dist/esm/mint-components.js +4 -4
- package/dist/esm/{mockRewardData-8bd1b356.js → mockRewardData-6c2e62c8.js} +1 -1
- package/dist/esm/{re-render-268bb9c8.js → re-render-fcba2f50.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +2 -2
- package/dist/esm/sqm-banking-info-form_16.entry.js +10 -9
- package/dist/esm/sqm-big-stat_38.entry.js +17 -89
- 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-google-sign-in.entry.js +2 -2
- 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-8e2bb54a.js → sqm-invoice-table-view-c58334ce.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -3
- package/dist/esm/sqm-logout-current-user.entry.js +3 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-306c5953.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-pagination_3.entry.js +5 -4
- 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-44c8970f.js → sqm-portal-email-verification-view-d6b1ddab.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-google-login.entry.js +126 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -6
- package/dist/esm/sqm-portal-login-view-7e49609a.js +56 -0
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-61c075cb.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -5
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/{sqm-portal-registration-form-view-c08eafea.js → sqm-portal-registration-form-view-32c4b488.js} +12 -11
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +9 -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 +9 -8
- package/dist/esm/sqm-stencilbook.entry.js +18 -27
- 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-4bc38af4.js → stencil-hooks.module-bb10e6ff.js} +1 -1
- package/dist/esm/{useChildElements-38c11321.js → useChildElements-9d51a845.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-b1ce1e58.js} +3 -3
- package/dist/esm/usePortalLogin-79bf5c9d.js +72 -0
- package/dist/esm/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-be236318.js} +4 -3
- package/dist/esm/{useReferralTable-d77b11f5.js → useReferralTable-4d03e881.js} +5 -4
- package/dist/esm/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-f63404a4.js} +2 -2
- package/dist/esm/{utilities-863d06d1.js → utilities-6b8f9180.js} +2 -2
- package/dist/esm-es5/ShadowViewAddon-864e3ca8.js +1 -0
- package/dist/esm-es5/copy-text-view-4655f200.js +1 -0
- package/dist/esm-es5/global-2f2a008c.js +285 -0
- package/dist/esm-es5/index-c5f8b525.js +1 -0
- package/dist/esm-es5/index.module-863d1595.js +53 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-8d51c92b.js → luxon-e0fc3e69.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-8bd1b356.js → mockRewardData-6c2e62c8.js} +1 -1
- package/dist/esm-es5/{re-render-268bb9c8.js → re-render-fcba2f50.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-google-sign-in.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-8e2bb54a.js → sqm-invoice-table-view-c58334ce.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-56da6bca.js → sqm-navigation-sidebar-item-view-306c5953.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-pagination_3.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-44c8970f.js → sqm-portal-email-verification-view-d6b1ddab.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-google-login.entry.js +1 -0
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-61c075cb.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-view-32c4b488.js +1 -0
- 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.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-4bc38af4.js → stencil-hooks.module-bb10e6ff.js} +1 -1
- package/dist/esm-es5/useChildElements-9d51a845.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-b1ce1e58.js} +1 -1
- package/dist/esm-es5/usePortalLogin-79bf5c9d.js +1 -0
- package/dist/esm-es5/usePortalRegistrationForm-be236318.js +1 -0
- package/dist/esm-es5/useReferralTable-4d03e881.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-f63404a4.js} +1 -1
- package/dist/esm-es5/{utilities-863d06d1.js → utilities-6b8f9180.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-04172660.entry.js +1 -0
- package/dist/mint-components/p-0700c219.system.entry.js +1 -0
- package/dist/mint-components/{p-1c5cffae.js → p-07606410.js} +1 -1
- package/dist/mint-components/p-0cb8e830.entry.js +1 -0
- package/dist/mint-components/{p-5bedb58c.js → p-0d2cd2a9.js} +1 -1
- package/dist/mint-components/p-0ebab63e.system.js +1 -0
- package/dist/mint-components/{p-8056fd5b.system.entry.js → p-0f91825b.system.entry.js} +1 -1
- package/dist/mint-components/p-11f8a69e.system.js +53 -0
- package/dist/mint-components/p-1340e1f7.js +391 -0
- package/dist/mint-components/p-1b448f3c.system.entry.js +1 -0
- package/dist/mint-components/p-1bbbaae1.entry.js +1 -0
- package/dist/mint-components/p-1dc033fc.entry.js +1 -0
- package/dist/mint-components/{p-3972037c.system.entry.js → p-1df12a3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-bd4810c7.system.entry.js → p-1f969054.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d77feee.js → p-1f98e479.js} +1 -1
- package/dist/mint-components/{p-57bcf2d0.system.entry.js → p-220ab3d5.system.entry.js} +1 -1
- package/dist/mint-components/{p-857947fa.system.entry.js → p-231def02.system.entry.js} +1 -1
- package/dist/mint-components/{p-4ae54b04.entry.js → p-2857247a.entry.js} +1 -1
- package/dist/mint-components/{p-48135f99.system.js → p-28bb7dca.system.js} +2 -2
- package/dist/mint-components/{p-b9d17fa1.entry.js → p-2a543e93.entry.js} +3 -3
- package/dist/mint-components/p-2c26f787.system.entry.js +1 -0
- package/dist/mint-components/p-2def85b5.system.js +1 -0
- package/dist/mint-components/{p-a4a5beb5.system.entry.js → p-30e2f7d0.system.entry.js} +1 -1
- package/dist/mint-components/p-3205d5e4.system.entry.js +1 -0
- package/dist/mint-components/{p-75f50e5a.entry.js → p-35287ac8.entry.js} +1 -1
- package/dist/mint-components/p-37d6e0ec.entry.js +1 -0
- package/dist/mint-components/{p-f2fd1910.system.js → p-3b51a63e.system.js} +22 -22
- package/dist/mint-components/{p-79ea1597.system.entry.js → p-3f3accb6.system.entry.js} +1 -1
- package/dist/mint-components/{p-380bfde1.entry.js → p-432ca81a.entry.js} +1 -1
- package/dist/mint-components/{p-8413ade9.system.js → p-457d9d1d.system.js} +1 -1
- package/dist/mint-components/{p-35698aaa.system.js → p-49534fa6.system.js} +1 -1
- package/dist/mint-components/p-49e4c6e3.js +13 -0
- package/dist/mint-components/p-4f9f85e9.system.js +1 -0
- package/dist/mint-components/p-546c3b82.system.js +1 -0
- package/dist/mint-components/{p-faba3198.entry.js → p-5567b408.entry.js} +1 -1
- package/dist/mint-components/p-558141b7.entry.js +9 -0
- package/dist/mint-components/{p-3bdd338c.system.js → p-558fd481.system.js} +1 -1
- package/dist/mint-components/{p-2ab3b8d6.js → p-5e8d57ba.js} +3 -3
- package/dist/mint-components/p-5ef1b48a.system.entry.js +1 -0
- package/dist/mint-components/p-6094ba6f.entry.js +11 -0
- package/dist/mint-components/{p-2126e1e6.entry.js → p-6529dfc7.entry.js} +1 -1
- package/dist/mint-components/{p-8975c2be.entry.js → p-65af5296.entry.js} +3 -3
- package/dist/mint-components/{p-09c5e3ee.system.js → p-697dd7e7.system.js} +1 -1
- package/dist/mint-components/{p-046f4631.system.js → p-6ba5d2b9.system.js} +1 -1
- package/dist/mint-components/p-6bcb0866.entry.js +13 -0
- package/dist/mint-components/{p-19bc3406.system.entry.js → p-6bcfb9cf.system.entry.js} +1 -1
- package/dist/mint-components/p-6c6a7851.js +1 -0
- package/dist/mint-components/p-6c6edca0.system.entry.js +1 -0
- package/dist/mint-components/{p-1b3ab15a.system.entry.js → p-6cc9ec64.system.entry.js} +1 -1
- package/dist/mint-components/p-76ba0be8.js +1 -0
- package/dist/mint-components/{p-31a691af.js → p-78454d0a.js} +1 -1
- package/dist/mint-components/p-793d2130.js +1 -0
- package/dist/mint-components/{p-571c451e.entry.js → p-7957b8c3.entry.js} +1 -1
- package/dist/mint-components/{p-4f45be94.system.js → p-7a1f55af.system.js} +1 -1
- package/dist/mint-components/{p-492fdaf9.js → p-7bde0cf0.js} +1 -1
- package/dist/mint-components/p-7f65b53e.system.entry.js +1 -0
- package/dist/mint-components/p-851c9fe2.system.entry.js +1 -0
- package/dist/mint-components/{p-988ea164.system.entry.js → p-8793aebf.system.entry.js} +1 -1
- package/dist/mint-components/{p-2bbff88f.entry.js → p-879cf5af.entry.js} +1 -1
- package/dist/mint-components/{p-cd651f81.js → p-8b34d321.js} +1 -1
- package/dist/mint-components/{p-1ef299d7.js → p-8c4cbcde.js} +4 -4
- package/dist/mint-components/{p-8fa44e18.entry.js → p-8d49ad11.entry.js} +16 -16
- package/dist/mint-components/{p-7dabdca6.system.entry.js → p-97ef59a8.system.entry.js} +1 -1
- package/dist/mint-components/p-99053795.entry.js +1 -0
- package/dist/mint-components/{p-6de85677.js → p-9b0c0d2e.js} +1 -1
- package/dist/mint-components/p-9f4dd5f8.system.entry.js +1 -0
- package/dist/mint-components/p-a0ba1119.system.entry.js +1 -0
- package/dist/mint-components/{p-e544bb9a.entry.js → p-a1a22146.entry.js} +1 -1
- package/dist/mint-components/p-a2e9c945.entry.js +1 -0
- package/dist/mint-components/p-a765b696.system.js +1 -0
- package/dist/mint-components/{p-a21d1a30.system.entry.js → p-a7cac365.system.entry.js} +1 -1
- package/dist/mint-components/{p-506679e9.js → p-a9c24c77.js} +153 -153
- package/dist/mint-components/{p-aee674c8.entry.js → p-ab3dc379.entry.js} +1 -1
- package/dist/mint-components/p-acef9f8b.entry.js +1 -0
- package/dist/mint-components/p-afee1c9d.system.entry.js +1 -0
- package/dist/mint-components/{p-aaeaff1a.system.entry.js → p-b494d7ca.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac2b7eb8.system.js → p-b4cfad1f.system.js} +1 -1
- package/dist/mint-components/{p-b207beeb.entry.js → p-b583ae26.entry.js} +1 -1
- package/dist/mint-components/p-b93047d2.entry.js +1 -0
- package/dist/mint-components/p-bab24c42.system.js +1 -0
- package/dist/mint-components/p-bb0f585c.system.js +1 -0
- package/dist/mint-components/p-bcc4a18b.system.entry.js +1 -0
- package/dist/mint-components/p-bd8beca3.js +1 -0
- package/dist/mint-components/p-c1371461.system.entry.js +1 -0
- package/dist/mint-components/{p-726a9924.js → p-c45b3e78.js} +1 -1
- package/dist/mint-components/p-c6cbe2d5.system.js +1 -0
- package/dist/mint-components/p-c7570a8d.system.js +1 -0
- package/dist/mint-components/p-c9f568b2.js +1 -0
- package/dist/mint-components/p-ca0f7772.entry.js +1 -0
- package/dist/mint-components/{p-2dc5e60a.entry.js → p-cca54a99.entry.js} +1 -1
- package/dist/mint-components/{p-ca740238.system.entry.js → p-cfdd5894.system.entry.js} +1 -1
- package/dist/mint-components/p-d0091b40.entry.js +1 -0
- package/dist/mint-components/{p-9f231a48.system.entry.js → p-d10037c5.system.entry.js} +1 -1
- package/dist/mint-components/{p-f9de8a59.system.js → p-d1608ef4.system.js} +1 -1
- package/dist/mint-components/{p-f32c8cb5.entry.js → p-d3b9ccb7.entry.js} +1 -1
- package/dist/mint-components/{p-1833c4f5.js → p-d9b04935.js} +1 -1
- package/dist/mint-components/p-dbcb5359.js +1 -0
- package/dist/mint-components/{p-b114e746.entry.js → p-dd16dde6.entry.js} +1 -1
- package/dist/mint-components/{p-635aaf11.system.entry.js → p-dd170c45.system.entry.js} +1 -1
- package/dist/mint-components/{p-28042d23.entry.js → p-de524512.entry.js} +10 -10
- package/dist/mint-components/p-de6b3ed7.system.entry.js +1 -0
- package/dist/mint-components/p-eb333400.entry.js +1 -0
- package/dist/mint-components/p-edcc6bdf.js +42 -0
- package/dist/mint-components/p-ee2bf706.system.js +1 -0
- package/dist/mint-components/p-ef6f9d3f.entry.js +1 -0
- package/dist/mint-components/{p-f4a1dc19.entry.js → p-ef848304.entry.js} +1 -1
- package/dist/mint-components/{p-f0c23e81.system.entry.js → p-efe87bd6.system.entry.js} +1 -1
- package/dist/mint-components/{p-cd480e3f.entry.js → p-f065a5d3.entry.js} +3 -3
- package/dist/mint-components/{p-9a16a3d8.system.entry.js → p-f0c830ec.system.entry.js} +1 -1
- package/dist/mint-components/p-f0d145d4.system.js +1 -0
- package/dist/mint-components/p-f3a4ed64.entry.js +1 -0
- package/dist/mint-components/p-f41cf5f2.system.entry.js +1 -0
- package/dist/mint-components/{p-7989a098.system.entry.js → p-f676b27e.system.entry.js} +1 -1
- package/dist/mint-components/p-f8c32c82.system.entry.js +1 -0
- package/dist/mint-components/{p-6d9e52c7.system.js → p-fa43f96c.system.js} +1 -1
- package/dist/mint-components/p-fbbc27c5.system.entry.js +1 -0
- package/dist/mint-components/{p-81665df6.system.entry.js → p-fe65104b.system.entry.js} +1 -1
- package/dist/mint-components/{p-618e1342.entry.js → p-fe75c80f.entry.js} +1 -1
- package/dist/mint-components/p-feb44492.js +1 -0
- package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +74 -0
- package/dist/types/components/sqm-portal-google-login/usePortalGoogleLogin.d.ts +0 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -9
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
- package/dist/types/components.d.ts +134 -17
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/esm-es5/ShadowViewAddon-eba44767.js +0 -1
- package/dist/esm-es5/copy-text-view-b060162f.js +0 -1
- package/dist/esm-es5/global-bedc4329.js +0 -285
- package/dist/esm-es5/index.module-a2989d3c.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-c08eafea.js +0 -1
- package/dist/esm-es5/useChildElements-38c11321.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-5715c7a5.js +0 -1
- package/dist/esm-es5/useReferralTable-d77b11f5.js +0 -1
- package/dist/mint-components/p-0873eaa8.entry.js +0 -1
- package/dist/mint-components/p-0aa62b64.entry.js +0 -1
- package/dist/mint-components/p-0c5dae79.entry.js +0 -1
- package/dist/mint-components/p-0e53c59e.system.js +0 -1
- package/dist/mint-components/p-168a3298.entry.js +0 -1
- package/dist/mint-components/p-16c7bfda.js +0 -391
- package/dist/mint-components/p-1b0c58bc.system.entry.js +0 -1
- package/dist/mint-components/p-230baeff.system.entry.js +0 -1
- package/dist/mint-components/p-24c4e0b8.system.entry.js +0 -1
- package/dist/mint-components/p-30108c0e.js +0 -1
- package/dist/mint-components/p-31004ef4.entry.js +0 -9
- package/dist/mint-components/p-36233648.js +0 -1
- package/dist/mint-components/p-39b1a7fe.js +0 -1
- package/dist/mint-components/p-3ec660e9.js +0 -1
- package/dist/mint-components/p-3f6e0197.system.entry.js +0 -1
- package/dist/mint-components/p-40e99b24.js +0 -1
- package/dist/mint-components/p-4448febd.entry.js +0 -1
- package/dist/mint-components/p-45436d5a.entry.js +0 -1
- package/dist/mint-components/p-46ab5f80.system.js +0 -1
- package/dist/mint-components/p-53aaa0a4.entry.js +0 -1
- package/dist/mint-components/p-550ef977.js +0 -13
- package/dist/mint-components/p-7166caa6.system.js +0 -1
- package/dist/mint-components/p-731aa5c6.system.entry.js +0 -1
- package/dist/mint-components/p-749c7c9c.system.js +0 -1
- package/dist/mint-components/p-7bcf4467.system.entry.js +0 -1
- package/dist/mint-components/p-7cb919d4.system.entry.js +0 -1
- package/dist/mint-components/p-80fc549b.entry.js +0 -1
- package/dist/mint-components/p-85c49452.system.entry.js +0 -1
- package/dist/mint-components/p-868f176e.entry.js +0 -1
- package/dist/mint-components/p-92a25556.system.entry.js +0 -1
- package/dist/mint-components/p-95c64cfd.system.js +0 -1
- package/dist/mint-components/p-9a0c3ed9.system.entry.js +0 -1
- package/dist/mint-components/p-9b779add.entry.js +0 -1
- package/dist/mint-components/p-9e49479a.entry.js +0 -13
- package/dist/mint-components/p-9fc19501.system.entry.js +0 -1
- package/dist/mint-components/p-a8524459.system.js +0 -1
- package/dist/mint-components/p-b58661b3.system.js +0 -1
- package/dist/mint-components/p-b611eefd.entry.js +0 -1
- package/dist/mint-components/p-c470caf6.entry.js +0 -11
- package/dist/mint-components/p-c4b21562.system.entry.js +0 -1
- package/dist/mint-components/p-ca04737a.entry.js +0 -1
- package/dist/mint-components/p-cf505e92.system.js +0 -1
- package/dist/mint-components/p-d671e44e.system.js +0 -1
- package/dist/mint-components/p-de9afac2.system.entry.js +0 -1
- package/dist/mint-components/p-e0b344fb.entry.js +0 -1
- package/dist/mint-components/p-e9307725.system.entry.js +0 -1
- package/dist/mint-components/p-ebdcea27.system.entry.js +0 -1
- package/dist/mint-components/p-fe4a9dfe.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
4
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
5
5
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
6
|
+
const useRegistrationFormState = require('./useRegistrationFormState-9aa98cfa.js');
|
|
7
7
|
|
|
8
8
|
function useInstantAccessRegistration(props) {
|
|
9
9
|
const cookie = new URLSearchParams(window.location.search);
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
4
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
5
|
+
const utils = require('./utils-6847bc06.js');
|
|
6
|
+
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
7
|
+
|
|
8
|
+
function usePortalLogin(props) {
|
|
9
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
10
|
+
const [request, { loading, errors, data }] = index_module.je();
|
|
11
|
+
const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = index_module.hn();
|
|
12
|
+
const [error, setError] = stencilHooks_module.useState("");
|
|
13
|
+
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
14
|
+
const nextPageOverride = urlParams.get("nextPage");
|
|
15
|
+
const googleSubmit = async (e) => {
|
|
16
|
+
var _a, _b, _c, _d;
|
|
17
|
+
if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
|
|
18
|
+
return;
|
|
19
|
+
const result = await loginWithGoogle({ idToken: e.detail.credential });
|
|
20
|
+
if (result instanceof Error) {
|
|
21
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_b = result === null || result === void 0 ? void 0 : result["response"]) === null || _b === void 0 ? void 0 : _b["error"]))
|
|
22
|
+
if ((_c = result === null || result === void 0 ? void 0 : result["response"]) === null || _c === void 0 ? void 0 : _c["errors"].some((error) => { var _a; return ((_a = error === null || error === void 0 ? void 0 : error["extensions"]) === null || _a === void 0 ? void 0 : _a["message"]) === "Invalid Credentials."; })) {
|
|
23
|
+
setError(props.googleUserNotRegisteredError);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
setError(props.networkErrorMessage);
|
|
27
|
+
}
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if ((_d = result.authenticateManagedIdentityWithGoogle) === null || _d === void 0 ? void 0 : _d.token) {
|
|
31
|
+
urlParams.delete("nextPage");
|
|
32
|
+
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
33
|
+
index_module.jn.push(url.href);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const submit = async (event) => {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
setError("");
|
|
39
|
+
let formData = event.detail.formData;
|
|
40
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
41
|
+
jsonpointer.jsonpointer.set(formData, key, value);
|
|
42
|
+
});
|
|
43
|
+
const variables = { email: formData.email, password: formData.password };
|
|
44
|
+
const result = await request(variables);
|
|
45
|
+
if (result instanceof Error) {
|
|
46
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
47
|
+
setError(props.networkErrorMessage);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
51
|
+
urlParams.delete("nextPage");
|
|
52
|
+
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
53
|
+
index_module.jn.push(url.href);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
57
|
+
error;
|
|
58
|
+
const googleErrorMessage = ((_l = (_k = (_j = (_h = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.extensions) === null || _l === void 0 ? void 0 : _l.message) || ((_p = (_o = (_m = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _m === void 0 ? void 0 : _m.errors) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.message) ||
|
|
59
|
+
error;
|
|
60
|
+
return {
|
|
61
|
+
states: {
|
|
62
|
+
loading: loading || gLoading,
|
|
63
|
+
error: errorMessage || googleErrorMessage,
|
|
64
|
+
registerPath: props.registerPath,
|
|
65
|
+
forgotPasswordPath: props.forgotPasswordPath,
|
|
66
|
+
},
|
|
67
|
+
callbacks: {
|
|
68
|
+
googleSubmit,
|
|
69
|
+
submit,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
exports.usePortalLogin = usePortalLogin;
|
package/dist/cjs/{usePortalRegistrationForm-a89d736e.js → usePortalRegistrationForm-f7dfd694.js}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
4
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
5
|
+
const index = require('./index-e6bafae4.js');
|
|
5
6
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
7
|
+
const useRegistrationFormState = require('./useRegistrationFormState-9aa98cfa.js');
|
|
7
8
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
8
9
|
|
|
9
|
-
const RegistrationFormQuery =
|
|
10
|
+
const RegistrationFormQuery = index.dist.gql `
|
|
10
11
|
query RegistrationFormQuery($key: String!) {
|
|
11
12
|
form(key: $key) {
|
|
12
13
|
key
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const
|
|
7
|
-
const
|
|
3
|
+
const index$1 = require('./index-a29c60ef.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
5
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
6
|
+
const index = require('./index-e6bafae4.js');
|
|
7
|
+
const reRender = require('./re-render-050852fe.js');
|
|
8
|
+
const useChildElements = require('./useChildElements-e2139cb4.js');
|
|
8
9
|
|
|
9
10
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
10
11
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
11
|
-
const GET_REFERRER_DATA =
|
|
12
|
+
const GET_REFERRER_DATA = index.dist.gql `
|
|
12
13
|
query getReferrals(
|
|
13
14
|
$programId: ID
|
|
14
15
|
$rewardFilter: RewardFilterInput
|
|
@@ -77,7 +78,7 @@ const GET_REFERRER_DATA = index_module.dist.gql `
|
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
`;
|
|
80
|
-
const GET_REFERRAL_DATA =
|
|
81
|
+
const GET_REFERRAL_DATA = index.dist.gql `
|
|
81
82
|
query getReferrals(
|
|
82
83
|
$limit: Int!
|
|
83
84
|
$offset: Int!
|
|
@@ -214,7 +215,7 @@ const GET_REFERRAL_DATA = index_module.dist.gql `
|
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
217
|
`;
|
|
217
|
-
const GET_IMPACT_TAX =
|
|
218
|
+
const GET_IMPACT_TAX = index.dist.gql `
|
|
218
219
|
query getImpactTax {
|
|
219
220
|
viewer {
|
|
220
221
|
... on User {
|
|
@@ -311,12 +312,12 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
311
312
|
// show the referrer row before any other rows
|
|
312
313
|
let referrerRow;
|
|
313
314
|
if (showReferrerRow && states.currentPage === 0) {
|
|
314
|
-
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index.h)));
|
|
315
|
+
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index$1.h)));
|
|
315
316
|
referrerRow = await Promise.all(referrerPromise);
|
|
316
317
|
}
|
|
317
318
|
// get the column cells (renderCell is asynchronous)
|
|
318
319
|
const cellsPromise = data === null || data === void 0 ? void 0 : data.map(async (r) => {
|
|
319
|
-
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index.h)));
|
|
320
|
+
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, { locale, taxConnection }, index$1.h)));
|
|
320
321
|
const cells = (await Promise.all(cellPromise));
|
|
321
322
|
return cells;
|
|
322
323
|
});
|
|
@@ -404,7 +405,7 @@ async function tryMethod(c, callback) {
|
|
|
404
405
|
debug("label promise failed", e);
|
|
405
406
|
}
|
|
406
407
|
debug("label promise failed", e);
|
|
407
|
-
return index.h("span", null);
|
|
408
|
+
return index$1.h("span", null);
|
|
408
409
|
}
|
|
409
410
|
try {
|
|
410
411
|
return await renderPromise;
|
|
@@ -414,8 +415,8 @@ async function tryMethod(c, callback) {
|
|
|
414
415
|
// This should not happen so we fail fast
|
|
415
416
|
debug("Error rendering label", e);
|
|
416
417
|
const userError = generateUserError(e);
|
|
417
|
-
return (index.h("details", null,
|
|
418
|
-
index.h("summary", null, "Error"),
|
|
418
|
+
return (index$1.h("details", null,
|
|
419
|
+
index$1.h("summary", null, "Error"),
|
|
419
420
|
userError));
|
|
420
421
|
}
|
|
421
422
|
}
|
package/dist/cjs/{useRegistrationFormState-986b5ea1.js → useRegistrationFormState-9aa98cfa.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
4
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
const REGISTRATION_FORM_STATE_CONTEXT_INTERNAL = "sq:registration-form-state-internal";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
4
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
5
5
|
|
|
6
6
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
7
7
|
function isMobile(breakPoint) {
|
|
@@ -56,9 +56,10 @@
|
|
|
56
56
|
"./components/sqm-portal-footer/sqm-portal-footer.js",
|
|
57
57
|
"./components/sqm-portal-forgot-password/sqm-portal-forgot-password.js",
|
|
58
58
|
"./components/sqm-portal-frame/sqm-portal-frame.js",
|
|
59
|
+
"./components/sqm-portal-login/sqm-portal-login.js",
|
|
60
|
+
"./components/sqm-portal-google-login/sqm-portal-google-login.js",
|
|
59
61
|
"./components/sqm-portal-registration-form/sqm-portal-registration-form.js",
|
|
60
62
|
"./components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js",
|
|
61
|
-
"./components/sqm-portal-login/sqm-portal-login.js",
|
|
62
63
|
"./components/sqm-portal-logout/sqm-portal-logout.js",
|
|
63
64
|
"./components/sqm-portal-profile/sqm-portal-profile.js",
|
|
64
65
|
"./components/sqm-portal-protected-route/sqm-portal-protected-route.js",
|
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import { isDemo, navigation } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
|
+
import { Component, h, Prop, State } from "@stencil/core";
|
|
4
|
+
import deepmerge from "deepmerge";
|
|
5
|
+
import { createStyleSheet } from "../../styling/JSS";
|
|
6
|
+
import { PortalLoginView, } from "../sqm-portal-login/sqm-portal-login-view";
|
|
7
|
+
import { usePortalLogin } from "../sqm-portal-login/usePortalLogin";
|
|
8
|
+
/**
|
|
9
|
+
* @uiName Microsite Login
|
|
10
|
+
*/
|
|
11
|
+
export class PortalGoogleLogin {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.ignored = true;
|
|
14
|
+
/**
|
|
15
|
+
* Redirect participants to this page after they successfully login.
|
|
16
|
+
*
|
|
17
|
+
* @uiName Login redirect
|
|
18
|
+
* @uiWidget pageSelect
|
|
19
|
+
*/
|
|
20
|
+
this.nextPage = "/";
|
|
21
|
+
/**
|
|
22
|
+
* @uiName Email field label
|
|
23
|
+
*/
|
|
24
|
+
this.emailLabel = "Email";
|
|
25
|
+
/**
|
|
26
|
+
* @uiName Password field label
|
|
27
|
+
*/
|
|
28
|
+
this.passwordLabel = "Password";
|
|
29
|
+
/**
|
|
30
|
+
* @uiName Submit button text
|
|
31
|
+
*/
|
|
32
|
+
this.submitLabel = "Sign In";
|
|
33
|
+
/**
|
|
34
|
+
* Redirect participants to this page to reset their password
|
|
35
|
+
* @uiName Forgot password redirect
|
|
36
|
+
* @uiWidget pageSelect
|
|
37
|
+
*/
|
|
38
|
+
this.forgotPasswordPath = "/forgotPassword";
|
|
39
|
+
/**
|
|
40
|
+
* @uiName Forgot password text
|
|
41
|
+
*/
|
|
42
|
+
this.forgotPasswordLabel = "Forgot Password?";
|
|
43
|
+
/**
|
|
44
|
+
* @uiName Register button text
|
|
45
|
+
*/
|
|
46
|
+
this.registerLabel = "Register";
|
|
47
|
+
/**
|
|
48
|
+
* Redirect participants to this page to start registration.
|
|
49
|
+
* @uiName Register button redirect
|
|
50
|
+
* @uiWidget pageSelect
|
|
51
|
+
*/
|
|
52
|
+
this.registerPath = "/register";
|
|
53
|
+
/**
|
|
54
|
+
* @uiName Heading label
|
|
55
|
+
* @uiWidget textArea
|
|
56
|
+
*/
|
|
57
|
+
this.pageLabel = "Sign in to your account";
|
|
58
|
+
/**
|
|
59
|
+
* @uiName Network error message
|
|
60
|
+
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
61
|
+
*/
|
|
62
|
+
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
63
|
+
/**
|
|
64
|
+
* @uiName Google account error message
|
|
65
|
+
* Displayed when user tries to sign in with Google account but has not registered.
|
|
66
|
+
*/
|
|
67
|
+
this.googleUserNotRegisteredError = "Your google account has not registered on our platform. Please complete the registration process with your Google account.";
|
|
68
|
+
/**
|
|
69
|
+
* @uiName Register CTA
|
|
70
|
+
*/
|
|
71
|
+
this.registerCTA = "Don't have an account?";
|
|
72
|
+
withHooks(this);
|
|
73
|
+
}
|
|
74
|
+
disconnectedCallback() { }
|
|
75
|
+
render() {
|
|
76
|
+
const { states, callbacks } = isDemo()
|
|
77
|
+
? useLoginDemo(this)
|
|
78
|
+
: usePortalLogin(this);
|
|
79
|
+
const styles = {
|
|
80
|
+
RegisterButton: {
|
|
81
|
+
"&::part(label)": {
|
|
82
|
+
padding: "0",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
const sheet = createStyleSheet(styles);
|
|
87
|
+
const styleString = sheet.toString();
|
|
88
|
+
const content = {
|
|
89
|
+
forgotPasswordButton: (h("slot", { name: "forgotPassword" },
|
|
90
|
+
h("a", { onClick: () => navigation.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
91
|
+
googleButton: (h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
|
|
92
|
+
secondaryButton: (h("slot", { name: "secondaryButton" },
|
|
93
|
+
h("style", null, styleString),
|
|
94
|
+
h("span", null,
|
|
95
|
+
this.registerCTA,
|
|
96
|
+
" ",
|
|
97
|
+
h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => navigation.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
|
|
98
|
+
emailLabel: this.emailLabel,
|
|
99
|
+
passwordLabel: this.passwordLabel,
|
|
100
|
+
submitLabel: this.submitLabel,
|
|
101
|
+
pageLabel: this.pageLabel,
|
|
102
|
+
};
|
|
103
|
+
return (h(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
|
|
104
|
+
}
|
|
105
|
+
static get is() { return "sqm-portal-google-login"; }
|
|
106
|
+
static get encapsulation() { return "shadow"; }
|
|
107
|
+
static get properties() { return {
|
|
108
|
+
"nextPage": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "string",
|
|
113
|
+
"resolved": "string",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [{
|
|
120
|
+
"text": "Login redirect",
|
|
121
|
+
"name": "uiName"
|
|
122
|
+
}, {
|
|
123
|
+
"text": "pageSelect",
|
|
124
|
+
"name": "uiWidget"
|
|
125
|
+
}],
|
|
126
|
+
"text": "Redirect participants to this page after they successfully login."
|
|
127
|
+
},
|
|
128
|
+
"attribute": "next-page",
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"defaultValue": "\"/\""
|
|
131
|
+
},
|
|
132
|
+
"emailLabel": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [{
|
|
144
|
+
"text": "Email field label",
|
|
145
|
+
"name": "uiName"
|
|
146
|
+
}],
|
|
147
|
+
"text": ""
|
|
148
|
+
},
|
|
149
|
+
"attribute": "email-label",
|
|
150
|
+
"reflect": false,
|
|
151
|
+
"defaultValue": "\"Email\""
|
|
152
|
+
},
|
|
153
|
+
"passwordLabel": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "string",
|
|
158
|
+
"resolved": "string",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [{
|
|
165
|
+
"text": "Password field label",
|
|
166
|
+
"name": "uiName"
|
|
167
|
+
}],
|
|
168
|
+
"text": ""
|
|
169
|
+
},
|
|
170
|
+
"attribute": "password-label",
|
|
171
|
+
"reflect": false,
|
|
172
|
+
"defaultValue": "\"Password\""
|
|
173
|
+
},
|
|
174
|
+
"submitLabel": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"mutable": false,
|
|
177
|
+
"complexType": {
|
|
178
|
+
"original": "string",
|
|
179
|
+
"resolved": "string",
|
|
180
|
+
"references": {}
|
|
181
|
+
},
|
|
182
|
+
"required": false,
|
|
183
|
+
"optional": false,
|
|
184
|
+
"docs": {
|
|
185
|
+
"tags": [{
|
|
186
|
+
"text": "Submit button text",
|
|
187
|
+
"name": "uiName"
|
|
188
|
+
}],
|
|
189
|
+
"text": ""
|
|
190
|
+
},
|
|
191
|
+
"attribute": "submit-label",
|
|
192
|
+
"reflect": false,
|
|
193
|
+
"defaultValue": "\"Sign In\""
|
|
194
|
+
},
|
|
195
|
+
"forgotPasswordPath": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [{
|
|
207
|
+
"text": "Forgot password redirect",
|
|
208
|
+
"name": "uiName"
|
|
209
|
+
}, {
|
|
210
|
+
"text": "pageSelect",
|
|
211
|
+
"name": "uiWidget"
|
|
212
|
+
}],
|
|
213
|
+
"text": "Redirect participants to this page to reset their password"
|
|
214
|
+
},
|
|
215
|
+
"attribute": "forgot-password-path",
|
|
216
|
+
"reflect": false,
|
|
217
|
+
"defaultValue": "\"/forgotPassword\""
|
|
218
|
+
},
|
|
219
|
+
"forgotPasswordLabel": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"mutable": false,
|
|
222
|
+
"complexType": {
|
|
223
|
+
"original": "string",
|
|
224
|
+
"resolved": "string",
|
|
225
|
+
"references": {}
|
|
226
|
+
},
|
|
227
|
+
"required": false,
|
|
228
|
+
"optional": false,
|
|
229
|
+
"docs": {
|
|
230
|
+
"tags": [{
|
|
231
|
+
"text": "Forgot password text",
|
|
232
|
+
"name": "uiName"
|
|
233
|
+
}],
|
|
234
|
+
"text": ""
|
|
235
|
+
},
|
|
236
|
+
"attribute": "forgot-password-label",
|
|
237
|
+
"reflect": false,
|
|
238
|
+
"defaultValue": "\"Forgot Password?\""
|
|
239
|
+
},
|
|
240
|
+
"registerLabel": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"mutable": false,
|
|
243
|
+
"complexType": {
|
|
244
|
+
"original": "string",
|
|
245
|
+
"resolved": "string",
|
|
246
|
+
"references": {}
|
|
247
|
+
},
|
|
248
|
+
"required": false,
|
|
249
|
+
"optional": false,
|
|
250
|
+
"docs": {
|
|
251
|
+
"tags": [{
|
|
252
|
+
"text": "Register button text",
|
|
253
|
+
"name": "uiName"
|
|
254
|
+
}],
|
|
255
|
+
"text": ""
|
|
256
|
+
},
|
|
257
|
+
"attribute": "register-label",
|
|
258
|
+
"reflect": false,
|
|
259
|
+
"defaultValue": "\"Register\""
|
|
260
|
+
},
|
|
261
|
+
"registerPath": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"mutable": false,
|
|
264
|
+
"complexType": {
|
|
265
|
+
"original": "string",
|
|
266
|
+
"resolved": "string",
|
|
267
|
+
"references": {}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": false,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [{
|
|
273
|
+
"text": "Register button redirect",
|
|
274
|
+
"name": "uiName"
|
|
275
|
+
}, {
|
|
276
|
+
"text": "pageSelect",
|
|
277
|
+
"name": "uiWidget"
|
|
278
|
+
}],
|
|
279
|
+
"text": "Redirect participants to this page to start registration."
|
|
280
|
+
},
|
|
281
|
+
"attribute": "register-path",
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"defaultValue": "\"/register\""
|
|
284
|
+
},
|
|
285
|
+
"pageLabel": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"mutable": false,
|
|
288
|
+
"complexType": {
|
|
289
|
+
"original": "string",
|
|
290
|
+
"resolved": "string",
|
|
291
|
+
"references": {}
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"optional": false,
|
|
295
|
+
"docs": {
|
|
296
|
+
"tags": [{
|
|
297
|
+
"text": "Heading label",
|
|
298
|
+
"name": "uiName"
|
|
299
|
+
}, {
|
|
300
|
+
"text": "textArea",
|
|
301
|
+
"name": "uiWidget"
|
|
302
|
+
}],
|
|
303
|
+
"text": ""
|
|
304
|
+
},
|
|
305
|
+
"attribute": "page-label",
|
|
306
|
+
"reflect": false,
|
|
307
|
+
"defaultValue": "\"Sign in to your account\""
|
|
308
|
+
},
|
|
309
|
+
"networkErrorMessage": {
|
|
310
|
+
"type": "string",
|
|
311
|
+
"mutable": false,
|
|
312
|
+
"complexType": {
|
|
313
|
+
"original": "string",
|
|
314
|
+
"resolved": "string",
|
|
315
|
+
"references": {}
|
|
316
|
+
},
|
|
317
|
+
"required": false,
|
|
318
|
+
"optional": false,
|
|
319
|
+
"docs": {
|
|
320
|
+
"tags": [{
|
|
321
|
+
"text": "Network error message\nDisplayed when the login fails due to a network error. The participant can try refreshing the page.",
|
|
322
|
+
"name": "uiName"
|
|
323
|
+
}],
|
|
324
|
+
"text": ""
|
|
325
|
+
},
|
|
326
|
+
"attribute": "network-error-message",
|
|
327
|
+
"reflect": false,
|
|
328
|
+
"defaultValue": "\"An error occurred while logging you in. Please refresh the page and try again.\""
|
|
329
|
+
},
|
|
330
|
+
"googleUserNotRegisteredError": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"mutable": false,
|
|
333
|
+
"complexType": {
|
|
334
|
+
"original": "string",
|
|
335
|
+
"resolved": "string",
|
|
336
|
+
"references": {}
|
|
337
|
+
},
|
|
338
|
+
"required": false,
|
|
339
|
+
"optional": false,
|
|
340
|
+
"docs": {
|
|
341
|
+
"tags": [{
|
|
342
|
+
"text": "Google account error message\nDisplayed when user tries to sign in with Google account but has not registered.",
|
|
343
|
+
"name": "uiName"
|
|
344
|
+
}],
|
|
345
|
+
"text": ""
|
|
346
|
+
},
|
|
347
|
+
"attribute": "google-user-not-registered-error",
|
|
348
|
+
"reflect": false,
|
|
349
|
+
"defaultValue": "\"Your google account has not registered on our platform. Please complete the registration process with your Google account.\""
|
|
350
|
+
},
|
|
351
|
+
"registerCTA": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"mutable": false,
|
|
354
|
+
"complexType": {
|
|
355
|
+
"original": "string",
|
|
356
|
+
"resolved": "string",
|
|
357
|
+
"references": {}
|
|
358
|
+
},
|
|
359
|
+
"required": false,
|
|
360
|
+
"optional": false,
|
|
361
|
+
"docs": {
|
|
362
|
+
"tags": [{
|
|
363
|
+
"text": "Register CTA",
|
|
364
|
+
"name": "uiName"
|
|
365
|
+
}],
|
|
366
|
+
"text": ""
|
|
367
|
+
},
|
|
368
|
+
"attribute": "register-c-t-a",
|
|
369
|
+
"reflect": false,
|
|
370
|
+
"defaultValue": "\"Don't have an account?\""
|
|
371
|
+
},
|
|
372
|
+
"demoData": {
|
|
373
|
+
"type": "unknown",
|
|
374
|
+
"mutable": false,
|
|
375
|
+
"complexType": {
|
|
376
|
+
"original": "DemoData<PortalLoginViewProps>",
|
|
377
|
+
"resolved": "{ states?: { error: string; loading: boolean; forgotPasswordPath: string; registerPath: string; }; content?: { googleButton?: VNode; forgotPasswordButton?: any; secondaryButton?: any; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; }; }",
|
|
378
|
+
"references": {
|
|
379
|
+
"DemoData": {
|
|
380
|
+
"location": "import",
|
|
381
|
+
"path": "../../global/demo"
|
|
382
|
+
},
|
|
383
|
+
"PortalLoginViewProps": {
|
|
384
|
+
"location": "import",
|
|
385
|
+
"path": "../sqm-portal-login/sqm-portal-login-view"
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"required": false,
|
|
390
|
+
"optional": true,
|
|
391
|
+
"docs": {
|
|
392
|
+
"tags": [{
|
|
393
|
+
"text": undefined,
|
|
394
|
+
"name": "undocumented"
|
|
395
|
+
}, {
|
|
396
|
+
"text": "object",
|
|
397
|
+
"name": "uiType"
|
|
398
|
+
}],
|
|
399
|
+
"text": ""
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}; }
|
|
403
|
+
static get states() { return {
|
|
404
|
+
"ignored": {}
|
|
405
|
+
}; }
|
|
406
|
+
}
|
|
407
|
+
function useLoginDemo(props) {
|
|
408
|
+
return deepmerge({
|
|
409
|
+
states: {
|
|
410
|
+
error: "",
|
|
411
|
+
loading: false,
|
|
412
|
+
forgotPasswordPath: "/forgotPassword",
|
|
413
|
+
registerPath: "/register",
|
|
414
|
+
showLoginForm: "manual",
|
|
415
|
+
},
|
|
416
|
+
callbacks: {
|
|
417
|
+
googleSubmit: async () => {
|
|
418
|
+
console.log("google submit");
|
|
419
|
+
},
|
|
420
|
+
submit: async (_event) => {
|
|
421
|
+
console.log("submit");
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
content: {
|
|
425
|
+
googleButton: null,
|
|
426
|
+
},
|
|
427
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
428
|
+
}
|
|
File without changes
|
|
@@ -192,6 +192,7 @@ export class PortalGoogleRegistrationForm {
|
|
|
192
192
|
}
|
|
193
193
|
return (h(PortalRegistrationFormView, { states: {
|
|
194
194
|
...states,
|
|
195
|
+
emailDisabled: true,
|
|
195
196
|
hidePasswords: showRegistrationForm.mode === "google",
|
|
196
197
|
}, callbacks: callbacks, content: {
|
|
197
198
|
...content,
|
|
@@ -777,7 +778,7 @@ export class PortalGoogleRegistrationForm {
|
|
|
777
778
|
"mutable": false,
|
|
778
779
|
"complexType": {
|
|
779
780
|
"original": "DemoData<PortalRegistrationFormViewProps>",
|
|
780
|
-
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
781
|
+
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
781
782
|
"references": {
|
|
782
783
|
"DemoData": {
|
|
783
784
|
"location": "import",
|
|
@@ -807,7 +808,7 @@ export class PortalGoogleRegistrationForm {
|
|
|
807
808
|
"mutable": false,
|
|
808
809
|
"complexType": {
|
|
809
810
|
"original": "DemoData<PortalRegistrationFormViewProps>",
|
|
810
|
-
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
811
|
+
"resolved": "{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; hidePasswords?: boolean; registrationFormState?: RegistrationFormState; enablePasswordValidation?: boolean; loginPath: string; emailDisabled?: boolean; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel?: string; networkErrorMessage?: string; passwordMismatchErrorMessage?: string; invalidEmailErrorMessage?: string; formDisabledErrorMessage?: string; requiredFieldErrorMessage?: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; }; }",
|
|
811
812
|
"references": {
|
|
812
813
|
"DemoData": {
|
|
813
814
|
"location": "import",
|