@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,17 +1,18 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-91e7729f.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import {
|
|
2
|
+
import { f as useState, b as browser, u as useMemo } from './stencil-hooks.module-bb10e6ff.js';
|
|
3
|
+
import { i as intl } from './global-2f2a008c.js';
|
|
4
|
+
import { H, J, F as Fn, w as wn, $ as $e, B, g as getEnvironmentSDK, L } from './index.module-863d1595.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import {
|
|
8
|
+
import { d as dist } from './index-c5f8b525.js';
|
|
9
|
+
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED, C as CopyTextView } from './copy-text-view-4655f200.js';
|
|
9
10
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
10
|
-
import { u as useChildElements } from './useChildElements-
|
|
11
|
-
import { l as luxon } from './luxon-
|
|
11
|
+
import { u as useChildElements } from './useChildElements-9d51a845.js';
|
|
12
|
+
import { l as luxon } from './luxon-e0fc3e69.js';
|
|
12
13
|
import { T as TextSpanView } from './sqm-text-span-view-ca32495e.js';
|
|
13
14
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
14
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
15
|
+
import { a as isValidColor, b as isMobile } from './utilities-6b8f9180.js';
|
|
15
16
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-1683ae32.js';
|
|
16
17
|
|
|
17
18
|
const medium = {
|
|
@@ -1578,56 +1579,6 @@ function PortalChangePasswordView(props) {
|
|
|
1578
1579
|
}
|
|
1579
1580
|
|
|
1580
1581
|
const style$3 = {
|
|
1581
|
-
Wrapper: AuthWrapper,
|
|
1582
|
-
Column: AuthColumn,
|
|
1583
|
-
ForgotButtonContainer: {
|
|
1584
|
-
display: "inline",
|
|
1585
|
-
cursor: "pointer",
|
|
1586
|
-
"font-size": "13px",
|
|
1587
|
-
"font-weight": "600",
|
|
1588
|
-
color: "#AAAAAA",
|
|
1589
|
-
margin: "0",
|
|
1590
|
-
},
|
|
1591
|
-
ButtonsContainer: {
|
|
1592
|
-
...AuthButtonsContainer,
|
|
1593
|
-
gap: "var(--sl-spacing-medium)",
|
|
1594
|
-
"& > *": {
|
|
1595
|
-
margin: "0 !important",
|
|
1596
|
-
},
|
|
1597
|
-
},
|
|
1598
|
-
};
|
|
1599
|
-
const vanillaStyle$1 = `
|
|
1600
|
-
:host {
|
|
1601
|
-
display: block;
|
|
1602
|
-
}
|
|
1603
|
-
:host([hidden]): {
|
|
1604
|
-
display: none;
|
|
1605
|
-
}
|
|
1606
|
-
`;
|
|
1607
|
-
const sheet$3 = createStyleSheet(style$3);
|
|
1608
|
-
const styleString$3 = sheet$3.toString();
|
|
1609
|
-
function PortalLoginView(props) {
|
|
1610
|
-
const { states, callbacks, content } = props;
|
|
1611
|
-
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1612
|
-
h("style", { type: "text/css" },
|
|
1613
|
-
vanillaStyle$1,
|
|
1614
|
-
styleString$3),
|
|
1615
|
-
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1616
|
-
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit },
|
|
1617
|
-
props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1618
|
-
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1619
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1620
|
-
h("div", null,
|
|
1621
|
-
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1622
|
-
h("div", { class: sheet$3.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1623
|
-
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1624
|
-
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1625
|
-
content.googleButton && h("sl-menu-divider", null),
|
|
1626
|
-
content.googleButton,
|
|
1627
|
-
content.secondaryButton))));
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
const style$4 = {
|
|
1631
1582
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
1632
1583
|
Column: AuthColumn,
|
|
1633
1584
|
HostBlock: HostBlock,
|
|
@@ -1638,7 +1589,7 @@ const style$4 = {
|
|
|
1638
1589
|
ButtonsContainer: AuthButtonsContainer,
|
|
1639
1590
|
ErrorStyle: ErrorStyles,
|
|
1640
1591
|
};
|
|
1641
|
-
const vanillaStyle$
|
|
1592
|
+
const vanillaStyle$1 = `
|
|
1642
1593
|
sqm-portal-register {
|
|
1643
1594
|
margin: 0 auto;
|
|
1644
1595
|
width: 100%;
|
|
@@ -1653,20 +1604,20 @@ sqm-portal-register {
|
|
|
1653
1604
|
display: none;
|
|
1654
1605
|
}
|
|
1655
1606
|
`;
|
|
1656
|
-
const sheet$
|
|
1657
|
-
const styleString$
|
|
1607
|
+
const sheet$3 = createStyleSheet(style$3);
|
|
1608
|
+
const styleString$3 = sheet$3.toString();
|
|
1658
1609
|
function PortalRegisterView(props) {
|
|
1659
1610
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1660
1611
|
const { states, refs, callbacks, content } = props;
|
|
1661
1612
|
if (states.error) {
|
|
1662
1613
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1663
1614
|
}
|
|
1664
|
-
return (h("div", { class: sheet$
|
|
1615
|
+
return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
|
|
1665
1616
|
h("style", { type: "text/css" },
|
|
1666
|
-
vanillaStyle$
|
|
1667
|
-
styleString$
|
|
1617
|
+
vanillaStyle$1,
|
|
1618
|
+
styleString$3),
|
|
1668
1619
|
h(TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1669
|
-
h("sl-form", { class: sheet$
|
|
1620
|
+
h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1670
1621
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1671
1622
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1672
1623
|
content.formData,
|
|
@@ -1679,7 +1630,7 @@ function PortalRegisterView(props) {
|
|
|
1679
1630
|
return content.invalidEmailErrorMessage;
|
|
1680
1631
|
}
|
|
1681
1632
|
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1682
|
-
class: sheet$
|
|
1633
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1683
1634
|
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1684
1635
|
content.requiredFieldErrorMessage,
|
|
1685
1636
|
}
|
|
@@ -1690,17 +1641,17 @@ function PortalRegisterView(props) {
|
|
|
1690
1641
|
value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
|
|
1691
1642
|
}
|
|
1692
1643
|
: {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
|
|
1693
|
-
class: sheet$
|
|
1644
|
+
class: sheet$3.classes.ErrorStyle,
|
|
1694
1645
|
helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
|
|
1695
1646
|
}
|
|
1696
1647
|
: [])))),
|
|
1697
1648
|
content.terms,
|
|
1698
|
-
h("div", { class: sheet$
|
|
1649
|
+
h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
1699
1650
|
h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1700
1651
|
content.secondaryButton))));
|
|
1701
1652
|
}
|
|
1702
1653
|
|
|
1703
|
-
const style$
|
|
1654
|
+
const style$4 = {
|
|
1704
1655
|
Description: {
|
|
1705
1656
|
"& input[type=checkbox]": {
|
|
1706
1657
|
display: "none",
|
|
@@ -1739,13 +1690,13 @@ const style$5 = {
|
|
|
1739
1690
|
},
|
|
1740
1691
|
},
|
|
1741
1692
|
};
|
|
1742
|
-
const sheet$
|
|
1743
|
-
const styleString$
|
|
1693
|
+
const sheet$4 = createStyleSheet(style$4);
|
|
1694
|
+
const styleString$4 = sheet$4.toString();
|
|
1744
1695
|
function Details(props) {
|
|
1745
1696
|
const rid = Math.random().toString(36).slice(2);
|
|
1746
1697
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1747
|
-
h("style", { type: "text/css" }, styleString$
|
|
1748
|
-
h("span", { class: sheet$
|
|
1698
|
+
h("style", { type: "text/css" }, styleString$4),
|
|
1699
|
+
h("span", { class: sheet$4.classes.Description },
|
|
1749
1700
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1750
1701
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1751
1702
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1767,7 +1718,7 @@ const GreyGift = () => {
|
|
|
1767
1718
|
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" })));
|
|
1768
1719
|
};
|
|
1769
1720
|
|
|
1770
|
-
const style$
|
|
1721
|
+
const style$5 = {
|
|
1771
1722
|
ProgressBar: {
|
|
1772
1723
|
"& .progress-bar": {
|
|
1773
1724
|
height: "0",
|
|
@@ -1879,14 +1830,14 @@ const style$6 = {
|
|
|
1879
1830
|
},
|
|
1880
1831
|
},
|
|
1881
1832
|
};
|
|
1882
|
-
const sheet$
|
|
1883
|
-
const styleString$
|
|
1833
|
+
const sheet$5 = createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
1834
|
+
const styleString$5 = sheet$5.toString();
|
|
1884
1835
|
function ProgressBarView(props) {
|
|
1885
1836
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1886
1837
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1887
1838
|
const { columns, items } = aggregate;
|
|
1888
|
-
return (h("div", { class: sheet$
|
|
1889
|
-
h("style", { type: "text/css" }, styleString$
|
|
1839
|
+
return (h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1840
|
+
h("style", { type: "text/css" }, styleString$5),
|
|
1890
1841
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1891
1842
|
(Boolean(finite) && progress > 2 * goal)
|
|
1892
1843
|
? "progress-bar repeatable-steps"
|
|
@@ -2177,7 +2128,7 @@ const arrow_left_right = () => {
|
|
|
2177
2128
|
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" })));
|
|
2178
2129
|
};
|
|
2179
2130
|
|
|
2180
|
-
const style$
|
|
2131
|
+
const style$6 = {
|
|
2181
2132
|
TaskCard: {
|
|
2182
2133
|
display: "inline-block",
|
|
2183
2134
|
width: "100%",
|
|
@@ -2331,8 +2282,8 @@ const style$7 = {
|
|
|
2331
2282
|
},
|
|
2332
2283
|
},
|
|
2333
2284
|
};
|
|
2334
|
-
const sheet$
|
|
2335
|
-
const styleString$
|
|
2285
|
+
const sheet$6 = createStyleSheet(style$6);
|
|
2286
|
+
const styleString$6 = sheet$6.toString();
|
|
2336
2287
|
function TaskCardView(props) {
|
|
2337
2288
|
var _a, _b;
|
|
2338
2289
|
const { callbacks, states, content } = props;
|
|
@@ -2368,11 +2319,11 @@ function TaskCardView(props) {
|
|
|
2368
2319
|
}
|
|
2369
2320
|
|
|
2370
2321
|
`;
|
|
2371
|
-
return (h("div", { class: sheet$
|
|
2322
|
+
return (h("div", { class: sheet$6.classes.TaskCard, part: "sqm-base" },
|
|
2372
2323
|
h("style", { type: "text/css" },
|
|
2373
|
-
styleString$
|
|
2324
|
+
styleString$6,
|
|
2374
2325
|
vanillaStyle),
|
|
2375
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2326
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$6.classes.NotStarted },
|
|
2376
2327
|
h("span", { class: "icon" },
|
|
2377
2328
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2378
2329
|
intl.formatMessage({
|
|
@@ -2383,7 +2334,7 @@ function TaskCardView(props) {
|
|
|
2383
2334
|
.setLocale(luxonLocale(states.locale))
|
|
2384
2335
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2385
2336
|
}))),
|
|
2386
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2337
|
+
!states.loading && taskEnded && (h("div", { class: sheet$6.classes.Ended },
|
|
2387
2338
|
h("span", { class: "icon" },
|
|
2388
2339
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2389
2340
|
intl.formatMessage({
|
|
@@ -2403,7 +2354,7 @@ function TaskCardView(props) {
|
|
|
2403
2354
|
? "main complete"
|
|
2404
2355
|
: "main" },
|
|
2405
2356
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2406
|
-
h("div", { class: sheet$
|
|
2357
|
+
h("div", { class: sheet$6.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2407
2358
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2408
2359
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2409
2360
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2419,7 +2370,7 @@ function TaskCardView(props) {
|
|
|
2419
2370
|
} }, content.cardTitle)),
|
|
2420
2371
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2421
2372
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2422
|
-
h("div", { class: sheet$
|
|
2373
|
+
h("div", { class: sheet$6.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2423
2374
|
h("span", { class: "text" },
|
|
2424
2375
|
content.repeatable && (h("div", null,
|
|
2425
2376
|
h("span", { class: repetitions > 0
|
|
@@ -2490,7 +2441,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2490
2441
|
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 })));
|
|
2491
2442
|
}
|
|
2492
2443
|
|
|
2493
|
-
const vanillaStyle$
|
|
2444
|
+
const vanillaStyle$2 = `
|
|
2494
2445
|
:host{
|
|
2495
2446
|
margin: 0 auto;
|
|
2496
2447
|
width: 100%;
|
|
@@ -2546,7 +2497,7 @@ function PortalFooterView(props) {
|
|
|
2546
2497
|
const styleString = sheet.toString();
|
|
2547
2498
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2548
2499
|
h("style", { type: "text/css" },
|
|
2549
|
-
vanillaStyle$
|
|
2500
|
+
vanillaStyle$2,
|
|
2550
2501
|
styleString),
|
|
2551
2502
|
h("div", { class: sheet.classes.RowContainer },
|
|
2552
2503
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2718,7 +2669,7 @@ function ReferralIframeView(props) {
|
|
|
2718
2669
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2719
2670
|
}
|
|
2720
2671
|
|
|
2721
|
-
const style$
|
|
2672
|
+
const style$7 = {
|
|
2722
2673
|
ErrorStyle: ErrorStyles,
|
|
2723
2674
|
FieldsContainer: {
|
|
2724
2675
|
"& sl-input": {
|
|
@@ -2726,7 +2677,7 @@ const style$8 = {
|
|
|
2726
2677
|
},
|
|
2727
2678
|
},
|
|
2728
2679
|
};
|
|
2729
|
-
const vanillaStyle$
|
|
2680
|
+
const vanillaStyle$3 = `
|
|
2730
2681
|
:host {
|
|
2731
2682
|
margin: 0 auto;
|
|
2732
2683
|
width: 100%;
|
|
@@ -2738,21 +2689,21 @@ sl-input::part(label){
|
|
|
2738
2689
|
font-weight: var(--sl-font-weight-semibold);
|
|
2739
2690
|
}
|
|
2740
2691
|
`;
|
|
2741
|
-
const sheet$
|
|
2742
|
-
const styleString$
|
|
2692
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
2693
|
+
const styleString$7 = sheet$7.toString();
|
|
2743
2694
|
function NameFieldsView(props) {
|
|
2744
2695
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2745
2696
|
const { states } = props;
|
|
2746
2697
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2747
|
-
return (h("div", { class: sheet$
|
|
2698
|
+
return (h("div", { class: sheet$7.classes.FieldsContainer },
|
|
2748
2699
|
h("style", { type: "text/css" },
|
|
2749
|
-
vanillaStyle$
|
|
2750
|
-
styleString$
|
|
2700
|
+
vanillaStyle$3,
|
|
2701
|
+
styleString$7),
|
|
2751
2702
|
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) ? {
|
|
2752
2703
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2753
2704
|
}
|
|
2754
2705
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2755
|
-
class: sheet$
|
|
2706
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2756
2707
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2757
2708
|
}
|
|
2758
2709
|
: []))),
|
|
@@ -2760,13 +2711,13 @@ function NameFieldsView(props) {
|
|
|
2760
2711
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2761
2712
|
}
|
|
2762
2713
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2763
|
-
class: sheet$
|
|
2714
|
+
class: sheet$7.classes.ErrorStyle,
|
|
2764
2715
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2765
2716
|
}
|
|
2766
2717
|
: [])))));
|
|
2767
2718
|
}
|
|
2768
2719
|
|
|
2769
|
-
const style$
|
|
2720
|
+
const style$8 = {
|
|
2770
2721
|
ErrorStyle: {
|
|
2771
2722
|
"&::part(control)": {
|
|
2772
2723
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2789,7 +2740,7 @@ const style$9 = {
|
|
|
2789
2740
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2790
2741
|
},
|
|
2791
2742
|
};
|
|
2792
|
-
const vanillaStyle$
|
|
2743
|
+
const vanillaStyle$4 = `
|
|
2793
2744
|
:host {
|
|
2794
2745
|
margin: 0 auto;
|
|
2795
2746
|
width: 100%;
|
|
@@ -2805,22 +2756,22 @@ sl-checkbox::part(base){
|
|
|
2805
2756
|
}
|
|
2806
2757
|
`;
|
|
2807
2758
|
jss.setup(create());
|
|
2808
|
-
const sheet$
|
|
2809
|
-
const styleString$
|
|
2759
|
+
const sheet$8 = jss.createStyleSheet(style$8);
|
|
2760
|
+
const styleString$8 = sheet$8.toString();
|
|
2810
2761
|
function CheckboxFieldView(props) {
|
|
2811
2762
|
var _a, _b, _c;
|
|
2812
2763
|
const { states, content, callbacks } = props;
|
|
2813
2764
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2814
|
-
return (h("div", { class: sheet$
|
|
2765
|
+
return (h("div", { class: sheet$8.classes.FieldContainer, part: "sqm-base" },
|
|
2815
2766
|
h("style", { type: "text/css" },
|
|
2816
|
-
vanillaStyle$
|
|
2817
|
-
styleString$
|
|
2767
|
+
vanillaStyle$4,
|
|
2768
|
+
styleString$8),
|
|
2818
2769
|
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2819
2770
|
e.target.value = e.target.checked;
|
|
2820
2771
|
callbacks.setChecked(e.target.value);
|
|
2821
2772
|
} }, (!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])
|
|
2822
2773
|
? {
|
|
2823
|
-
class: sheet$
|
|
2774
|
+
class: sheet$8.classes.ErrorStyle,
|
|
2824
2775
|
}
|
|
2825
2776
|
: [])),
|
|
2826
2777
|
intl.formatMessage({
|
|
@@ -2829,13 +2780,13 @@ function CheckboxFieldView(props) {
|
|
|
2829
2780
|
}, {
|
|
2830
2781
|
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2831
2782
|
}),
|
|
2832
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$
|
|
2783
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$8.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2833
2784
|
id: `errorMessage-${content.checkboxName}`,
|
|
2834
2785
|
defaultMessage: content.errorMessage,
|
|
2835
2786
|
}))))));
|
|
2836
2787
|
}
|
|
2837
2788
|
|
|
2838
|
-
const style$
|
|
2789
|
+
const style$9 = {
|
|
2839
2790
|
ErrorStyle: {
|
|
2840
2791
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2841
2792
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2851,7 +2802,7 @@ const style$a = {
|
|
|
2851
2802
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2852
2803
|
},
|
|
2853
2804
|
};
|
|
2854
|
-
const vanillaStyle$
|
|
2805
|
+
const vanillaStyle$5 = `
|
|
2855
2806
|
:host {
|
|
2856
2807
|
margin: 0 auto;
|
|
2857
2808
|
width: 100%;
|
|
@@ -2863,36 +2814,36 @@ sl-select::part(label){
|
|
|
2863
2814
|
}
|
|
2864
2815
|
`;
|
|
2865
2816
|
jss.setup(create());
|
|
2866
|
-
const sheet$
|
|
2867
|
-
const styleString$
|
|
2817
|
+
const sheet$9 = jss.createStyleSheet(style$9);
|
|
2818
|
+
const styleString$9 = sheet$9.toString();
|
|
2868
2819
|
function DropdownFieldView(props) {
|
|
2869
2820
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2870
2821
|
const { states, content } = props;
|
|
2871
2822
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2872
|
-
return (h("div", { class: sheet$
|
|
2823
|
+
return (h("div", { class: sheet$9.classes.FieldContainer, part: "sqm-base" },
|
|
2873
2824
|
h("style", { type: "text/css" },
|
|
2874
|
-
vanillaStyle$
|
|
2875
|
-
styleString$
|
|
2825
|
+
vanillaStyle$5,
|
|
2826
|
+
styleString$9),
|
|
2876
2827
|
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]) ? {
|
|
2877
2828
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2878
2829
|
}
|
|
2879
2830
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2880
|
-
class: sheet$
|
|
2831
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2881
2832
|
}
|
|
2882
2833
|
: [])), content.selectOptions),
|
|
2883
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$
|
|
2834
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$9.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2884
2835
|
id: `errorMessage-${content.dropdownName}`,
|
|
2885
2836
|
defaultMessage: content.errorMessage,
|
|
2886
2837
|
})))));
|
|
2887
2838
|
}
|
|
2888
2839
|
|
|
2889
|
-
const style$
|
|
2840
|
+
const style$a = {
|
|
2890
2841
|
ErrorStyle: ErrorStyles,
|
|
2891
2842
|
FieldContainer: {
|
|
2892
2843
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2893
2844
|
},
|
|
2894
2845
|
};
|
|
2895
|
-
const vanillaStyle$
|
|
2846
|
+
const vanillaStyle$6 = `
|
|
2896
2847
|
:host {
|
|
2897
2848
|
margin: 0 auto;
|
|
2898
2849
|
width: 100%;
|
|
@@ -2900,21 +2851,21 @@ const vanillaStyle$7 = `
|
|
|
2900
2851
|
}
|
|
2901
2852
|
`;
|
|
2902
2853
|
jss.setup(create());
|
|
2903
|
-
const sheet$
|
|
2904
|
-
const styleString$
|
|
2854
|
+
const sheet$a = jss.createStyleSheet(style$a);
|
|
2855
|
+
const styleString$a = sheet$a.toString();
|
|
2905
2856
|
function InputFieldView(props) {
|
|
2906
2857
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2907
2858
|
const { states, content } = props;
|
|
2908
2859
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2909
|
-
return (h("div", { class: sheet$
|
|
2860
|
+
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2910
2861
|
h("style", { type: "text/css" },
|
|
2911
|
-
vanillaStyle$
|
|
2912
|
-
styleString$
|
|
2862
|
+
vanillaStyle$6,
|
|
2863
|
+
styleString$a),
|
|
2913
2864
|
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]) ? {
|
|
2914
2865
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2915
2866
|
}
|
|
2916
2867
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2917
|
-
class: sheet$
|
|
2868
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2918
2869
|
helpText: intl.formatMessage({
|
|
2919
2870
|
id: `errorMessage-${content.fieldName}`,
|
|
2920
2871
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3009,7 +2960,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3009
2960
|
return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
3010
2961
|
}
|
|
3011
2962
|
|
|
3012
|
-
const style$
|
|
2963
|
+
const style$b = {
|
|
3013
2964
|
HostBlock: HostBlock,
|
|
3014
2965
|
Container: {
|
|
3015
2966
|
minWidth: "300px",
|
|
@@ -3360,8 +3311,8 @@ const style$c = {
|
|
|
3360
3311
|
},
|
|
3361
3312
|
};
|
|
3362
3313
|
// JSS config
|
|
3363
|
-
const sheet$
|
|
3364
|
-
const styleString$
|
|
3314
|
+
const sheet$b = createStyleSheet(style$b);
|
|
3315
|
+
const styleString$b = sheet$b.toString();
|
|
3365
3316
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3366
3317
|
function RewardExchangeView(props) {
|
|
3367
3318
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3384,7 +3335,7 @@ function RewardExchangeView(props) {
|
|
|
3384
3335
|
sourceUnit: item.sourceUnit,
|
|
3385
3336
|
})));
|
|
3386
3337
|
}
|
|
3387
|
-
return (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$
|
|
3338
|
+
return (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) => {
|
|
3388
3339
|
var _a, _b, _c, _d, _e;
|
|
3389
3340
|
return callbacks.setExchangeState({
|
|
3390
3341
|
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,
|
|
@@ -3392,7 +3343,7 @@ function RewardExchangeView(props) {
|
|
|
3392
3343
|
});
|
|
3393
3344
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3394
3345
|
var _a, _b;
|
|
3395
|
-
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3346
|
+
return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$b.classes.SelectItem },
|
|
3396
3347
|
step.prettyDestinationValue,
|
|
3397
3348
|
h("br", null),
|
|
3398
3349
|
h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3411,8 +3362,8 @@ function RewardExchangeView(props) {
|
|
|
3411
3362
|
var _a;
|
|
3412
3363
|
return [
|
|
3413
3364
|
h("div", { part: "choose-reward-container" },
|
|
3414
|
-
h("div", { class: sheet$
|
|
3415
|
-
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$
|
|
3365
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.rewardTitle),
|
|
3366
|
+
states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$b.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3416
3367
|
var _a, _b, _c, _d, _e;
|
|
3417
3368
|
const style = {
|
|
3418
3369
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3421,7 +3372,7 @@ function RewardExchangeView(props) {
|
|
|
3421
3372
|
borderRadius: "4px",
|
|
3422
3373
|
};
|
|
3423
3374
|
return (h("div", { key: item.key, style: style },
|
|
3424
|
-
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3375
|
+
h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$b.classes.Card, style: {
|
|
3425
3376
|
cursor: item.unavailableReasonCode
|
|
3426
3377
|
? "not-allowed"
|
|
3427
3378
|
: "pointer",
|
|
@@ -3438,14 +3389,14 @@ function RewardExchangeView(props) {
|
|
|
3438
3389
|
? "rgba(0, 0, 0, 0.05)"
|
|
3439
3390
|
: "rgba(0, 0, 0, 0)",
|
|
3440
3391
|
} },
|
|
3441
|
-
h("div", { class: sheet$
|
|
3392
|
+
h("div", { class: sheet$b.classes.Image, style: {
|
|
3442
3393
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3443
3394
|
} },
|
|
3444
3395
|
h("img", { class: item.unavailableReasonCode
|
|
3445
3396
|
? "image subdued"
|
|
3446
3397
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3447
3398
|
getAssetPath("./assets/Reward-image.png") })),
|
|
3448
|
-
h("div", { class: sheet$
|
|
3399
|
+
h("div", { class: sheet$b.classes.TextArea, style: {
|
|
3449
3400
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3450
3401
|
} },
|
|
3451
3402
|
h("div", { class: "title", style: {
|
|
@@ -3478,7 +3429,7 @@ function RewardExchangeView(props) {
|
|
|
3478
3429
|
item.prettySourceMinValue,
|
|
3479
3430
|
}))))))));
|
|
3480
3431
|
}))),
|
|
3481
|
-
h("div", { class: sheet$
|
|
3432
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3482
3433
|
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))),
|
|
3483
3434
|
];
|
|
3484
3435
|
}
|
|
@@ -3489,7 +3440,7 @@ function RewardExchangeView(props) {
|
|
|
3489
3440
|
? false
|
|
3490
3441
|
: input && !states.amount;
|
|
3491
3442
|
return (h("div", null,
|
|
3492
|
-
h("div", { class: sheet$
|
|
3443
|
+
h("div", { class: sheet$b.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3493
3444
|
h("div", { class: "wrapper" },
|
|
3494
3445
|
h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3495
3446
|
getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3498,7 +3449,7 @@ function RewardExchangeView(props) {
|
|
|
3498
3449
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3499
3450
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
|
|
3500
3451
|
h("div", { class: "space" }))),
|
|
3501
|
-
h("div", { class: sheet$
|
|
3452
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3502
3453
|
h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3503
3454
|
h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3504
3455
|
}
|
|
@@ -3506,8 +3457,8 @@ function RewardExchangeView(props) {
|
|
|
3506
3457
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3507
3458
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3508
3459
|
return (h("div", null,
|
|
3509
|
-
h("div", { class: sheet$
|
|
3510
|
-
h("div", { class: sheet$
|
|
3460
|
+
h("div", { class: sheet$b.classes.Confirmation, part: "confirmation-container" },
|
|
3461
|
+
h("div", { class: sheet$b.classes.Title }, states.content.text.redeemTitle),
|
|
3511
3462
|
h("div", { class: "wrapper" },
|
|
3512
3463
|
h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3513
3464
|
h("div", { class: "reward-item-container" },
|
|
@@ -3522,13 +3473,13 @@ function RewardExchangeView(props) {
|
|
|
3522
3473
|
h("div", { class: "wrapper top-border padding" },
|
|
3523
3474
|
h("div", { class: "field" }, states.content.text.costTitle),
|
|
3524
3475
|
h("div", { class: "value" }, cost)),
|
|
3525
|
-
h("div", { class: sheet$
|
|
3476
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3526
3477
|
h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3527
3478
|
h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3528
3479
|
}
|
|
3529
3480
|
function success() {
|
|
3530
3481
|
var _a, _b, _c, _d, _e, _f;
|
|
3531
|
-
return (h("div", { class: sheet$
|
|
3482
|
+
return (h("div", { class: sheet$b.classes.Success, part: "success-container" },
|
|
3532
3483
|
h(Gift$1, null),
|
|
3533
3484
|
h(Confetti, null),
|
|
3534
3485
|
h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3543,7 +3494,7 @@ function RewardExchangeView(props) {
|
|
|
3543
3494
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
|
|
3544
3495
|
states.content.text.promoCode,
|
|
3545
3496
|
h(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 }))),
|
|
3546
|
-
h("div", { class: sheet$
|
|
3497
|
+
h("div", { class: sheet$b.classes.Button },
|
|
3547
3498
|
h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3548
3499
|
}
|
|
3549
3500
|
const stages = {
|
|
@@ -3555,7 +3506,7 @@ function RewardExchangeView(props) {
|
|
|
3555
3506
|
const currentStage = stages[states.redeemStage];
|
|
3556
3507
|
function stageMap() {
|
|
3557
3508
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3558
|
-
return (h("div", { class: sheet$
|
|
3509
|
+
return (h("div", { class: sheet$b.classes.ProgressBar },
|
|
3559
3510
|
h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3560
3511
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3561
3512
|
return h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3567,10 +3518,10 @@ function RewardExchangeView(props) {
|
|
|
3567
3518
|
h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3568
3519
|
}
|
|
3569
3520
|
function loading() {
|
|
3570
|
-
return (h("div", { class: sheet$
|
|
3521
|
+
return (h("div", { class: sheet$b.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3571
3522
|
return (h("div", null,
|
|
3572
|
-
h("sl-card", { class: sheet$
|
|
3573
|
-
h("div", { class: sheet$
|
|
3523
|
+
h("sl-card", { class: sheet$b.classes.Card },
|
|
3524
|
+
h("div", { class: sheet$b.classes.CardLayout },
|
|
3574
3525
|
h("div", null,
|
|
3575
3526
|
h("sl-skeleton", { style: {
|
|
3576
3527
|
width: "100px",
|
|
@@ -3602,12 +3553,12 @@ function RewardExchangeView(props) {
|
|
|
3602
3553
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3603
3554
|
return;
|
|
3604
3555
|
refs.canvasRef.current = canvas;
|
|
3605
|
-
}, id: "my-canvas", class: sheet$
|
|
3556
|
+
}, id: "my-canvas", class: sheet$b.classes.Confetti }));
|
|
3606
3557
|
}
|
|
3607
3558
|
if (states.noExchangeOptions)
|
|
3608
3559
|
return states.content.text.empty;
|
|
3609
|
-
return (h("div", { class: sheet$
|
|
3610
|
-
h("style", { type: "text/css" }, styleString$
|
|
3560
|
+
return (h("div", { class: sheet$b.classes.Container, part: "sqm-base" },
|
|
3561
|
+
h("style", { type: "text/css" }, styleString$b),
|
|
3611
3562
|
h("div", null,
|
|
3612
3563
|
stageMap(),
|
|
3613
3564
|
states.exchangeError && errorMessage(),
|
|
@@ -4023,7 +3974,7 @@ function CardFeedView(props, children) {
|
|
|
4023
3974
|
h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4024
3975
|
}
|
|
4025
3976
|
|
|
4026
|
-
const style$
|
|
3977
|
+
const style$c = {
|
|
4027
3978
|
HostBlock: HostBlock,
|
|
4028
3979
|
couponCodeLabel: {
|
|
4029
3980
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4031,21 +3982,21 @@ const style$d = {
|
|
|
4031
3982
|
fontSize: "var(--sl-font-size-small)",
|
|
4032
3983
|
},
|
|
4033
3984
|
};
|
|
4034
|
-
const vanillaStyle$
|
|
3985
|
+
const vanillaStyle$7 = `
|
|
4035
3986
|
:host{
|
|
4036
3987
|
display: block;
|
|
4037
3988
|
width: 100%;
|
|
4038
3989
|
}
|
|
4039
3990
|
`;
|
|
4040
|
-
const sheet$
|
|
4041
|
-
const styleString$
|
|
3991
|
+
const sheet$c = createStyleSheet(style$c);
|
|
3992
|
+
const styleString$c = sheet$c.toString();
|
|
4042
3993
|
function CouponCodeView(props) {
|
|
4043
3994
|
const error = !props.loading && props.error;
|
|
4044
3995
|
return (h("div", null,
|
|
4045
3996
|
h("style", { type: "text/css" },
|
|
4046
|
-
styleString$
|
|
4047
|
-
vanillaStyle$
|
|
4048
|
-
h("p", { class: sheet$
|
|
3997
|
+
styleString$c,
|
|
3998
|
+
vanillaStyle$7),
|
|
3999
|
+
h("p", { class: sheet$c.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4049
4000
|
error ? (h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4050
4001
|
h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
|
|
4051
4002
|
}
|
|
@@ -4135,4 +4086,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4135
4086
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4136
4087
|
};
|
|
4137
4088
|
|
|
4138
|
-
export {
|
|
4089
|
+
export { empty as A, BigStatView as B, CheckboxFieldView as C, DropdownFieldView as D, EditProfileView as E, rewardExchange as F, CardFeedView as G, HeroView as H, InputFieldView as I, CouponCodeView as J, ProgressBar as K, LeaderboardView as L, autoColorScaleCss as M, NameFieldsView as N, ShadowViewAddon as O, PortalFrameView as P, useBigStat as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, withShadowView as U, demoRewardExchange as V, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalRegisterView as e, ProgressBarView as f, PoweredByImg as g, PortalFooterView as h, RewardExchangeView as i, rewardExchangeLongText as j, rewardExchangeSelected as k, chooseAmountFixed as l, chooseAmountFixedNoDescription as m, chooseAmountVariable as n, chooseAmountVariableNoDescription as o, chooseAmountVariableDisabled as p, chooseAmountVariableUnavailable as q, rewardExchangeCustomErrorMsg as r, confirmFixed as s, confirmVariable as t, useShareLink as u, redemptionError as v, queryError as w, success as x, successVariable as y, loading as z };
|