@saasquatch/mint-components 1.12.1-1 → 1.12.1-11
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-88821c64.js → ShadowViewAddon-63b78308.js} +67 -137
- package/dist/cjs/{global-c3637175.js → global-02e50f09.js} +2 -2
- package/dist/cjs/{index.module-b8d9d0ba.js → index.module-df530553.js} +18 -55
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-5bde3d2e.js → re-render-1976e05e.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +61 -61
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +64 -69
- package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +66 -0
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-a9133a11.js → sqm-invoice-table-view-e3b03a00.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-a125ec5f.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +223 -0
- package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-fde54e35.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- 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 +10 -10
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +54 -53
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
- package/dist/cjs/{useChildElements-410d2435.js → useChildElements-e0d44916.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-bbe746d1.js} +3 -3
- package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-a76adb0d.js} +9 -9
- package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-876ed65d.js} +2 -2
- package/dist/cjs/{utilities-f7de6c04.js → utilities-cec9dd36.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +12 -42
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +39 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +191 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +114 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
- package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-272f75a5.js} +68 -137
- package/dist/esm/{global-6306a9b8.js → global-62554cef.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-48f73e70.js} +3 -40
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-1bcfd0de.js → re-render-cb4d43dc.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +61 -61
- package/dist/esm/sqm-big-stat_39.entry.js +62 -67
- package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +64 -0
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +2 -2
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-71915a5e.js → sqm-invoice-table-view-41a14ca6.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-af40eedb.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +4 -4
- package/dist/esm/sqm-portal-change-marketing.entry.js +219 -0
- package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-460bac1b.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/sqm-portal-forgot-password.entry.js +4 -4
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-4caa9f28.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -11
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/sqm-portal-verify-email.entry.js +6 -6
- 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 +10 -10
- package/dist/esm/sqm-stencilbook.entry.js +49 -48
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +4 -4
- package/dist/esm/{useChildElements-fc84e640.js → useChildElements-a6b895dd.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46a98499.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-6e8350db.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-de6b208e.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-e8022681.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-272f75a5.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-62554cef.js} +2 -2
- package/dist/esm-es5/index.module-48f73e70.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-1bcfd0de.js → re-render-cb4d43dc.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_39.entry.js +1 -1
- package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.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-71915a5e.js → sqm-invoice-table-view-41a14ca6.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-f8e78810.js → sqm-navigation-sidebar-item-view-af40eedb.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-change-marketing.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-460bac1b.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-15ddbec8.js → sqm-portal-profile-view-4caa9f28.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-fc84e640.js → useChildElements-a6b895dd.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46a98499.js} +1 -1
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-6e8350db.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-de6b208e.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-e8022681.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-9e0230c3.entry.js → p-0068067d.entry.js} +1 -1
- package/dist/mint-components/p-018088cc.entry.js +13 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-099c59cc.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-0f010c01.system.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-0f30148d.system.entry.js} +1 -1
- package/dist/mint-components/p-0f859e4e.entry.js +18 -0
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-115edc43.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-13976be9.system.entry.js} +1 -1
- package/dist/mint-components/p-175075e7.system.js +1 -0
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-1bb2fd65.system.entry.js} +1 -1
- package/dist/mint-components/{p-012daf3c.entry.js → p-1bdacfcb.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-1d803c85.js} +1 -1
- package/dist/mint-components/{p-17f56865.entry.js → p-1e0f4667.entry.js} +2 -2
- package/dist/mint-components/{p-8d554a89.system.js → p-1eb21821.system.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-215d9dce.system.entry.js} +1 -1
- package/dist/mint-components/{p-84b25a46.entry.js → p-23112de2.entry.js} +1 -1
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-2364eb2d.system.entry.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-275b2841.system.entry.js} +1 -1
- package/dist/mint-components/p-29023a9c.entry.js +1 -0
- package/dist/mint-components/{p-5becb2ff.system.js → p-2a2d4343.system.js} +1 -1
- package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-30797093.system.entry.js} +1 -1
- package/dist/mint-components/p-30f84f8b.system.js +1 -0
- package/dist/mint-components/p-32642d34.js +1 -0
- package/dist/mint-components/{p-6c928c7d.entry.js → p-3b08cc52.entry.js} +1 -1
- package/dist/mint-components/{p-acd77a6e.entry.js → p-3fefb1f4.entry.js} +8 -8
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-44c3791a.system.entry.js} +1 -1
- package/dist/mint-components/p-481dedf2.system.js +1 -0
- package/dist/mint-components/p-48b07ec7.system.entry.js +1 -0
- package/dist/mint-components/{p-cb433855.system.entry.js → p-498c4ffd.system.entry.js} +1 -1
- package/dist/mint-components/p-4dcdf9b6.js +1 -0
- package/dist/mint-components/{p-0121e044.js → p-512089bb.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-513f79fb.entry.js} +2 -2
- package/dist/mint-components/p-52553737.system.entry.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-52acd113.entry.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-57ea9c0b.system.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-59111d6c.entry.js} +1 -1
- package/dist/mint-components/{p-947fe79b.entry.js → p-5ab5131c.entry.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-5da7c982.system.js} +1 -1
- package/dist/mint-components/{p-b8233366.entry.js → p-5de3473d.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-5f20200a.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-64b25dd9.entry.js} +1 -1
- package/dist/mint-components/{p-4e373c3d.system.js → p-66d09e59.system.js} +1 -1
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-670d441e.system.entry.js} +1 -1
- package/dist/mint-components/{p-bc826117.system.entry.js → p-68160d49.system.entry.js} +1 -1
- package/dist/mint-components/{p-68747d88.js → p-6aed684b.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-6f980faf.system.js} +1 -1
- package/dist/mint-components/p-711bb8da.entry.js +1 -0
- package/dist/mint-components/{p-cd44de66.system.js → p-74609159.system.js} +1 -1
- package/dist/mint-components/{p-4671e644.entry.js → p-74d012fc.entry.js} +1 -1
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-7726e4ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-0893073b.entry.js → p-778b55a5.entry.js} +1 -1
- package/dist/mint-components/{p-9d34f4f0.entry.js → p-7ab32670.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-7eabcffc.js} +1 -1
- package/dist/mint-components/p-804de0cf.system.entry.js +1 -0
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-83df7db2.system.entry.js} +1 -1
- package/dist/mint-components/p-8e3390b6.entry.js +1 -0
- package/dist/mint-components/{p-76392386.entry.js → p-902770d7.entry.js} +1 -1
- package/dist/mint-components/{p-f450654b.system.entry.js → p-92b08cb2.system.entry.js} +1 -1
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-94324315.system.entry.js} +1 -1
- package/dist/mint-components/{p-5cd917db.js → p-98602fa9.js} +1 -1
- package/dist/mint-components/{p-d468925f.entry.js → p-9982db11.entry.js} +1 -1
- package/dist/mint-components/{p-5291891c.entry.js → p-9a520e94.entry.js} +2 -2
- package/dist/mint-components/{p-59818690.system.entry.js → p-9aa177d6.system.entry.js} +1 -1
- package/dist/mint-components/p-9b4a99c4.js +1 -0
- package/dist/mint-components/{p-ac51940e.system.js → p-9bb9a767.system.js} +1 -1
- package/dist/mint-components/p-a178a449.system.js +1 -0
- package/dist/mint-components/p-a6b36268.system.js +1 -0
- package/dist/mint-components/p-b07a88fd.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-b169229a.entry.js} +1 -1
- package/dist/mint-components/{p-04348a9b.js → p-b348d95c.js} +1 -1
- package/dist/mint-components/p-b5b9f737.entry.js +1 -0
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-b7324c0e.system.entry.js} +1 -1
- package/dist/mint-components/p-b86003f6.entry.js +1 -0
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-baca1c93.system.entry.js} +1 -1
- package/dist/mint-components/{p-0c9ad5f3.system.entry.js → p-bd6d9d54.system.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-bda832b2.js} +2 -2
- package/dist/mint-components/{p-d83b0cf3.js → p-c4719154.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-c89c890e.entry.js} +2 -2
- package/dist/mint-components/{p-a4282d02.system.entry.js → p-c98cd85a.system.entry.js} +1 -1
- package/dist/mint-components/{p-3cb18382.system.js → p-ce5057f7.system.js} +1 -1
- package/dist/mint-components/p-cefffd56.system.entry.js +1 -0
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-d71ec46e.system.entry.js} +1 -1
- package/dist/mint-components/p-da1b5388.system.entry.js +1 -0
- package/dist/mint-components/{p-e0e7635a.js → p-da1e21f2.js} +1 -1
- package/dist/mint-components/{p-b651706a.js → p-de0a29b2.js} +2 -2
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-df2ada74.entry.js} +1 -1
- package/dist/mint-components/p-e169497d.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-f99765fe.system.entry.js} +1 -1
- package/dist/mint-components/{p-04ced592.system.entry.js → p-fc58dc2f.system.entry.js} +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +3 -9
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +27 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +35 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components.d.ts +59 -15
- 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/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
- package/dist/esm-es5/index.module-6c840c4e.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/mint-components/p-1279f7a3.system.entry.js +0 -1
- package/dist/mint-components/p-15a64357.entry.js +0 -13
- package/dist/mint-components/p-1b861be5.entry.js +0 -1
- package/dist/mint-components/p-2868f475.entry.js +0 -1
- package/dist/mint-components/p-6792c8d8.system.entry.js +0 -1
- package/dist/mint-components/p-93576222.system.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-a02afa72.system.js +0 -1
- package/dist/mint-components/p-b1e8a802.entry.js +0 -1
- package/dist/mint-components/p-b3e97f8a.system.entry.js +0 -1
- package/dist/mint-components/p-bdd6bb13.js +0 -1
- package/dist/mint-components/p-c3b37bbf.js +0 -1
- package/dist/mint-components/p-c92a743e.entry.js +0 -1
- package/dist/mint-components/p-c9fb6102.entry.js +0 -1
- package/dist/mint-components/p-ca809fdd.system.js +0 -1
- package/dist/mint-components/p-def516b8.system.js +0 -1
- package/dist/mint-components/p-f56348dc.system.entry.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
|
@@ -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-02e50f09.js');
|
|
6
|
+
const index_module = require('./index.module-df530553.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-e0d44916.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-cec9dd36.js');
|
|
16
16
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
17
17
|
|
|
18
18
|
const medium = {
|
|
@@ -448,11 +448,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
448
448
|
`;
|
|
449
449
|
function useShareLink(props) {
|
|
450
450
|
var _a, _b;
|
|
451
|
-
const { programId = index_module.
|
|
452
|
-
const user = index_module.
|
|
453
|
-
const engagementMedium = index_module.
|
|
454
|
-
const { data } = index_module.
|
|
455
|
-
const [sendLoadEvent] = index_module
|
|
451
|
+
const { programId = index_module.H() } = props;
|
|
452
|
+
const user = index_module.Q();
|
|
453
|
+
const engagementMedium = index_module.B();
|
|
454
|
+
const { data } = index_module.yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
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
|
|
458
458
|
"...";
|
|
@@ -537,15 +537,15 @@ function GenericShare(res, errorText) {
|
|
|
537
537
|
function useShareButton(props) {
|
|
538
538
|
var _a, _b;
|
|
539
539
|
const { sharetitle, sharetext, medium } = props;
|
|
540
|
-
const programId = props.programId ? props.programId : index_module.
|
|
541
|
-
const user = index_module.
|
|
540
|
+
const programId = props.programId ? props.programId : index_module.H();
|
|
541
|
+
const user = index_module.Q();
|
|
542
542
|
const variables = {
|
|
543
|
-
engagementMedium: index_module.
|
|
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.yn(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.yn(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.yn(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.yn(query, {
|
|
1043
1043
|
value: redeemedTotal,
|
|
1044
1044
|
unit,
|
|
1045
1045
|
locale,
|
|
@@ -1435,11 +1435,11 @@ const StatPaths = [
|
|
|
1435
1435
|
const StatPatterns = StatPaths.map((pattern) => index$1.pathToRegexp(pattern.route));
|
|
1436
1436
|
function useBigStat(props) {
|
|
1437
1437
|
var _a;
|
|
1438
|
-
const { statType, flexReverse, alignment, programId = index_module.
|
|
1438
|
+
const { statType, flexReverse, alignment, programId = index_module.H(), } = props;
|
|
1439
1439
|
// triggers a re-render if the label is manually changed
|
|
1440
1440
|
useChildElements.useChildElements();
|
|
1441
|
-
const locale = index_module.
|
|
1442
|
-
const userIdent = index_module.
|
|
1441
|
+
const locale = index_module.L();
|
|
1442
|
+
const userIdent = index_module.Q();
|
|
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 {
|
|
@@ -2815,75 +2815,6 @@ function NameFieldsView(props) {
|
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
2817
|
const style$a = {
|
|
2818
|
-
ErrorStyle: {
|
|
2819
|
-
"&::part(control)": {
|
|
2820
|
-
background: "var(--sl-color-danger-10)",
|
|
2821
|
-
borderColor: "var(--sl-color-danger-500)",
|
|
2822
|
-
outline: "var(--sl-color-danger-500)",
|
|
2823
|
-
},
|
|
2824
|
-
"&:host": {
|
|
2825
|
-
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
2826
|
-
},
|
|
2827
|
-
},
|
|
2828
|
-
ErrorMessageStyle: {
|
|
2829
|
-
margin: 0,
|
|
2830
|
-
marginTop: "5px",
|
|
2831
|
-
color: "var(--sl-color-danger-500)",
|
|
2832
|
-
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
2833
|
-
fontFamily: "var(--sl-font-sans)",
|
|
2834
|
-
fontWeight: "var(--sl-font-weight-normal)",
|
|
2835
|
-
},
|
|
2836
|
-
FieldContainer: {
|
|
2837
|
-
"margin-bottom": "var(--sl-spacing-large)",
|
|
2838
|
-
},
|
|
2839
|
-
};
|
|
2840
|
-
const vanillaStyle$6 = `
|
|
2841
|
-
:host {
|
|
2842
|
-
margin: 0 auto;
|
|
2843
|
-
width: 100%;
|
|
2844
|
-
display: block;
|
|
2845
|
-
}
|
|
2846
|
-
sl-checkbox::part(label){
|
|
2847
|
-
font-size: var(--sl-input-label-font-size-small);
|
|
2848
|
-
font-weight: var(--sl-font-weight-normal);
|
|
2849
|
-
line-height: 20px;
|
|
2850
|
-
}
|
|
2851
|
-
sl-checkbox::part(base){
|
|
2852
|
-
align-items: start;
|
|
2853
|
-
}
|
|
2854
|
-
`;
|
|
2855
|
-
JSS.jss.setup(JSS.create());
|
|
2856
|
-
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2857
|
-
const styleString$a = sheet$a.toString();
|
|
2858
|
-
function CheckboxFieldView(props) {
|
|
2859
|
-
var _a, _b, _c;
|
|
2860
|
-
const { states, content, callbacks } = props;
|
|
2861
|
-
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2862
|
-
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2863
|
-
index.h("style", { type: "text/css" },
|
|
2864
|
-
vanillaStyle$6,
|
|
2865
|
-
styleString$a),
|
|
2866
|
-
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2867
|
-
e.target.value = e.target.checked;
|
|
2868
|
-
callbacks.setChecked(e.target.value);
|
|
2869
|
-
} }, (!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])
|
|
2870
|
-
? {
|
|
2871
|
-
class: sheet$a.classes.ErrorStyle,
|
|
2872
|
-
}
|
|
2873
|
-
: [])),
|
|
2874
|
-
global.intl.formatMessage({
|
|
2875
|
-
id: content.checkboxName + "-message",
|
|
2876
|
-
defaultMessage: content.checkboxLabel,
|
|
2877
|
-
}, {
|
|
2878
|
-
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2879
|
-
}),
|
|
2880
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2881
|
-
id: `errorMessage-${content.checkboxName}`,
|
|
2882
|
-
defaultMessage: content.errorMessage,
|
|
2883
|
-
}))))));
|
|
2884
|
-
}
|
|
2885
|
-
|
|
2886
|
-
const style$b = {
|
|
2887
2818
|
ErrorStyle: {
|
|
2888
2819
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2889
2820
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2899,7 +2830,7 @@ const style$b = {
|
|
|
2899
2830
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2900
2831
|
},
|
|
2901
2832
|
};
|
|
2902
|
-
const vanillaStyle$
|
|
2833
|
+
const vanillaStyle$6 = `
|
|
2903
2834
|
:host {
|
|
2904
2835
|
margin: 0 auto;
|
|
2905
2836
|
width: 100%;
|
|
@@ -2911,36 +2842,36 @@ sl-select::part(label){
|
|
|
2911
2842
|
}
|
|
2912
2843
|
`;
|
|
2913
2844
|
JSS.jss.setup(JSS.create());
|
|
2914
|
-
const sheet$
|
|
2915
|
-
const styleString$
|
|
2845
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2846
|
+
const styleString$a = sheet$a.toString();
|
|
2916
2847
|
function DropdownFieldView(props) {
|
|
2917
2848
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2918
2849
|
const { states, content } = props;
|
|
2919
2850
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2920
|
-
return (index.h("div", { class: sheet$
|
|
2851
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2921
2852
|
index.h("style", { type: "text/css" },
|
|
2922
|
-
vanillaStyle$
|
|
2923
|
-
styleString$
|
|
2853
|
+
vanillaStyle$6,
|
|
2854
|
+
styleString$a),
|
|
2924
2855
|
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]) ? {
|
|
2925
2856
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2926
2857
|
}
|
|
2927
2858
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2928
|
-
class: sheet$
|
|
2859
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2929
2860
|
}
|
|
2930
2861
|
: [])), content.selectOptions),
|
|
2931
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2862
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2932
2863
|
id: `errorMessage-${content.dropdownName}`,
|
|
2933
2864
|
defaultMessage: content.errorMessage,
|
|
2934
2865
|
})))));
|
|
2935
2866
|
}
|
|
2936
2867
|
|
|
2937
|
-
const style$
|
|
2868
|
+
const style$b = {
|
|
2938
2869
|
ErrorStyle: mixins.ErrorStyles,
|
|
2939
2870
|
FieldContainer: {
|
|
2940
2871
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
2941
2872
|
},
|
|
2942
2873
|
};
|
|
2943
|
-
const vanillaStyle$
|
|
2874
|
+
const vanillaStyle$7 = `
|
|
2944
2875
|
:host {
|
|
2945
2876
|
margin: 0 auto;
|
|
2946
2877
|
width: 100%;
|
|
@@ -2948,21 +2879,21 @@ const vanillaStyle$8 = `
|
|
|
2948
2879
|
}
|
|
2949
2880
|
`;
|
|
2950
2881
|
JSS.jss.setup(JSS.create());
|
|
2951
|
-
const sheet$
|
|
2952
|
-
const styleString$
|
|
2882
|
+
const sheet$b = JSS.jss.createStyleSheet(style$b);
|
|
2883
|
+
const styleString$b = sheet$b.toString();
|
|
2953
2884
|
function InputFieldView(props) {
|
|
2954
2885
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2955
2886
|
const { states, content } = props;
|
|
2956
2887
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2957
|
-
return (index.h("div", { class: sheet$
|
|
2888
|
+
return (index.h("div", { class: sheet$b.classes.FieldContainer, part: "sqm-base" },
|
|
2958
2889
|
index.h("style", { type: "text/css" },
|
|
2959
|
-
vanillaStyle$
|
|
2960
|
-
styleString$
|
|
2890
|
+
vanillaStyle$7,
|
|
2891
|
+
styleString$b),
|
|
2961
2892
|
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]) ? {
|
|
2962
2893
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2963
2894
|
}
|
|
2964
2895
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2965
|
-
class: sheet$
|
|
2896
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2966
2897
|
helpText: global.intl.formatMessage({
|
|
2967
2898
|
id: `errorMessage-${content.fieldName}`,
|
|
2968
2899
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -3057,7 +2988,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
3057
2988
|
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 })))));
|
|
3058
2989
|
}
|
|
3059
2990
|
|
|
3060
|
-
const style$
|
|
2991
|
+
const style$c = {
|
|
3061
2992
|
HostBlock: mixins.HostBlock,
|
|
3062
2993
|
Container: {
|
|
3063
2994
|
minWidth: "300px",
|
|
@@ -3408,8 +3339,8 @@ const style$d = {
|
|
|
3408
3339
|
},
|
|
3409
3340
|
};
|
|
3410
3341
|
// JSS config
|
|
3411
|
-
const sheet$
|
|
3412
|
-
const styleString$
|
|
3342
|
+
const sheet$c = JSS.createStyleSheet(style$c);
|
|
3343
|
+
const styleString$c = sheet$c.toString();
|
|
3413
3344
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3414
3345
|
function RewardExchangeView(props) {
|
|
3415
3346
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3432,7 +3363,7 @@ function RewardExchangeView(props) {
|
|
|
3432
3363
|
sourceUnit: item.sourceUnit,
|
|
3433
3364
|
})));
|
|
3434
3365
|
}
|
|
3435
|
-
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$
|
|
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$c.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3436
3367
|
var _a, _b, _c, _d, _e;
|
|
3437
3368
|
return callbacks.setExchangeState({
|
|
3438
3369
|
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,
|
|
@@ -3440,7 +3371,7 @@ function RewardExchangeView(props) {
|
|
|
3440
3371
|
});
|
|
3441
3372
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3442
3373
|
var _a, _b;
|
|
3443
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3374
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$c.classes.SelectItem },
|
|
3444
3375
|
step.prettyDestinationValue,
|
|
3445
3376
|
index.h("br", null),
|
|
3446
3377
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3459,8 +3390,8 @@ function RewardExchangeView(props) {
|
|
|
3459
3390
|
var _a;
|
|
3460
3391
|
return [
|
|
3461
3392
|
index.h("div", { part: "choose-reward-container" },
|
|
3462
|
-
index.h("div", { class: sheet$
|
|
3463
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3393
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.rewardTitle),
|
|
3394
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$c.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3464
3395
|
var _a, _b, _c, _d, _e;
|
|
3465
3396
|
const style = {
|
|
3466
3397
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3469,7 +3400,7 @@ function RewardExchangeView(props) {
|
|
|
3469
3400
|
borderRadius: "4px",
|
|
3470
3401
|
};
|
|
3471
3402
|
return (index.h("div", { key: item.key, style: style },
|
|
3472
|
-
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$
|
|
3403
|
+
index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$c.classes.Card, style: {
|
|
3473
3404
|
cursor: item.unavailableReasonCode
|
|
3474
3405
|
? "not-allowed"
|
|
3475
3406
|
: "pointer",
|
|
@@ -3486,14 +3417,14 @@ function RewardExchangeView(props) {
|
|
|
3486
3417
|
? "rgba(0, 0, 0, 0.05)"
|
|
3487
3418
|
: "rgba(0, 0, 0, 0)",
|
|
3488
3419
|
} },
|
|
3489
|
-
index.h("div", { class: sheet$
|
|
3420
|
+
index.h("div", { class: sheet$c.classes.Image, style: {
|
|
3490
3421
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3491
3422
|
} },
|
|
3492
3423
|
index.h("img", { class: item.unavailableReasonCode
|
|
3493
3424
|
? "image subdued"
|
|
3494
3425
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3495
3426
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3496
|
-
index.h("div", { class: sheet$
|
|
3427
|
+
index.h("div", { class: sheet$c.classes.TextArea, style: {
|
|
3497
3428
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3498
3429
|
} },
|
|
3499
3430
|
index.h("div", { class: "title", style: {
|
|
@@ -3526,7 +3457,7 @@ function RewardExchangeView(props) {
|
|
|
3526
3457
|
item.prettySourceMinValue,
|
|
3527
3458
|
}))))))));
|
|
3528
3459
|
}))),
|
|
3529
|
-
index.h("div", { class: sheet$
|
|
3460
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3530
3461
|
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))),
|
|
3531
3462
|
];
|
|
3532
3463
|
}
|
|
@@ -3537,7 +3468,7 @@ function RewardExchangeView(props) {
|
|
|
3537
3468
|
? false
|
|
3538
3469
|
: input && !states.amount;
|
|
3539
3470
|
return (index.h("div", null,
|
|
3540
|
-
index.h("div", { class: sheet$
|
|
3471
|
+
index.h("div", { class: sheet$c.classes.ChooseAmount, part: "choose-amount-container" },
|
|
3541
3472
|
index.h("div", { class: "wrapper" },
|
|
3542
3473
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3543
3474
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3546,7 +3477,7 @@ function RewardExchangeView(props) {
|
|
|
3546
3477
|
((_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)),
|
|
3547
3478
|
((_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)),
|
|
3548
3479
|
index.h("div", { class: "space" }))),
|
|
3549
|
-
index.h("div", { class: sheet$
|
|
3480
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3550
3481
|
index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3551
3482
|
index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3552
3483
|
}
|
|
@@ -3554,8 +3485,8 @@ function RewardExchangeView(props) {
|
|
|
3554
3485
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3555
3486
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3556
3487
|
return (index.h("div", null,
|
|
3557
|
-
index.h("div", { class: sheet$
|
|
3558
|
-
index.h("div", { class: sheet$
|
|
3488
|
+
index.h("div", { class: sheet$c.classes.Confirmation, part: "confirmation-container" },
|
|
3489
|
+
index.h("div", { class: sheet$c.classes.Title }, states.content.text.redeemTitle),
|
|
3559
3490
|
index.h("div", { class: "wrapper" },
|
|
3560
3491
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3561
3492
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3570,13 +3501,13 @@ function RewardExchangeView(props) {
|
|
|
3570
3501
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3571
3502
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3572
3503
|
index.h("div", { class: "value" }, cost)),
|
|
3573
|
-
index.h("div", { class: sheet$
|
|
3504
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3574
3505
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3575
3506
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3576
3507
|
}
|
|
3577
3508
|
function success() {
|
|
3578
3509
|
var _a, _b, _c, _d, _e, _f;
|
|
3579
|
-
return (index.h("div", { class: sheet$
|
|
3510
|
+
return (index.h("div", { class: sheet$c.classes.Success, part: "success-container" },
|
|
3580
3511
|
index.h(Gift$1, null),
|
|
3581
3512
|
index.h(Confetti, null),
|
|
3582
3513
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3591,7 +3522,7 @@ function RewardExchangeView(props) {
|
|
|
3591
3522
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3592
3523
|
states.content.text.promoCode,
|
|
3593
3524
|
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 }))),
|
|
3594
|
-
index.h("div", { class: sheet$
|
|
3525
|
+
index.h("div", { class: sheet$c.classes.Button },
|
|
3595
3526
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3596
3527
|
}
|
|
3597
3528
|
const stages = {
|
|
@@ -3603,7 +3534,7 @@ function RewardExchangeView(props) {
|
|
|
3603
3534
|
const currentStage = stages[states.redeemStage];
|
|
3604
3535
|
function stageMap() {
|
|
3605
3536
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3606
|
-
return (index.h("div", { class: sheet$
|
|
3537
|
+
return (index.h("div", { class: sheet$c.classes.ProgressBar },
|
|
3607
3538
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3608
3539
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3609
3540
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3615,10 +3546,10 @@ function RewardExchangeView(props) {
|
|
|
3615
3546
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3616
3547
|
}
|
|
3617
3548
|
function loading() {
|
|
3618
|
-
return (index.h("div", { class: sheet$
|
|
3549
|
+
return (index.h("div", { class: sheet$c.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3619
3550
|
return (index.h("div", null,
|
|
3620
|
-
index.h("sl-card", { class: sheet$
|
|
3621
|
-
index.h("div", { class: sheet$
|
|
3551
|
+
index.h("sl-card", { class: sheet$c.classes.Card },
|
|
3552
|
+
index.h("div", { class: sheet$c.classes.CardLayout },
|
|
3622
3553
|
index.h("div", null,
|
|
3623
3554
|
index.h("sl-skeleton", { style: {
|
|
3624
3555
|
width: "100px",
|
|
@@ -3650,12 +3581,12 @@ function RewardExchangeView(props) {
|
|
|
3650
3581
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3651
3582
|
return;
|
|
3652
3583
|
refs.canvasRef.current = canvas;
|
|
3653
|
-
}, id: "my-canvas", class: sheet$
|
|
3584
|
+
}, id: "my-canvas", class: sheet$c.classes.Confetti }));
|
|
3654
3585
|
}
|
|
3655
3586
|
if (states.noExchangeOptions)
|
|
3656
3587
|
return states.content.text.empty;
|
|
3657
|
-
return (index.h("div", { class: sheet$
|
|
3658
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3588
|
+
return (index.h("div", { class: sheet$c.classes.Container, part: "sqm-base" },
|
|
3589
|
+
index.h("style", { type: "text/css" }, styleString$c),
|
|
3659
3590
|
index.h("div", null,
|
|
3660
3591
|
stageMap(),
|
|
3661
3592
|
states.exchangeError && errorMessage(),
|
|
@@ -4071,7 +4002,7 @@ function CardFeedView(props, children) {
|
|
|
4071
4002
|
index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
|
|
4072
4003
|
}
|
|
4073
4004
|
|
|
4074
|
-
const style$
|
|
4005
|
+
const style$d = {
|
|
4075
4006
|
HostBlock: mixins.HostBlock,
|
|
4076
4007
|
couponCodeLabel: {
|
|
4077
4008
|
margin: "var(--sl-spacing-x-small) 0",
|
|
@@ -4079,21 +4010,21 @@ const style$e = {
|
|
|
4079
4010
|
fontSize: "var(--sl-font-size-small)",
|
|
4080
4011
|
},
|
|
4081
4012
|
};
|
|
4082
|
-
const vanillaStyle$
|
|
4013
|
+
const vanillaStyle$8 = `
|
|
4083
4014
|
:host{
|
|
4084
4015
|
display: block;
|
|
4085
4016
|
width: 100%;
|
|
4086
4017
|
}
|
|
4087
4018
|
`;
|
|
4088
|
-
const sheet$
|
|
4089
|
-
const styleString$
|
|
4019
|
+
const sheet$d = JSS.createStyleSheet(style$d);
|
|
4020
|
+
const styleString$d = sheet$d.toString();
|
|
4090
4021
|
function CouponCodeView(props) {
|
|
4091
4022
|
const error = !props.loading && props.error;
|
|
4092
4023
|
return (index.h("div", null,
|
|
4093
4024
|
index.h("style", { type: "text/css" },
|
|
4094
|
-
styleString$
|
|
4095
|
-
vanillaStyle$
|
|
4096
|
-
index.h("p", { class: sheet$
|
|
4025
|
+
styleString$d,
|
|
4026
|
+
vanillaStyle$8),
|
|
4027
|
+
index.h("p", { class: sheet$d.classes.couponCodeLabel, style: { textAlign: props.textAlign } }, props.couponCodeLabel),
|
|
4097
4028
|
error ? (index.h("sqm-form-message", { type: props.errorType, exportparts: "erroralert-icon" },
|
|
4098
4029
|
index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(CopyTextView, Object.assign({}, props)))));
|
|
4099
4030
|
}
|
|
@@ -4185,7 +4116,6 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4185
4116
|
|
|
4186
4117
|
exports.BigStatView = BigStatView;
|
|
4187
4118
|
exports.CardFeedView = CardFeedView;
|
|
4188
|
-
exports.CheckboxFieldView = CheckboxFieldView;
|
|
4189
4119
|
exports.CopyTextView = CopyTextView;
|
|
4190
4120
|
exports.CouponCodeView = CouponCodeView;
|
|
4191
4121
|
exports.DropdownFieldView = DropdownFieldView;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-df530553.js');
|
|
5
5
|
|
|
6
6
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
7
7
|
__assign = Object.assign || function(t) {
|
|
@@ -26637,7 +26637,7 @@ sl-input::part(label){
|
|
|
26637
26637
|
|
|
26638
26638
|
`;
|
|
26639
26639
|
|
|
26640
|
-
index_module.
|
|
26640
|
+
index_module.U(stencilHooks_module.l);
|
|
26641
26641
|
const debug = stencilHooks_module.browser("sq:global");
|
|
26642
26642
|
const cache = createIntlCache();
|
|
26643
26643
|
const intl = createIntl({
|