@saasquatch/mint-components 1.12.1-14 → 1.12.1-15
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-63b78308.js → ShadowViewAddon-9aee7df5.js} +195 -90
- package/dist/cjs/{global-02e50f09.js → global-41c0a650.js} +1 -1
- package/dist/cjs/{index.module-df530553.js → index.module-d8342710.js} +12 -10
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-1976e05e.js → re-render-dd8d65bf.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +51 -51
- package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +220 -43
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-41a0b707.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-5f7886d6.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-56fabc90.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c9c60a6.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +235 -172
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-57e11069.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-14ccf9d4.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-ef36b29e.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js} +1 -1
- package/dist/cjs/{utilities-cec9dd36.js → utilities-7df0fdad.js} +1 -1
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +55 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +5 -4
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +5 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/{ShadowViewAddon-272f75a5.js → ShadowViewAddon-cadd38e4.js} +194 -91
- package/dist/esm/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm/{index.module-48f73e70.js → index.module-3344e7dc.js} +4 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-cb4d43dc.js → re-render-29151677.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +51 -51
- package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +218 -42
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +235 -172
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +3 -3
- package/dist/esm/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +7 -7
- package/dist/esm/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-cadd38e4.js +1 -0
- package/dist/esm-es5/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm-es5/index.module-3344e7dc.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-cb4d43dc.js → re-render-29151677.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_40.entry.js +1 -0
- 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-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.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-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.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-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/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm-es5/{utilities-e8022681.js → utilities-4d60af2c.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-bd6d9d54.system.entry.js → p-00aa314d.system.entry.js} +1 -1
- package/dist/mint-components/{p-bda832b2.js → p-051dd2a0.js} +2 -2
- package/dist/mint-components/{p-3fefb1f4.entry.js → p-063f4458.entry.js} +32 -15
- package/dist/mint-components/p-06ab1968.js +1 -0
- package/dist/mint-components/p-0afb7d5d.system.js +1 -0
- package/dist/mint-components/{p-f99765fe.system.entry.js → p-0c06a6f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-9bb9a767.system.js → p-0f65c86c.system.js} +1 -1
- package/dist/mint-components/{p-9982db11.entry.js → p-1064099e.entry.js} +1 -1
- package/dist/mint-components/{p-83df7db2.system.entry.js → p-17c59360.system.entry.js} +1 -1
- package/dist/mint-components/p-186542b8.system.js +1 -0
- package/dist/mint-components/{p-0f30148d.system.entry.js → p-19c94256.system.entry.js} +1 -1
- package/dist/mint-components/p-1ba5157e.js +1 -0
- package/dist/mint-components/{p-68160d49.system.entry.js → p-1ca1ca86.system.entry.js} +1 -1
- package/dist/mint-components/p-2037fbd3.js +1 -0
- package/dist/mint-components/{p-94324315.system.entry.js → p-284cc389.system.entry.js} +1 -1
- package/dist/mint-components/{p-23112de2.entry.js → p-29a80f6e.entry.js} +1 -1
- package/dist/mint-components/p-2b85b9d2.entry.js +1 -0
- package/dist/mint-components/p-30909368.entry.js +1 -0
- package/dist/mint-components/{p-5f20200a.entry.js → p-36332fc7.entry.js} +1 -1
- package/dist/mint-components/p-3d6eac77.js +1 -0
- package/dist/mint-components/p-3e87d803.entry.js +1 -0
- package/dist/mint-components/{p-30797093.system.entry.js → p-3edd4ea8.system.entry.js} +1 -1
- package/dist/mint-components/{p-13976be9.system.entry.js → p-40ad6540.system.entry.js} +1 -1
- package/dist/mint-components/{p-5de3473d.entry.js → p-42baa318.entry.js} +1 -1
- package/dist/mint-components/{p-2a2d4343.system.js → p-45b1b2be.system.js} +1 -1
- package/dist/mint-components/p-46af0bf6.system.js +1 -0
- package/dist/mint-components/{p-902770d7.entry.js → p-4893f186.entry.js} +1 -1
- package/dist/mint-components/{p-b169229a.entry.js → p-4c6c314b.entry.js} +1 -1
- package/dist/mint-components/{p-0068067d.entry.js → p-4e582dd8.entry.js} +1 -1
- package/dist/mint-components/p-50135af6.entry.js +1 -0
- package/dist/mint-components/{p-7726e4ea.system.entry.js → p-5bdf586c.system.entry.js} +1 -1
- package/dist/mint-components/p-5d86d0b4.entry.js +1 -0
- package/dist/mint-components/{p-92b08cb2.system.entry.js → p-63b5126d.system.entry.js} +1 -1
- package/dist/mint-components/p-658d5964.system.entry.js +1 -0
- package/dist/mint-components/p-67a8b7ae.system.js +1 -0
- package/dist/mint-components/{p-9a520e94.entry.js → p-69a0a791.entry.js} +2 -2
- package/dist/mint-components/{p-498c4ffd.system.entry.js → p-6a4b1ec0.system.entry.js} +1 -1
- package/dist/mint-components/{p-59111d6c.entry.js → p-6c9eb87a.entry.js} +1 -1
- package/dist/mint-components/{p-44c3791a.system.entry.js → p-6e50122b.system.entry.js} +1 -1
- package/dist/mint-components/p-6fdf020e.entry.js +1 -0
- package/dist/mint-components/{p-64b25dd9.entry.js → p-7a33cd80.entry.js} +1 -1
- package/dist/mint-components/p-7c49ebfa.entry.js +1 -0
- package/dist/mint-components/{p-c89c890e.entry.js → p-85f3c5d5.entry.js} +2 -2
- package/dist/mint-components/{p-0f010c01.system.js → p-8833552d.system.js} +1 -1
- package/dist/mint-components/{p-74d012fc.entry.js → p-91c1a54d.entry.js} +1 -1
- package/dist/mint-components/{p-b348d95c.js → p-920641bf.js} +1 -1
- package/dist/mint-components/{p-018088cc.entry.js → p-924384b2.entry.js} +2 -2
- package/dist/mint-components/{p-1d803c85.js → p-9276151f.js} +1 -1
- package/dist/mint-components/{p-115edc43.system.entry.js → p-98072a24.system.entry.js} +1 -1
- package/dist/mint-components/{p-5da7c982.system.js → p-99b2ff9c.system.js} +1 -1
- package/dist/mint-components/p-9e62ac1f.system.entry.js +1 -0
- package/dist/mint-components/{p-66d09e59.system.js → p-a1b5a82c.system.js} +1 -1
- package/dist/mint-components/{p-57ea9c0b.system.js → p-a2bce8d7.system.js} +1 -1
- package/dist/mint-components/{p-98602fa9.js → p-a7161d9f.js} +1 -1
- package/dist/mint-components/{p-74609159.system.js → p-a8ebb87a.system.js} +1 -1
- package/dist/mint-components/{p-baca1c93.system.entry.js → p-a8ec5664.system.entry.js} +1 -1
- package/dist/mint-components/{p-52acd113.entry.js → p-ac1fb0c4.entry.js} +1 -1
- package/dist/mint-components/{p-2364eb2d.system.entry.js → p-ad8dbab8.system.entry.js} +1 -1
- package/dist/mint-components/p-ae72631b.entry.js +9 -0
- package/dist/mint-components/{p-1bb2fd65.system.entry.js → p-b6557eff.system.entry.js} +1 -1
- package/dist/mint-components/{p-804de0cf.system.entry.js → p-b758d962.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce5057f7.system.js → p-b8fff589.system.js} +1 -1
- package/dist/mint-components/{p-d71ec46e.system.entry.js → p-b9cab58d.system.entry.js} +1 -1
- package/dist/mint-components/{p-1bdacfcb.entry.js → p-bb873ddd.entry.js} +1 -1
- package/dist/mint-components/{p-6f980faf.system.js → p-c588e9c1.system.js} +1 -1
- package/dist/mint-components/{p-512089bb.js → p-c810bcfc.js} +1 -1
- package/dist/mint-components/{p-778b55a5.entry.js → p-cb029418.entry.js} +1 -1
- package/dist/mint-components/{p-6aed684b.js → p-cbfc4b47.js} +1 -1
- package/dist/mint-components/{p-cefffd56.system.entry.js → p-cd326a35.system.entry.js} +1 -1
- package/dist/mint-components/{p-c98cd85a.system.entry.js → p-d1ebd4c9.system.entry.js} +1 -1
- package/dist/mint-components/{p-df2ada74.entry.js → p-d2389ef4.entry.js} +1 -1
- package/dist/mint-components/{p-215d9dce.system.entry.js → p-d5b327ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc58dc2f.system.entry.js → p-db0d4d3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-da1e21f2.js → p-e10b0628.js} +1 -1
- package/dist/mint-components/{p-275b2841.system.entry.js → p-e4d14213.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ab32670.entry.js → p-ea2075fd.entry.js} +2 -2
- package/dist/mint-components/p-ea46d642.js +391 -0
- package/dist/mint-components/{p-c4719154.js → p-eb64a65f.js} +1 -1
- package/dist/mint-components/{p-099c59cc.system.entry.js → p-ebab1714.system.entry.js} +1 -1
- package/dist/mint-components/{p-b7324c0e.system.entry.js → p-f093ed85.system.entry.js} +1 -1
- package/dist/mint-components/{p-9aa177d6.system.entry.js → p-f58c7201.system.entry.js} +1 -1
- package/dist/mint-components/{p-1eb21821.system.js → p-f8d2c679.system.js} +1 -1
- package/dist/mint-components/{p-513f79fb.entry.js → p-fa160846.entry.js} +2 -2
- package/dist/mint-components/{p-3b08cc52.entry.js → p-fcf7f4c1.entry.js} +1 -1
- package/dist/mint-components/{p-670d441e.system.entry.js → p-fe163a23.system.entry.js} +1 -1
- package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +3 -3
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +0 -66
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +0 -236
- package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +0 -64
- package/dist/esm/sqm-portal-change-marketing.entry.js +0 -232
- package/dist/esm-es5/ShadowViewAddon-272f75a5.js +0 -1
- package/dist/esm-es5/index.module-48f73e70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.js +0 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +0 -1
- package/dist/mint-components/p-1514e0af.system.entry.js +0 -1
- package/dist/mint-components/p-175075e7.system.js +0 -1
- package/dist/mint-components/p-1e0f4667.entry.js +0 -9
- package/dist/mint-components/p-29023a9c.entry.js +0 -1
- package/dist/mint-components/p-30f84f8b.system.js +0 -1
- package/dist/mint-components/p-32642d34.js +0 -1
- package/dist/mint-components/p-481dedf2.system.js +0 -1
- package/dist/mint-components/p-48b07ec7.system.entry.js +0 -1
- package/dist/mint-components/p-4dcdf9b6.js +0 -1
- package/dist/mint-components/p-52553737.system.entry.js +0 -1
- package/dist/mint-components/p-5ab5131c.entry.js +0 -1
- package/dist/mint-components/p-711bb8da.entry.js +0 -1
- package/dist/mint-components/p-7eabcffc.js +0 -1
- package/dist/mint-components/p-8e3390b6.entry.js +0 -1
- package/dist/mint-components/p-9b4a99c4.js +0 -1
- package/dist/mint-components/p-a178a449.system.js +0 -1
- package/dist/mint-components/p-a6b36268.system.js +0 -1
- package/dist/mint-components/p-b07a88fd.js +0 -1
- package/dist/mint-components/p-b5b9f737.entry.js +0 -1
- package/dist/mint-components/p-b86003f6.entry.js +0 -1
- package/dist/mint-components/p-de0a29b2.js +0 -391
- package/dist/mint-components/p-e169497d.entry.js +0 -1
- package/dist/mint-components/p-f9067e53.entry.js +0 -18
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
5
|
+
const global = require('./global-41c0a650.js');
|
|
6
|
+
const index_module = require('./index.module-d8342710.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const mixins = require('./mixins-fe9d4112.js');
|
|
9
9
|
const JSS = require('./JSS-8503a151.js');
|
|
10
|
-
const useChildElements = require('./useChildElements-
|
|
10
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
11
11
|
const luxon = require('./luxon-05098e19.js');
|
|
12
12
|
const utils = require('./utils-6847bc06.js');
|
|
13
13
|
const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
|
|
14
14
|
const index$1 = require('./index-8c6255f5.js');
|
|
15
|
-
const utilities = require('./utilities-
|
|
15
|
+
const utilities = require('./utilities-7df0fdad.js');
|
|
16
16
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
17
17
|
|
|
18
18
|
const medium = {
|
|
@@ -449,9 +449,9 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
449
449
|
function useShareLink(props) {
|
|
450
450
|
var _a, _b;
|
|
451
451
|
const { programId = index_module.H() } = props;
|
|
452
|
-
const user = index_module.
|
|
452
|
+
const user = index_module.J();
|
|
453
453
|
const engagementMedium = index_module.B();
|
|
454
|
-
const { data } = index_module.
|
|
454
|
+
const { data } = index_module.wn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
455
455
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
456
456
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
457
457
|
// Shown during loading
|
|
@@ -538,14 +538,14 @@ function useShareButton(props) {
|
|
|
538
538
|
var _a, _b;
|
|
539
539
|
const { sharetitle, sharetext, medium } = props;
|
|
540
540
|
const programId = props.programId ? props.programId : index_module.H();
|
|
541
|
-
const user = index_module.
|
|
541
|
+
const user = index_module.J();
|
|
542
542
|
const variables = {
|
|
543
543
|
engagementMedium: index_module.B(),
|
|
544
544
|
programId: programId,
|
|
545
545
|
shareMedium: medium.toUpperCase(),
|
|
546
546
|
};
|
|
547
547
|
// only queries if a programId is available
|
|
548
|
-
const res = index_module.
|
|
548
|
+
const res = index_module.wn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
549
549
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
550
550
|
const environment = index_module.getEnvironmentSDK();
|
|
551
551
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -569,7 +569,7 @@ function useShareButton(props) {
|
|
|
569
569
|
const debug = stencilHooks_module.browser("sq:useBigStat");
|
|
570
570
|
const LOADING = "...";
|
|
571
571
|
const debugQuery = (query, variables, getStat) => {
|
|
572
|
-
const res = index_module.
|
|
572
|
+
const res = index_module.wn(query, variables);
|
|
573
573
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
574
574
|
console.error("issue getting stat:", res);
|
|
575
575
|
}
|
|
@@ -980,7 +980,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
980
980
|
locale: $locale
|
|
981
981
|
formatType: UNIT_FORMATTED
|
|
982
982
|
)}`;
|
|
983
|
-
const result = index_module.
|
|
983
|
+
const result = index_module.wn(query, {
|
|
984
984
|
value: redeemedTotal,
|
|
985
985
|
unit,
|
|
986
986
|
locale,
|
|
@@ -1039,7 +1039,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1039
1039
|
locale: $locale
|
|
1040
1040
|
formatType: UNIT_FORMATTED
|
|
1041
1041
|
)}`;
|
|
1042
|
-
const result = index_module.
|
|
1042
|
+
const result = index_module.wn(query, {
|
|
1043
1043
|
value: redeemedTotal,
|
|
1044
1044
|
unit,
|
|
1045
1045
|
locale,
|
|
@@ -1439,7 +1439,7 @@ function useBigStat(props) {
|
|
|
1439
1439
|
// triggers a re-render if the label is manually changed
|
|
1440
1440
|
useChildElements.useChildElements();
|
|
1441
1441
|
const locale = index_module.L();
|
|
1442
|
-
const userIdent = index_module.
|
|
1442
|
+
const userIdent = index_module.J();
|
|
1443
1443
|
const re = stencilHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1444
1444
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1445
1445
|
return {
|
|
@@ -1749,6 +1749,109 @@ function PortalRegisterView(props) {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
|
|
1751
1751
|
const style$6 = {
|
|
1752
|
+
ErrorStyle: {
|
|
1753
|
+
"&::part(control)": {
|
|
1754
|
+
background: "var(--sl-color-danger-10)",
|
|
1755
|
+
borderColor: "var(--sl-color-danger-500)",
|
|
1756
|
+
outline: "var(--sl-color-danger-500)",
|
|
1757
|
+
},
|
|
1758
|
+
"&:host": {
|
|
1759
|
+
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
1760
|
+
},
|
|
1761
|
+
},
|
|
1762
|
+
ErrorMessageStyle: {
|
|
1763
|
+
margin: 0,
|
|
1764
|
+
marginTop: "5px",
|
|
1765
|
+
color: "var(--sl-color-danger-500)",
|
|
1766
|
+
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
1767
|
+
fontFamily: "var(--sl-font-sans)",
|
|
1768
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
1769
|
+
},
|
|
1770
|
+
FieldContainer: {
|
|
1771
|
+
"margin-bottom": "var(--sl-spacing-large)",
|
|
1772
|
+
},
|
|
1773
|
+
};
|
|
1774
|
+
const vanillaStyle$4 = `
|
|
1775
|
+
:host {
|
|
1776
|
+
margin: 0 auto;
|
|
1777
|
+
width: 100%;
|
|
1778
|
+
display: block;
|
|
1779
|
+
}
|
|
1780
|
+
sl-checkbox::part(label){
|
|
1781
|
+
font-size: var(--sl-input-label-font-size-small);
|
|
1782
|
+
font-weight: var(--sl-font-weight-normal);
|
|
1783
|
+
line-height: 20px;
|
|
1784
|
+
}
|
|
1785
|
+
sl-checkbox::part(base){
|
|
1786
|
+
align-items: start;
|
|
1787
|
+
}
|
|
1788
|
+
`;
|
|
1789
|
+
JSS.jss.setup(JSS.create());
|
|
1790
|
+
const sheet$6 = JSS.jss.createStyleSheet(style$6);
|
|
1791
|
+
const styleString$6 = sheet$6.toString();
|
|
1792
|
+
function CheckboxFieldView(props) {
|
|
1793
|
+
var _b, _c;
|
|
1794
|
+
const { states, content, callbacks } = props;
|
|
1795
|
+
return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
|
|
1796
|
+
index.h("style", { type: "text/css" },
|
|
1797
|
+
vanillaStyle$4,
|
|
1798
|
+
styleString$6),
|
|
1799
|
+
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
1800
|
+
e.target.value = e.target.checked;
|
|
1801
|
+
callbacks.setChecked(e.target.value);
|
|
1802
|
+
} }, (!content.checkboxOptional ? { required: false } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), required: false }), global.intl.formatMessage({
|
|
1803
|
+
id: content.checkboxName + "-message",
|
|
1804
|
+
defaultMessage: content.checkboxLabel,
|
|
1805
|
+
}, {
|
|
1806
|
+
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
1807
|
+
}))));
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
function ChangeMarktingView(props) {
|
|
1811
|
+
const { states, callbacks } = props;
|
|
1812
|
+
const { text, formState } = states;
|
|
1813
|
+
const { error } = formState;
|
|
1814
|
+
const style = {
|
|
1815
|
+
Container: {
|
|
1816
|
+
display: "flex",
|
|
1817
|
+
flexDirection: "column",
|
|
1818
|
+
gap: "var(--sl-spacing-x-small)",
|
|
1819
|
+
padding: "0 var(--sl-spacing-xxx-large) var(--sl-spacing-xxx-large)",
|
|
1820
|
+
},
|
|
1821
|
+
SubmitButton: { marginBottom: "var(--sl-spacing-medium)" },
|
|
1822
|
+
Error: {
|
|
1823
|
+
"&::part(erroralert-base)": {
|
|
1824
|
+
"margin-bottom": "15px",
|
|
1825
|
+
},
|
|
1826
|
+
},
|
|
1827
|
+
Success: {
|
|
1828
|
+
"&::part(successalert-base)": {
|
|
1829
|
+
"margin-bottom": "15px",
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1832
|
+
};
|
|
1833
|
+
const sheet = JSS.createStyleSheet(style);
|
|
1834
|
+
const styleString = sheet.toString();
|
|
1835
|
+
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
1836
|
+
index.h("style", { type: "text/css" }, styleString),
|
|
1837
|
+
index.h(sqmTextSpanView.TextSpanView, Object.assign({}, { type: "h2" }), text.emailPreferencesHeader),
|
|
1838
|
+
index.h("sl-form", { "onSl-submit": callbacks.onSubmit },
|
|
1839
|
+
index.h(CheckboxFieldView, { states: {
|
|
1840
|
+
checked: states.formState.marketingEmailOptIn,
|
|
1841
|
+
}, content: {
|
|
1842
|
+
checkboxLabel: text.marketingCheckboxLabel,
|
|
1843
|
+
checkboxName: "marketingEmailOptIn",
|
|
1844
|
+
}, callbacks: {
|
|
1845
|
+
setChecked: callbacks.setChecked,
|
|
1846
|
+
} }),
|
|
1847
|
+
index.h("sl-button", { class: sheet.classes.SubmitButton, type: "primary", submit: true, loading: states.loading, disabled: states.submitDisabled }, text.submitChangeButtonText),
|
|
1848
|
+
error && (index.h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
1849
|
+
index.h("div", { part: "erroralert-text" }, error))),
|
|
1850
|
+
states.success && (index.h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
1851
|
+
index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
const style$7 = {
|
|
1752
1855
|
Description: {
|
|
1753
1856
|
"& input[type=checkbox]": {
|
|
1754
1857
|
display: "none",
|
|
@@ -1787,13 +1890,13 @@ const style$6 = {
|
|
|
1787
1890
|
},
|
|
1788
1891
|
},
|
|
1789
1892
|
};
|
|
1790
|
-
const sheet$
|
|
1791
|
-
const styleString$
|
|
1893
|
+
const sheet$7 = JSS.createStyleSheet(style$7);
|
|
1894
|
+
const styleString$7 = sheet$7.toString();
|
|
1792
1895
|
function Details(props) {
|
|
1793
1896
|
const rid = Math.random().toString(36).slice(2);
|
|
1794
1897
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1795
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1796
|
-
index.h("span", { class: sheet$
|
|
1898
|
+
index.h("style", { type: "text/css" }, styleString$7),
|
|
1899
|
+
index.h("span", { class: sheet$7.classes.Description },
|
|
1797
1900
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1798
1901
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1799
1902
|
index.h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1815,7 +1918,7 @@ const GreyGift = () => {
|
|
|
1815
1918
|
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" })));
|
|
1816
1919
|
};
|
|
1817
1920
|
|
|
1818
|
-
const style$
|
|
1921
|
+
const style$8 = {
|
|
1819
1922
|
ProgressBar: {
|
|
1820
1923
|
"& .progress-bar": {
|
|
1821
1924
|
height: "0",
|
|
@@ -1927,14 +2030,14 @@ const style$7 = {
|
|
|
1927
2030
|
},
|
|
1928
2031
|
},
|
|
1929
2032
|
};
|
|
1930
|
-
const sheet$
|
|
1931
|
-
const styleString$
|
|
2033
|
+
const sheet$8 = JSS.createStyleSheet(style$8, { classNamePrefix: "sqm-prog-bar" });
|
|
2034
|
+
const styleString$8 = sheet$8.toString();
|
|
1932
2035
|
function ProgressBarView(props) {
|
|
1933
2036
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1934
2037
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1935
2038
|
const { columns, items } = aggregate;
|
|
1936
|
-
return (index.h("div", { class: sheet$
|
|
1937
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
2039
|
+
return (index.h("div", { class: sheet$8.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
2040
|
+
index.h("style", { type: "text/css" }, styleString$8),
|
|
1938
2041
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1939
2042
|
(Boolean(finite) && progress > 2 * goal)
|
|
1940
2043
|
? "progress-bar repeatable-steps"
|
|
@@ -2225,7 +2328,7 @@ const arrow_left_right = () => {
|
|
|
2225
2328
|
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" })));
|
|
2226
2329
|
};
|
|
2227
2330
|
|
|
2228
|
-
const style$
|
|
2331
|
+
const style$9 = {
|
|
2229
2332
|
TaskCard: {
|
|
2230
2333
|
display: "inline-block",
|
|
2231
2334
|
width: "100%",
|
|
@@ -2379,8 +2482,8 @@ const style$8 = {
|
|
|
2379
2482
|
},
|
|
2380
2483
|
},
|
|
2381
2484
|
};
|
|
2382
|
-
const sheet$
|
|
2383
|
-
const styleString$
|
|
2485
|
+
const sheet$9 = JSS.createStyleSheet(style$9);
|
|
2486
|
+
const styleString$9 = sheet$9.toString();
|
|
2384
2487
|
function TaskCardView(props) {
|
|
2385
2488
|
var _a, _b;
|
|
2386
2489
|
const { callbacks, states, content } = props;
|
|
@@ -2416,11 +2519,11 @@ function TaskCardView(props) {
|
|
|
2416
2519
|
}
|
|
2417
2520
|
|
|
2418
2521
|
`;
|
|
2419
|
-
return (index.h("div", { class: sheet$
|
|
2522
|
+
return (index.h("div", { class: sheet$9.classes.TaskCard, part: "sqm-base" },
|
|
2420
2523
|
index.h("style", { type: "text/css" },
|
|
2421
|
-
styleString$
|
|
2524
|
+
styleString$9,
|
|
2422
2525
|
vanillaStyle),
|
|
2423
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet$
|
|
2526
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$9.classes.NotStarted },
|
|
2424
2527
|
index.h("span", { class: "icon" },
|
|
2425
2528
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
2426
2529
|
global.intl.formatMessage({
|
|
@@ -2431,7 +2534,7 @@ function TaskCardView(props) {
|
|
|
2431
2534
|
.setLocale(utils.luxonLocale(states.locale))
|
|
2432
2535
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
2433
2536
|
}))),
|
|
2434
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet$
|
|
2537
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$9.classes.Ended },
|
|
2435
2538
|
index.h("span", { class: "icon" },
|
|
2436
2539
|
index.h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2437
2540
|
global.intl.formatMessage({
|
|
@@ -2451,7 +2554,7 @@ function TaskCardView(props) {
|
|
|
2451
2554
|
? "main complete"
|
|
2452
2555
|
: "main" },
|
|
2453
2556
|
index.h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2454
|
-
index.h("div", { class: sheet$
|
|
2557
|
+
index.h("div", { class: sheet$9.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
2455
2558
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2456
2559
|
index.h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2457
2560
|
index.h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2467,7 +2570,7 @@ function TaskCardView(props) {
|
|
|
2467
2570
|
} }, content.cardTitle)),
|
|
2468
2571
|
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" })))),
|
|
2469
2572
|
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 })))),
|
|
2470
|
-
index.h("div", { class: sheet$
|
|
2573
|
+
index.h("div", { class: sheet$9.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2471
2574
|
index.h("span", { class: "text" },
|
|
2472
2575
|
content.repeatable && (index.h("div", null,
|
|
2473
2576
|
index.h("span", { class: repetitions > 0
|
|
@@ -2538,7 +2641,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2538
2641
|
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 })));
|
|
2539
2642
|
}
|
|
2540
2643
|
|
|
2541
|
-
const vanillaStyle$
|
|
2644
|
+
const vanillaStyle$5 = `
|
|
2542
2645
|
:host{
|
|
2543
2646
|
margin: 0 auto;
|
|
2544
2647
|
width: 100%;
|
|
@@ -2594,7 +2697,7 @@ function PortalFooterView(props) {
|
|
|
2594
2697
|
const styleString = sheet.toString();
|
|
2595
2698
|
return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2596
2699
|
index.h("style", { type: "text/css" },
|
|
2597
|
-
vanillaStyle$
|
|
2700
|
+
vanillaStyle$5,
|
|
2598
2701
|
styleString),
|
|
2599
2702
|
index.h("div", { class: sheet.classes.RowContainer },
|
|
2600
2703
|
props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2766,7 +2869,7 @@ function ReferralIframeView(props) {
|
|
|
2766
2869
|
index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2767
2870
|
}
|
|
2768
2871
|
|
|
2769
|
-
const style$
|
|
2872
|
+
const style$a = {
|
|
2770
2873
|
ErrorStyle: mixins.ErrorStyles,
|
|
2771
2874
|
FieldsContainer: {
|
|
2772
2875
|
"& sl-input": {
|
|
@@ -2774,7 +2877,7 @@ const style$9 = {
|
|
|
2774
2877
|
},
|
|
2775
2878
|
},
|
|
2776
2879
|
};
|
|
2777
|
-
const vanillaStyle$
|
|
2880
|
+
const vanillaStyle$6 = `
|
|
2778
2881
|
:host {
|
|
2779
2882
|
margin: 0 auto;
|
|
2780
2883
|
width: 100%;
|
|
@@ -2786,21 +2889,21 @@ sl-input::part(label){
|
|
|
2786
2889
|
font-weight: var(--sl-font-weight-semibold);
|
|
2787
2890
|
}
|
|
2788
2891
|
`;
|
|
2789
|
-
const sheet$
|
|
2790
|
-
const styleString$
|
|
2892
|
+
const sheet$a = JSS.createStyleSheet(style$a);
|
|
2893
|
+
const styleString$a = sheet$a.toString();
|
|
2791
2894
|
function NameFieldsView(props) {
|
|
2792
2895
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2793
2896
|
const { states } = props;
|
|
2794
2897
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2795
|
-
return (index.h("div", { class: sheet$
|
|
2898
|
+
return (index.h("div", { class: sheet$a.classes.FieldsContainer },
|
|
2796
2899
|
index.h("style", { type: "text/css" },
|
|
2797
|
-
vanillaStyle$
|
|
2798
|
-
styleString$
|
|
2900
|
+
vanillaStyle$6,
|
|
2901
|
+
styleString$a),
|
|
2799
2902
|
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) ? {
|
|
2800
2903
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2801
2904
|
}
|
|
2802
2905
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2803
|
-
class: sheet$
|
|
2906
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2804
2907
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2805
2908
|
}
|
|
2806
2909
|
: []))),
|
|
@@ -2808,13 +2911,13 @@ function NameFieldsView(props) {
|
|
|
2808
2911
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2809
2912
|
}
|
|
2810
2913
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2811
|
-
class: sheet$
|
|
2914
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2812
2915
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2813
2916
|
}
|
|
2814
2917
|
: [])))));
|
|
2815
2918
|
}
|
|
2816
2919
|
|
|
2817
|
-
const style$
|
|
2920
|
+
const style$b = {
|
|
2818
2921
|
ErrorStyle: {
|
|
2819
2922
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2820
2923
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2830,7 +2933,7 @@ const style$a = {
|
|
|
2830
2933
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2831
2934
|
},
|
|
2832
2935
|
};
|
|
2833
|
-
const vanillaStyle$
|
|
2936
|
+
const vanillaStyle$7 = `
|
|
2834
2937
|
:host {
|
|
2835
2938
|
margin: 0 auto;
|
|
2836
2939
|
width: 100%;
|
|
@@ -2842,36 +2945,36 @@ sl-select::part(label){
|
|
|
2842
2945
|
}
|
|
2843
2946
|
`;
|
|
2844
2947
|
JSS.jss.setup(JSS.create());
|
|
2845
|
-
const sheet$
|
|
2846
|
-
const styleString$
|
|
2948
|
+
const sheet$b = JSS.jss.createStyleSheet(style$b);
|
|
2949
|
+
const styleString$b = sheet$b.toString();
|
|
2847
2950
|
function DropdownFieldView(props) {
|
|
2848
2951
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2849
2952
|
const { states, content } = props;
|
|
2850
2953
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2851
|
-
return (index.h("div", { class: sheet$
|
|
2954
|
+
return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2852
2955
|
index.h("style", { type: "text/css" },
|
|
2853
|
-
vanillaStyle$
|
|
2854
|
-
styleString$
|
|
2956
|
+
vanillaStyle$7,
|
|
2957
|
+
styleString$b),
|
|
2855
2958
|
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]) ? {
|
|
2856
2959
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2857
2960
|
}
|
|
2858
2961
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2859
|
-
class: sheet$
|
|
2962
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2860
2963
|
}
|
|
2861
2964
|
: [])), content.selectOptions),
|
|
2862
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2965
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$b.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2863
2966
|
id: `errorMessage-${content.dropdownName}`,
|
|
2864
2967
|
defaultMessage: content.errorMessage,
|
|
2865
2968
|
})))));
|
|
2866
2969
|
}
|
|
2867
2970
|
|
|
2868
|
-
const style$
|
|
2971
|
+
const style$c = {
|
|
2869
2972
|
ErrorStyle: mixins.ErrorStyles,
|
|
2870
2973
|
FieldContainer: {
|
|
2871
2974
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2872
2975
|
},
|
|
2873
2976
|
};
|
|
2874
|
-
const vanillaStyle$
|
|
2977
|
+
const vanillaStyle$8 = `
|
|
2875
2978
|
:host {
|
|
2876
2979
|
margin: 0 auto;
|
|
2877
2980
|
width: 100%;
|
|
@@ -2879,21 +2982,21 @@ const vanillaStyle$7 = `
|
|
|
2879
2982
|
}
|
|
2880
2983
|
`;
|
|
2881
2984
|
JSS.jss.setup(JSS.create());
|
|
2882
|
-
const sheet$
|
|
2883
|
-
const styleString$
|
|
2985
|
+
const sheet$c = JSS.jss.createStyleSheet(style$c);
|
|
2986
|
+
const styleString$c = sheet$c.toString();
|
|
2884
2987
|
function InputFieldView(props) {
|
|
2885
2988
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2886
2989
|
const { states, content } = props;
|
|
2887
2990
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2888
|
-
return (index.h("div", { class: sheet$
|
|
2991
|
+
return (index.h("div", { class: sheet$c.classes.FieldContainer, part: "sqm-base" },
|
|
2889
2992
|
index.h("style", { type: "text/css" },
|
|
2890
|
-
vanillaStyle$
|
|
2891
|
-
styleString$
|
|
2993
|
+
vanillaStyle$8,
|
|
2994
|
+
styleString$c),
|
|
2892
2995
|
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]) ? {
|
|
2893
2996
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2894
2997
|
}
|
|
2895
2998
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2896
|
-
class: sheet$
|
|
2999
|
+
class: sheet$c.classes.ErrorStyle,
|
|
2897
3000
|
helpText: global.intl.formatMessage({
|
|
2898
3001
|
id: `errorMessage-${content.fieldName}`,
|
|
2899
3002
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2988,7 +3091,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
2988
3091
|
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 })))));
|
|
2989
3092
|
}
|
|
2990
3093
|
|
|
2991
|
-
const style$
|
|
3094
|
+
const style$d = {
|
|
2992
3095
|
HostBlock: mixins.HostBlock,
|
|
2993
3096
|
Container: {
|
|
2994
3097
|
minWidth: "300px",
|
|
@@ -3339,8 +3442,8 @@ const style$c = {
|
|
|
3339
3442
|
},
|
|
3340
3443
|
};
|
|
3341
3444
|
// JSS config
|
|
3342
|
-
const sheet$
|
|
3343
|
-
const styleString$
|
|
3445
|
+
const sheet$d = JSS.createStyleSheet(style$d);
|
|
3446
|
+
const styleString$d = sheet$d.toString();
|
|
3344
3447
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3345
3448
|
function RewardExchangeView(props) {
|
|
3346
3449
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3363,7 +3466,7 @@ function RewardExchangeView(props) {
|
|
|
3363
3466
|
sourceUnit: item.sourceUnit,
|
|
3364
3467
|
})));
|
|
3365
3468
|
}
|
|
3366
|
-
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$
|
|
3469
|
+
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$d.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3367
3470
|
var _a, _b, _c, _d, _e;
|
|
3368
3471
|
return callbacks.setExchangeState({
|
|
3369
3472
|
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,
|
|
@@ -3371,7 +3474,7 @@ function RewardExchangeView(props) {
|
|
|
3371
3474
|
});
|
|
3372
3475
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3373
3476
|
var _a, _b;
|
|
3374
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3477
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$d.classes.SelectItem },
|
|
3375
3478
|
step.prettyDestinationValue,
|
|
3376
3479
|
index.h("br", null),
|
|
3377
3480
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3390,8 +3493,8 @@ function RewardExchangeView(props) {
|
|
|
3390
3493
|
var _a;
|
|
3391
3494
|
return [
|
|
3392
3495
|
index.h("div", { part: "choose-reward-container" },
|
|
3393
|
-
index.h("div", { class: sheet$
|
|
3394
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3496
|
+
index.h("div", { class: sheet$d.classes.Title }, states.content.text.rewardTitle),
|
|
3497
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$d.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3395
3498
|
var _a, _b, _c, _d, _e;
|
|
3396
3499
|
const style = {
|
|
3397
3500
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3400,7 +3503,7 @@ function RewardExchangeView(props) {
|
|
|
3400
3503
|
borderRadius: "4px",
|
|
3401
3504
|
};
|
|
3402
3505
|
return (index.h("div", { key: item.key, style: style },
|
|
3403
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3506
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$d.classes.Card, style: {
|
|
3404
3507
|
cursor: item.unavailableReasonCode
|
|
3405
3508
|
? "not-allowed"
|
|
3406
3509
|
: "pointer",
|
|
@@ -3417,14 +3520,14 @@ function RewardExchangeView(props) {
|
|
|
3417
3520
|
? "rgba(0, 0, 0, 0.05)"
|
|
3418
3521
|
: "rgba(0, 0, 0, 0)",
|
|
3419
3522
|
} },
|
|
3420
|
-
index.h("div", { class: sheet$
|
|
3523
|
+
index.h("div", { class: sheet$d.classes.Image, style: {
|
|
3421
3524
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3422
3525
|
} },
|
|
3423
3526
|
index.h("img", { class: item.unavailableReasonCode
|
|
3424
3527
|
? "image subdued"
|
|
3425
3528
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3426
3529
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3427
|
-
index.h("div", { class: sheet$
|
|
3530
|
+
index.h("div", { class: sheet$d.classes.TextArea, style: {
|
|
3428
3531
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3429
3532
|
} },
|
|
3430
3533
|
index.h("div", { class: "title", style: {
|
|
@@ -3457,7 +3560,7 @@ function RewardExchangeView(props) {
|
|
|
3457
3560
|
item.prettySourceMinValue,
|
|
3458
3561
|
}))))))));
|
|
3459
3562
|
}))),
|
|
3460
|
-
index.h("div", { class: sheet$
|
|
3563
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3461
3564
|
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))),
|
|
3462
3565
|
];
|
|
3463
3566
|
}
|
|
@@ -3468,7 +3571,7 @@ function RewardExchangeView(props) {
|
|
|
3468
3571
|
? false
|
|
3469
3572
|
: input && !states.amount;
|
|
3470
3573
|
return (index.h("div", null,
|
|
3471
|
-
index.h("div", { class: sheet$
|
|
3574
|
+
index.h("div", { class: sheet$d.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3472
3575
|
index.h("div", { class: "wrapper" },
|
|
3473
3576
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3474
3577
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3477,7 +3580,7 @@ function RewardExchangeView(props) {
|
|
|
3477
3580
|
((_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)),
|
|
3478
3581
|
((_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)),
|
|
3479
3582
|
index.h("div", { class: "space" }))),
|
|
3480
|
-
index.h("div", { class: sheet$
|
|
3583
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3481
3584
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3482
3585
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3483
3586
|
}
|
|
@@ -3485,8 +3588,8 @@ function RewardExchangeView(props) {
|
|
|
3485
3588
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3486
3589
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3487
3590
|
return (index.h("div", null,
|
|
3488
|
-
index.h("div", { class: sheet$
|
|
3489
|
-
index.h("div", { class: sheet$
|
|
3591
|
+
index.h("div", { class: sheet$d.classes.Confirmation, part: "confirmation-container" },
|
|
3592
|
+
index.h("div", { class: sheet$d.classes.Title }, states.content.text.redeemTitle),
|
|
3490
3593
|
index.h("div", { class: "wrapper" },
|
|
3491
3594
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3492
3595
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3501,13 +3604,13 @@ function RewardExchangeView(props) {
|
|
|
3501
3604
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3502
3605
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3503
3606
|
index.h("div", { class: "value" }, cost)),
|
|
3504
|
-
index.h("div", { class: sheet$
|
|
3607
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3505
3608
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3506
3609
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3507
3610
|
}
|
|
3508
3611
|
function success() {
|
|
3509
3612
|
var _a, _b, _c, _d, _e, _f;
|
|
3510
|
-
return (index.h("div", { class: sheet$
|
|
3613
|
+
return (index.h("div", { class: sheet$d.classes.Success, part: "success-container" },
|
|
3511
3614
|
index.h(Gift$1, null),
|
|
3512
3615
|
index.h(Confetti, null),
|
|
3513
3616
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3522,7 +3625,7 @@ function RewardExchangeView(props) {
|
|
|
3522
3625
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3523
3626
|
states.content.text.promoCode,
|
|
3524
3627
|
index.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 }))),
|
|
3525
|
-
index.h("div", { class: sheet$
|
|
3628
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3526
3629
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3527
3630
|
}
|
|
3528
3631
|
const stages = {
|
|
@@ -3534,7 +3637,7 @@ function RewardExchangeView(props) {
|
|
|
3534
3637
|
const currentStage = stages[states.redeemStage];
|
|
3535
3638
|
function stageMap() {
|
|
3536
3639
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3537
|
-
return (index.h("div", { class: sheet$
|
|
3640
|
+
return (index.h("div", { class: sheet$d.classes.ProgressBar },
|
|
3538
3641
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3539
3642
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3540
3643
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3546,10 +3649,10 @@ function RewardExchangeView(props) {
|
|
|
3546
3649
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3547
3650
|
}
|
|
3548
3651
|
function loading() {
|
|
3549
|
-
return (index.h("div", { class: sheet$
|
|
3652
|
+
return (index.h("div", { class: sheet$d.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3550
3653
|
return (index.h("div", null,
|
|
3551
|
-
index.h("sl-card", { class: sheet$
|
|
3552
|
-
index.h("div", { class: sheet$
|
|
3654
|
+
index.h("sl-card", { class: sheet$d.classes.Card },
|
|
3655
|
+
index.h("div", { class: sheet$d.classes.CardLayout },
|
|
3553
3656
|
index.h("div", null,
|
|
3554
3657
|
index.h("sl-skeleton", { style: {
|
|
3555
3658
|
width: "100px",
|
|
@@ -3581,12 +3684,12 @@ function RewardExchangeView(props) {
|
|
|
3581
3684
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3582
3685
|
return;
|
|
3583
3686
|
refs.canvasRef.current = canvas;
|
|
3584
|
-
}, id: "my-canvas", class: sheet$
|
|
3687
|
+
}, id: "my-canvas", class: sheet$d.classes.Confetti }));
|
|
3585
3688
|
}
|
|
3586
3689
|
if (states.noExchangeOptions)
|
|
3587
3690
|
return states.content.text.empty;
|
|
3588
|
-
return (index.h("div", { class: sheet$
|
|
3589
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3691
|
+
return (index.h("div", { class: sheet$d.classes.Container, part: "sqm-base" },
|
|
3692
|
+
index.h("style", { type: "text/css" }, styleString$d),
|
|
3590
3693
|
index.h("div", null,
|
|
3591
3694
|
stageMap(),
|
|
3592
3695
|
states.exchangeError && errorMessage(),
|
|
@@ -4002,7 +4105,7 @@ function CardFeedView(props, children) {
|
|
|
4002
4105
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4003
4106
|
}
|
|
4004
4107
|
|
|
4005
|
-
const style$
|
|
4108
|
+
const style$e = {
|
|
4006
4109
|
HostBlock: mixins.HostBlock,
|
|
4007
4110
|
couponCodeLabel: {
|
|
4008
4111
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4010,21 +4113,21 @@ const style$d = {
|
|
|
4010
4113
|
fontSize: "var(--sl-font-size-small)",
|
|
4011
4114
|
},
|
|
4012
4115
|
};
|
|
4013
|
-
const vanillaStyle$
|
|
4116
|
+
const vanillaStyle$9 = `
|
|
4014
4117
|
:host{
|
|
4015
4118
|
display: block;
|
|
4016
4119
|
width: 100%;
|
|
4017
4120
|
}
|
|
4018
4121
|
`;
|
|
4019
|
-
const sheet$
|
|
4020
|
-
const styleString$
|
|
4122
|
+
const sheet$e = JSS.createStyleSheet(style$e);
|
|
4123
|
+
const styleString$e = sheet$e.toString();
|
|
4021
4124
|
function CouponCodeView(props) {
|
|
4022
4125
|
const error = !props.loading && props.error;
|
|
4023
4126
|
return (index.h("div", null,
|
|
4024
4127
|
index.h("style", { type: "text/css" },
|
|
4025
|
-
styleString$
|
|
4026
|
-
vanillaStyle$
|
|
4027
|
-
index.h("p", { class: sheet$
|
|
4128
|
+
styleString$e,
|
|
4129
|
+
vanillaStyle$9),
|
|
4130
|
+
index.h("p", { class: sheet$e.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4028
4131
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4029
4132
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(CopyTextView, Object.assign({}, props)))));
|
|
4030
4133
|
}
|
|
@@ -4116,6 +4219,8 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4116
4219
|
|
|
4117
4220
|
exports.BigStatView = BigStatView;
|
|
4118
4221
|
exports.CardFeedView = CardFeedView;
|
|
4222
|
+
exports.ChangeMarktingView = ChangeMarktingView;
|
|
4223
|
+
exports.CheckboxFieldView = CheckboxFieldView;
|
|
4119
4224
|
exports.CopyTextView = CopyTextView;
|
|
4120
4225
|
exports.CouponCodeView = CouponCodeView;
|
|
4121
4226
|
exports.DropdownFieldView = DropdownFieldView;
|