@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,19 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-b248b384.js');
|
|
5
|
+
const global = require('./global-6fe7c678.js');
|
|
6
|
+
const index_module = require('./index.module-b880d18a.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const
|
|
10
|
+
const index$1 = require('./index-e6bafae4.js');
|
|
11
|
+
const copyTextView = require('./copy-text-view-67cb700e.js');
|
|
11
12
|
const mixins = require('./mixins-f7e0377a.js');
|
|
12
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
-
const luxon = require('./luxon-
|
|
13
|
+
const useChildElements = require('./useChildElements-e2139cb4.js');
|
|
14
|
+
const luxon = require('./luxon-78820ce9.js');
|
|
14
15
|
const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
|
|
15
|
-
const index$
|
|
16
|
-
const utilities = require('./utilities-
|
|
16
|
+
const index$2 = require('./index-8c6255f5.js');
|
|
17
|
+
const utilities = require('./utilities-d691629b.js');
|
|
17
18
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
18
19
|
|
|
19
20
|
const medium = {
|
|
@@ -355,7 +356,7 @@ const EditProfileView = (props) => {
|
|
|
355
356
|
}, exportparts: "base: primarybutton-base" }, text.editprofiletext)));
|
|
356
357
|
};
|
|
357
358
|
|
|
358
|
-
const MessageLinkQuery =
|
|
359
|
+
const MessageLinkQuery = index$1.dist.gql `
|
|
359
360
|
query ($programId: ID, $engagementMedium: UserEngagementMedium!) {
|
|
360
361
|
user: viewer {
|
|
361
362
|
... on User {
|
|
@@ -368,7 +369,7 @@ const MessageLinkQuery = index_module.dist.gql `
|
|
|
368
369
|
}
|
|
369
370
|
}
|
|
370
371
|
`;
|
|
371
|
-
const WIDGET_ENGAGEMENT_EVENT =
|
|
372
|
+
const WIDGET_ENGAGEMENT_EVENT = index$1.dist.gql `
|
|
372
373
|
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
373
374
|
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
374
375
|
}
|
|
@@ -412,7 +413,7 @@ function useShareLink(props) {
|
|
|
412
413
|
return { ...props, onClick, open, copyString: copyString };
|
|
413
414
|
}
|
|
414
415
|
|
|
415
|
-
const MessageLinkQuery$1 =
|
|
416
|
+
const MessageLinkQuery$1 = index$1.dist.gql `
|
|
416
417
|
query (
|
|
417
418
|
$programId: ID
|
|
418
419
|
$engagementMedium: UserEngagementMedium!
|
|
@@ -531,7 +532,7 @@ _, status) => {
|
|
|
531
532
|
? { dateConverted_exists: false }
|
|
532
533
|
: {};
|
|
533
534
|
const queryFilter = { ...programFilter, ...convertedFilter };
|
|
534
|
-
return debugQuery(
|
|
535
|
+
return debugQuery(index$1.dist.gql `
|
|
535
536
|
query ($queryFilter: ReferralFilterInput) {
|
|
536
537
|
viewer {
|
|
537
538
|
... on User {
|
|
@@ -553,7 +554,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
553
554
|
// Confirm this behaviour
|
|
554
555
|
if (programId === "classic")
|
|
555
556
|
return null;
|
|
556
|
-
return debugQuery(
|
|
557
|
+
return debugQuery(index$1.dist.gql `
|
|
557
558
|
query {
|
|
558
559
|
viewer {
|
|
559
560
|
... on User {
|
|
@@ -576,7 +577,7 @@ const programGoalsQuery = (programId, locale, metricType, goalId) => {
|
|
|
576
577
|
});
|
|
577
578
|
};
|
|
578
579
|
const customFieldsQuery = (_programId, locale, fieldName, goalId) => {
|
|
579
|
-
return debugQuery(
|
|
580
|
+
return debugQuery(index$1.dist.gql `
|
|
580
581
|
query {
|
|
581
582
|
viewer {
|
|
582
583
|
... on User {
|
|
@@ -601,7 +602,7 @@ const referralsMonthQuery = (programId) => {
|
|
|
601
602
|
...programFilter,
|
|
602
603
|
dateReferralStarted_timeframe: "this_month",
|
|
603
604
|
};
|
|
604
|
-
return debugQuery(
|
|
605
|
+
return debugQuery(index$1.dist.gql `
|
|
605
606
|
query ($filter: ReferralFilterInput) {
|
|
606
607
|
viewer {
|
|
607
608
|
... on User {
|
|
@@ -627,7 +628,7 @@ const referralsWeekQuery = (programId) => {
|
|
|
627
628
|
...programFilter,
|
|
628
629
|
dateReferralStarted_timeframe: "this_week",
|
|
629
630
|
};
|
|
630
|
-
return debugQuery(
|
|
631
|
+
return debugQuery(index$1.dist.gql `
|
|
631
632
|
query ($filter: ReferralFilterInput) {
|
|
632
633
|
viewer {
|
|
633
634
|
... on User {
|
|
@@ -648,7 +649,7 @@ const referralsWeekQuery = (programId) => {
|
|
|
648
649
|
const rewardsCountQuery = (programId,
|
|
649
650
|
// locale
|
|
650
651
|
_, global = "") => {
|
|
651
|
-
return debugQuery(
|
|
652
|
+
return debugQuery(index$1.dist.gql `
|
|
652
653
|
query ($programId: ID) {
|
|
653
654
|
viewer {
|
|
654
655
|
... on User {
|
|
@@ -672,7 +673,7 @@ const rewardsCountFilteredQuery = (programId,
|
|
|
672
673
|
// locale
|
|
673
674
|
_, type, unit, status, global = "") => {
|
|
674
675
|
const statusFilter = status ? { status } : null;
|
|
675
|
-
return debugQuery(
|
|
676
|
+
return debugQuery(index$1.dist.gql `
|
|
676
677
|
query (
|
|
677
678
|
$programId: ID
|
|
678
679
|
$unit: String
|
|
@@ -711,7 +712,7 @@ const integrationRewardsCountFilteredQuery = (programId,
|
|
|
711
712
|
// locale
|
|
712
713
|
_, status, global = "") => {
|
|
713
714
|
const statusFilter = status ? { status } : null;
|
|
714
|
-
return debugQuery(
|
|
715
|
+
return debugQuery(index$1.dist.gql `
|
|
715
716
|
query ($programId: ID, $statusFilter: RewardStatusFilterInput) {
|
|
716
717
|
viewer {
|
|
717
718
|
... on User {
|
|
@@ -741,7 +742,7 @@ _, status, global = "") => {
|
|
|
741
742
|
const rewardsMonthQuery = (programId,
|
|
742
743
|
// locale
|
|
743
744
|
_, global = "") => {
|
|
744
|
-
return debugQuery(
|
|
745
|
+
return debugQuery(index$1.dist.gql `
|
|
745
746
|
query ($programId: ID) {
|
|
746
747
|
viewer {
|
|
747
748
|
... on User {
|
|
@@ -769,7 +770,7 @@ _, global = "") => {
|
|
|
769
770
|
const rewardsWeekQuery = (programId,
|
|
770
771
|
// locale
|
|
771
772
|
_, global = "") => {
|
|
772
|
-
return debugQuery(
|
|
773
|
+
return debugQuery(index$1.dist.gql `
|
|
773
774
|
query ($programId: ID) {
|
|
774
775
|
viewer {
|
|
775
776
|
... on User {
|
|
@@ -795,7 +796,7 @@ _, global = "") => {
|
|
|
795
796
|
});
|
|
796
797
|
};
|
|
797
798
|
const rewardsPendingQuery = (programId, locale, type, unit, global = "") => {
|
|
798
|
-
return debugQuery(
|
|
799
|
+
return debugQuery(index$1.dist.gql `
|
|
799
800
|
query (
|
|
800
801
|
$programId: ID
|
|
801
802
|
$type: RewardType
|
|
@@ -838,7 +839,7 @@ const rewardsPendingQuery = (programId, locale, type, unit, global = "") => {
|
|
|
838
839
|
});
|
|
839
840
|
};
|
|
840
841
|
const rewardsRedeemedQuery = (programId, locale, type, unit, global = "") => {
|
|
841
|
-
return debugQuery(
|
|
842
|
+
return debugQuery(index$1.dist.gql `
|
|
842
843
|
query (
|
|
843
844
|
$programId: ID
|
|
844
845
|
$type: RewardType
|
|
@@ -881,7 +882,7 @@ const rewardsRedeemedQuery = (programId, locale, type, unit, global = "") => {
|
|
|
881
882
|
});
|
|
882
883
|
};
|
|
883
884
|
const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") => {
|
|
884
|
-
return debugQuery(
|
|
885
|
+
return debugQuery(index$1.dist.gql `
|
|
885
886
|
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
886
887
|
viewer: viewer {
|
|
887
888
|
... on User {
|
|
@@ -940,7 +941,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
940
941
|
});
|
|
941
942
|
};
|
|
942
943
|
const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") => {
|
|
943
|
-
return debugQuery(
|
|
944
|
+
return debugQuery(index$1.dist.gql `
|
|
944
945
|
query ($programId: ID, $type: RewardType, $unit: String!) {
|
|
945
946
|
viewer: viewer {
|
|
946
947
|
... on User {
|
|
@@ -999,7 +1000,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
999
1000
|
});
|
|
1000
1001
|
};
|
|
1001
1002
|
const rewardsAssignedQuery = (programId, locale, type, unit, global = "") => {
|
|
1002
|
-
return debugQuery(
|
|
1003
|
+
return debugQuery(index$1.dist.gql `
|
|
1003
1004
|
query (
|
|
1004
1005
|
$programId: ID
|
|
1005
1006
|
$type: RewardType
|
|
@@ -1042,7 +1043,7 @@ const rewardsAssignedQuery = (programId, locale, type, unit, global = "") => {
|
|
|
1042
1043
|
});
|
|
1043
1044
|
};
|
|
1044
1045
|
const rewardsAvailableQuery = (programId, locale, type, unit, global = "") => {
|
|
1045
|
-
return debugQuery(
|
|
1046
|
+
return debugQuery(index$1.dist.gql `
|
|
1046
1047
|
query (
|
|
1047
1048
|
$programId: ID
|
|
1048
1049
|
$type: RewardType
|
|
@@ -1090,7 +1091,7 @@ const parseRewardValueFormat = {
|
|
|
1090
1091
|
};
|
|
1091
1092
|
const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValue", global = "") => {
|
|
1092
1093
|
var _a;
|
|
1093
|
-
return debugQuery(
|
|
1094
|
+
return debugQuery(index$1.dist.gql `
|
|
1094
1095
|
query (
|
|
1095
1096
|
$programId: ID
|
|
1096
1097
|
$type: RewardType!
|
|
@@ -1135,7 +1136,7 @@ const rewardsBalanceQuery = (programId, locale, type, unit, format = "prettyValu
|
|
|
1135
1136
|
});
|
|
1136
1137
|
};
|
|
1137
1138
|
const trafficQuery = () => {
|
|
1138
|
-
return debugQuery(
|
|
1139
|
+
return debugQuery(index$1.dist.gql `
|
|
1139
1140
|
query traffic {
|
|
1140
1141
|
viewer: viewer {
|
|
1141
1142
|
... on User {
|
|
@@ -1171,7 +1172,7 @@ const userStatsQuery = (_programId, _locale, statId) => {
|
|
|
1171
1172
|
referredRevenue: false,
|
|
1172
1173
|
...statArg,
|
|
1173
1174
|
};
|
|
1174
|
-
return debugQuery(
|
|
1175
|
+
return debugQuery(index$1.dist.gql `
|
|
1175
1176
|
query userStat(
|
|
1176
1177
|
$traffic: Boolean!
|
|
1177
1178
|
$referrals: Boolean!
|
|
@@ -1210,7 +1211,7 @@ const userStatsQuery = (_programId, _locale, statId) => {
|
|
|
1210
1211
|
});
|
|
1211
1212
|
};
|
|
1212
1213
|
const payoutBalanceQuery = () => {
|
|
1213
|
-
return debugQuery(
|
|
1214
|
+
return debugQuery(index$1.dist.gql `
|
|
1214
1215
|
query payoutBalance {
|
|
1215
1216
|
viewer: viewer {
|
|
1216
1217
|
... on User {
|
|
@@ -1375,7 +1376,7 @@ const StatPaths = [
|
|
|
1375
1376
|
route: "/(payoutBalance)",
|
|
1376
1377
|
},
|
|
1377
1378
|
];
|
|
1378
|
-
const StatPatterns = StatPaths.map((pattern) => index$
|
|
1379
|
+
const StatPatterns = StatPaths.map((pattern) => index$2.pathToRegexp(pattern.route));
|
|
1379
1380
|
function useBigStat(props) {
|
|
1380
1381
|
var _a;
|
|
1381
1382
|
const { statType, flexReverse, alignment, programId = index_module.H(), } = props;
|
|
@@ -1401,7 +1402,7 @@ function useBigStat(props) {
|
|
|
1401
1402
|
const statPath = StatPaths.find((pattern) => pattern.name === queryName);
|
|
1402
1403
|
// Get a list all possible keys in path
|
|
1403
1404
|
const keys = [];
|
|
1404
|
-
const regex = index$
|
|
1405
|
+
const regex = index$2.pathToRegexp(statPath === null || statPath === void 0 ? void 0 : statPath.route, keys, {
|
|
1405
1406
|
strict: false,
|
|
1406
1407
|
sensitive: false,
|
|
1407
1408
|
end: true,
|
|
@@ -1580,56 +1581,6 @@ function PortalChangePasswordView(props) {
|
|
|
1580
1581
|
}
|
|
1581
1582
|
|
|
1582
1583
|
const style$3 = {
|
|
1583
|
-
Wrapper: mixins.AuthWrapper,
|
|
1584
|
-
Column: mixins.AuthColumn,
|
|
1585
|
-
ForgotButtonContainer: {
|
|
1586
|
-
display: "inline",
|
|
1587
|
-
cursor: "pointer",
|
|
1588
|
-
"font-size": "13px",
|
|
1589
|
-
"font-weight": "600",
|
|
1590
|
-
color: "#AAAAAA",
|
|
1591
|
-
margin: "0",
|
|
1592
|
-
},
|
|
1593
|
-
ButtonsContainer: {
|
|
1594
|
-
...mixins.AuthButtonsContainer,
|
|
1595
|
-
gap: "var(--sl-spacing-medium)",
|
|
1596
|
-
"& > *": {
|
|
1597
|
-
margin: "0 !important",
|
|
1598
|
-
},
|
|
1599
|
-
},
|
|
1600
|
-
};
|
|
1601
|
-
const vanillaStyle$1 = `
|
|
1602
|
-
:host {
|
|
1603
|
-
display: block;
|
|
1604
|
-
}
|
|
1605
|
-
:host([hidden]): {
|
|
1606
|
-
display: none;
|
|
1607
|
-
}
|
|
1608
|
-
`;
|
|
1609
|
-
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1610
|
-
const styleString$3 = sheet$3.toString();
|
|
1611
|
-
function PortalLoginView(props) {
|
|
1612
|
-
const { states, callbacks, content } = props;
|
|
1613
|
-
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1614
|
-
index.h("style", { type: "text/css" },
|
|
1615
|
-
vanillaStyle$1,
|
|
1616
|
-
styleString$3),
|
|
1617
|
-
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1618
|
-
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1619
|
-
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1620
|
-
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1621
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1622
|
-
index.h("div", null,
|
|
1623
|
-
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1624
|
-
index.h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1625
|
-
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1626
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1627
|
-
content.googleButton && index.h("sl-menu-divider", null),
|
|
1628
|
-
content.googleButton,
|
|
1629
|
-
content.secondaryButton))));
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
const style$4 = {
|
|
1633
1584
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
1634
1585
|
Column: mixins.AuthColumn,
|
|
1635
1586
|
HostBlock: mixins.HostBlock,
|
|
@@ -1640,7 +1591,7 @@ const style$4 = {
|
|
|
1640
1591
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
1641
1592
|
ErrorStyle: mixins.ErrorStyles,
|
|
1642
1593
|
};
|
|
1643
|
-
const vanillaStyle$
|
|
1594
|
+
const vanillaStyle$1 = `
|
|
1644
1595
|
sqm-portal-register {
|
|
1645
1596
|
margin: 0 auto;
|
|
1646
1597
|
width: 100%;
|
|
@@ -1655,20 +1606,20 @@ sqm-portal-register {
|
|
|
1655
1606
|
display: none;
|
|
1656
1607
|
}
|
|
1657
1608
|
`;
|
|
1658
|
-
const sheet$
|
|
1659
|
-
const styleString$
|
|
1609
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
1610
|
+
const styleString$3 = sheet$3.toString();
|
|
1660
1611
|
function PortalRegisterView(props) {
|
|
1661
1612
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1662
1613
|
const { states, refs, callbacks, content } = props;
|
|
1663
1614
|
if (states.error) {
|
|
1664
1615
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1665
1616
|
}
|
|
1666
|
-
return (index.h("div", { class: sheet$
|
|
1617
|
+
return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1667
1618
|
index.h("style", { type: "text/css" },
|
|
1668
|
-
vanillaStyle$
|
|
1669
|
-
styleString$
|
|
1619
|
+
vanillaStyle$1,
|
|
1620
|
+
styleString$3),
|
|
1670
1621
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1671
|
-
index.h("sl-form", { class: sheet$
|
|
1622
|
+
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1672
1623
|
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1673
1624
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1674
1625
|
content.formData,
|
|
@@ -1681,7 +1632,7 @@ function PortalRegisterView(props) {
|
|
|
1681
1632
|
return content.invalidEmailErrorMessage;
|
|
1682
1633
|
}
|
|
1683
1634
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1684
|
-
class: sheet$
|
|
1635
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1685
1636
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1686
1637
|
content.requiredFieldErrorMessage,
|
|
1687
1638
|
}
|
|
@@ -1692,17 +1643,17 @@ function PortalRegisterView(props) {
|
|
|
1692
1643
|
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1693
1644
|
}
|
|
1694
1645
|
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1695
|
-
class: sheet$
|
|
1646
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1696
1647
|
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1697
1648
|
}
|
|
1698
1649
|
: [])))),
|
|
1699
1650
|
content.terms,
|
|
1700
|
-
index.h("div", { class: sheet$
|
|
1651
|
+
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1701
1652
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1702
1653
|
content.secondaryButton))));
|
|
1703
1654
|
}
|
|
1704
1655
|
|
|
1705
|
-
const style$
|
|
1656
|
+
const style$4 = {
|
|
1706
1657
|
Description: {
|
|
1707
1658
|
"& input[type=checkbox]": {
|
|
1708
1659
|
display: "none",
|
|
@@ -1741,13 +1692,13 @@ const style$5 = {
|
|
|
1741
1692
|
},
|
|
1742
1693
|
},
|
|
1743
1694
|
};
|
|
1744
|
-
const sheet$
|
|
1745
|
-
const styleString$
|
|
1695
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
1696
|
+
const styleString$4 = sheet$4.toString();
|
|
1746
1697
|
function Details(props) {
|
|
1747
1698
|
const rid = Math.random().toString(36).slice(2);
|
|
1748
1699
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1749
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1750
|
-
index.h("span", { class: sheet$
|
|
1700
|
+
index.h("style", { type: "text/css" }, styleString$4),
|
|
1701
|
+
index.h("span", { class: sheet$4.classes.Description },
|
|
1751
1702
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1752
1703
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1753
1704
|
index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1769,7 +1720,7 @@ const GreyGift = () => {
|
|
|
1769
1720
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1770
1721
|
};
|
|
1771
1722
|
|
|
1772
|
-
const style$
|
|
1723
|
+
const style$5 = {
|
|
1773
1724
|
ProgressBar: {
|
|
1774
1725
|
"& .progress-bar": {
|
|
1775
1726
|
height: "0",
|
|
@@ -1881,14 +1832,14 @@ const style$6 = {
|
|
|
1881
1832
|
},
|
|
1882
1833
|
},
|
|
1883
1834
|
};
|
|
1884
|
-
const sheet$
|
|
1885
|
-
const styleString$
|
|
1835
|
+
const sheet$5 = JSS.createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
1836
|
+
const styleString$5 = sheet$5.toString();
|
|
1886
1837
|
function ProgressBarView(props) {
|
|
1887
1838
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1888
1839
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1889
1840
|
const { columns, items } = aggregate;
|
|
1890
|
-
return (index.h("div", { class: sheet$
|
|
1891
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1841
|
+
return (index.h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1842
|
+
index.h("style", { type: "text/css" }, styleString$5),
|
|
1892
1843
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1893
1844
|
(Boolean(finite) && progress > 2 * goal)
|
|
1894
1845
|
? "progress-bar repeatable-steps"
|
|
@@ -2179,7 +2130,7 @@ const arrow_left_right = () => {
|
|
|
2179
2130
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2180
2131
|
};
|
|
2181
2132
|
|
|
2182
|
-
const style$
|
|
2133
|
+
const style$6 = {
|
|
2183
2134
|
TaskCard: {
|
|
2184
2135
|
display: "inline-block",
|
|
2185
2136
|
width: "100%",
|
|
@@ -2333,8 +2284,8 @@ const style$7 = {
|
|
|
2333
2284
|
},
|
|
2334
2285
|
},
|
|
2335
2286
|
};
|
|
2336
|
-
const sheet$
|
|
2337
|
-
const styleString$
|
|
2287
|
+
const sheet$6 = JSS.createStyleSheet(style$6);
|
|
2288
|
+
const styleString$6 = sheet$6.toString();
|
|
2338
2289
|
function TaskCardView(props) {
|
|
2339
2290
|
var _a, _b;
|
|
2340
2291
|
const { callbacks, states, content } = props;
|
|
@@ -2370,11 +2321,11 @@ function TaskCardView(props) {
|
|
|
2370
2321
|
}
|
|
2371
2322
|
|
|
2372
2323
|
`;
|
|
2373
|
-
return (index.h("div", { class: sheet$
|
|
2324
|
+
return (index.h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
|
|
2374
2325
|
index.h("style", { type: "text/css" },
|
|
2375
|
-
styleString$
|
|
2326
|
+
styleString$6,
|
|
2376
2327
|
vanillaStyle),
|
|
2377
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet$
|
|
2328
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$6.classes.NotStarted },
|
|
2378
2329
|
index.h("span", { class: "icon" },
|
|
2379
2330
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
2380
2331
|
global.intl.formatMessage({
|
|
@@ -2385,7 +2336,7 @@ function TaskCardView(props) {
|
|
|
2385
2336
|
.setLocale(utils.luxonLocale(states.locale))
|
|
2386
2337
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
2387
2338
|
}))),
|
|
2388
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet$
|
|
2339
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$6.classes.Ended },
|
|
2389
2340
|
index.h("span", { class: "icon" },
|
|
2390
2341
|
index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2391
2342
|
global.intl.formatMessage({
|
|
@@ -2405,7 +2356,7 @@ function TaskCardView(props) {
|
|
|
2405
2356
|
? "main complete"
|
|
2406
2357
|
: "main" },
|
|
2407
2358
|
index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2408
|
-
index.h("div", { class: sheet$
|
|
2359
|
+
index.h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
2409
2360
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2410
2361
|
index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2411
2362
|
index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2421,7 +2372,7 @@ function TaskCardView(props) {
|
|
|
2421
2372
|
} }, content.cardTitle)),
|
|
2422
2373
|
states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2423
2374
|
content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2424
|
-
index.h("div", { class: sheet$
|
|
2375
|
+
index.h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2425
2376
|
index.h("span", { class: "text" },
|
|
2426
2377
|
content.repeatable && (index.h("div", null,
|
|
2427
2378
|
index.h("span", { class: repetitions > 0
|
|
@@ -2492,7 +2443,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2492
2443
|
index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
|
|
2493
2444
|
}
|
|
2494
2445
|
|
|
2495
|
-
const vanillaStyle$
|
|
2446
|
+
const vanillaStyle$2 = `
|
|
2496
2447
|
:host{
|
|
2497
2448
|
margin: 0 auto;
|
|
2498
2449
|
width: 100%;
|
|
@@ -2548,7 +2499,7 @@ function PortalFooterView(props) {
|
|
|
2548
2499
|
const styleString = sheet.toString();
|
|
2549
2500
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2550
2501
|
index.h("style", { type: "text/css" },
|
|
2551
|
-
vanillaStyle$
|
|
2502
|
+
vanillaStyle$2,
|
|
2552
2503
|
styleString),
|
|
2553
2504
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2554
2505
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2720,7 +2671,7 @@ function ReferralIframeView(props) {
|
|
|
2720
2671
|
index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2721
2672
|
}
|
|
2722
2673
|
|
|
2723
|
-
const style$
|
|
2674
|
+
const style$7 = {
|
|
2724
2675
|
ErrorStyle: mixins.ErrorStyles,
|
|
2725
2676
|
FieldsContainer: {
|
|
2726
2677
|
"& sl-input": {
|
|
@@ -2728,7 +2679,7 @@ const style$8 = {
|
|
|
2728
2679
|
},
|
|
2729
2680
|
},
|
|
2730
2681
|
};
|
|
2731
|
-
const vanillaStyle$
|
|
2682
|
+
const vanillaStyle$3 = `
|
|
2732
2683
|
:host {
|
|
2733
2684
|
margin: 0 auto;
|
|
2734
2685
|
width: 100%;
|
|
@@ -2740,21 +2691,21 @@ sl-input::part(label){
|
|
|
2740
2691
|
font-weight: var(--sl-font-weight-semibold);
|
|
2741
2692
|
}
|
|
2742
2693
|
`;
|
|
2743
|
-
const sheet$
|
|
2744
|
-
const styleString$
|
|
2694
|
+
const sheet$7 = JSS.createStyleSheet(style$7);
|
|
2695
|
+
const styleString$7 = sheet$7.toString();
|
|
2745
2696
|
function NameFieldsView(props) {
|
|
2746
2697
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2747
2698
|
const { states } = props;
|
|
2748
2699
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2749
|
-
return (index.h("div", { class: sheet$
|
|
2700
|
+
return (index.h("div", { class: sheet$7.classes.FieldsContainer },
|
|
2750
2701
|
index.h("style", { type: "text/css" },
|
|
2751
|
-
vanillaStyle$
|
|
2752
|
-
styleString$
|
|
2702
|
+
vanillaStyle$3,
|
|
2703
|
+
styleString$7),
|
|
2753
2704
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2754
2705
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2755
2706
|
}
|
|
2756
2707
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2757
|
-
class: sheet$
|
|
2708
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2758
2709
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2759
2710
|
}
|
|
2760
2711
|
: []))),
|
|
@@ -2762,13 +2713,13 @@ function NameFieldsView(props) {
|
|
|
2762
2713
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2763
2714
|
}
|
|
2764
2715
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2765
|
-
class: sheet$
|
|
2716
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2766
2717
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2767
2718
|
}
|
|
2768
2719
|
: [])))));
|
|
2769
2720
|
}
|
|
2770
2721
|
|
|
2771
|
-
const style$
|
|
2722
|
+
const style$8 = {
|
|
2772
2723
|
ErrorStyle: {
|
|
2773
2724
|
"&::part(control)": {
|
|
2774
2725
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2791,7 +2742,7 @@ const style$9 = {
|
|
|
2791
2742
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2792
2743
|
},
|
|
2793
2744
|
};
|
|
2794
|
-
const vanillaStyle$
|
|
2745
|
+
const vanillaStyle$4 = `
|
|
2795
2746
|
:host {
|
|
2796
2747
|
margin: 0 auto;
|
|
2797
2748
|
width: 100%;
|
|
@@ -2807,22 +2758,22 @@ sl-checkbox::part(base){
|
|
|
2807
2758
|
}
|
|
2808
2759
|
`;
|
|
2809
2760
|
JSS.jss.setup(JSS.create());
|
|
2810
|
-
const sheet$
|
|
2811
|
-
const styleString$
|
|
2761
|
+
const sheet$8 = JSS.jss.createStyleSheet(style$8);
|
|
2762
|
+
const styleString$8 = sheet$8.toString();
|
|
2812
2763
|
function CheckboxFieldView(props) {
|
|
2813
2764
|
var _a, _b, _c;
|
|
2814
2765
|
const { states, content, callbacks } = props;
|
|
2815
2766
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2816
|
-
return (index.h("div", { class: sheet$
|
|
2767
|
+
return (index.h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
|
|
2817
2768
|
index.h("style", { type: "text/css" },
|
|
2818
|
-
vanillaStyle$
|
|
2819
|
-
styleString$
|
|
2769
|
+
vanillaStyle$4,
|
|
2770
|
+
styleString$8),
|
|
2820
2771
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2821
2772
|
e.target.value = e.target.checked;
|
|
2822
2773
|
callbacks.setChecked(e.target.value);
|
|
2823
2774
|
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2824
2775
|
? {
|
|
2825
|
-
class: sheet$
|
|
2776
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2826
2777
|
}
|
|
2827
2778
|
: [])),
|
|
2828
2779
|
global.intl.formatMessage({
|
|
@@ -2831,13 +2782,13 @@ function CheckboxFieldView(props) {
|
|
|
2831
2782
|
}, {
|
|
2832
2783
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2833
2784
|
}),
|
|
2834
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2785
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$8.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2835
2786
|
id: `errorMessage-${content.checkboxName}`,
|
|
2836
2787
|
defaultMessage: content.errorMessage,
|
|
2837
2788
|
}))))));
|
|
2838
2789
|
}
|
|
2839
2790
|
|
|
2840
|
-
const style$
|
|
2791
|
+
const style$9 = {
|
|
2841
2792
|
ErrorStyle: {
|
|
2842
2793
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2843
2794
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2853,7 +2804,7 @@ const style$a = {
|
|
|
2853
2804
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2854
2805
|
},
|
|
2855
2806
|
};
|
|
2856
|
-
const vanillaStyle$
|
|
2807
|
+
const vanillaStyle$5 = `
|
|
2857
2808
|
:host {
|
|
2858
2809
|
margin: 0 auto;
|
|
2859
2810
|
width: 100%;
|
|
@@ -2865,36 +2816,36 @@ sl-select::part(label){
|
|
|
2865
2816
|
}
|
|
2866
2817
|
`;
|
|
2867
2818
|
JSS.jss.setup(JSS.create());
|
|
2868
|
-
const sheet$
|
|
2869
|
-
const styleString$
|
|
2819
|
+
const sheet$9 = JSS.jss.createStyleSheet(style$9);
|
|
2820
|
+
const styleString$9 = sheet$9.toString();
|
|
2870
2821
|
function DropdownFieldView(props) {
|
|
2871
2822
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2872
2823
|
const { states, content } = props;
|
|
2873
2824
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2874
|
-
return (index.h("div", { class: sheet$
|
|
2825
|
+
return (index.h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2875
2826
|
index.h("style", { type: "text/css" },
|
|
2876
|
-
vanillaStyle$
|
|
2877
|
-
styleString$
|
|
2827
|
+
vanillaStyle$5,
|
|
2828
|
+
styleString$9),
|
|
2878
2829
|
index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2879
2830
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2880
2831
|
}
|
|
2881
2832
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2882
|
-
class: sheet$
|
|
2833
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2883
2834
|
}
|
|
2884
2835
|
: [])), content.selectOptions),
|
|
2885
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2836
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$9.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2886
2837
|
id: `errorMessage-${content.dropdownName}`,
|
|
2887
2838
|
defaultMessage: content.errorMessage,
|
|
2888
2839
|
})))));
|
|
2889
2840
|
}
|
|
2890
2841
|
|
|
2891
|
-
const style$
|
|
2842
|
+
const style$a = {
|
|
2892
2843
|
ErrorStyle: mixins.ErrorStyles,
|
|
2893
2844
|
FieldContainer: {
|
|
2894
2845
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2895
2846
|
},
|
|
2896
2847
|
};
|
|
2897
|
-
const vanillaStyle$
|
|
2848
|
+
const vanillaStyle$6 = `
|
|
2898
2849
|
:host {
|
|
2899
2850
|
margin: 0 auto;
|
|
2900
2851
|
width: 100%;
|
|
@@ -2902,21 +2853,21 @@ const vanillaStyle$7 = `
|
|
|
2902
2853
|
}
|
|
2903
2854
|
`;
|
|
2904
2855
|
JSS.jss.setup(JSS.create());
|
|
2905
|
-
const sheet$
|
|
2906
|
-
const styleString$
|
|
2856
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2857
|
+
const styleString$a = sheet$a.toString();
|
|
2907
2858
|
function InputFieldView(props) {
|
|
2908
2859
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2909
2860
|
const { states, content } = props;
|
|
2910
2861
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2911
|
-
return (index.h("div", { class: sheet$
|
|
2862
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2912
2863
|
index.h("style", { type: "text/css" },
|
|
2913
|
-
vanillaStyle$
|
|
2914
|
-
styleString$
|
|
2864
|
+
vanillaStyle$6,
|
|
2865
|
+
styleString$a),
|
|
2915
2866
|
index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2916
2867
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2917
2868
|
}
|
|
2918
2869
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2919
|
-
class: sheet$
|
|
2870
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2920
2871
|
helpText: global.intl.formatMessage({
|
|
2921
2872
|
id: `errorMessage-${content.fieldName}`,
|
|
2922
2873
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3011,7 +2962,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3011
2962
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3012
2963
|
}
|
|
3013
2964
|
|
|
3014
|
-
const style$
|
|
2965
|
+
const style$b = {
|
|
3015
2966
|
HostBlock: mixins.HostBlock,
|
|
3016
2967
|
Container: {
|
|
3017
2968
|
minWidth: "300px",
|
|
@@ -3362,8 +3313,8 @@ const style$c = {
|
|
|
3362
3313
|
},
|
|
3363
3314
|
};
|
|
3364
3315
|
// JSS config
|
|
3365
|
-
const sheet$
|
|
3366
|
-
const styleString$
|
|
3316
|
+
const sheet$b = JSS.createStyleSheet(style$b);
|
|
3317
|
+
const styleString$b = sheet$b.toString();
|
|
3367
3318
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3368
3319
|
function RewardExchangeView(props) {
|
|
3369
3320
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3386,7 +3337,7 @@ function RewardExchangeView(props) {
|
|
|
3386
3337
|
sourceUnit: item.sourceUnit,
|
|
3387
3338
|
})));
|
|
3388
3339
|
}
|
|
3389
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3340
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$b.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3390
3341
|
var _a, _b, _c, _d, _e;
|
|
3391
3342
|
return callbacks.setExchangeState({
|
|
3392
3343
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3394,7 +3345,7 @@ function RewardExchangeView(props) {
|
|
|
3394
3345
|
});
|
|
3395
3346
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3396
3347
|
var _a, _b;
|
|
3397
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3348
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
|
|
3398
3349
|
step.prettyDestinationValue,
|
|
3399
3350
|
index.h("br", null),
|
|
3400
3351
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3413,8 +3364,8 @@ function RewardExchangeView(props) {
|
|
|
3413
3364
|
var _a;
|
|
3414
3365
|
return [
|
|
3415
3366
|
index.h("div", { part: "choose-reward-container" },
|
|
3416
|
-
index.h("div", { class: sheet$
|
|
3417
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3367
|
+
index.h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
|
|
3368
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3418
3369
|
var _a, _b, _c, _d, _e;
|
|
3419
3370
|
const style = {
|
|
3420
3371
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3423,7 +3374,7 @@ function RewardExchangeView(props) {
|
|
|
3423
3374
|
borderRadius: "4px",
|
|
3424
3375
|
};
|
|
3425
3376
|
return (index.h("div", { key: item.key, style: style },
|
|
3426
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3377
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
|
|
3427
3378
|
cursor: item.unavailableReasonCode
|
|
3428
3379
|
? "not-allowed"
|
|
3429
3380
|
: "pointer",
|
|
@@ -3440,14 +3391,14 @@ function RewardExchangeView(props) {
|
|
|
3440
3391
|
? "rgba(0, 0, 0, 0.05)"
|
|
3441
3392
|
: "rgba(0, 0, 0, 0)",
|
|
3442
3393
|
} },
|
|
3443
|
-
index.h("div", { class: sheet$
|
|
3394
|
+
index.h("div", { class: sheet$b.classes.Image, style: {
|
|
3444
3395
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3445
3396
|
} },
|
|
3446
3397
|
index.h("img", { class: item.unavailableReasonCode
|
|
3447
3398
|
? "image subdued"
|
|
3448
3399
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3449
3400
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3450
|
-
index.h("div", { class: sheet$
|
|
3401
|
+
index.h("div", { class: sheet$b.classes.TextArea, style: {
|
|
3451
3402
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3452
3403
|
} },
|
|
3453
3404
|
index.h("div", { class: "title", style: {
|
|
@@ -3480,7 +3431,7 @@ function RewardExchangeView(props) {
|
|
|
3480
3431
|
item.prettySourceMinValue,
|
|
3481
3432
|
}))))))));
|
|
3482
3433
|
}))),
|
|
3483
|
-
index.h("div", { class: sheet$
|
|
3434
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3484
3435
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3485
3436
|
];
|
|
3486
3437
|
}
|
|
@@ -3491,7 +3442,7 @@ function RewardExchangeView(props) {
|
|
|
3491
3442
|
? false
|
|
3492
3443
|
: input && !states.amount;
|
|
3493
3444
|
return (index.h("div", null,
|
|
3494
|
-
index.h("div", { class: sheet$
|
|
3445
|
+
index.h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3495
3446
|
index.h("div", { class: "wrapper" },
|
|
3496
3447
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3497
3448
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3500,7 +3451,7 @@ function RewardExchangeView(props) {
|
|
|
3500
3451
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3501
3452
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3502
3453
|
index.h("div", { class: "space" }))),
|
|
3503
|
-
index.h("div", { class: sheet$
|
|
3454
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3504
3455
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3505
3456
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3506
3457
|
}
|
|
@@ -3508,8 +3459,8 @@ function RewardExchangeView(props) {
|
|
|
3508
3459
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3509
3460
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3510
3461
|
return (index.h("div", null,
|
|
3511
|
-
index.h("div", { class: sheet$
|
|
3512
|
-
index.h("div", { class: sheet$
|
|
3462
|
+
index.h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
|
|
3463
|
+
index.h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
|
|
3513
3464
|
index.h("div", { class: "wrapper" },
|
|
3514
3465
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3515
3466
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3524,13 +3475,13 @@ function RewardExchangeView(props) {
|
|
|
3524
3475
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3525
3476
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3526
3477
|
index.h("div", { class: "value" }, cost)),
|
|
3527
|
-
index.h("div", { class: sheet$
|
|
3478
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3528
3479
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3529
3480
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3530
3481
|
}
|
|
3531
3482
|
function success() {
|
|
3532
3483
|
var _a, _b, _c, _d, _e, _f;
|
|
3533
|
-
return (index.h("div", { class: sheet$
|
|
3484
|
+
return (index.h("div", { class: sheet$b.classes.Success, part: "success-container" },
|
|
3534
3485
|
index.h(Gift$1, null),
|
|
3535
3486
|
index.h(Confetti, null),
|
|
3536
3487
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3545,7 +3496,7 @@ function RewardExchangeView(props) {
|
|
|
3545
3496
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3546
3497
|
states.content.text.promoCode,
|
|
3547
3498
|
index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3548
|
-
index.h("div", { class: sheet$
|
|
3499
|
+
index.h("div", { class: sheet$b.classes.Button },
|
|
3549
3500
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3550
3501
|
}
|
|
3551
3502
|
const stages = {
|
|
@@ -3557,7 +3508,7 @@ function RewardExchangeView(props) {
|
|
|
3557
3508
|
const currentStage = stages[states.redeemStage];
|
|
3558
3509
|
function stageMap() {
|
|
3559
3510
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3560
|
-
return (index.h("div", { class: sheet$
|
|
3511
|
+
return (index.h("div", { class: sheet$b.classes.ProgressBar },
|
|
3561
3512
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3562
3513
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3563
3514
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3569,10 +3520,10 @@ function RewardExchangeView(props) {
|
|
|
3569
3520
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3570
3521
|
}
|
|
3571
3522
|
function loading() {
|
|
3572
|
-
return (index.h("div", { class: sheet$
|
|
3523
|
+
return (index.h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3573
3524
|
return (index.h("div", null,
|
|
3574
|
-
index.h("sl-card", { class: sheet$
|
|
3575
|
-
index.h("div", { class: sheet$
|
|
3525
|
+
index.h("sl-card", { class: sheet$b.classes.Card },
|
|
3526
|
+
index.h("div", { class: sheet$b.classes.CardLayout },
|
|
3576
3527
|
index.h("div", null,
|
|
3577
3528
|
index.h("sl-skeleton", { style: {
|
|
3578
3529
|
width: "100px",
|
|
@@ -3604,12 +3555,12 @@ function RewardExchangeView(props) {
|
|
|
3604
3555
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3605
3556
|
return;
|
|
3606
3557
|
refs.canvasRef.current = canvas;
|
|
3607
|
-
}, id: "my-canvas", class: sheet$
|
|
3558
|
+
}, id: "my-canvas", class: sheet$b.classes.Confetti }));
|
|
3608
3559
|
}
|
|
3609
3560
|
if (states.noExchangeOptions)
|
|
3610
3561
|
return states.content.text.empty;
|
|
3611
|
-
return (index.h("div", { class: sheet$
|
|
3612
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3562
|
+
return (index.h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
|
|
3563
|
+
index.h("style", { type: "text/css" }, styleString$b),
|
|
3613
3564
|
index.h("div", null,
|
|
3614
3565
|
stageMap(),
|
|
3615
3566
|
states.exchangeError && errorMessage(),
|
|
@@ -4025,7 +3976,7 @@ function CardFeedView(props, children) {
|
|
|
4025
3976
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4026
3977
|
}
|
|
4027
3978
|
|
|
4028
|
-
const style$
|
|
3979
|
+
const style$c = {
|
|
4029
3980
|
HostBlock: mixins.HostBlock,
|
|
4030
3981
|
couponCodeLabel: {
|
|
4031
3982
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4033,21 +3984,21 @@ const style$d = {
|
|
|
4033
3984
|
fontSize: "var(--sl-font-size-small)",
|
|
4034
3985
|
},
|
|
4035
3986
|
};
|
|
4036
|
-
const vanillaStyle$
|
|
3987
|
+
const vanillaStyle$7 = `
|
|
4037
3988
|
:host{
|
|
4038
3989
|
display: block;
|
|
4039
3990
|
width: 100%;
|
|
4040
3991
|
}
|
|
4041
3992
|
`;
|
|
4042
|
-
const sheet$
|
|
4043
|
-
const styleString$
|
|
3993
|
+
const sheet$c = JSS.createStyleSheet(style$c);
|
|
3994
|
+
const styleString$c = sheet$c.toString();
|
|
4044
3995
|
function CouponCodeView(props) {
|
|
4045
3996
|
const error = !props.loading && props.error;
|
|
4046
3997
|
return (index.h("div", null,
|
|
4047
3998
|
index.h("style", { type: "text/css" },
|
|
4048
|
-
styleString$
|
|
4049
|
-
vanillaStyle$
|
|
4050
|
-
index.h("p", { class: sheet$
|
|
3999
|
+
styleString$c,
|
|
4000
|
+
vanillaStyle$7),
|
|
4001
|
+
index.h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4051
4002
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4052
4003
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
|
|
4053
4004
|
}
|
|
@@ -4150,7 +4101,6 @@ exports.NameFieldsView = NameFieldsView;
|
|
|
4150
4101
|
exports.PortalChangePasswordView = PortalChangePasswordView;
|
|
4151
4102
|
exports.PortalFooterView = PortalFooterView;
|
|
4152
4103
|
exports.PortalFrameView = PortalFrameView;
|
|
4153
|
-
exports.PortalLoginView = PortalLoginView;
|
|
4154
4104
|
exports.PortalRegisterView = PortalRegisterView;
|
|
4155
4105
|
exports.PoweredByImg = PoweredByImg;
|
|
4156
4106
|
exports.ProgressBar = ProgressBar;
|