@saasquatch/mint-components 1.12.1-2 → 1.12.1-21
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-e7d97410.js} +152 -117
- 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 → sqm-big-stat_40.cjs.entry.js} +241 -68
- 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-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-292b5bf4.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +9 -9
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
- 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 +7 -7
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +7 -7
- 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 +243 -179
- 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 -43
- 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 +47 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +217 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +115 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +3 -3
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +3 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -3
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +0 -4
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +3 -3
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-149b4015.js} +152 -118
- package/dist/esm/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm/{index.module-6c840c4e.js → index.module-def4aec5.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-12fd274a.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 → sqm-big-stat_40.entry.js} +241 -69
- 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-6e13a323.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-60ef06cc.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-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-4307c992.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-ffe955c8.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 +7 -7
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- 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 +243 -179
- 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-32e1bda1.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-46b89952.js} +3 -3
- package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +9 -9
- package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-9fc1ac80.js} +2 -2
- package/dist/esm/{utilities-443732be.js → utilities-3f5bba22.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-149b4015.js +1 -0
- package/dist/esm-es5/{global-6306a9b8.js → global-04c7d3b5.js} +2 -2
- package/dist/esm-es5/index.module-def4aec5.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-12fd274a.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-71915a5e.js → sqm-invoice-table-view-6e13a323.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-60ef06cc.js +1 -0
- 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-c6ac5430.js → sqm-portal-email-verification-view-4307c992.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-ffe955c8.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-32e1bda1.js} +1 -1
- package/dist/esm-es5/useInstantAccessRegistration-46b89952.js +1 -0
- package/dist/esm-es5/{useReferralTable-f6ffa103.js → useReferralTable-f4de0650.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-9fc1ac80.js +1 -0
- package/dist/esm-es5/{utilities-443732be.js → utilities-3f5bba22.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-f450654b.system.entry.js → p-01cfff8a.system.entry.js} +1 -1
- package/dist/mint-components/{p-94454880.entry.js → p-021a735d.entry.js} +1 -1
- package/dist/mint-components/{p-ac51940e.system.js → p-02424350.system.js} +1 -1
- package/dist/mint-components/p-03494732.entry.js +1 -0
- package/dist/mint-components/{p-59818690.system.entry.js → p-07f675ab.system.entry.js} +1 -1
- package/dist/mint-components/{p-11d1b212.js → p-0b9fa97f.js} +1 -1
- package/dist/mint-components/{p-5becb2ff.system.js → p-0d8c53ac.system.js} +1 -1
- package/dist/mint-components/p-10e89d0a.entry.js +1 -0
- package/dist/mint-components/{p-012daf3c.entry.js → p-137ea86e.entry.js} +1 -1
- package/dist/mint-components/p-1bfc8eb0.system.entry.js +1 -0
- package/dist/mint-components/p-1c857edb.entry.js +33 -0
- package/dist/mint-components/{p-e12d3414.system.entry.js → p-1dd69917.system.entry.js} +1 -1
- package/dist/mint-components/{p-d468925f.entry.js → p-2dd67762.entry.js} +1 -1
- package/dist/mint-components/{p-1d27da33.js → p-2ee2ebba.js} +2 -2
- package/dist/mint-components/{p-84b25a46.entry.js → p-3223ba7b.entry.js} +1 -1
- package/dist/mint-components/{p-f4cbbe47.entry.js → p-32d1d162.entry.js} +1 -1
- package/dist/mint-components/{p-cb433855.system.entry.js → p-35d84041.system.entry.js} +1 -1
- package/dist/mint-components/{p-4babe350.system.js → p-3d4656bb.system.js} +1 -1
- package/dist/mint-components/{p-f36e33ff.entry.js → p-3ec16698.entry.js} +2 -2
- package/dist/mint-components/{p-04348a9b.js → p-41a11a7f.js} +1 -1
- package/dist/mint-components/{p-3cb18382.system.js → p-44787d6e.system.js} +1 -1
- package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-4502ed11.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0e7635a.js → p-4d233cd4.js} +1 -1
- package/dist/mint-components/{p-cd44de66.system.js → p-4df8f1d2.system.js} +1 -1
- package/dist/mint-components/{p-7dd1ff31.system.entry.js → p-4ea58025.system.entry.js} +1 -1
- package/dist/mint-components/{p-a45b03d2.entry.js → p-4edde470.entry.js} +1 -1
- package/dist/mint-components/p-51f517a2.js +1 -0
- package/dist/mint-components/{p-bee1e573.entry.js → p-56f14840.entry.js} +1 -1
- package/dist/mint-components/{p-0527d90b.system.entry.js → p-58ef25d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc422446.system.js → p-59fe4ad1.system.js} +1 -1
- package/dist/mint-components/{p-cb38b9b0.system.entry.js → p-5b333fa8.system.entry.js} +1 -1
- package/dist/mint-components/p-5be235f9.entry.js +1 -0
- package/dist/mint-components/{p-bc826117.system.entry.js → p-5cac90e8.system.entry.js} +1 -1
- package/dist/mint-components/{p-22425c71.system.entry.js → p-5f1c4160.system.entry.js} +1 -1
- package/dist/mint-components/{p-0121e044.js → p-61eab172.js} +1 -1
- package/dist/mint-components/{p-4eae91a9.system.js → p-674a64fe.system.js} +1 -1
- package/dist/mint-components/{p-76392386.entry.js → p-6cef104b.entry.js} +1 -1
- package/dist/mint-components/{p-acd77a6e.entry.js → p-6f6a6518.entry.js} +32 -15
- package/dist/mint-components/{p-0893073b.entry.js → p-7049e9b0.entry.js} +1 -1
- package/dist/mint-components/p-711ba77e.system.entry.js +1 -0
- package/dist/mint-components/p-770368bc.system.js +1 -0
- package/dist/mint-components/{p-c3babfa4.system.entry.js → p-7731f793.system.entry.js} +1 -1
- package/dist/mint-components/p-79186b05.entry.js +9 -0
- package/dist/mint-components/p-79191f88.entry.js +1 -0
- package/dist/mint-components/p-7c6c96e2.system.entry.js +1 -0
- package/dist/mint-components/p-7f088154.entry.js +1 -0
- package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-8679ed9f.system.entry.js} +1 -1
- package/dist/mint-components/{p-6c928c7d.entry.js → p-86990110.entry.js} +1 -1
- package/dist/mint-components/{p-d83b0cf3.js → p-8704937c.js} +1 -1
- package/dist/mint-components/p-8b5b78ca.entry.js +1 -0
- package/dist/mint-components/p-8e907ac7.system.entry.js +1 -0
- package/dist/mint-components/p-91669312.entry.js +1 -0
- package/dist/mint-components/{p-f56348dc.system.entry.js → p-9c310991.system.entry.js} +1 -1
- package/dist/mint-components/{p-9ec008cb.system.entry.js → p-9f0629ba.system.entry.js} +1 -1
- package/dist/mint-components/{p-f531a5c9.system.entry.js → p-a1dba9a1.system.entry.js} +1 -1
- package/dist/mint-components/p-a6a7dcaa.js +1 -0
- package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-a7c2ced2.system.entry.js} +1 -1
- package/dist/mint-components/p-a8f7cb95.js +1 -0
- package/dist/mint-components/{p-03dbe2ce.entry.js → p-a9050eb0.entry.js} +1 -1
- package/dist/mint-components/{p-fd21ae8f.entry.js → p-aad11a68.entry.js} +1 -1
- package/dist/mint-components/p-ace06b9b.system.js +1 -0
- package/dist/mint-components/{p-04ced592.system.entry.js → p-af062c8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-1f7d7524.system.entry.js → p-afd366ae.system.entry.js} +1 -1
- package/dist/mint-components/p-b370fca8.system.js +1 -0
- package/dist/mint-components/{p-5291891c.entry.js → p-b4c52c5a.entry.js} +2 -2
- package/dist/mint-components/{p-36e9296e.system.entry.js → p-b5861974.system.entry.js} +1 -1
- package/dist/mint-components/{p-83c9f37b.system.entry.js → p-b6fc1227.system.entry.js} +1 -1
- package/dist/mint-components/p-ba0dfda9.js +391 -0
- package/dist/mint-components/{p-5cd917db.js → p-bb00db59.js} +1 -1
- package/dist/mint-components/{p-5fba1a04.system.entry.js → p-be4b748a.system.entry.js} +1 -1
- package/dist/mint-components/{p-8d554a89.system.js → p-c84659a3.system.js} +1 -1
- package/dist/mint-components/{p-9e0230c3.entry.js → p-ce5afa40.entry.js} +1 -1
- package/dist/mint-components/{p-2816bf6a.js → p-ce621bcc.js} +1 -1
- package/dist/mint-components/{p-88bf51b7.system.entry.js → p-cf690d55.system.entry.js} +1 -1
- package/dist/mint-components/p-d0ea10c3.system.entry.js +1 -0
- package/dist/mint-components/{p-4671e644.entry.js → p-d8d2de11.entry.js} +1 -1
- package/dist/mint-components/{p-4e373c3d.system.js → p-dd7ee007.system.js} +1 -1
- package/dist/mint-components/{p-d35d8c06.entry.js → p-e3735866.entry.js} +2 -2
- package/dist/mint-components/{p-68747d88.js → p-eaada4da.js} +1 -1
- package/dist/mint-components/{p-51d53165.system.entry.js → p-eba44835.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8233366.entry.js → p-ec41d6a4.entry.js} +1 -1
- package/dist/mint-components/{p-43621f12.system.js → p-ed095674.system.js} +1 -1
- package/dist/mint-components/{p-ca809fdd.system.js → p-ed17e637.system.js} +1 -1
- package/dist/mint-components/p-f3dd15c5.entry.js +13 -0
- package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-fb20eb5e.system.entry.js} +1 -1
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +3 -10
- 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 +28 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +39 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +1 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +1 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -1
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +1 -1
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +1 -1
- package/dist/types/components.d.ts +88 -24
- 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/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f8e78810.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-8b0a4556.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
- package/dist/mint-components/p-0c9ad5f3.system.entry.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-17f56865.entry.js +0 -9
- 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-947fe79b.entry.js +0 -1
- package/dist/mint-components/p-99c15c5e.entry.js +0 -1
- package/dist/mint-components/p-9d34f4f0.entry.js +0 -33
- package/dist/mint-components/p-a02afa72.system.js +0 -1
- package/dist/mint-components/p-a4282d02.system.entry.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-b651706a.js +0 -391
- 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-def516b8.system.js +0 -1
- package/dist/mint-components/p-f655a7df.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
2
|
import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist,
|
|
3
|
+
import { i as intl } from './global-04c7d3b5.js';
|
|
4
|
+
import { d as dist, H, Q, y as yn, f as $e, B, a as getEnvironmentSDK, L } from './index.module-def4aec5.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-32e1bda1.js';
|
|
9
9
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
|
|
12
12
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
13
|
-
import { a as isValidColor, b as isMobile } from './utilities-
|
|
13
|
+
import { a as isValidColor, b as isMobile } from './utilities-3f5bba22.js';
|
|
14
14
|
import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-6c582684.js';
|
|
15
15
|
|
|
16
16
|
const medium = {
|
|
@@ -446,11 +446,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
446
446
|
`;
|
|
447
447
|
function useShareLink(props) {
|
|
448
448
|
var _a, _b;
|
|
449
|
-
const { programId =
|
|
450
|
-
const user =
|
|
451
|
-
const engagementMedium =
|
|
452
|
-
const { data } =
|
|
453
|
-
const [sendLoadEvent] =
|
|
449
|
+
const { programId = H() } = props;
|
|
450
|
+
const user = Q();
|
|
451
|
+
const engagementMedium = B();
|
|
452
|
+
const { data } = yn(MessageLinkQuery, { programId, engagementMedium }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
453
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
454
454
|
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 :
|
|
455
455
|
// Shown during loading
|
|
456
456
|
"...";
|
|
@@ -535,15 +535,15 @@ function GenericShare(res, errorText) {
|
|
|
535
535
|
function useShareButton(props) {
|
|
536
536
|
var _a, _b;
|
|
537
537
|
const { sharetitle, sharetext, medium } = props;
|
|
538
|
-
const programId = props.programId ? props.programId :
|
|
539
|
-
const user =
|
|
538
|
+
const programId = props.programId ? props.programId : H();
|
|
539
|
+
const user = Q();
|
|
540
540
|
const variables = {
|
|
541
|
-
engagementMedium:
|
|
541
|
+
engagementMedium: B(),
|
|
542
542
|
programId: programId,
|
|
543
543
|
shareMedium: medium.toUpperCase(),
|
|
544
544
|
};
|
|
545
545
|
// only queries if a programId is available
|
|
546
|
-
const res =
|
|
546
|
+
const res = yn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
547
547
|
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;
|
|
548
548
|
const environment = getEnvironmentSDK();
|
|
549
549
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
@@ -567,7 +567,7 @@ function useShareButton(props) {
|
|
|
567
567
|
const debug = browser("sq:useBigStat");
|
|
568
568
|
const LOADING = "...";
|
|
569
569
|
const debugQuery = (query, variables, getStat) => {
|
|
570
|
-
const res =
|
|
570
|
+
const res = yn(query, variables);
|
|
571
571
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
572
572
|
console.error("issue getting stat:", res);
|
|
573
573
|
}
|
|
@@ -978,7 +978,7 @@ const rewardsRedeemedWeekQuery = (programId, locale, type, unit, global = "") =>
|
|
|
978
978
|
locale: $locale
|
|
979
979
|
formatType: UNIT_FORMATTED
|
|
980
980
|
)}`;
|
|
981
|
-
const result =
|
|
981
|
+
const result = yn(query, {
|
|
982
982
|
value: redeemedTotal,
|
|
983
983
|
unit,
|
|
984
984
|
locale,
|
|
@@ -1037,7 +1037,7 @@ const rewardsRedeemedMonthQuery = (programId, locale, type, unit, global = "") =
|
|
|
1037
1037
|
locale: $locale
|
|
1038
1038
|
formatType: UNIT_FORMATTED
|
|
1039
1039
|
)}`;
|
|
1040
|
-
const result =
|
|
1040
|
+
const result = yn(query, {
|
|
1041
1041
|
value: redeemedTotal,
|
|
1042
1042
|
unit,
|
|
1043
1043
|
locale,
|
|
@@ -1433,11 +1433,11 @@ const StatPaths = [
|
|
|
1433
1433
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1434
1434
|
function useBigStat(props) {
|
|
1435
1435
|
var _a;
|
|
1436
|
-
const { statType, flexReverse, alignment, programId =
|
|
1436
|
+
const { statType, flexReverse, alignment, programId = H(), } = props;
|
|
1437
1437
|
// triggers a re-render if the label is manually changed
|
|
1438
1438
|
useChildElements();
|
|
1439
|
-
const locale =
|
|
1440
|
-
const userIdent =
|
|
1439
|
+
const locale = L();
|
|
1440
|
+
const userIdent = Q();
|
|
1441
1441
|
const re = useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1442
1442
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1443
1443
|
return {
|
|
@@ -1747,6 +1747,109 @@ function PortalRegisterView(props) {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
1749
|
const style$6 = {
|
|
1750
|
+
ErrorStyle: {
|
|
1751
|
+
"&::part(control)": {
|
|
1752
|
+
background: "var(--sl-color-danger-10)",
|
|
1753
|
+
borderColor: "var(--sl-color-danger-500)",
|
|
1754
|
+
outline: "var(--sl-color-danger-500)",
|
|
1755
|
+
},
|
|
1756
|
+
"&:host": {
|
|
1757
|
+
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
1758
|
+
},
|
|
1759
|
+
},
|
|
1760
|
+
ErrorMessageStyle: {
|
|
1761
|
+
margin: 0,
|
|
1762
|
+
marginTop: "5px",
|
|
1763
|
+
color: "var(--sl-color-danger-500)",
|
|
1764
|
+
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
1765
|
+
fontFamily: "var(--sl-font-sans)",
|
|
1766
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
1767
|
+
},
|
|
1768
|
+
FieldContainer: {
|
|
1769
|
+
"margin-bottom": "var(--sl-spacing-large)",
|
|
1770
|
+
},
|
|
1771
|
+
};
|
|
1772
|
+
const vanillaStyle$4 = `
|
|
1773
|
+
:host {
|
|
1774
|
+
margin: 0 auto;
|
|
1775
|
+
width: 100%;
|
|
1776
|
+
display: block;
|
|
1777
|
+
}
|
|
1778
|
+
sl-checkbox::part(label){
|
|
1779
|
+
font-size: var(--sl-input-label-font-size-small);
|
|
1780
|
+
font-weight: var(--sl-font-weight-normal);
|
|
1781
|
+
line-height: 20px;
|
|
1782
|
+
}
|
|
1783
|
+
sl-checkbox::part(base){
|
|
1784
|
+
align-items: start;
|
|
1785
|
+
}
|
|
1786
|
+
`;
|
|
1787
|
+
jss.setup(create());
|
|
1788
|
+
const sheet$6 = jss.createStyleSheet(style$6);
|
|
1789
|
+
const styleString$6 = sheet$6.toString();
|
|
1790
|
+
function CheckboxFieldView(props) {
|
|
1791
|
+
var _b, _c;
|
|
1792
|
+
const { states, content, callbacks } = props;
|
|
1793
|
+
return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
|
|
1794
|
+
h("style", { type: "text/css" },
|
|
1795
|
+
vanillaStyle$4,
|
|
1796
|
+
styleString$6),
|
|
1797
|
+
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
1798
|
+
e.target.value = e.target.checked;
|
|
1799
|
+
callbacks.setChecked(e.target.value);
|
|
1800
|
+
} }, (!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 }), intl.formatMessage({
|
|
1801
|
+
id: content.checkboxName + "-message",
|
|
1802
|
+
defaultMessage: content.checkboxLabel,
|
|
1803
|
+
}, {
|
|
1804
|
+
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
1805
|
+
}))));
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
function ChangeMarktingView(props) {
|
|
1809
|
+
const { states, callbacks } = props;
|
|
1810
|
+
const { text, formState } = states;
|
|
1811
|
+
const { error } = formState;
|
|
1812
|
+
const style = {
|
|
1813
|
+
Container: {
|
|
1814
|
+
display: "flex",
|
|
1815
|
+
flexDirection: "column",
|
|
1816
|
+
gap: "var(--sl-spacing-x-small)",
|
|
1817
|
+
padding: "0 var(--sl-spacing-xxx-large) var(--sl-spacing-xxx-large)",
|
|
1818
|
+
},
|
|
1819
|
+
SubmitButton: { marginBottom: "var(--sl-spacing-medium)" },
|
|
1820
|
+
Error: {
|
|
1821
|
+
"&::part(erroralert-base)": {
|
|
1822
|
+
"margin-bottom": "15px",
|
|
1823
|
+
},
|
|
1824
|
+
},
|
|
1825
|
+
Success: {
|
|
1826
|
+
"&::part(successalert-base)": {
|
|
1827
|
+
"margin-bottom": "15px",
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
};
|
|
1831
|
+
const sheet = createStyleSheet(style);
|
|
1832
|
+
const styleString = sheet.toString();
|
|
1833
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
1834
|
+
h("style", { type: "text/css" }, styleString),
|
|
1835
|
+
h(TextSpanView, Object.assign({}, { type: "h2" }), text.emailPreferencesHeader),
|
|
1836
|
+
h("sl-form", { "onSl-submit": callbacks.onSubmit },
|
|
1837
|
+
h(CheckboxFieldView, { states: {
|
|
1838
|
+
checked: states.formState.marketingEmailOptIn,
|
|
1839
|
+
}, content: {
|
|
1840
|
+
checkboxLabel: text.marketingCheckboxLabel,
|
|
1841
|
+
checkboxName: "marketingEmailOptIn",
|
|
1842
|
+
}, callbacks: {
|
|
1843
|
+
setChecked: callbacks.setChecked,
|
|
1844
|
+
} }),
|
|
1845
|
+
h("sl-button", { class: sheet.classes.SubmitButton, type: "primary", submit: true, loading: states.loading, disabled: states.submitDisabled }, text.submitChangeButtonText),
|
|
1846
|
+
error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
|
|
1847
|
+
h("div", { part: "erroralert-text" }, error))),
|
|
1848
|
+
states.success && (h("sqm-form-message", { class: sheet.classes.Success, type: "success", exportparts: "successalert-icon" },
|
|
1849
|
+
h("div", { part: "successalert-text" }, states.text.successMessage))))));
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
const style$7 = {
|
|
1750
1853
|
Description: {
|
|
1751
1854
|
"& input[type=checkbox]": {
|
|
1752
1855
|
display: "none",
|
|
@@ -1785,13 +1888,13 @@ const style$6 = {
|
|
|
1785
1888
|
},
|
|
1786
1889
|
},
|
|
1787
1890
|
};
|
|
1788
|
-
const sheet$
|
|
1789
|
-
const styleString$
|
|
1891
|
+
const sheet$7 = createStyleSheet(style$7);
|
|
1892
|
+
const styleString$7 = sheet$7.toString();
|
|
1790
1893
|
function Details(props) {
|
|
1791
1894
|
const rid = Math.random().toString(36).slice(2);
|
|
1792
1895
|
return (h("div", { style: { opacity: props.opacity } },
|
|
1793
|
-
h("style", { type: "text/css" }, styleString$
|
|
1794
|
-
h("span", { class: sheet$
|
|
1896
|
+
h("style", { type: "text/css" }, styleString$7),
|
|
1897
|
+
h("span", { class: sheet$7.classes.Description },
|
|
1795
1898
|
h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1796
1899
|
h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1797
1900
|
h("sl-icon", { exportparts: "base: chevron-icon", name: "chevron-down" })),
|
|
@@ -1813,7 +1916,7 @@ const GreyGift = () => {
|
|
|
1813
1916
|
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" })));
|
|
1814
1917
|
};
|
|
1815
1918
|
|
|
1816
|
-
const style$
|
|
1919
|
+
const style$8 = {
|
|
1817
1920
|
ProgressBar: {
|
|
1818
1921
|
"& .progress-bar": {
|
|
1819
1922
|
height: "0",
|
|
@@ -1925,14 +2028,14 @@ const style$7 = {
|
|
|
1925
2028
|
},
|
|
1926
2029
|
},
|
|
1927
2030
|
};
|
|
1928
|
-
const sheet$
|
|
1929
|
-
const styleString$
|
|
2031
|
+
const sheet$8 = createStyleSheet(style$8, { classNamePrefix: "sqm-prog-bar" });
|
|
2032
|
+
const styleString$8 = sheet$8.toString();
|
|
1930
2033
|
function ProgressBarView(props) {
|
|
1931
2034
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1932
2035
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1933
2036
|
const { columns, items } = aggregate;
|
|
1934
|
-
return (h("div", { class: sheet$
|
|
1935
|
-
h("style", { type: "text/css" }, styleString$
|
|
2037
|
+
return (h("div", { class: sheet$8.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
2038
|
+
h("style", { type: "text/css" }, styleString$8),
|
|
1936
2039
|
h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1937
2040
|
(Boolean(finite) && progress > 2 * goal)
|
|
1938
2041
|
? "progress-bar repeatable-steps"
|
|
@@ -2223,7 +2326,7 @@ const arrow_left_right = () => {
|
|
|
2223
2326
|
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" })));
|
|
2224
2327
|
};
|
|
2225
2328
|
|
|
2226
|
-
const style$
|
|
2329
|
+
const style$9 = {
|
|
2227
2330
|
TaskCard: {
|
|
2228
2331
|
display: "inline-block",
|
|
2229
2332
|
width: "100%",
|
|
@@ -2377,8 +2480,8 @@ const style$8 = {
|
|
|
2377
2480
|
},
|
|
2378
2481
|
},
|
|
2379
2482
|
};
|
|
2380
|
-
const sheet$
|
|
2381
|
-
const styleString$
|
|
2483
|
+
const sheet$9 = createStyleSheet(style$9);
|
|
2484
|
+
const styleString$9 = sheet$9.toString();
|
|
2382
2485
|
function TaskCardView(props) {
|
|
2383
2486
|
var _a, _b;
|
|
2384
2487
|
const { callbacks, states, content } = props;
|
|
@@ -2414,11 +2517,11 @@ function TaskCardView(props) {
|
|
|
2414
2517
|
}
|
|
2415
2518
|
|
|
2416
2519
|
`;
|
|
2417
|
-
return (h("div", { class: sheet$
|
|
2520
|
+
return (h("div", { class: sheet$9.classes.TaskCard, part: "sqm-base" },
|
|
2418
2521
|
h("style", { type: "text/css" },
|
|
2419
|
-
styleString$
|
|
2522
|
+
styleString$9,
|
|
2420
2523
|
vanillaStyle),
|
|
2421
|
-
!states.loading && taskNotStarted && (h("div", { class: sheet$
|
|
2524
|
+
!states.loading && taskNotStarted && (h("div", { class: sheet$9.classes.NotStarted },
|
|
2422
2525
|
h("span", { class: "icon" },
|
|
2423
2526
|
h("sl-icon", { name: "info-circle-fill" })),
|
|
2424
2527
|
intl.formatMessage({
|
|
@@ -2429,7 +2532,7 @@ function TaskCardView(props) {
|
|
|
2429
2532
|
.setLocale(luxonLocale(states.locale))
|
|
2430
2533
|
.toLocaleString(luxon.DateTime.DATETIME_MED),
|
|
2431
2534
|
}))),
|
|
2432
|
-
!states.loading && taskEnded && (h("div", { class: sheet$
|
|
2535
|
+
!states.loading && taskEnded && (h("div", { class: sheet$9.classes.Ended },
|
|
2433
2536
|
h("span", { class: "icon" },
|
|
2434
2537
|
h("sl-icon", { exportparts: "base: task-card-icon", name: "exclamation-triangle-fill" })),
|
|
2435
2538
|
intl.formatMessage({
|
|
@@ -2449,7 +2552,7 @@ function TaskCardView(props) {
|
|
|
2449
2552
|
? "main complete"
|
|
2450
2553
|
: "main" },
|
|
2451
2554
|
h("div", { class: "container", part: "sqm-card-container", "data-subdue": taskComplete || taskUnavailable },
|
|
2452
|
-
h("div", { class: sheet$
|
|
2555
|
+
h("div", { class: sheet$9.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (h("div", null,
|
|
2453
2556
|
showComplete && (h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2454
2557
|
h("span", { part: "sqm-value", class: "value" }, content.rewardAmount),
|
|
2455
2558
|
h("span", { part: "sqm-unit", class: "text" }, content.rewardUnit)))),
|
|
@@ -2465,7 +2568,7 @@ function TaskCardView(props) {
|
|
|
2465
2568
|
} }, content.cardTitle)),
|
|
2466
2569
|
states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2467
2570
|
content.showProgressBar && states.loading ? (h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2468
|
-
h("div", { class: sheet$
|
|
2571
|
+
h("div", { class: sheet$9.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (h("div", { style: { display: "contents" } },
|
|
2469
2572
|
h("span", { class: "text" },
|
|
2470
2573
|
content.repeatable && (h("div", null,
|
|
2471
2574
|
h("span", { class: repetitions > 0
|
|
@@ -2536,7 +2639,7 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
|
|
|
2536
2639
|
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 })));
|
|
2537
2640
|
}
|
|
2538
2641
|
|
|
2539
|
-
const vanillaStyle$
|
|
2642
|
+
const vanillaStyle$5 = `
|
|
2540
2643
|
:host{
|
|
2541
2644
|
margin: 0 auto;
|
|
2542
2645
|
width: 100%;
|
|
@@ -2592,7 +2695,7 @@ function PortalFooterView(props) {
|
|
|
2592
2695
|
const styleString = sheet.toString();
|
|
2593
2696
|
return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
|
|
2594
2697
|
h("style", { type: "text/css" },
|
|
2595
|
-
vanillaStyle$
|
|
2698
|
+
vanillaStyle$5,
|
|
2596
2699
|
styleString),
|
|
2597
2700
|
h("div", { class: sheet.classes.RowContainer },
|
|
2598
2701
|
props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
|
|
@@ -2764,7 +2867,7 @@ function ReferralIframeView(props) {
|
|
|
2764
2867
|
h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2765
2868
|
}
|
|
2766
2869
|
|
|
2767
|
-
const style$
|
|
2870
|
+
const style$a = {
|
|
2768
2871
|
ErrorStyle: ErrorStyles,
|
|
2769
2872
|
FieldsContainer: {
|
|
2770
2873
|
"& sl-input": {
|
|
@@ -2772,7 +2875,7 @@ const style$9 = {
|
|
|
2772
2875
|
},
|
|
2773
2876
|
},
|
|
2774
2877
|
};
|
|
2775
|
-
const vanillaStyle$
|
|
2878
|
+
const vanillaStyle$6 = `
|
|
2776
2879
|
:host {
|
|
2777
2880
|
margin: 0 auto;
|
|
2778
2881
|
width: 100%;
|
|
@@ -2784,21 +2887,21 @@ sl-input::part(label){
|
|
|
2784
2887
|
font-weight: var(--sl-font-weight-semibold);
|
|
2785
2888
|
}
|
|
2786
2889
|
`;
|
|
2787
|
-
const sheet$
|
|
2788
|
-
const styleString$
|
|
2890
|
+
const sheet$a = createStyleSheet(style$a);
|
|
2891
|
+
const styleString$a = sheet$a.toString();
|
|
2789
2892
|
function NameFieldsView(props) {
|
|
2790
2893
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2791
2894
|
const { states } = props;
|
|
2792
2895
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2793
|
-
return (h("div", { class: sheet$
|
|
2896
|
+
return (h("div", { class: sheet$a.classes.FieldsContainer },
|
|
2794
2897
|
h("style", { type: "text/css" },
|
|
2795
|
-
vanillaStyle$
|
|
2796
|
-
styleString$
|
|
2898
|
+
vanillaStyle$6,
|
|
2899
|
+
styleString$a),
|
|
2797
2900
|
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) ? {
|
|
2798
2901
|
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2799
2902
|
}
|
|
2800
2903
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2801
|
-
class: sheet$
|
|
2904
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2802
2905
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2803
2906
|
}
|
|
2804
2907
|
: []))),
|
|
@@ -2806,81 +2909,12 @@ function NameFieldsView(props) {
|
|
|
2806
2909
|
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2807
2910
|
}
|
|
2808
2911
|
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2809
|
-
class: sheet$
|
|
2912
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2810
2913
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2811
2914
|
}
|
|
2812
2915
|
: [])))));
|
|
2813
2916
|
}
|
|
2814
2917
|
|
|
2815
|
-
const style$a = {
|
|
2816
|
-
ErrorStyle: {
|
|
2817
|
-
"&::part(control)": {
|
|
2818
|
-
background: "var(--sl-color-danger-10)",
|
|
2819
|
-
borderColor: "var(--sl-color-danger-500)",
|
|
2820
|
-
outline: "var(--sl-color-danger-500)",
|
|
2821
|
-
},
|
|
2822
|
-
"&:host": {
|
|
2823
|
-
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
2824
|
-
},
|
|
2825
|
-
},
|
|
2826
|
-
ErrorMessageStyle: {
|
|
2827
|
-
margin: 0,
|
|
2828
|
-
marginTop: "5px",
|
|
2829
|
-
color: "var(--sl-color-danger-500)",
|
|
2830
|
-
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
2831
|
-
fontFamily: "var(--sl-font-sans)",
|
|
2832
|
-
fontWeight: "var(--sl-font-weight-normal)",
|
|
2833
|
-
},
|
|
2834
|
-
FieldContainer: {
|
|
2835
|
-
"margin-bottom": "var(--sl-spacing-large)",
|
|
2836
|
-
},
|
|
2837
|
-
};
|
|
2838
|
-
const vanillaStyle$6 = `
|
|
2839
|
-
:host {
|
|
2840
|
-
margin: 0 auto;
|
|
2841
|
-
width: 100%;
|
|
2842
|
-
display: block;
|
|
2843
|
-
}
|
|
2844
|
-
sl-checkbox::part(label){
|
|
2845
|
-
font-size: var(--sl-input-label-font-size-small);
|
|
2846
|
-
font-weight: var(--sl-font-weight-normal);
|
|
2847
|
-
line-height: 20px;
|
|
2848
|
-
}
|
|
2849
|
-
sl-checkbox::part(base){
|
|
2850
|
-
align-items: start;
|
|
2851
|
-
}
|
|
2852
|
-
`;
|
|
2853
|
-
jss.setup(create());
|
|
2854
|
-
const sheet$a = jss.createStyleSheet(style$a);
|
|
2855
|
-
const styleString$a = sheet$a.toString();
|
|
2856
|
-
function CheckboxFieldView(props) {
|
|
2857
|
-
var _a, _b, _c;
|
|
2858
|
-
const { states, content, callbacks } = props;
|
|
2859
|
-
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2860
|
-
return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
|
|
2861
|
-
h("style", { type: "text/css" },
|
|
2862
|
-
vanillaStyle$6,
|
|
2863
|
-
styleString$a),
|
|
2864
|
-
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2865
|
-
e.target.value = e.target.checked;
|
|
2866
|
-
callbacks.setChecked(e.target.value);
|
|
2867
|
-
} }, (!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])
|
|
2868
|
-
? {
|
|
2869
|
-
class: sheet$a.classes.ErrorStyle,
|
|
2870
|
-
}
|
|
2871
|
-
: [])),
|
|
2872
|
-
intl.formatMessage({
|
|
2873
|
-
id: content.checkboxName + "-message",
|
|
2874
|
-
defaultMessage: content.checkboxLabel,
|
|
2875
|
-
}, {
|
|
2876
|
-
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2877
|
-
}),
|
|
2878
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, intl.formatMessage({
|
|
2879
|
-
id: `errorMessage-${content.checkboxName}`,
|
|
2880
|
-
defaultMessage: content.errorMessage,
|
|
2881
|
-
}))))));
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
2918
|
const style$b = {
|
|
2885
2919
|
ErrorStyle: {
|
|
2886
2920
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
@@ -4181,4 +4215,4 @@ const ShadowViewAddon = ({ story }, children) => {
|
|
|
4181
4215
|
h(TagName, { "stencilbook-shadow-view": randomInt })));
|
|
4182
4216
|
};
|
|
4183
4217
|
|
|
4184
|
-
export {
|
|
4218
|
+
export { success as A, BigStatView as B, CopyTextView as C, DropdownFieldView as D, EditProfileView as E, successVariable as F, loading as G, HeroView as H, InputFieldView as I, empty as J, rewardExchange as K, LeaderboardView as L, CardFeedView as M, NameFieldsView as N, CouponCodeView as O, PortalFrameView as P, ProgressBar as Q, ReferralIframeView as R, ShareButtonView as S, TaskCardView as T, autoColorScaleCss as U, ShadowViewAddon as V, useBigStat as W, withShadowView as X, demoRewardExchange as Y, useShareButton as a, useDemoBigStat as b, StatContainerView as c, PortalChangePasswordView as d, PortalLoginView as e, PortalRegisterView as f, ChangeMarktingView as g, ProgressBarView as h, PoweredByImg as i, PortalFooterView as j, CheckboxFieldView as k, RewardExchangeView as l, rewardExchangeLongText as m, rewardExchangeSelected as n, chooseAmountFixed as o, chooseAmountFixedNoDescription as p, chooseAmountVariable as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableNoDescription as s, chooseAmountVariableDisabled as t, useShareLink as u, chooseAmountVariableUnavailable as v, confirmFixed as w, confirmVariable as x, redemptionError as y, queryError as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
2
|
-
import { s as src, m as memoize,
|
|
2
|
+
import { s as src, m as memoize, U } from './index.module-def4aec5.js';
|
|
3
3
|
|
|
4
4
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
5
|
__assign = Object.assign || function(t) {
|
|
@@ -26635,7 +26635,7 @@ sl-input::part(label){
|
|
|
26635
26635
|
|
|
26636
26636
|
`;
|
|
26637
26637
|
|
|
26638
|
-
|
|
26638
|
+
U(l$1);
|
|
26639
26639
|
const debug = browser("sq:global");
|
|
26640
26640
|
const cache = createIntlCache();
|
|
26641
26641
|
const intl = createIntl({
|