@saasquatch/mint-components 1.5.0-85 → 1.5.0-89
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-92b80d99.js → ShadowViewAddon-30bea908.js} +10 -10
- package/dist/cjs/{global-4c495d76.js → global-633d1fb7.js} +1 -1
- package/dist/cjs/{index.module-54724339.js → index.module-f972f103.js} +6189 -6189
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-2f8d0f37.js → re-render-1ef744c7.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
- package/dist/cjs/sqm-big-stat.cjs.entry.js +3 -3
- package/dist/cjs/sqm-brand_27.cjs.entry.js +79 -61
- package/dist/cjs/sqm-empty_7.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-name-fields.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-da648fbc.js → sqm-navigation-sidebar-item-view-2ac54715.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- 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-1552442a.js → sqm-portal-email-verification-view-c32a55d6.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-footer-view-15ce261b.js → sqm-portal-footer-view-cac67bc9.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-659635e9.js → sqm-portal-profile-view-dea275e0.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +420 -38
- package/dist/cjs/sqm-refresh-button.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +220 -45
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +792 -204
- package/dist/cjs/sqm-tabs.cjs.entry.js +46 -18
- package/dist/cjs/{useChildElements-a68699b4.js → useChildElements-3ce892db.js} +1 -1
- package/dist/cjs/{useDemoBigStat-426e3319.js → useDemoBigStat-99093687.js} +4 -4
- package/dist/cjs/{useReferralTable-45f295ba.js → useReferralTable-464dd3a0.js} +20 -14
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -1
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +30 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +26 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +26 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +29 -0
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +45 -4
- package/dist/collection/components/sqm-referral-table/mockReferralData.js +314 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +67 -30
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +13 -348
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +15 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +1 -1
- package/dist/collection/components/sqm-rewards-table/mockRewardData.js +166 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +48 -36
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-scroll/Scroll.stories.js +27 -36
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +3 -3
- package/dist/collection/components/sqm-scroll/useScroll.js +18 -0
- package/dist/collection/components/sqm-tabs/Tabs.stories.js +80 -11
- package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +16 -15
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +32 -2
- package/dist/collection/components/sqm-tabs/useTabs.js +28 -1
- package/dist/esm/{ShadowViewAddon-8cb393d4.js → ShadowViewAddon-67cc91dc.js} +12 -12
- package/dist/esm/{global-c2179248.js → global-7d4eb5e5.js} +2 -2
- package/dist/esm/{index.module-ec3dcc82.js → index.module-aac201f3.js} +6174 -6174
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-5fa22651.js → luxon-f44215d9.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{re-render-43311710.js → re-render-544e9c59.js} +3 -3
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-big-stat.entry.js +5 -5
- package/dist/esm/sqm-brand_27.entry.js +82 -64
- package/dist/esm/sqm-empty_7.entry.js +2 -2
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/{sqm-hero-view-190bc812.js → sqm-hero-view-5ea17052.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +7 -7
- package/dist/esm/sqm-name-fields.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-a6f7f96c.js → sqm-navigation-sidebar-item-view-df7cc698.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-8acdcd89.js → sqm-portal-email-verification-view-86e3ff2e.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +8 -8
- package/dist/esm/{sqm-portal-footer-view-9995ad03.js → sqm-portal-footer-view-d6a43c4d.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +5 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +6 -6
- package/dist/esm/{sqm-portal-profile-view-71c84f2e.js → sqm-portal-profile-view-ae44e2bb.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -9
- package/dist/esm/sqm-portal-protected-route.entry.js +8 -8
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +8 -8
- package/dist/esm/sqm-referral-table_11.entry.js +423 -41
- package/dist/esm/sqm-refresh-button.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +223 -48
- package/dist/esm/sqm-stat-container.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +771 -183
- package/dist/esm/sqm-tab.entry.js +1 -1
- package/dist/esm/sqm-tabs.entry.js +48 -20
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/{stencil-hooks.module-2f159754.js → stencil-hooks.module-acc8a613.js} +2 -2
- package/dist/esm/{use-callback-d8ef4b5d.js → use-callback-7e0bfd3b.js} +1 -1
- package/dist/esm/{useChildElements-0146a8bd.js → useChildElements-db935587.js} +2 -2
- package/dist/esm/{useDemoBigStat-022e116d.js → useDemoBigStat-a4835c19.js} +5 -5
- package/dist/esm/{useReferralTable-596519fc.js → useReferralTable-15634a86.js} +21 -16
- package/dist/esm-es5/ShadowViewAddon-67cc91dc.js +1 -0
- package/dist/esm-es5/{global-c2179248.js → global-7d4eb5e5.js} +1 -1
- package/dist/esm-es5/index.module-aac201f3.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-5fa22651.js → luxon-f44215d9.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-43311710.js → re-render-544e9c59.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-brand_27.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_7.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-hero-view-190bc812.js → sqm-hero-view-5ea17052.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-a6f7f96c.js → sqm-navigation-sidebar-item-view-df7cc698.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-8acdcd89.js → sqm-portal-email-verification-view-86e3ff2e.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-9995ad03.js → sqm-portal-footer-view-d6a43c4d.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.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-71c84f2e.js → sqm-portal-profile-view-ae44e2bb.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-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-refresh-button.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stat-container.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-2f159754.js → stencil-hooks.module-acc8a613.js} +2 -2
- package/dist/esm-es5/use-callback-7e0bfd3b.js +1 -0
- package/dist/esm-es5/useChildElements-db935587.js +1 -0
- package/dist/esm-es5/useDemoBigStat-a4835c19.js +1 -0
- package/dist/esm-es5/useReferralTable-15634a86.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/p-087b15f9.system.js +1 -0
- package/dist/mint-components/p-0aeaf674.system.entry.js +1 -0
- package/dist/mint-components/{p-616a0d9b.entry.js → p-1204f7df.entry.js} +1 -1
- package/dist/mint-components/p-147440c3.js +1 -0
- package/dist/mint-components/{p-d6ef4765.system.entry.js → p-16023c39.system.entry.js} +1 -1
- package/dist/mint-components/p-198409c1.entry.js +1 -0
- package/dist/mint-components/{p-9294bb29.system.js → p-1c3c2ddb.system.js} +1 -1
- package/dist/mint-components/{p-58e718de.entry.js → p-20e8567f.entry.js} +1 -1
- package/dist/mint-components/{p-b7da9a8a.js → p-27455c4c.js} +2 -2
- package/dist/mint-components/p-3441b268.system.entry.js +1 -0
- package/dist/mint-components/p-3c39b94e.entry.js +1 -0
- package/dist/mint-components/{p-c432ee49.entry.js → p-3dbd3303.entry.js} +2 -2
- package/dist/mint-components/{p-f8d95abc.system.js → p-3e65453b.system.js} +1 -1
- package/dist/mint-components/{p-a5a7c655.js → p-3ef38b2e.js} +1 -1
- package/dist/mint-components/{p-232db563.system.entry.js → p-403e84cc.system.entry.js} +1 -1
- package/dist/mint-components/{p-ca48cd52.entry.js → p-40a1e537.entry.js} +8 -8
- package/dist/mint-components/p-48b4104d.entry.js +1 -0
- package/dist/mint-components/{p-9580888c.system.js → p-48ec6605.system.js} +2 -2
- package/dist/mint-components/{p-e1166d9b.system.entry.js → p-49667de1.system.entry.js} +1 -1
- package/dist/mint-components/{p-e7b20665.entry.js → p-4afe1b9c.entry.js} +1 -1
- package/dist/mint-components/p-4bb83ece.entry.js +1 -0
- package/dist/mint-components/{p-0fa2ba69.js → p-4e0ce80b.js} +1 -1
- package/dist/mint-components/{p-51a0961b.system.js → p-4e5b972a.system.js} +1 -1
- package/dist/mint-components/p-4ef20b4b.entry.js +9 -0
- package/dist/mint-components/{p-b0e8c584.system.entry.js → p-4f4bdfad.system.entry.js} +1 -1
- package/dist/mint-components/{p-e43c77bd.js → p-55b6147d.js} +1 -1
- package/dist/mint-components/p-55f3d841.system.js +1 -0
- package/dist/mint-components/{p-aecf30cf.js → p-5afd174d.js} +1 -1
- package/dist/mint-components/p-5b7fae03.system.entry.js +1 -0
- package/dist/mint-components/p-62db6962.js +1 -0
- package/dist/mint-components/p-66ea5383.system.entry.js +1 -0
- package/dist/mint-components/{p-81681ebd.system.entry.js → p-67749aab.system.entry.js} +1 -1
- package/dist/mint-components/p-69303d97.system.js +1 -0
- package/dist/mint-components/{p-f372c8d8.entry.js → p-6cb25b8b.entry.js} +1 -1
- package/dist/mint-components/{p-e00e11b1.system.js → p-71ecbb3b.system.js} +1 -1
- package/dist/mint-components/{p-76325d9c.system.entry.js → p-72296718.system.entry.js} +1 -1
- package/dist/mint-components/{p-249a778c.system.entry.js → p-759df017.system.entry.js} +1 -1
- package/dist/mint-components/{p-9f65904f.entry.js → p-75f54850.entry.js} +1 -1
- package/dist/mint-components/{p-591de129.js → p-7794c289.js} +1 -1
- package/dist/mint-components/{p-77fd4d51.system.entry.js → p-77ece1c3.system.entry.js} +1 -1
- package/dist/mint-components/p-783c9b2f.entry.js +1 -0
- package/dist/mint-components/{p-f2fccdea.system.entry.js → p-7e1afa8c.system.entry.js} +1 -1
- package/dist/mint-components/{p-092d50be.js → p-7e955ed7.js} +9 -3
- package/dist/mint-components/p-859a8ad4.entry.js +1 -0
- package/dist/mint-components/p-8da0d93b.system.entry.js +1 -0
- package/dist/mint-components/{p-7cfaab53.system.js → p-8ece5279.system.js} +1 -1
- package/dist/mint-components/{p-f5cba1f7.system.entry.js → p-8f44832b.system.entry.js} +1 -1
- package/dist/mint-components/{p-182b47d2.system.entry.js → p-91951a0a.system.entry.js} +1 -1
- package/dist/mint-components/p-92db9e34.entry.js +1 -0
- package/dist/mint-components/{p-b9974b87.entry.js → p-9351348e.entry.js} +1 -1
- package/dist/mint-components/{p-54986541.entry.js → p-93e15034.entry.js} +1 -1
- package/dist/mint-components/{p-caad0168.entry.js → p-96e0913b.entry.js} +1 -1
- package/dist/mint-components/p-982ad256.js +1 -0
- package/dist/mint-components/{p-7c423f5c.system.entry.js → p-a5f06774.system.entry.js} +1 -1
- package/dist/mint-components/{p-2454f30a.system.entry.js → p-a6d4cffd.system.entry.js} +1 -1
- package/dist/mint-components/{p-1288be55.entry.js → p-a8141e7b.entry.js} +1 -1
- package/dist/mint-components/p-a95844a2.js +1 -0
- package/dist/mint-components/p-ab74fca0.entry.js +1 -0
- package/dist/mint-components/{p-ea197664.js → p-ad9edc1d.js} +1 -1
- package/dist/mint-components/p-addc5905.entry.js +1 -0
- package/dist/mint-components/{p-7d74b018.system.entry.js → p-ae99111f.system.entry.js} +1 -1
- package/dist/mint-components/p-b6375f45.system.entry.js +1 -0
- package/dist/mint-components/p-b67aa6c9.system.js +1 -0
- package/dist/mint-components/p-b83ee009.js +1 -0
- package/dist/mint-components/{p-df466813.system.js → p-bbf96ff3.system.js} +1 -1
- package/dist/mint-components/{p-0d66fc45.js → p-beac1a46.js} +1 -1
- package/dist/mint-components/{p-88be9a23.js → p-c5314bbc.js} +1 -1
- package/dist/mint-components/{p-f6989de4.entry.js → p-c8aa6875.entry.js} +2 -2
- package/dist/mint-components/p-cab80b22.entry.js +1 -0
- package/dist/mint-components/{p-01748c80.system.entry.js → p-cf699d0e.system.entry.js} +1 -1
- package/dist/mint-components/{p-b69365f5.entry.js → p-cf9cfac0.entry.js} +1 -1
- package/dist/mint-components/{p-136e2028.system.entry.js → p-d25bded1.system.entry.js} +1 -1
- package/dist/mint-components/{p-134f64dc.system.js → p-d264d1a0.system.js} +1 -1
- package/dist/mint-components/{p-8a55dda8.system.js → p-d2679942.system.js} +1 -1
- package/dist/mint-components/{p-348461ec.system.entry.js → p-d6e7f685.system.entry.js} +1 -1
- package/dist/mint-components/{p-a10bbd50.system.entry.js → p-d7736049.system.entry.js} +1 -1
- package/dist/mint-components/p-d972a0cc.system.js +1 -0
- package/dist/mint-components/{p-a674c833.system.entry.js → p-da7c436f.system.entry.js} +1 -1
- package/dist/mint-components/p-dfa128ba.entry.js +90 -0
- package/dist/mint-components/{p-197d1027.system.entry.js → p-e23aee93.system.entry.js} +1 -1
- package/dist/mint-components/{p-b62cb89c.system.js → p-e82076e4.system.js} +1 -1
- package/dist/mint-components/p-eaffa09a.system.js +1 -0
- package/dist/mint-components/p-f3e14bb4.entry.js +1 -0
- package/dist/mint-components/p-f620b6a7.system.entry.js +1 -0
- package/dist/mint-components/{p-4275c957.system.entry.js → p-f6507695.system.entry.js} +1 -1
- package/dist/mint-components/p-fa4c7cd3.system.entry.js +1 -0
- package/dist/mint-components/p-fcd096b3.entry.js +1 -0
- package/dist/mint-components/{p-72a978c8.entry.js → p-fda350c6.entry.js} +1 -1
- package/dist/mint-components/{p-98393bf0.entry.js → p-fe0d7472.entry.js} +1 -1
- package/dist/types/components/sqm-referral-table/ReferralTable.stories.d.ts +0 -26
- package/dist/types/components/sqm-referral-table/UseReferralTable.stories.d.ts +12 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/mockReferralData.d.ts +83 -0
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/UseRewardsTable.stories.d.ts +6 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/mockRewardData.d.ts +45 -0
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +1 -0
- package/dist/types/components/sqm-scroll/useScroll.d.ts +6 -0
- package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +5 -4
- package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +10 -0
- package/dist/types/components/sqm-tabs/useTabs.d.ts +5 -2
- package/dist/types/components.d.ts +16 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/shoelace/assets/icons/123.svg +3 -0
- package/shoelace/assets/icons/activity.svg +3 -0
- package/shoelace/assets/icons/apple.svg +4 -0
- package/shoelace/assets/icons/bandaid-fill.svg +3 -0
- package/shoelace/assets/icons/bandaid.svg +4 -0
- package/shoelace/assets/icons/bank.svg +3 -0
- package/shoelace/assets/icons/bank2.svg +3 -0
- package/shoelace/assets/icons/behance.svg +3 -0
- package/shoelace/assets/icons/bell-slash-fill.svg +3 -0
- package/shoelace/assets/icons/bell-slash.svg +3 -0
- package/shoelace/assets/icons/bluetooth.svg +3 -0
- package/shoelace/assets/icons/body-text.svg +3 -0
- package/shoelace/assets/icons/boombox-fill.svg +4 -0
- package/shoelace/assets/icons/boombox.svg +6 -0
- package/shoelace/assets/icons/boxes.svg +3 -0
- package/shoelace/assets/icons/cash-coin.svg +6 -0
- package/shoelace/assets/icons/check-lg.svg +3 -0
- package/shoelace/assets/icons/cloud-haze2.svg +3 -0
- package/shoelace/assets/icons/coin.svg +5 -0
- package/shoelace/assets/icons/currency-bitcoin.svg +3 -0
- package/shoelace/assets/icons/currency-dollar.svg +3 -0
- package/shoelace/assets/icons/currency-euro.svg +3 -0
- package/shoelace/assets/icons/currency-exchange.svg +3 -0
- package/shoelace/assets/icons/currency-pound.svg +3 -0
- package/shoelace/assets/icons/currency-yen.svg +3 -0
- package/shoelace/assets/icons/dash-lg.svg +3 -0
- package/shoelace/assets/icons/device-hdd-fill.svg +4 -0
- package/shoelace/assets/icons/device-hdd.svg +5 -0
- package/shoelace/assets/icons/device-ssd-fill.svg +4 -0
- package/shoelace/assets/icons/device-ssd.svg +4 -0
- package/shoelace/assets/icons/displayport-fill.svg +3 -0
- package/shoelace/assets/icons/displayport.svg +4 -0
- package/shoelace/assets/icons/dpad-fill.svg +3 -0
- package/shoelace/assets/icons/dpad.svg +4 -0
- package/shoelace/assets/icons/dribbble.svg +3 -0
- package/shoelace/assets/icons/ear-fill.svg +3 -0
- package/shoelace/assets/icons/ear.svg +3 -0
- package/shoelace/assets/icons/easel2-fill.svg +4 -0
- package/shoelace/assets/icons/easel2.svg +3 -0
- package/shoelace/assets/icons/easel3-fill.svg +3 -0
- package/shoelace/assets/icons/easel3.svg +3 -0
- package/shoelace/assets/icons/envelope-check-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-check.svg +4 -0
- package/shoelace/assets/icons/envelope-dash-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-dash.svg +4 -0
- package/shoelace/assets/icons/envelope-exclamation-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-exclamation.svg +4 -0
- package/shoelace/assets/icons/envelope-plus-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-plus.svg +4 -0
- package/shoelace/assets/icons/envelope-slash-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-slash.svg +4 -0
- package/shoelace/assets/icons/envelope-x-fill.svg +4 -0
- package/shoelace/assets/icons/envelope-x.svg +4 -0
- package/shoelace/assets/icons/ethernet.svg +4 -0
- package/shoelace/assets/icons/exclamation-lg.svg +3 -0
- package/shoelace/assets/icons/explicit-fill.svg +3 -0
- package/shoelace/assets/icons/explicit.svg +4 -0
- package/shoelace/assets/icons/fan.svg +4 -0
- package/shoelace/assets/icons/file-earmark-pdf-fill.svg +4 -0
- package/shoelace/assets/icons/file-earmark-pdf.svg +4 -0
- package/shoelace/assets/icons/file-pdf-fill.svg +4 -0
- package/shoelace/assets/icons/file-pdf.svg +4 -0
- package/shoelace/assets/icons/fingerprint.svg +7 -0
- package/shoelace/assets/icons/gender-ambiguous.svg +3 -0
- package/shoelace/assets/icons/gender-female.svg +3 -0
- package/shoelace/assets/icons/gender-male.svg +3 -0
- package/shoelace/assets/icons/gender-trans.svg +3 -0
- package/shoelace/assets/icons/git.svg +3 -0
- package/shoelace/assets/icons/gpu-card.svg +5 -0
- package/shoelace/assets/icons/graph-down-arrow.svg +3 -0
- package/shoelace/assets/icons/graph-up-arrow.svg +3 -0
- package/shoelace/assets/icons/hdmi-fill.svg +3 -0
- package/shoelace/assets/icons/hdmi.svg +4 -0
- package/shoelace/assets/icons/headset-vr.svg +4 -0
- package/shoelace/assets/icons/hypnotize.svg +4 -0
- package/shoelace/assets/icons/infinity.svg +3 -0
- package/shoelace/assets/icons/info-lg.svg +3 -0
- package/shoelace/assets/icons/line.svg +3 -0
- package/shoelace/assets/icons/list-columns-reverse.svg +3 -0
- package/shoelace/assets/icons/list-columns.svg +3 -0
- package/shoelace/assets/icons/magic.svg +3 -0
- package/shoelace/assets/icons/mastodon.svg +3 -0
- package/shoelace/assets/icons/medium.svg +3 -0
- package/shoelace/assets/icons/memory.svg +3 -0
- package/shoelace/assets/icons/messenger.svg +3 -0
- package/shoelace/assets/icons/meta.svg +3 -0
- package/shoelace/assets/icons/microsoft.svg +3 -0
- package/shoelace/assets/icons/modem-fill.svg +3 -0
- package/shoelace/assets/icons/modem.svg +4 -0
- package/shoelace/assets/icons/mortarboard-fill.svg +4 -0
- package/shoelace/assets/icons/mortarboard.svg +4 -0
- package/shoelace/assets/icons/motherboard-fill.svg +4 -0
- package/shoelace/assets/icons/motherboard.svg +4 -0
- package/shoelace/assets/icons/nintendo-switch.svg +4 -0
- package/shoelace/assets/icons/optical-audio-fill.svg +4 -0
- package/shoelace/assets/icons/optical-audio.svg +5 -0
- package/shoelace/assets/icons/paypal.svg +3 -0
- package/shoelace/assets/icons/pc-display-horizontal.svg +3 -0
- package/shoelace/assets/icons/pc-display.svg +3 -0
- package/shoelace/assets/icons/pc-horizontal.svg +3 -0
- package/shoelace/assets/icons/pc.svg +3 -0
- package/shoelace/assets/icons/pci-card.svg +4 -0
- package/shoelace/assets/icons/person-rolodex.svg +4 -0
- package/shoelace/assets/icons/person-video.svg +4 -0
- package/shoelace/assets/icons/person-video2.svg +4 -0
- package/shoelace/assets/icons/person-video3.svg +4 -0
- package/shoelace/assets/icons/person-workspace.svg +4 -0
- package/shoelace/assets/icons/piggy-bank-fill.svg +3 -0
- package/shoelace/assets/icons/piggy-bank.svg +4 -0
- package/shoelace/assets/icons/pin-map-fill.svg +4 -0
- package/shoelace/assets/icons/pin-map.svg +4 -0
- package/shoelace/assets/icons/pinterest.svg +3 -0
- package/shoelace/assets/icons/playstation.svg +3 -0
- package/shoelace/assets/icons/plus-lg.svg +3 -0
- package/shoelace/assets/icons/plus-slash-minus.svg +3 -0
- package/shoelace/assets/icons/projector-fill.svg +3 -0
- package/shoelace/assets/icons/projector.svg +4 -0
- package/shoelace/assets/icons/qr-code-scan.svg +7 -0
- package/shoelace/assets/icons/qr-code.svg +7 -0
- package/shoelace/assets/icons/question-lg.svg +3 -0
- package/shoelace/assets/icons/quora.svg +3 -0
- package/shoelace/assets/icons/quote.svg +3 -0
- package/shoelace/assets/icons/radioactive.svg +4 -0
- package/shoelace/assets/icons/recycle.svg +3 -0
- package/shoelace/assets/icons/reddit.svg +4 -0
- package/shoelace/assets/icons/robot.svg +4 -0
- package/shoelace/assets/icons/router-fill.svg +6 -0
- package/shoelace/assets/icons/router.svg +6 -0
- package/shoelace/assets/icons/safe-fill.svg +4 -0
- package/shoelace/assets/icons/safe.svg +4 -0
- package/shoelace/assets/icons/safe2-fill.svg +4 -0
- package/shoelace/assets/icons/safe2.svg +4 -0
- package/shoelace/assets/icons/sd-card-fill.svg +3 -0
- package/shoelace/assets/icons/sd-card.svg +4 -0
- package/shoelace/assets/icons/send-check-fill.svg +4 -0
- package/shoelace/assets/icons/send-check.svg +4 -0
- package/shoelace/assets/icons/send-dash-fill.svg +4 -0
- package/shoelace/assets/icons/send-dash.svg +4 -0
- package/shoelace/assets/icons/send-exclamation-fill.svg +4 -0
- package/shoelace/assets/icons/send-exclamation.svg +4 -0
- package/shoelace/assets/icons/send-fill.svg +3 -0
- package/shoelace/assets/icons/send-plus-fill.svg +4 -0
- package/shoelace/assets/icons/send-plus.svg +4 -0
- package/shoelace/assets/icons/send-slash-fill.svg +4 -0
- package/shoelace/assets/icons/send-slash.svg +4 -0
- package/shoelace/assets/icons/send-x-fill.svg +4 -0
- package/shoelace/assets/icons/send-x.svg +4 -0
- package/shoelace/assets/icons/send.svg +3 -0
- package/shoelace/assets/icons/signal.svg +3 -0
- package/shoelace/assets/icons/skype.svg +3 -0
- package/shoelace/assets/icons/slash-lg.svg +3 -0
- package/shoelace/assets/icons/snapchat.svg +3 -0
- package/shoelace/assets/icons/spotify.svg +3 -0
- package/shoelace/assets/icons/stack-overflow.svg +4 -0
- package/shoelace/assets/icons/steam.svg +4 -0
- package/shoelace/assets/icons/strava.svg +3 -0
- package/shoelace/assets/icons/terminal-dash.svg +4 -0
- package/shoelace/assets/icons/terminal-plus.svg +4 -0
- package/shoelace/assets/icons/terminal-split.svg +4 -0
- package/shoelace/assets/icons/terminal-x.svg +4 -0
- package/shoelace/assets/icons/thunderbolt-fill.svg +3 -0
- package/shoelace/assets/icons/thunderbolt.svg +4 -0
- package/shoelace/assets/icons/ticket-detailed-fill.svg +3 -0
- package/shoelace/assets/icons/ticket-detailed.svg +4 -0
- package/shoelace/assets/icons/ticket-fill.svg +3 -0
- package/shoelace/assets/icons/ticket-perforated-fill.svg +3 -0
- package/shoelace/assets/icons/ticket-perforated.svg +4 -0
- package/shoelace/assets/icons/ticket.svg +3 -0
- package/shoelace/assets/icons/tiktok.svg +3 -0
- package/shoelace/assets/icons/translate.svg +4 -0
- package/shoelace/assets/icons/usb-c-fill.svg +3 -0
- package/shoelace/assets/icons/usb-c.svg +4 -0
- package/shoelace/assets/icons/usb-drive-fill.svg +3 -0
- package/shoelace/assets/icons/usb-drive.svg +3 -0
- package/shoelace/assets/icons/usb-fill.svg +3 -0
- package/shoelace/assets/icons/usb-micro-fill.svg +3 -0
- package/shoelace/assets/icons/usb-micro.svg +4 -0
- package/shoelace/assets/icons/usb-mini-fill.svg +3 -0
- package/shoelace/assets/icons/usb-mini.svg +4 -0
- package/shoelace/assets/icons/usb-plug-fill.svg +3 -0
- package/shoelace/assets/icons/usb-plug.svg +3 -0
- package/shoelace/assets/icons/usb-symbol.svg +3 -0
- package/shoelace/assets/icons/usb.svg +4 -0
- package/shoelace/assets/icons/vimeo.svg +3 -0
- package/shoelace/assets/icons/webcam-fill.svg +4 -0
- package/shoelace/assets/icons/webcam.svg +4 -0
- package/shoelace/assets/icons/window-dash.svg +5 -0
- package/shoelace/assets/icons/window-desktop.svg +4 -0
- package/shoelace/assets/icons/window-fullscreen.svg +4 -0
- package/shoelace/assets/icons/window-plus.svg +5 -0
- package/shoelace/assets/icons/window-split.svg +4 -0
- package/shoelace/assets/icons/window-stack.svg +4 -0
- package/shoelace/assets/icons/window-x.svg +5 -0
- package/shoelace/assets/icons/windows.svg +3 -0
- package/shoelace/assets/icons/wordpress.svg +5 -0
- package/shoelace/assets/icons/x-lg.svg +4 -0
- package/shoelace/assets/icons/xbox.svg +3 -0
- package/shoelace/assets/icons/yin-yang.svg +4 -0
- package/shoelace/themes/themes/dark.styles.d.ts +2 -0
- package/shoelace/themes/themes/dark.styles.js +531 -0
- package/shoelace/themes/themes/light.css +439 -0
- package/shoelace/themes/themes/light.styles.d.ts +2 -0
- package/shoelace/themes/themes/light.styles.js +531 -0
- package/dist/cjs/ReferralTableRewardsCell.stories-cd7b9c93.js +0 -261
- package/dist/cjs/RewardsTableCell.stories-b439d2e6.js +0 -279
- package/dist/esm/ReferralTableRewardsCell.stories-c3df1aa2.js +0 -251
- package/dist/esm/RewardsTableCell.stories-21ae3b86.js +0 -262
- package/dist/esm-es5/ReferralTableRewardsCell.stories-c3df1aa2.js +0 -1
- package/dist/esm-es5/RewardsTableCell.stories-21ae3b86.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-8cb393d4.js +0 -1
- package/dist/esm-es5/index.module-ec3dcc82.js +0 -1
- package/dist/esm-es5/use-callback-d8ef4b5d.js +0 -1
- package/dist/esm-es5/useChildElements-0146a8bd.js +0 -1
- package/dist/esm-es5/useDemoBigStat-022e116d.js +0 -1
- package/dist/esm-es5/useReferralTable-596519fc.js +0 -1
- package/dist/mint-components/p-023dcaee.js +0 -1
- package/dist/mint-components/p-07b64287.entry.js +0 -1
- package/dist/mint-components/p-0c19f830.entry.js +0 -1
- package/dist/mint-components/p-10731460.entry.js +0 -1
- package/dist/mint-components/p-233dfb7d.system.js +0 -1
- package/dist/mint-components/p-27d25a4d.system.js +0 -1
- package/dist/mint-components/p-27e04aaf.entry.js +0 -1
- package/dist/mint-components/p-396b5489.js +0 -1
- package/dist/mint-components/p-3a139510.entry.js +0 -9
- package/dist/mint-components/p-3b184c32.js +0 -1
- package/dist/mint-components/p-3d4a2da3.system.js +0 -1
- package/dist/mint-components/p-48a408fe.system.entry.js +0 -1
- package/dist/mint-components/p-4932906c.system.entry.js +0 -1
- package/dist/mint-components/p-49c9ff69.entry.js +0 -1
- package/dist/mint-components/p-614451ff.system.entry.js +0 -1
- package/dist/mint-components/p-63a6475a.system.entry.js +0 -1
- package/dist/mint-components/p-668bbbf4.system.js +0 -1
- package/dist/mint-components/p-6bff2131.entry.js +0 -90
- package/dist/mint-components/p-6c203626.system.entry.js +0 -1
- package/dist/mint-components/p-7ba0e231.js +0 -1
- package/dist/mint-components/p-839a13d1.js +0 -1
- package/dist/mint-components/p-871536c7.entry.js +0 -1
- package/dist/mint-components/p-89101dc5.system.js +0 -1
- package/dist/mint-components/p-96c971fa.entry.js +0 -1
- package/dist/mint-components/p-97f843f9.system.entry.js +0 -1
- package/dist/mint-components/p-a85dd98a.js +0 -1
- package/dist/mint-components/p-b0c32d15.system.js +0 -1
- package/dist/mint-components/p-b0d6a380.system.js +0 -1
- package/dist/mint-components/p-b3201e4c.entry.js +0 -1
- package/dist/mint-components/p-c7c42e0d.entry.js +0 -1
- package/dist/mint-components/p-d1520098.js +0 -1
- package/dist/mint-components/p-d312db42.entry.js +0 -1
- package/dist/mint-components/p-dcff1a85.entry.js +0 -1
- package/dist/mint-components/p-efae86df.system.js +0 -1
- package/dist/mint-components/p-f241ee8a.system.entry.js +0 -1
- package/dist/mint-components/p-f2a74222.system.entry.js +0 -1
- package/dist/mint-components/p-f5abb69b.entry.js +0 -1
|
@@ -4,22 +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-87a1f4f7.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-633d1fb7.js');
|
|
8
8
|
const useCallback = require('./use-callback-e754042f.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-f972f103.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
12
12
|
const cjs = require('./cjs-1066ec21.js');
|
|
13
13
|
require('./mixins-7b7c59fe.js');
|
|
14
14
|
const JSS = require('./JSS-c65a40f1.js');
|
|
15
|
-
const reRender = require('./re-render-
|
|
16
|
-
const useChildElements = require('./useChildElements-
|
|
15
|
+
const reRender = require('./re-render-1ef744c7.js');
|
|
16
|
+
const useChildElements = require('./useChildElements-3ce892db.js');
|
|
17
17
|
require('./luxon-59ca7d19.js');
|
|
18
18
|
const utils = require('./utils-01dbfd4a.js');
|
|
19
19
|
require('./sqm-text-span-view-f101dedf.js');
|
|
20
|
-
const useDemoBigStat = require('./useDemoBigStat-
|
|
20
|
+
const useDemoBigStat = require('./useDemoBigStat-99093687.js');
|
|
21
21
|
require('./sqm-portal-container-view-fdfb3656.js');
|
|
22
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
22
|
+
const ShadowViewAddon = require('./ShadowViewAddon-30bea908.js');
|
|
23
23
|
require('./sqm-portal-section-view-186a5f7e.js');
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -213,13 +213,13 @@ const defaultFormState = {
|
|
|
213
213
|
error: "",
|
|
214
214
|
};
|
|
215
215
|
function useEditProfile(props) {
|
|
216
|
-
const userIdent = index_module.
|
|
216
|
+
const userIdent = index_module.ie();
|
|
217
217
|
const [showEdit, setShowEdit] = stencilHooks_module.useState(false);
|
|
218
218
|
const [error, setError] = stencilHooks_module.useState("");
|
|
219
219
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
220
220
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
221
|
-
const userDataResponse = index_module.
|
|
222
|
-
const [upsertUser, upsertUserResponse] = index_module.
|
|
221
|
+
const userDataResponse = index_module.sn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
222
|
+
const [upsertUser, upsertUserResponse] = index_module.qe(UPSERT_USER);
|
|
223
223
|
stencilHooks_module.useEffect(() => {
|
|
224
224
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
225
225
|
return;
|
|
@@ -333,7 +333,7 @@ const EditProfile = class {
|
|
|
333
333
|
}
|
|
334
334
|
disconnectedCallback() { }
|
|
335
335
|
render() {
|
|
336
|
-
const props = index_module.
|
|
336
|
+
const props = index_module.jn()
|
|
337
337
|
? useEditProfileDemo(utils.getProps(this))
|
|
338
338
|
: useEditProfile(utils.getProps(this));
|
|
339
339
|
return index.h(ShadowViewAddon.EditProfileView, Object.assign({}, props));
|
|
@@ -631,7 +631,7 @@ const GET_RANK = index_module.dist.gql `
|
|
|
631
631
|
function useLeaderboard(props) {
|
|
632
632
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
633
633
|
const programId = index_module.M();
|
|
634
|
-
const user = index_module.
|
|
634
|
+
const user = index_module.ie();
|
|
635
635
|
const variables = {
|
|
636
636
|
type: props.leaderboardType,
|
|
637
637
|
filter: { programId_eq: programId },
|
|
@@ -639,8 +639,8 @@ function useLeaderboard(props) {
|
|
|
639
639
|
if (props.interval) {
|
|
640
640
|
variables.filter["interval"] = props.interval;
|
|
641
641
|
}
|
|
642
|
-
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.
|
|
643
|
-
const { data: rankData } = index_module.
|
|
642
|
+
const { data: leaderboardData, loading: loadingLeaderboard } = index_module.sn(GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
643
|
+
const { data: rankData } = index_module.sn(GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
644
644
|
const leaderboardRows = (_a = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _a === void 0 ? void 0 : _a.rows;
|
|
645
645
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
646
646
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -718,7 +718,7 @@ const Leaderboard = class {
|
|
|
718
718
|
showRank: this.showRank,
|
|
719
719
|
};
|
|
720
720
|
const demoProps = { ...props, demoData: this.demoData };
|
|
721
|
-
const viewprops = index_module.
|
|
721
|
+
const viewprops = index_module.jn()
|
|
722
722
|
? useLeaderboardDemo(demoProps)
|
|
723
723
|
: useLeaderboard(props);
|
|
724
724
|
return (index.h(ShadowViewAddon.LeaderboardView, Object.assign({}, viewprops), index.h("slot", null)));
|
|
@@ -809,12 +809,12 @@ function NavigationMenuView(props) {
|
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
function handleMenu(e) {
|
|
812
|
-
index_module.
|
|
812
|
+
index_module.dn.push(e.detail.item.value);
|
|
813
813
|
}
|
|
814
814
|
function useNavigationMenu(props) {
|
|
815
815
|
const ref = stencilHooks_module.useRef();
|
|
816
|
-
const [, rerender] = index_module.
|
|
817
|
-
const user = index_module.
|
|
816
|
+
const [, rerender] = index_module.rn();
|
|
817
|
+
const user = index_module.ie();
|
|
818
818
|
stencilHooks_module.useEffect(() => {
|
|
819
819
|
var _a;
|
|
820
820
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -843,7 +843,7 @@ const NavigationMenu = class {
|
|
|
843
843
|
}
|
|
844
844
|
disconnectedCallback() { }
|
|
845
845
|
render() {
|
|
846
|
-
const props = index_module.
|
|
846
|
+
const props = index_module.jn()
|
|
847
847
|
? useNavigationMenuDemo(utils.getProps(this))
|
|
848
848
|
: useNavigationMenu(utils.getProps(this));
|
|
849
849
|
return (index.h(index.Host, { slot: "sqm-navigation-menu" }, index.h(NavigationMenuView, Object.assign({}, props))));
|
|
@@ -868,11 +868,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
868
868
|
|
|
869
869
|
function usePortalChangePassword(props) {
|
|
870
870
|
var _a, _b, _c, _d;
|
|
871
|
-
const [request, { loading, errors, data }] = index_module
|
|
871
|
+
const [request, { loading, errors, data }] = index_module.$e();
|
|
872
872
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
873
873
|
const [error, setError] = stencilHooks_module.useState("");
|
|
874
874
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
875
|
-
const user = index_module.
|
|
875
|
+
const user = index_module.ie();
|
|
876
876
|
const submit = async (event) => {
|
|
877
877
|
var _a;
|
|
878
878
|
setSuccess(false);
|
|
@@ -965,7 +965,7 @@ const PortalChangePassword = class {
|
|
|
965
965
|
}
|
|
966
966
|
disconnectedCallback() { }
|
|
967
967
|
render() {
|
|
968
|
-
const { states, callbacks } = index_module.
|
|
968
|
+
const { states, callbacks } = index_module.jn()
|
|
969
969
|
? usePortalChangePasswordDemo(this)
|
|
970
970
|
: usePortalChangePassword(this);
|
|
971
971
|
return index.h(ShadowViewAddon.PortalChangePasswordView, { states: states, callbacks: callbacks });
|
|
@@ -995,7 +995,7 @@ function usePortalChangePasswordDemo(props) {
|
|
|
995
995
|
}
|
|
996
996
|
|
|
997
997
|
function usePortalFrame(footerContent, headerContent) {
|
|
998
|
-
const [, rerender] = index_module.
|
|
998
|
+
const [, rerender] = index_module.rn();
|
|
999
999
|
return {
|
|
1000
1000
|
data: {
|
|
1001
1001
|
footer: footerContent,
|
|
@@ -1017,7 +1017,7 @@ const PortalFrame = class {
|
|
|
1017
1017
|
render() {
|
|
1018
1018
|
const footerContent = index.h("slot", { name: "footer" });
|
|
1019
1019
|
const headerContent = index.h("slot", { name: "header" });
|
|
1020
|
-
const props = index_module.
|
|
1020
|
+
const props = index_module.jn()
|
|
1021
1021
|
? usePortalFrameDemo(footerContent, headerContent, this)
|
|
1022
1022
|
: usePortalFrame(footerContent, headerContent);
|
|
1023
1023
|
return (index.h(ShadowViewAddon.PortalFrameView, Object.assign({}, props), index.h("slot", null)));
|
|
@@ -1040,7 +1040,7 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1040
1040
|
|
|
1041
1041
|
function usePortalLogin(props) {
|
|
1042
1042
|
var _a, _b, _c, _d;
|
|
1043
|
-
const [request, { loading, errors, data }] = index_module
|
|
1043
|
+
const [request, { loading, errors, data }] = index_module.Ee();
|
|
1044
1044
|
const [error, setError] = stencilHooks_module.useState("");
|
|
1045
1045
|
const urlParams = new URLSearchParams(window.location.search);
|
|
1046
1046
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -1057,7 +1057,7 @@ function usePortalLogin(props) {
|
|
|
1057
1057
|
var _a;
|
|
1058
1058
|
if ((_a = data === null || data === void 0 ? void 0 : data.authenticateManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
1059
1059
|
urlParams.delete("nextPage");
|
|
1060
|
-
index_module.
|
|
1060
|
+
index_module.dn.push({
|
|
1061
1061
|
pathname: nextPageOverride || props.nextPage,
|
|
1062
1062
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
1063
1063
|
});
|
|
@@ -1127,12 +1127,12 @@ const PortalLogin = class {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
disconnectedCallback() { }
|
|
1129
1129
|
render() {
|
|
1130
|
-
const { states, callbacks } = index_module.
|
|
1130
|
+
const { states, callbacks } = index_module.jn()
|
|
1131
1131
|
? useLoginDemo(this)
|
|
1132
1132
|
: usePortalLogin(this);
|
|
1133
1133
|
const content = {
|
|
1134
|
-
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.
|
|
1135
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
1134
|
+
forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.dn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
1135
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.dn.push(states.registerPath) }, this.registerLabel))),
|
|
1136
1136
|
emailLabel: this.emailLabel,
|
|
1137
1137
|
passwordLabel: this.passwordLabel,
|
|
1138
1138
|
submitLabel: this.submitLabel,
|
|
@@ -5039,7 +5039,7 @@ function usePortalRegister(props) {
|
|
|
5039
5039
|
var _a, _b, _c, _d, _e, _f;
|
|
5040
5040
|
const formRef = stencilHooks_module.useRef(null);
|
|
5041
5041
|
const { validationState, setValidationState } = useValidationState({});
|
|
5042
|
-
const [request, { loading, errors, data }] = index_module.
|
|
5042
|
+
const [request, { loading, errors, data }] = index_module.De();
|
|
5043
5043
|
const submit = async (event) => {
|
|
5044
5044
|
let formControls = event.target.getFormControls();
|
|
5045
5045
|
let formData = {};
|
|
@@ -5104,7 +5104,7 @@ function usePortalRegister(props) {
|
|
|
5104
5104
|
stencilHooks_module.useEffect(() => {
|
|
5105
5105
|
var _a;
|
|
5106
5106
|
if ((_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
5107
|
-
index_module.
|
|
5107
|
+
index_module.dn.push(props.nextPage);
|
|
5108
5108
|
}
|
|
5109
5109
|
}, [(_a = data === null || data === void 0 ? void 0 : data.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token]);
|
|
5110
5110
|
stencilHooks_module.useEffect(() => {
|
|
@@ -5204,12 +5204,12 @@ const PortalRegister = class {
|
|
|
5204
5204
|
}
|
|
5205
5205
|
disconnectedCallback() { }
|
|
5206
5206
|
render() {
|
|
5207
|
-
const { states, callbacks, refs } = index_module.
|
|
5207
|
+
const { states, callbacks, refs } = index_module.jn()
|
|
5208
5208
|
? useRegisterDemo(this)
|
|
5209
5209
|
: usePortalRegister(this);
|
|
5210
5210
|
const content = {
|
|
5211
5211
|
formData: index.h("slot", { name: "formData" }),
|
|
5212
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
5212
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.dn.push(states.loginPath) }, this.loginLabel))),
|
|
5213
5213
|
terms: index.h("slot", { name: "terms" }),
|
|
5214
5214
|
emailLabel: this.emailLabel,
|
|
5215
5215
|
passwordLabel: this.passwordLabel,
|
|
@@ -5375,7 +5375,7 @@ function useProgramMenu(props) {
|
|
|
5375
5375
|
const host = index_module.P();
|
|
5376
5376
|
debug({ programId, props });
|
|
5377
5377
|
const ref = stencilHooks_module.useRef();
|
|
5378
|
-
const [, rerender] = index_module.
|
|
5378
|
+
const [, rerender] = index_module.rn();
|
|
5379
5379
|
stencilHooks_module.useEffect(() => {
|
|
5380
5380
|
var _a;
|
|
5381
5381
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener('sl-select', (e) => {
|
|
@@ -5497,8 +5497,8 @@ const GET_USER_DETAILS = index_module.dist.gql `
|
|
|
5497
5497
|
function useReferralIframe(props) {
|
|
5498
5498
|
var _a;
|
|
5499
5499
|
const programId = index_module.M();
|
|
5500
|
-
const user = index_module.
|
|
5501
|
-
const { data } = index_module.
|
|
5500
|
+
const user = index_module.ie();
|
|
5501
|
+
const { data } = index_module.sn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
5502
5502
|
return {
|
|
5503
5503
|
states: {
|
|
5504
5504
|
content: props,
|
|
@@ -5579,7 +5579,7 @@ const SqmReferralIframe = class {
|
|
|
5579
5579
|
if (missingProps) {
|
|
5580
5580
|
return index.h(RequiredPropsError, { missingProps: missingProps });
|
|
5581
5581
|
}
|
|
5582
|
-
const { states, data } = index_module.
|
|
5582
|
+
const { states, data } = index_module.jn()
|
|
5583
5583
|
? useReferralIframeDemo(utils.getProps(this))
|
|
5584
5584
|
: useReferralIframe(utils.getProps(this));
|
|
5585
5585
|
return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.ReferralIframeView, { data: data, states: states })));
|
|
@@ -6266,9 +6266,9 @@ function useRewardExchangeList(props) {
|
|
|
6266
6266
|
});
|
|
6267
6267
|
const [open, setOpen] = stencilHooks_module.useState(false);
|
|
6268
6268
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
6269
|
-
const user = index_module.
|
|
6270
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.
|
|
6271
|
-
const { data, loading, refetch, errors: queryError, } = index_module.
|
|
6269
|
+
const user = index_module.ie();
|
|
6270
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = index_module.qe(EXCHANGE);
|
|
6271
|
+
const { data, loading, refetch, errors: queryError, } = index_module.sn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
6272
6272
|
stencilHooks_module.useEffect(() => {
|
|
6273
6273
|
var _a, _b;
|
|
6274
6274
|
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) {
|
|
@@ -6288,7 +6288,7 @@ function useRewardExchangeList(props) {
|
|
|
6288
6288
|
canvas.confetti || confetti.create(canvas, { resize: true, });
|
|
6289
6289
|
canvas.confetti();
|
|
6290
6290
|
}, [canvasRef.current]);
|
|
6291
|
-
const { refresh } = index_module.
|
|
6291
|
+
const { refresh } = index_module.He();
|
|
6292
6292
|
async function exchangeReward() {
|
|
6293
6293
|
if (!selectedItem)
|
|
6294
6294
|
return;
|
|
@@ -6526,7 +6526,7 @@ const SqmRewardExchangeList = class {
|
|
|
6526
6526
|
// if (missingProps) {
|
|
6527
6527
|
// return <RequiredPropsError missingProps={missingProps} />;
|
|
6528
6528
|
// }
|
|
6529
|
-
const { states, data, callbacks, refs } = index_module.
|
|
6529
|
+
const { states, data, callbacks, refs } = index_module.jn()
|
|
6530
6530
|
? useRewardExchangeListDemo(utils.getProps(this))
|
|
6531
6531
|
: useRewardExchangeList(utils.getProps(this));
|
|
6532
6532
|
return (index.h(index.Host, { style: { display: "contents" } }, index.h(ShadowViewAddon.RewardExchangeView, { states: states, data: data, callbacks: callbacks, refs: refs })));
|
|
@@ -6571,7 +6571,7 @@ function matchPath(pattern, page) {
|
|
|
6571
6571
|
return regexp.exec(page);
|
|
6572
6572
|
}
|
|
6573
6573
|
function useRouter() {
|
|
6574
|
-
const location = index_module.
|
|
6574
|
+
const location = index_module.ln();
|
|
6575
6575
|
const host = index_module.P();
|
|
6576
6576
|
const [slot, setSlot] = stencilHooks_module.useState(undefined);
|
|
6577
6577
|
const [container, setContainer] = stencilHooks_module.useState(undefined);
|
|
@@ -6655,6 +6655,25 @@ const SqmRouter = class {
|
|
|
6655
6655
|
};
|
|
6656
6656
|
SqmRouter.style = sqmRouterCss;
|
|
6657
6657
|
|
|
6658
|
+
const REVEAL_EVENT = "sq:reveal";
|
|
6659
|
+
function useScroll(props) {
|
|
6660
|
+
const { scrollTagName, scrollId } = props;
|
|
6661
|
+
async function scroll() {
|
|
6662
|
+
const element = document === null || document === void 0 ? void 0 : document.querySelector(scrollTagName || `#${scrollId}`);
|
|
6663
|
+
console.log({ element, scrollTagName, scrollId });
|
|
6664
|
+
element.dispatchEvent(new CustomEvent(REVEAL_EVENT, {
|
|
6665
|
+
detail: scrollTagName || scrollId,
|
|
6666
|
+
bubbles: true,
|
|
6667
|
+
composed: true,
|
|
6668
|
+
}));
|
|
6669
|
+
await new Promise((resolve) => setTimeout(resolve, 200));
|
|
6670
|
+
element.scrollIntoView({ behavior: props.scrollAnimation });
|
|
6671
|
+
}
|
|
6672
|
+
return {
|
|
6673
|
+
callbacks: { scroll },
|
|
6674
|
+
};
|
|
6675
|
+
}
|
|
6676
|
+
|
|
6658
6677
|
const Scroll = class {
|
|
6659
6678
|
constructor(hostRef) {
|
|
6660
6679
|
index.registerInstance(this, hostRef);
|
|
@@ -6665,9 +6684,8 @@ const Scroll = class {
|
|
|
6665
6684
|
}
|
|
6666
6685
|
disconnectedCallback() { }
|
|
6667
6686
|
render() {
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
.scrollIntoView({ behavior: this.scrollAnimation }) }, this.buttonText)));
|
|
6687
|
+
const { callbacks } = useScroll(this);
|
|
6688
|
+
return (index.h(index.Host, { style: { display: "block" } }, index.h("sl-button", { type: this.buttonType, onClick: callbacks.scroll }, this.buttonText)));
|
|
6671
6689
|
}
|
|
6672
6690
|
};
|
|
6673
6691
|
|
|
@@ -6702,7 +6720,7 @@ const ShareButton = class {
|
|
|
6702
6720
|
disconnectedCallback() { }
|
|
6703
6721
|
render() {
|
|
6704
6722
|
const thisProps = utils.getProps(this);
|
|
6705
|
-
const props = index_module.
|
|
6723
|
+
const props = index_module.jn()
|
|
6706
6724
|
? useDemoShareButton(thisProps)
|
|
6707
6725
|
: ShadowViewAddon.useShareButton(thisProps);
|
|
6708
6726
|
return (index.h(ShadowViewAddon.ShareButtonView, Object.assign({}, props), index.h("slot", null)));
|
|
@@ -6737,10 +6755,10 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
6737
6755
|
function useShareCode(props) {
|
|
6738
6756
|
var _a, _b;
|
|
6739
6757
|
const programId = index_module.M();
|
|
6740
|
-
const user = index_module.
|
|
6741
|
-
const engagementMedium = index_module.
|
|
6742
|
-
const { data } = index_module.
|
|
6743
|
-
const [sendLoadEvent] = index_module.
|
|
6758
|
+
const user = index_module.ie();
|
|
6759
|
+
const engagementMedium = index_module.Rn();
|
|
6760
|
+
const { data } = index_module.sn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
6761
|
+
const [sendLoadEvent] = index_module.qe(WIDGET_ENGAGEMENT_EVENT);
|
|
6744
6762
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
6745
6763
|
// Shown during loading
|
|
6746
6764
|
"...";
|
|
@@ -6788,7 +6806,7 @@ const ShareCode = class {
|
|
|
6788
6806
|
disconnectedCallback() { }
|
|
6789
6807
|
render() {
|
|
6790
6808
|
const thisProps = utils.getProps(this);
|
|
6791
|
-
const props = index_module.
|
|
6809
|
+
const props = index_module.jn()
|
|
6792
6810
|
? useDemoShareCode(thisProps)
|
|
6793
6811
|
: useShareCode(thisProps);
|
|
6794
6812
|
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
@@ -6832,7 +6850,7 @@ const ShareLink = class {
|
|
|
6832
6850
|
disconnectedCallback() { }
|
|
6833
6851
|
render() {
|
|
6834
6852
|
const thisProps = utils.getProps(this);
|
|
6835
|
-
const props = index_module.
|
|
6853
|
+
const props = index_module.jn()
|
|
6836
6854
|
? useDemoShareLink(thisProps)
|
|
6837
6855
|
: ShadowViewAddon.useShareLink(thisProps);
|
|
6838
6856
|
return index.h(ShadowViewAddon.ShareLinkView, Object.assign({}, props));
|
|
@@ -6863,10 +6881,10 @@ const SEND_EVENT = index_module.dist.gql `
|
|
|
6863
6881
|
}
|
|
6864
6882
|
`;
|
|
6865
6883
|
function useTaskCard(props) {
|
|
6866
|
-
const user = index_module.
|
|
6867
|
-
const locale = index_module.
|
|
6868
|
-
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.
|
|
6869
|
-
const { refresh } = index_module.
|
|
6884
|
+
const user = index_module.ie();
|
|
6885
|
+
const locale = index_module.An();
|
|
6886
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = index_module.qe(SEND_EVENT);
|
|
6887
|
+
const { refresh } = index_module.He();
|
|
6870
6888
|
stencilHooks_module.useEffect(() => {
|
|
6871
6889
|
if (data) {
|
|
6872
6890
|
refresh();
|
|
@@ -6988,11 +7006,11 @@ const TaskCard = class {
|
|
|
6988
7006
|
}
|
|
6989
7007
|
disconnectedCallback() { }
|
|
6990
7008
|
render() {
|
|
6991
|
-
const { props } = index_module.
|
|
7009
|
+
const { props } = index_module.jn()
|
|
6992
7010
|
? useDemoBigStat.useDemoBigStat(this)
|
|
6993
7011
|
: useDemoBigStat.useBigStat({ ...utils.getProps(this), programId: this.programId });
|
|
6994
7012
|
const { value, loading } = props;
|
|
6995
|
-
const { states, callbacks } = index_module.
|
|
7013
|
+
const { states, callbacks } = index_module.jn()
|
|
6996
7014
|
? useTaskCardDemo(this)
|
|
6997
7015
|
: useTaskCard(this);
|
|
6998
7016
|
return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
|
|
@@ -7183,8 +7201,8 @@ const GET_USER_NAME = index_module.dist.gql `
|
|
|
7183
7201
|
`;
|
|
7184
7202
|
function useUserName(props) {
|
|
7185
7203
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7186
|
-
const user = index_module.
|
|
7187
|
-
const res = index_module.
|
|
7204
|
+
const user = index_module.ie();
|
|
7205
|
+
const res = index_module.sn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
7188
7206
|
const loading = res.loading;
|
|
7189
7207
|
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)
|
|
7190
7208
|
? `${(_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}`
|
|
@@ -7212,7 +7230,7 @@ const UserName = class {
|
|
|
7212
7230
|
}
|
|
7213
7231
|
disconnectedCallback() { }
|
|
7214
7232
|
render() {
|
|
7215
|
-
const props = index_module.
|
|
7233
|
+
const props = index_module.jn() ? useUserNameDemo(this) : useUserName(this);
|
|
7216
7234
|
return index.h(UserNameView, Object.assign({}, props));
|
|
7217
7235
|
}
|
|
7218
7236
|
};
|
|
@@ -23,7 +23,7 @@ function EmptyStateView(props) {
|
|
|
23
23
|
if (table) {
|
|
24
24
|
return (index.h("div", { style: { display: "contents" } },
|
|
25
25
|
index.h("sqm-table-row", null,
|
|
26
|
-
index.h("sqm-table-cell", { colspan:
|
|
26
|
+
index.h("sqm-table-cell", { colspan: 1000, style: { textAlign: "center" } }, emptyBase()))));
|
|
27
27
|
}
|
|
28
28
|
return index.h("div", null, emptyBase());
|
|
29
29
|
}
|
|
@@ -5,16 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
7
7
|
require('./use-callback-e754042f.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f972f103.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
|
|
11
11
|
async function useGraphQLClientProvider({ domain }) {
|
|
12
|
-
const token = index_module.
|
|
12
|
+
const token = index_module.oe();
|
|
13
13
|
const appDomain = domain;
|
|
14
|
-
const tenantAlias = index_module
|
|
14
|
+
const tenantAlias = index_module.$n();
|
|
15
15
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
16
|
-
const managedIdentityClient = index_module.
|
|
17
|
-
const [, setGraphQLClient] = stencilHooks_module.m(index_module.
|
|
16
|
+
const managedIdentityClient = index_module.we(appDomain, tenantAlias, token);
|
|
17
|
+
const [, setGraphQLClient] = stencilHooks_module.m(index_module.ye, managedIdentityClient);
|
|
18
18
|
stencilHooks_module.useEffect(() => {
|
|
19
19
|
setGraphQLClient(managedIdentityClient);
|
|
20
20
|
}, [managedIdentityClient]);
|
|
@@ -4,9 +4,9 @@ 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-87a1f4f7.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-633d1fb7.js');
|
|
8
8
|
require('./use-callback-e754042f.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-f972f103.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
12
12
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-35015d30.js');
|
|
@@ -27,7 +27,7 @@ const GET_RANK = index_module.dist.gql `
|
|
|
27
27
|
function useLeaderboardRank(props) {
|
|
28
28
|
var _a, _b, _c;
|
|
29
29
|
const programId = index_module.M();
|
|
30
|
-
const user = index_module.
|
|
30
|
+
const user = index_module.ie();
|
|
31
31
|
const rankVariables = {
|
|
32
32
|
type: props.leaderboardType,
|
|
33
33
|
filter: { programId_eq: programId },
|
|
@@ -35,7 +35,7 @@ function useLeaderboardRank(props) {
|
|
|
35
35
|
if (props.interval) {
|
|
36
36
|
rankVariables.filter["interval"] = props.interval;
|
|
37
37
|
}
|
|
38
|
-
const { data: rankData } = index_module.
|
|
38
|
+
const { data: rankData } = index_module.sn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
39
39
|
const fullRankText = ((_a = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _a === void 0 ? void 0 : _a.leaderboardRank) ? global.intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
40
40
|
rank: (_c = (_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) === null || _c === void 0 ? void 0 : _c[props.rankType],
|
|
41
41
|
})
|
|
@@ -60,7 +60,7 @@ const LeaderboardRank = class {
|
|
|
60
60
|
}
|
|
61
61
|
disconnectedCallback() { }
|
|
62
62
|
render() {
|
|
63
|
-
const props = index_module.
|
|
63
|
+
const props = index_module.jn()
|
|
64
64
|
? useLeaderboardRankDemo(this)
|
|
65
65
|
: useLeaderboardRank(this);
|
|
66
66
|
return index.h(sqmLeaderboardRankView.LeaderboardRankView, Object.assign({}, props));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
7
7
|
require('./use-callback-e754042f.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f972f103.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-7b7c59fe.js');
|
|
@@ -42,7 +42,7 @@ const NameFields = class {
|
|
|
42
42
|
}
|
|
43
43
|
disconnectedCallback() { }
|
|
44
44
|
render() {
|
|
45
|
-
const { states } = index_module.
|
|
45
|
+
const { states } = index_module.jn() ? useNameFieldsDemo(this) : useNameFields(this);
|
|
46
46
|
return index.h(sqmNameFieldsView.NameFieldsView, { states: states });
|
|
47
47
|
}
|
|
48
48
|
};
|
|
@@ -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-f972f103.js');
|
|
5
5
|
const mixins = require('./mixins-7b7c59fe.js');
|
|
6
6
|
const JSS = require('./JSS-c65a40f1.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.dn.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 }),
|
|
@@ -5,16 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
7
7
|
require('./use-callback-e754042f.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f972f103.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-7b7c59fe.js');
|
|
12
12
|
require('./JSS-c65a40f1.js');
|
|
13
13
|
const utils = require('./utils-01dbfd4a.js');
|
|
14
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
14
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-2ac54715.js');
|
|
15
15
|
|
|
16
16
|
function useNavigationSidebarItem(props) {
|
|
17
|
-
const currentPage = index_module.
|
|
17
|
+
const currentPage = index_module.ln();
|
|
18
18
|
return {
|
|
19
19
|
states: {
|
|
20
20
|
active: currentPage.pathname === props.path,
|
|
@@ -34,7 +34,7 @@ const NavigationSidebarItem = class {
|
|
|
34
34
|
}
|
|
35
35
|
disconnectedCallback() { }
|
|
36
36
|
render() {
|
|
37
|
-
const props = index_module.
|
|
37
|
+
const props = index_module.jn()
|
|
38
38
|
? useSidebarItemDemo(utils.getProps(this))
|
|
39
39
|
: useNavigationSidebarItem(utils.getProps(this));
|
|
40
40
|
return index.h(sqmNavigationSidebarItemView.NavigationSidebarItemView, Object.assign({}, props));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
7
7
|
require('./use-callback-e754042f.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f972f103.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
const mixins = require('./mixins-7b7c59fe.js');
|
|
@@ -544,7 +544,7 @@ const PortalPasswordField = class {
|
|
|
544
544
|
}
|
|
545
545
|
disconnectedCallback() { }
|
|
546
546
|
render() {
|
|
547
|
-
const { states, callbacks } = index_module.
|
|
547
|
+
const { states, callbacks } = index_module.jn()
|
|
548
548
|
? usePasswordFieldDemo(this)
|
|
549
549
|
: usePasswordField(this);
|
|
550
550
|
return index.h(PortalResetPasswordView, { states: states, callbacks: callbacks });
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
7
7
|
require('./use-callback-e754042f.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-f972f103.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const utils = require('./utils-01dbfd4a.js');
|
|
11
11
|
|
|
@@ -20,10 +20,10 @@ const PopupContainerView = (props) => {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
function usePopupContainer(props) {
|
|
23
|
-
const engagementMedium = index_module.
|
|
23
|
+
const engagementMedium = index_module.Rn();
|
|
24
24
|
function closePopup() {
|
|
25
25
|
var _a;
|
|
26
|
-
if (index_module.
|
|
26
|
+
if (index_module.Rn() === "POPUP") {
|
|
27
27
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -37,7 +37,7 @@ function usePopupContainer(props) {
|
|
|
37
37
|
? "0"
|
|
38
38
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
39
39
|
: "0";
|
|
40
|
-
const padding = index_module.
|
|
40
|
+
const padding = index_module.Rn() === "POPUP" ? popupPadding : embedPadding;
|
|
41
41
|
return {
|
|
42
42
|
states: {
|
|
43
43
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-633d1fb7.js');
|
|
5
5
|
const mixins = require('./mixins-7b7c59fe.js');
|
|
6
6
|
const JSS = require('./JSS-c65a40f1.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-f101dedf.js');
|
|
@@ -4,20 +4,20 @@ 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-87a1f4f7.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-633d1fb7.js');
|
|
8
8
|
require('./use-callback-e754042f.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-f972f103.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
12
12
|
require('./mixins-7b7c59fe.js');
|
|
13
13
|
require('./JSS-c65a40f1.js');
|
|
14
14
|
require('./sqm-text-span-view-f101dedf.js');
|
|
15
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
15
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-c32a55d6.js');
|
|
16
16
|
|
|
17
17
|
function usePortalEmailVerification(props) {
|
|
18
18
|
var _a, _b, _c, _d, _e;
|
|
19
|
-
const [request, { loading, data, errors }] = index_module.
|
|
20
|
-
const userIdent = index_module.
|
|
19
|
+
const [request, { loading, data, errors }] = index_module.nn();
|
|
20
|
+
const userIdent = index_module.ie();
|
|
21
21
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
22
22
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
23
23
|
const [error, setError] = stencilHooks_module.useState("");
|
|
@@ -87,7 +87,7 @@ const PortalEmailVerification = class {
|
|
|
87
87
|
}
|
|
88
88
|
disconnectedCallback() { }
|
|
89
89
|
render() {
|
|
90
|
-
const { states, callbacks, content } = index_module.
|
|
90
|
+
const { states, callbacks, content } = index_module.jn()
|
|
91
91
|
? usePortalEmailVerificationDemo(this)
|
|
92
92
|
: usePortalEmailVerification(this);
|
|
93
93
|
return (index.h(sqmPortalEmailVerificationView.PortalEmailVerificationView, { states: states, callbacks: callbacks, content: content }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-633d1fb7.js');
|
|
5
5
|
const JSS = require('./JSS-c65a40f1.js');
|
|
6
6
|
|
|
7
7
|
function PoweredByImg({ color = "#A6A6A6", width = 190, height = 29, }) {
|