@saasquatch/mint-components 1.12.1-14 → 1.12.1-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-63b78308.js → ShadowViewAddon-9aee7df5.js} +195 -90
- package/dist/cjs/{global-02e50f09.js → global-41c0a650.js} +1 -1
- package/dist/cjs/{index.module-df530553.js → index.module-d8342710.js} +12 -10
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-1976e05e.js → re-render-dd8d65bf.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +51 -51
- package/dist/cjs/{sqm-big-stat_39.cjs.entry.js → sqm-big-stat_40.cjs.entry.js} +220 -43
- package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
- package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-41a0b707.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +4 -4
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-navigation-sidebar-item-view-a125ec5f.js → sqm-navigation-sidebar-item-view-5f7886d6.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-292b5bf4.js → sqm-portal-email-verification-view-56fabc90.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c9c60a6.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +235 -172
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-57e11069.js} +1 -1
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-14ccf9d4.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-ef36b29e.js} +7 -7
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-7d608337.js} +1 -1
- package/dist/cjs/{utilities-cec9dd36.js → utilities-7df0fdad.js} +1 -1
- package/dist/collection/components/sqm-portal-change-marketing/ChangeMarketing.stories.js +55 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +5 -4
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +5 -5
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/esm/{ShadowViewAddon-272f75a5.js → ShadowViewAddon-cadd38e4.js} +194 -91
- package/dist/esm/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm/{index.module-48f73e70.js → index.module-3344e7dc.js} +4 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-cb4d43dc.js → re-render-29151677.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +51 -51
- package/dist/esm/{sqm-big-stat_39.entry.js → sqm-big-stat_40.entry.js} +218 -42
- package/dist/esm/sqm-close-button.entry.js +1 -1
- package/dist/esm/sqm-context-router.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
- package/dist/esm/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -4
- package/dist/esm/sqm-logout-current-user.entry.js +3 -3
- package/dist/esm/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
- package/dist/esm/sqm-portal-logout.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +6 -6
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-registration-form.entry.js +6 -6
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
- package/dist/esm/sqm-stencilbook.entry.js +235 -172
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +3 -3
- package/dist/esm/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +7 -7
- package/dist/esm/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-cadd38e4.js +1 -0
- package/dist/esm-es5/{global-62554cef.js → global-c1e70cb2.js} +1 -1
- package/dist/esm-es5/index.module-3344e7dc.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-cb4d43dc.js → re-render-29151677.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_40.entry.js +1 -0
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-41a14ca6.js → sqm-invoice-table-view-eb4b3f63.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-af40eedb.js → sqm-navigation-sidebar-item-view-08e47843.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-460bac1b.js → sqm-portal-email-verification-view-52a45f66.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-4caa9f28.js → sqm-portal-profile-view-4810da8a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-a6b895dd.js → useChildElements-cc98d6c4.js} +1 -1
- package/dist/esm-es5/{useInstantAccessRegistration-46a98499.js → useInstantAccessRegistration-e95685e5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-6e8350db.js → useReferralTable-f1ffc72e.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-de6b208e.js → useRegistrationFormState-4151cec4.js} +1 -1
- package/dist/esm-es5/{utilities-e8022681.js → utilities-4d60af2c.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-bd6d9d54.system.entry.js → p-00aa314d.system.entry.js} +1 -1
- package/dist/mint-components/{p-bda832b2.js → p-051dd2a0.js} +2 -2
- package/dist/mint-components/{p-3fefb1f4.entry.js → p-063f4458.entry.js} +32 -15
- package/dist/mint-components/p-06ab1968.js +1 -0
- package/dist/mint-components/p-0afb7d5d.system.js +1 -0
- package/dist/mint-components/{p-f99765fe.system.entry.js → p-0c06a6f5.system.entry.js} +1 -1
- package/dist/mint-components/{p-9bb9a767.system.js → p-0f65c86c.system.js} +1 -1
- package/dist/mint-components/{p-9982db11.entry.js → p-1064099e.entry.js} +1 -1
- package/dist/mint-components/{p-83df7db2.system.entry.js → p-17c59360.system.entry.js} +1 -1
- package/dist/mint-components/p-186542b8.system.js +1 -0
- package/dist/mint-components/{p-0f30148d.system.entry.js → p-19c94256.system.entry.js} +1 -1
- package/dist/mint-components/p-1ba5157e.js +1 -0
- package/dist/mint-components/{p-68160d49.system.entry.js → p-1ca1ca86.system.entry.js} +1 -1
- package/dist/mint-components/p-2037fbd3.js +1 -0
- package/dist/mint-components/{p-94324315.system.entry.js → p-284cc389.system.entry.js} +1 -1
- package/dist/mint-components/{p-23112de2.entry.js → p-29a80f6e.entry.js} +1 -1
- package/dist/mint-components/p-2b85b9d2.entry.js +1 -0
- package/dist/mint-components/p-30909368.entry.js +1 -0
- package/dist/mint-components/{p-5f20200a.entry.js → p-36332fc7.entry.js} +1 -1
- package/dist/mint-components/p-3d6eac77.js +1 -0
- package/dist/mint-components/p-3e87d803.entry.js +1 -0
- package/dist/mint-components/{p-30797093.system.entry.js → p-3edd4ea8.system.entry.js} +1 -1
- package/dist/mint-components/{p-13976be9.system.entry.js → p-40ad6540.system.entry.js} +1 -1
- package/dist/mint-components/{p-5de3473d.entry.js → p-42baa318.entry.js} +1 -1
- package/dist/mint-components/{p-2a2d4343.system.js → p-45b1b2be.system.js} +1 -1
- package/dist/mint-components/p-46af0bf6.system.js +1 -0
- package/dist/mint-components/{p-902770d7.entry.js → p-4893f186.entry.js} +1 -1
- package/dist/mint-components/{p-b169229a.entry.js → p-4c6c314b.entry.js} +1 -1
- package/dist/mint-components/{p-0068067d.entry.js → p-4e582dd8.entry.js} +1 -1
- package/dist/mint-components/p-50135af6.entry.js +1 -0
- package/dist/mint-components/{p-7726e4ea.system.entry.js → p-5bdf586c.system.entry.js} +1 -1
- package/dist/mint-components/p-5d86d0b4.entry.js +1 -0
- package/dist/mint-components/{p-92b08cb2.system.entry.js → p-63b5126d.system.entry.js} +1 -1
- package/dist/mint-components/p-658d5964.system.entry.js +1 -0
- package/dist/mint-components/p-67a8b7ae.system.js +1 -0
- package/dist/mint-components/{p-9a520e94.entry.js → p-69a0a791.entry.js} +2 -2
- package/dist/mint-components/{p-498c4ffd.system.entry.js → p-6a4b1ec0.system.entry.js} +1 -1
- package/dist/mint-components/{p-59111d6c.entry.js → p-6c9eb87a.entry.js} +1 -1
- package/dist/mint-components/{p-44c3791a.system.entry.js → p-6e50122b.system.entry.js} +1 -1
- package/dist/mint-components/p-6fdf020e.entry.js +1 -0
- package/dist/mint-components/{p-64b25dd9.entry.js → p-7a33cd80.entry.js} +1 -1
- package/dist/mint-components/p-7c49ebfa.entry.js +1 -0
- package/dist/mint-components/{p-c89c890e.entry.js → p-85f3c5d5.entry.js} +2 -2
- package/dist/mint-components/{p-0f010c01.system.js → p-8833552d.system.js} +1 -1
- package/dist/mint-components/{p-74d012fc.entry.js → p-91c1a54d.entry.js} +1 -1
- package/dist/mint-components/{p-b348d95c.js → p-920641bf.js} +1 -1
- package/dist/mint-components/{p-018088cc.entry.js → p-924384b2.entry.js} +2 -2
- package/dist/mint-components/{p-1d803c85.js → p-9276151f.js} +1 -1
- package/dist/mint-components/{p-115edc43.system.entry.js → p-98072a24.system.entry.js} +1 -1
- package/dist/mint-components/{p-5da7c982.system.js → p-99b2ff9c.system.js} +1 -1
- package/dist/mint-components/p-9e62ac1f.system.entry.js +1 -0
- package/dist/mint-components/{p-66d09e59.system.js → p-a1b5a82c.system.js} +1 -1
- package/dist/mint-components/{p-57ea9c0b.system.js → p-a2bce8d7.system.js} +1 -1
- package/dist/mint-components/{p-98602fa9.js → p-a7161d9f.js} +1 -1
- package/dist/mint-components/{p-74609159.system.js → p-a8ebb87a.system.js} +1 -1
- package/dist/mint-components/{p-baca1c93.system.entry.js → p-a8ec5664.system.entry.js} +1 -1
- package/dist/mint-components/{p-52acd113.entry.js → p-ac1fb0c4.entry.js} +1 -1
- package/dist/mint-components/{p-2364eb2d.system.entry.js → p-ad8dbab8.system.entry.js} +1 -1
- package/dist/mint-components/p-ae72631b.entry.js +9 -0
- package/dist/mint-components/{p-1bb2fd65.system.entry.js → p-b6557eff.system.entry.js} +1 -1
- package/dist/mint-components/{p-804de0cf.system.entry.js → p-b758d962.system.entry.js} +1 -1
- package/dist/mint-components/{p-ce5057f7.system.js → p-b8fff589.system.js} +1 -1
- package/dist/mint-components/{p-d71ec46e.system.entry.js → p-b9cab58d.system.entry.js} +1 -1
- package/dist/mint-components/{p-1bdacfcb.entry.js → p-bb873ddd.entry.js} +1 -1
- package/dist/mint-components/{p-6f980faf.system.js → p-c588e9c1.system.js} +1 -1
- package/dist/mint-components/{p-512089bb.js → p-c810bcfc.js} +1 -1
- package/dist/mint-components/{p-778b55a5.entry.js → p-cb029418.entry.js} +1 -1
- package/dist/mint-components/{p-6aed684b.js → p-cbfc4b47.js} +1 -1
- package/dist/mint-components/{p-cefffd56.system.entry.js → p-cd326a35.system.entry.js} +1 -1
- package/dist/mint-components/{p-c98cd85a.system.entry.js → p-d1ebd4c9.system.entry.js} +1 -1
- package/dist/mint-components/{p-df2ada74.entry.js → p-d2389ef4.entry.js} +1 -1
- package/dist/mint-components/{p-215d9dce.system.entry.js → p-d5b327ec.system.entry.js} +1 -1
- package/dist/mint-components/{p-fc58dc2f.system.entry.js → p-db0d4d3a.system.entry.js} +1 -1
- package/dist/mint-components/{p-da1e21f2.js → p-e10b0628.js} +1 -1
- package/dist/mint-components/{p-275b2841.system.entry.js → p-e4d14213.system.entry.js} +1 -1
- package/dist/mint-components/{p-7ab32670.entry.js → p-ea2075fd.entry.js} +2 -2
- package/dist/mint-components/p-ea46d642.js +391 -0
- package/dist/mint-components/{p-c4719154.js → p-eb64a65f.js} +1 -1
- package/dist/mint-components/{p-099c59cc.system.entry.js → p-ebab1714.system.entry.js} +1 -1
- package/dist/mint-components/{p-b7324c0e.system.entry.js → p-f093ed85.system.entry.js} +1 -1
- package/dist/mint-components/{p-9aa177d6.system.entry.js → p-f58c7201.system.entry.js} +1 -1
- package/dist/mint-components/{p-1eb21821.system.js → p-f8d2c679.system.js} +1 -1
- package/dist/mint-components/{p-513f79fb.entry.js → p-fa160846.entry.js} +2 -2
- package/dist/mint-components/{p-3b08cc52.entry.js → p-fcf7f4c1.entry.js} +1 -1
- package/dist/mint-components/{p-670d441e.system.entry.js → p-fe163a23.system.entry.js} +1 -1
- package/dist/types/components/sqm-portal-change-marketing/ChangeMarketing.stories.d.ts +8 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +2 -2
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +3 -3
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +2 -2
- package/dist/types/components.d.ts +4 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
- package/dist/cjs/sqm-checkbox-field-view-e0a31f2a.js +0 -66
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +0 -236
- package/dist/esm/sqm-checkbox-field-view-0ef58cb3.js +0 -64
- package/dist/esm/sqm-portal-change-marketing.entry.js +0 -232
- package/dist/esm-es5/ShadowViewAddon-272f75a5.js +0 -1
- package/dist/esm-es5/index.module-48f73e70.js +0 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +0 -1
- package/dist/esm-es5/sqm-checkbox-field-view-0ef58cb3.js +0 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +0 -1
- package/dist/mint-components/p-1514e0af.system.entry.js +0 -1
- package/dist/mint-components/p-175075e7.system.js +0 -1
- package/dist/mint-components/p-1e0f4667.entry.js +0 -9
- package/dist/mint-components/p-29023a9c.entry.js +0 -1
- package/dist/mint-components/p-30f84f8b.system.js +0 -1
- package/dist/mint-components/p-32642d34.js +0 -1
- package/dist/mint-components/p-481dedf2.system.js +0 -1
- package/dist/mint-components/p-48b07ec7.system.entry.js +0 -1
- package/dist/mint-components/p-4dcdf9b6.js +0 -1
- package/dist/mint-components/p-52553737.system.entry.js +0 -1
- package/dist/mint-components/p-5ab5131c.entry.js +0 -1
- package/dist/mint-components/p-711bb8da.entry.js +0 -1
- package/dist/mint-components/p-7eabcffc.js +0 -1
- package/dist/mint-components/p-8e3390b6.entry.js +0 -1
- package/dist/mint-components/p-9b4a99c4.js +0 -1
- package/dist/mint-components/p-a178a449.system.js +0 -1
- package/dist/mint-components/p-a6b36268.system.js +0 -1
- package/dist/mint-components/p-b07a88fd.js +0 -1
- package/dist/mint-components/p-b5b9f737.entry.js +0 -1
- package/dist/mint-components/p-b86003f6.entry.js +0 -1
- package/dist/mint-components/p-de0a29b2.js +0 -391
- package/dist/mint-components/p-e169497d.entry.js +0 -1
- package/dist/mint-components/p-f9067e53.entry.js +0 -18
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -4,23 +4,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
|
-
const reRender = require('./re-render-
|
|
14
|
-
const useChildElements = require('./useChildElements-
|
|
13
|
+
const reRender = require('./re-render-dd8d65bf.js');
|
|
14
|
+
const useChildElements = require('./useChildElements-57e11069.js');
|
|
15
15
|
require('./luxon-05098e19.js');
|
|
16
16
|
const utils = require('./utils-6847bc06.js');
|
|
17
17
|
require('./sqm-text-span-view-e1cd9bd3.js');
|
|
18
18
|
const index$1 = require('./index-8c6255f5.js');
|
|
19
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
20
|
-
const
|
|
21
|
-
const utilities = require('./utilities-cec9dd36.js');
|
|
19
|
+
const useRegistrationFormState = require('./useRegistrationFormState-7d608337.js');
|
|
20
|
+
const utilities = require('./utilities-7df0fdad.js');
|
|
22
21
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
23
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
22
|
+
const ShadowViewAddon = require('./ShadowViewAddon-9aee7df5.js');
|
|
24
23
|
require('./sqm-portal-container-view-990a85a3.js');
|
|
25
24
|
|
|
26
25
|
const BigStat = class {
|
|
@@ -256,7 +255,7 @@ const CheckboxField = class {
|
|
|
256
255
|
const { states, callbacks } = index_module.isDemo()
|
|
257
256
|
? useCheckboxFieldDemo(this)
|
|
258
257
|
: useCheckboxField(this);
|
|
259
|
-
return (index.h(
|
|
258
|
+
return (index.h(ShadowViewAddon.CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
|
|
260
259
|
}
|
|
261
260
|
};
|
|
262
261
|
function useCheckboxFieldDemo(props) {
|
|
@@ -303,11 +302,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
303
302
|
`;
|
|
304
303
|
function useCouponCode(props) {
|
|
305
304
|
var _a, _b, _c;
|
|
306
|
-
const user = index_module.
|
|
305
|
+
const user = index_module.J();
|
|
307
306
|
const programId = index_module.H();
|
|
308
307
|
const engagementMedium = index_module.B();
|
|
309
308
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
310
|
-
const { data, loading, refetch, errors } = index_module.
|
|
309
|
+
const { data, loading, refetch, errors } = index_module.wn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
311
310
|
const getStatus = (reward) => {
|
|
312
311
|
if (!reward || !reward.statuses)
|
|
313
312
|
return "ERROR";
|
|
@@ -697,12 +696,12 @@ const defaultFormState = {
|
|
|
697
696
|
error: "",
|
|
698
697
|
};
|
|
699
698
|
function useEditProfile(props) {
|
|
700
|
-
const userIdent = index_module.
|
|
699
|
+
const userIdent = index_module.J();
|
|
701
700
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
702
701
|
const [error, setError] = stencilHooks_module.useState("");
|
|
703
702
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
704
703
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
705
|
-
const userDataResponse = index_module.
|
|
704
|
+
const userDataResponse = index_module.wn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
706
705
|
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER);
|
|
707
706
|
stencilHooks_module.useEffect(() => {
|
|
708
707
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
@@ -1345,7 +1344,7 @@ function useLeaderboard(props) {
|
|
|
1345
1344
|
const programIdContext = index_module.H();
|
|
1346
1345
|
// Default to context, overriden by props
|
|
1347
1346
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1348
|
-
const user = index_module.
|
|
1347
|
+
const user = index_module.J();
|
|
1349
1348
|
const locale = index_module.L();
|
|
1350
1349
|
const variables = programId
|
|
1351
1350
|
? {
|
|
@@ -1365,8 +1364,8 @@ function useLeaderboard(props) {
|
|
|
1365
1364
|
if (props.maxRows > 0) {
|
|
1366
1365
|
variables["limit"] = props.maxRows;
|
|
1367
1366
|
}
|
|
1368
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.
|
|
1369
|
-
const { data: rankData } = index_module.
|
|
1367
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = index_module.wn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1368
|
+
const { data: rankData } = index_module.wn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1370
1369
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1371
1370
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1372
1371
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1627,7 +1626,7 @@ const MarketingEmailsCheckbox = class {
|
|
|
1627
1626
|
const { states, callbacks } = index_module.isDemo()
|
|
1628
1627
|
? useCheckboxFieldDemo$1(this)
|
|
1629
1628
|
: useCheckboxField(this);
|
|
1630
|
-
return (index.h(
|
|
1629
|
+
return (index.h(ShadowViewAddon.CheckboxFieldView, { states: states, content: content, callbacks: callbacks }));
|
|
1631
1630
|
}
|
|
1632
1631
|
};
|
|
1633
1632
|
function useCheckboxFieldDemo$1(props) {
|
|
@@ -1702,12 +1701,12 @@ function NavigationMenuView(props) {
|
|
|
1702
1701
|
}
|
|
1703
1702
|
|
|
1704
1703
|
function handleMenu(e) {
|
|
1705
|
-
index_module
|
|
1704
|
+
index_module.jn.push(e.detail.item.value);
|
|
1706
1705
|
}
|
|
1707
1706
|
function useNavigationMenu(props) {
|
|
1708
1707
|
const ref = stencilHooks_module.useRef();
|
|
1709
|
-
const [, rerender] = index_module.
|
|
1710
|
-
const user = index_module.
|
|
1708
|
+
const [, rerender] = index_module.yn();
|
|
1709
|
+
const user = index_module.J();
|
|
1711
1710
|
stencilHooks_module.useEffect(() => {
|
|
1712
1711
|
var _a;
|
|
1713
1712
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1759,13 +1758,190 @@ function useNavigationMenuDemo(props) {
|
|
|
1759
1758
|
}
|
|
1760
1759
|
NavigationMenu.style = sqmNavigationMenuCss;
|
|
1761
1760
|
|
|
1761
|
+
const GET_USER$1 = index_module.dist.gql `
|
|
1762
|
+
query {
|
|
1763
|
+
viewer {
|
|
1764
|
+
... on User {
|
|
1765
|
+
id
|
|
1766
|
+
accountId
|
|
1767
|
+
marketingEmailOptIn
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
`;
|
|
1772
|
+
const UPSERT_USER$1 = index_module.dist.gql `
|
|
1773
|
+
mutation ($userInput: UserInput!) {
|
|
1774
|
+
upsertUser(userInput: $userInput) {
|
|
1775
|
+
id
|
|
1776
|
+
marketingEmailOptIn
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
`;
|
|
1780
|
+
// view doesn't tolerate undefined, even when we're loading
|
|
1781
|
+
const defaultFormState$1 = {
|
|
1782
|
+
marketingEmailOptIn: false,
|
|
1783
|
+
errors: {},
|
|
1784
|
+
error: "",
|
|
1785
|
+
};
|
|
1786
|
+
function usePortalProfile(props) {
|
|
1787
|
+
const userIdent = index_module.J();
|
|
1788
|
+
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1789
|
+
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
1790
|
+
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState$1);
|
|
1791
|
+
const userDataResponse = index_module.wn(GET_USER$1, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
1792
|
+
const [upsertUser, upsertUserResponse] = index_module.$e(UPSERT_USER$1);
|
|
1793
|
+
stencilHooks_module.useEffect(() => {
|
|
1794
|
+
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
1795
|
+
return;
|
|
1796
|
+
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) {
|
|
1797
|
+
setFormState((state) => {
|
|
1798
|
+
var _a, _b, _c;
|
|
1799
|
+
return ({
|
|
1800
|
+
...state,
|
|
1801
|
+
error: (_c = (_b = (_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) === null || _a === void 0 ? void 0 : _a.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0].message,
|
|
1802
|
+
});
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
else {
|
|
1806
|
+
setUserData((state) => {
|
|
1807
|
+
var _a;
|
|
1808
|
+
return ({
|
|
1809
|
+
...state,
|
|
1810
|
+
...(_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.data) === null || _a === void 0 ? void 0 : _a.upsertUser,
|
|
1811
|
+
});
|
|
1812
|
+
});
|
|
1813
|
+
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.data)
|
|
1814
|
+
setSuccess(true);
|
|
1815
|
+
}
|
|
1816
|
+
}, [upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading]);
|
|
1817
|
+
stencilHooks_module.useEffect(() => {
|
|
1818
|
+
var _a, _b;
|
|
1819
|
+
setUserData((data) => { var _a; return ({ ...data, ...(_a = userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.data) === null || _a === void 0 ? void 0 : _a.viewer }); });
|
|
1820
|
+
setFormState({
|
|
1821
|
+
...defaultFormState$1,
|
|
1822
|
+
...(_a = userDataResponse.data) === null || _a === void 0 ? void 0 : _a.viewer,
|
|
1823
|
+
...(_b = upsertUserResponse.data) === null || _b === void 0 ? void 0 : _b.upsertUser,
|
|
1824
|
+
});
|
|
1825
|
+
}, [userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.data]);
|
|
1826
|
+
stencilHooks_module.useEffect(() => {
|
|
1827
|
+
var _a, _b;
|
|
1828
|
+
if ((_a = upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors) === null || _a === void 0 ? void 0 : _a.message) {
|
|
1829
|
+
setFormState({
|
|
1830
|
+
...(_b = userDataResponse.data) === null || _b === void 0 ? void 0 : _b.viewer,
|
|
1831
|
+
error: props.networkRequestMessage,
|
|
1832
|
+
});
|
|
1833
|
+
}
|
|
1834
|
+
}, [upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.errors]);
|
|
1835
|
+
const onSubmit = (event) => {
|
|
1836
|
+
var _a;
|
|
1837
|
+
setSuccess(false);
|
|
1838
|
+
const formData = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.formData;
|
|
1839
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
1840
|
+
jsonpointer.jsonpointer.set(formData, key, value);
|
|
1841
|
+
});
|
|
1842
|
+
upsertUser({
|
|
1843
|
+
userInput: {
|
|
1844
|
+
id: userIdent === null || userIdent === void 0 ? void 0 : userIdent.id,
|
|
1845
|
+
accountId: userIdent === null || userIdent === void 0 ? void 0 : userIdent.accountId,
|
|
1846
|
+
marketingEmailOptIn: Boolean(formData.marketingEmailOptIn),
|
|
1847
|
+
},
|
|
1848
|
+
});
|
|
1849
|
+
setFormState((s) => ({ ...s, errors: {}, error: "" }));
|
|
1850
|
+
return;
|
|
1851
|
+
};
|
|
1852
|
+
return {
|
|
1853
|
+
states: {
|
|
1854
|
+
success,
|
|
1855
|
+
loading: (userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.loading) || upsertUserResponse.loading,
|
|
1856
|
+
submitDisabled: false,
|
|
1857
|
+
formState,
|
|
1858
|
+
user: userData,
|
|
1859
|
+
text: {
|
|
1860
|
+
emailPreferencesHeader: props.emailPreferencesHeader,
|
|
1861
|
+
marketingCheckboxLabel: props.marketingCheckboxLabel,
|
|
1862
|
+
submitChangeButtonText: props.submitChangeButtonText,
|
|
1863
|
+
successMessage: props.successMessage,
|
|
1864
|
+
},
|
|
1865
|
+
},
|
|
1866
|
+
callbacks: {
|
|
1867
|
+
onSubmit,
|
|
1868
|
+
setChecked: (value) => setFormState({ ...formState, marketingEmailOptIn: value }),
|
|
1869
|
+
},
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
const PortalChangeMarketing = class {
|
|
1874
|
+
constructor(hostRef) {
|
|
1875
|
+
index.registerInstance(this, hostRef);
|
|
1876
|
+
this.ignored = true;
|
|
1877
|
+
/**
|
|
1878
|
+
* @uiName Email preferences header
|
|
1879
|
+
*/
|
|
1880
|
+
this.emailPreferencesHeader = "Email preferences";
|
|
1881
|
+
/**
|
|
1882
|
+
* @uiName Marketing checkbox label
|
|
1883
|
+
*/
|
|
1884
|
+
this.marketingCheckboxLabel = "I want to receive marketing emails and promotions for this referral program from impact.com";
|
|
1885
|
+
/**
|
|
1886
|
+
* @uiName Submit changes button text
|
|
1887
|
+
*/
|
|
1888
|
+
this.submitChangeButtonText = "Save";
|
|
1889
|
+
/**
|
|
1890
|
+
* @uiName Network request error message
|
|
1891
|
+
* Displayed when the page fails to load due to a network error. The participant can try refreshing the page.
|
|
1892
|
+
*/
|
|
1893
|
+
this.networkRequestMessage = "An error occurred while loading this page. Please refresh the page.";
|
|
1894
|
+
/**
|
|
1895
|
+
* @uiName Successful update message
|
|
1896
|
+
*/
|
|
1897
|
+
this.successMessage = "Opt-in preference has been changed.";
|
|
1898
|
+
stencilHooks_module.h$1(this);
|
|
1899
|
+
}
|
|
1900
|
+
disconnectedCallback() { }
|
|
1901
|
+
render() {
|
|
1902
|
+
const props = index_module.isDemo()
|
|
1903
|
+
? usePortalProfileDemo(utils.getProps(this))
|
|
1904
|
+
: usePortalProfile(utils.getProps(this));
|
|
1905
|
+
return index.h(ShadowViewAddon.ChangeMarktingView, Object.assign({}, props));
|
|
1906
|
+
}
|
|
1907
|
+
};
|
|
1908
|
+
function usePortalProfileDemo(props) {
|
|
1909
|
+
return cjs.cjs({
|
|
1910
|
+
states: {
|
|
1911
|
+
success: false,
|
|
1912
|
+
loading: false,
|
|
1913
|
+
submitDisabled: false,
|
|
1914
|
+
user: {
|
|
1915
|
+
id: "01",
|
|
1916
|
+
accountId: "111100000",
|
|
1917
|
+
marketingEmailOptIn: false,
|
|
1918
|
+
},
|
|
1919
|
+
text: {
|
|
1920
|
+
emailPreferencesHeader: props.emailPreferencesHeader,
|
|
1921
|
+
marketingCheckboxLabel: props.marketingCheckboxLabel,
|
|
1922
|
+
submitChangeButtonText: props.submitChangeButtonText,
|
|
1923
|
+
successMessage: props.successMessage,
|
|
1924
|
+
},
|
|
1925
|
+
formState: {
|
|
1926
|
+
marketingEmailOptIn: false,
|
|
1927
|
+
errors: null,
|
|
1928
|
+
error: "",
|
|
1929
|
+
},
|
|
1930
|
+
},
|
|
1931
|
+
callbacks: {
|
|
1932
|
+
onSubmit: (e) => console.log(e),
|
|
1933
|
+
setChecked: () => { },
|
|
1934
|
+
},
|
|
1935
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1762
1938
|
function usePortalChangePassword(props) {
|
|
1763
1939
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1764
1940
|
const [request, { loading, errors, data }] = index_module.Ue();
|
|
1765
1941
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
1766
1942
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1767
1943
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
1768
|
-
const user = index_module.
|
|
1944
|
+
const user = index_module.J();
|
|
1769
1945
|
const submit = async (event) => {
|
|
1770
1946
|
var _a, _b;
|
|
1771
1947
|
setSuccess(false);
|
|
@@ -2007,7 +2183,7 @@ const PortalFooter = class {
|
|
|
2007
2183
|
};
|
|
2008
2184
|
|
|
2009
2185
|
function usePortalFrame(footerContent, headerContent) {
|
|
2010
|
-
const [, rerender] = index_module.
|
|
2186
|
+
const [, rerender] = index_module.yn();
|
|
2011
2187
|
return {
|
|
2012
2188
|
data: {
|
|
2013
2189
|
footer: footerContent,
|
|
@@ -2057,9 +2233,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
2057
2233
|
|
|
2058
2234
|
function usePortalLogin(props) {
|
|
2059
2235
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
2060
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2236
|
+
const [request, { loading, errors, data }] = index_module.je();
|
|
2061
2237
|
const [error, setError] = stencilHooks_module.useState("");
|
|
2062
|
-
const urlParams = new URLSearchParams(index_module
|
|
2238
|
+
const urlParams = new URLSearchParams(index_module.jn.location.search);
|
|
2063
2239
|
const nextPageOverride = urlParams.get("nextPage");
|
|
2064
2240
|
const submit = async (event) => {
|
|
2065
2241
|
var _a, _b;
|
|
@@ -2078,7 +2254,7 @@ function usePortalLogin(props) {
|
|
|
2078
2254
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
2079
2255
|
urlParams.delete("nextPage");
|
|
2080
2256
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
2081
|
-
index_module
|
|
2257
|
+
index_module.jn.push(url.href);
|
|
2082
2258
|
}
|
|
2083
2259
|
};
|
|
2084
2260
|
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
@@ -2157,8 +2333,8 @@ const PortalLogin = class {
|
|
|
2157
2333
|
? useLoginDemo(this)
|
|
2158
2334
|
: usePortalLogin(this);
|
|
2159
2335
|
const content = {
|
|
2160
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module
|
|
2161
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module
|
|
2336
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2337
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath) }, this.registerLabel))),
|
|
2162
2338
|
emailLabel: this.emailLabel,
|
|
2163
2339
|
passwordLabel: this.passwordLabel,
|
|
2164
2340
|
submitLabel: this.submitLabel,
|
|
@@ -2187,7 +2363,7 @@ function usePortalRegister(props) {
|
|
|
2187
2363
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2188
2364
|
const formRef = stencilHooks_module.useRef(null);
|
|
2189
2365
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
2190
|
-
const [request, { loading, errors, data }] = index_module.
|
|
2366
|
+
const [request, { loading, errors, data }] = index_module.Ve();
|
|
2191
2367
|
stencilHooks_module.useEffect(() => {
|
|
2192
2368
|
if (!formRef.current)
|
|
2193
2369
|
return;
|
|
@@ -2260,7 +2436,7 @@ function usePortalRegister(props) {
|
|
|
2260
2436
|
validationErrors: {},
|
|
2261
2437
|
});
|
|
2262
2438
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2263
|
-
index_module
|
|
2439
|
+
index_module.jn.push(props.nextPage);
|
|
2264
2440
|
}
|
|
2265
2441
|
}
|
|
2266
2442
|
catch (error) {
|
|
@@ -2434,7 +2610,7 @@ const PortalRegister = class {
|
|
|
2434
2610
|
: usePortalRegister(this);
|
|
2435
2611
|
const content = {
|
|
2436
2612
|
formData: index.h("slot", { name: "formData" }),
|
|
2437
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module
|
|
2613
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.loginPath) }, this.loginLabel))),
|
|
2438
2614
|
terms: index.h("slot", { name: "terms" }),
|
|
2439
2615
|
emailLabel: this.emailLabel,
|
|
2440
2616
|
passwordLabel: this.passwordLabel,
|
|
@@ -2609,7 +2785,7 @@ function useProgramMenu(props) {
|
|
|
2609
2785
|
const host = index_module._();
|
|
2610
2786
|
debug({ programId, props });
|
|
2611
2787
|
const ref = stencilHooks_module.useRef();
|
|
2612
|
-
const [, rerender] = index_module.
|
|
2788
|
+
const [, rerender] = index_module.yn();
|
|
2613
2789
|
stencilHooks_module.useEffect(() => {
|
|
2614
2790
|
var _a;
|
|
2615
2791
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2788,8 +2964,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
2788
2964
|
function useReferralIframe(props) {
|
|
2789
2965
|
var _a;
|
|
2790
2966
|
const programId = index_module.H();
|
|
2791
|
-
const user = index_module.
|
|
2792
|
-
const { data } = index_module.
|
|
2967
|
+
const user = index_module.J();
|
|
2968
|
+
const { data } = index_module.wn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2793
2969
|
return {
|
|
2794
2970
|
states: {
|
|
2795
2971
|
content: props,
|
|
@@ -3514,9 +3690,9 @@ function useRewardExchangeList(props) {
|
|
|
3514
3690
|
});
|
|
3515
3691
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
3516
3692
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3517
|
-
const user = index_module.
|
|
3693
|
+
const user = index_module.J();
|
|
3518
3694
|
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.$e(EXCHANGE);
|
|
3519
|
-
const { data, loading, refetch, errors: queryError, } = index_module.
|
|
3695
|
+
const { data, loading, refetch, errors: queryError, } = index_module.wn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3520
3696
|
stencilHooks_module.useEffect(() => {
|
|
3521
3697
|
var _a, _b;
|
|
3522
3698
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -3535,7 +3711,7 @@ function useRewardExchangeList(props) {
|
|
|
3535
3711
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3536
3712
|
canvas.confetti();
|
|
3537
3713
|
}, [canvasRef.current]);
|
|
3538
|
-
const { refresh } = index_module.
|
|
3714
|
+
const { refresh } = index_module.Qe();
|
|
3539
3715
|
async function exchangeReward() {
|
|
3540
3716
|
if (!selectedItem)
|
|
3541
3717
|
return;
|
|
@@ -3843,7 +4019,7 @@ function matchPath(pattern, page) {
|
|
|
3843
4019
|
return regexp.exec(page);
|
|
3844
4020
|
}
|
|
3845
4021
|
function useRouter() {
|
|
3846
|
-
const location = index_module.
|
|
4022
|
+
const location = index_module.kn();
|
|
3847
4023
|
const host = index_module._();
|
|
3848
4024
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
3849
4025
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
@@ -4106,9 +4282,9 @@ const WIDGET_ENGAGEMENT_EVENT$1 = index_module.dist.gql `
|
|
|
4106
4282
|
function useShareCode(props) {
|
|
4107
4283
|
var _a, _b;
|
|
4108
4284
|
const { programId = index_module.H() } = props;
|
|
4109
|
-
const user = index_module.
|
|
4285
|
+
const user = index_module.J();
|
|
4110
4286
|
const engagementMedium = index_module.B();
|
|
4111
|
-
const { data } = index_module.
|
|
4287
|
+
const { data } = index_module.wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4112
4288
|
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4113
4289
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
4114
4290
|
// Shown during loading
|
|
@@ -4308,10 +4484,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
4308
4484
|
}
|
|
4309
4485
|
`;
|
|
4310
4486
|
function useTaskCard(props) {
|
|
4311
|
-
const user = index_module.
|
|
4487
|
+
const user = index_module.J();
|
|
4312
4488
|
const locale = index_module.L();
|
|
4313
4489
|
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.$e(SEND_EVENT);
|
|
4314
|
-
const { refresh } = index_module.
|
|
4490
|
+
const { refresh } = index_module.Qe();
|
|
4315
4491
|
stencilHooks_module.useEffect(() => {
|
|
4316
4492
|
if (data) {
|
|
4317
4493
|
refresh();
|
|
@@ -4632,8 +4808,8 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
4632
4808
|
`;
|
|
4633
4809
|
function useUserName(props) {
|
|
4634
4810
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4635
|
-
const user = index_module.
|
|
4636
|
-
const res = index_module.
|
|
4811
|
+
const user = index_module.J();
|
|
4812
|
+
const res = index_module.wn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4637
4813
|
const loading = res.loading;
|
|
4638
4814
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
4639
4815
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|
|
@@ -4692,6 +4868,7 @@ exports.sqm_link_button = LinkButton;
|
|
|
4692
4868
|
exports.sqm_marketing_emails_checkbox = MarketingEmailsCheckbox;
|
|
4693
4869
|
exports.sqm_name_fields = NameFields;
|
|
4694
4870
|
exports.sqm_navigation_menu = NavigationMenu;
|
|
4871
|
+
exports.sqm_portal_change_marketing = PortalChangeMarketing;
|
|
4695
4872
|
exports.sqm_portal_change_password = PortalChangePassword;
|
|
4696
4873
|
exports.sqm_portal_footer = PortalFooter;
|
|
4697
4874
|
exports.sqm_portal_frame = PortalFrame;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
require('./mixins-fe9d4112.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const sqmCloseButtonView = require('./sqm-close-button-view-fd6e8f60.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index$1 = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
9
|
const index = require('./index-8c6255f5.js');
|
|
10
10
|
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
require('./index.module-
|
|
7
|
+
const global = require('./global-41c0a650.js');
|
|
8
|
+
require('./index.module-d8342710.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const sqmPortalContainerView = require('./sqm-portal-container-view-990a85a3.js');
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
|
|
9
9
|
async function useGraphQLClientProvider({ domain }) {
|
|
10
|
-
const token = index_module.
|
|
10
|
+
const token = index_module.G();
|
|
11
11
|
const appDomain = domain;
|
|
12
|
-
const tenantAlias = index_module.
|
|
12
|
+
const tenantAlias = index_module.Q();
|
|
13
13
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
14
14
|
const managedIdentityClient = index_module.Ee(appDomain, tenantAlias, token);
|
|
15
15
|
const [, setGraphQLClient] = stencilHooks_module.m(index_module.Pe, managedIdentityClient);
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
require('./jsonpointer-11327262.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const emailRegistrationView = require('./email-registration-view-248652bb.js');
|
|
13
|
-
require('./useRegistrationFormState-
|
|
14
|
-
const useInstantAccessRegistration = require('./useInstantAccessRegistration-
|
|
13
|
+
require('./useRegistrationFormState-7d608337.js');
|
|
14
|
+
const useInstantAccessRegistration = require('./useInstantAccessRegistration-14ccf9d4.js');
|
|
15
15
|
|
|
16
16
|
const InstantAccessRegistration = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
const index_module = require('./index.module-
|
|
7
|
+
const global = require('./global-41c0a650.js');
|
|
8
|
+
const index_module = require('./index.module-d8342710.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
11
11
|
|
|
@@ -27,7 +27,7 @@ function useLeaderboardRank(props) {
|
|
|
27
27
|
const programIdContext = index_module.H();
|
|
28
28
|
// Default to context, overriden by props
|
|
29
29
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
30
|
-
const user = index_module.
|
|
30
|
+
const user = index_module.J();
|
|
31
31
|
const rankVariables = programId
|
|
32
32
|
? {
|
|
33
33
|
type: props.leaderboardType,
|
|
@@ -40,7 +40,7 @@ function useLeaderboardRank(props) {
|
|
|
40
40
|
if (props.interval) {
|
|
41
41
|
rankVariables.filter["interval"] = props.interval;
|
|
42
42
|
}
|
|
43
|
-
const { data: rankData } = index_module.
|
|
43
|
+
const { data: rankData } = index_module.wn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
44
44
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? global.intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
45
45
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
46
46
|
})
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./JSS-8503a151.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -23,8 +23,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
23
23
|
`;
|
|
24
24
|
function useLogoutCurrentUser(props) {
|
|
25
25
|
var _a, _b;
|
|
26
|
-
const user = index_module.
|
|
27
|
-
const { loading, data } = index_module.
|
|
26
|
+
const user = index_module.J();
|
|
27
|
+
const { loading, data } = index_module.wn(GET_USER_DETAILS, {}, !user);
|
|
28
28
|
const onSwitchClick = () => {
|
|
29
29
|
index_module.setUserIdentity(undefined);
|
|
30
30
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-d8342710.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { part: "sqm-link", href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module
|
|
38
|
+
index_module.jn.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const cjs = require('./cjs-1066ec21.js');
|
|
9
9
|
require('./mixins-fe9d4112.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
12
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-5f7886d6.js');
|
|
13
13
|
|
|
14
14
|
function useNavigationSidebarItem(props) {
|
|
15
|
-
const currentPage = index_module.
|
|
15
|
+
const currentPage = index_module.kn();
|
|
16
16
|
return {
|
|
17
17
|
states: {
|
|
18
18
|
active: currentPage.pathname === props.path,
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
|
|
7
|
-
const index_module = require('./index.module-
|
|
7
|
+
const index_module = require('./index.module-d8342710.js');
|
|
8
8
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-921704fb.js');
|
|
9
9
|
|
|
10
10
|
const NavigationSidebar = class {
|
|
@@ -20,7 +20,7 @@ const NavigationSidebar = class {
|
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
function useNavigationSidebar() {
|
|
23
|
-
const location = index_module.
|
|
23
|
+
const location = index_module.kn();
|
|
24
24
|
const programId = index_module.H();
|
|
25
25
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
26
26
|
// Close hamburger menu after navigation
|