@saasquatch/mint-components 1.5.0-2 → 1.5.0-20
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/CHANGELOG.md +48 -24
- package/dist/cjs/{ShadowViewAddon-a85b8c8d.js → ShadowViewAddon-475e00d3.js} +3 -3
- package/dist/cjs/{global-6223fe8f.js → global-0ba9aa05.js} +8 -8
- package/dist/cjs/{index.module-7dd4b981.js → index.module-c0bf9df0.js} +16 -16
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-6111d4bd.js → re-render-124b56ee.js} +4 -4
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-brand_31.cjs.entry.js → sqm-brand_39.cjs.entry.js} +1884 -4155
- package/dist/cjs/sqm-card-feed-view-02999919.js +375 -0
- package/dist/cjs/sqm-card-feed.cjs.entry.js +32 -0
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-leaderboard-rank-view-7dd44d62.js → sqm-leaderboard-rank-view-9b6487f6.js} +2 -2
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +2 -2
- package/dist/cjs/sqm-name-fields.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-navigation-sidebar-item-view-6c7f78e6.js → sqm-navigation-sidebar-item-view-a2bdcf05.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-08d1848c.js → sqm-portal-email-verification-view-46e037ca.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -6
- package/dist/cjs/{sqm-portal-footer-view-69c73802.js → sqm-portal-footer-view-2a0dca52.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +18 -6
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-14b41436.js → sqm-portal-profile-view-492cc289.js} +31 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +6 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +14 -6
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +15 -7
- package/dist/cjs/sqm-program-explainer-step-view-17c5e99d.js +68 -0
- package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +3 -16
- package/dist/cjs/sqm-program-explainer-view-d516c9df.js +60 -0
- package/dist/cjs/sqm-program-explainer.cjs.entry.js +4 -33
- package/dist/cjs/sqm-referral-table-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-share-code.cjs.entry.js +4 -4
- package/dist/cjs/{useDemoBigStat-2786227e.js → useDemoBigStat-49cd314a.js} +8 -7
- package/dist/collection/collection-manifest.json +10 -2
- package/dist/collection/components/sqm-big-stat/BigStat.stories.js +8 -1
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +21 -1
- package/dist/collection/components/sqm-big-stat/useBigStat.js +4 -4
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +1 -0
- package/dist/collection/components/sqm-brand/SqmBrand.stories.js +31 -13
- package/dist/collection/components/sqm-brand/sqm-brand.js +53 -15
- package/dist/collection/components/sqm-card-feed/CardFeed.stories.js +92 -0
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +29 -0
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +79 -0
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +27 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +3 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +25 -0
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +27 -0
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +2 -1
- package/dist/collection/components/sqm-portal-forgot-password/PortalForgotPassword.stories.js +4 -0
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +55 -3
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +4 -2
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +6 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +59 -4
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +4 -2
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +55 -2
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +3 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +30 -1
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +30 -1
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +2 -2
- package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +47 -29
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +50 -27
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +158 -5
- package/dist/collection/components/sqm-program-explainer-step/ProgramExplainerStep.stories.js +4 -10
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +49 -20
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +46 -46
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/ReferralTableCell.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +5 -2
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +4 -3
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +55 -25
- package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +3 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +228 -200
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +482 -3
- package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +17 -12
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +8 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js +42 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-rewards-cell.js +154 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +78 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +95 -0
- package/dist/collection/components/sqm-rewards-table/columns/RewardTableColumn.js +1 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.js +130 -0
- package/dist/collection/components/sqm-rewards-table/{sqm-rewards-table-column.js → columns/sqm-rewards-table-reward-column.js} +5 -9
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +145 -0
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.js +117 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +83 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +7 -30
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +33 -7
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +22 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +17 -9
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +62 -10
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +40 -45
- package/dist/collection/components/sqm-stencilbook/Themes.js +3 -11
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +5 -1
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +12 -0
- package/dist/collection/components/sqm-task-card/progress-bar/SVGs.js +1 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +24 -31
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +82 -21
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +108 -2
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +1 -1
- package/dist/collection/fonts/GoogleFonts.js +12 -0
- package/dist/collection/global/global.js +1 -1
- package/dist/collection/global/styles.js +5 -5
- package/dist/collection/global/styles.ts +5 -5
- package/dist/collection/stories/NewPortal.stories.js +15 -15
- package/dist/collection/tables/TableSlots.js +9 -1
- package/dist/esm/{ShadowViewAddon-a3f510db.js → ShadowViewAddon-558fabb7.js} +3 -3
- package/dist/esm/{global-90da933f.js → global-6b404f7f.js} +8 -8
- package/dist/esm/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-e06f2f7f.js → re-render-6d5b856e.js} +4 -4
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat.entry.js +2 -2
- package/dist/esm/{sqm-brand_31.entry.js → sqm-brand_39.entry.js} +1870 -4149
- package/dist/esm/sqm-card-feed-view-c56cf42d.js +373 -0
- package/dist/esm/sqm-card-feed.entry.js +28 -0
- package/dist/esm/sqm-graphql-client-provider.entry.js +4 -4
- package/dist/esm/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-a350e73c.js} +2 -2
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/sqm-leaderboard.entry.js +2 -2
- package/dist/esm/sqm-name-fields.entry.js +1 -1
- package/dist/esm/{sqm-navigation-sidebar-item-view-f2304ad9.js → sqm-navigation-sidebar-item-view-2d8c368c.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-ff8af635.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +13 -6
- package/dist/esm/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-d33f2e35.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +18 -6
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-b67467b4.js → sqm-portal-profile-view-beb878a3.js} +29 -3
- package/dist/esm/sqm-portal-profile.entry.js +6 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +5 -5
- package/dist/esm/sqm-portal-reset-password.entry.js +16 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +15 -7
- package/dist/esm/sqm-program-explainer-step-view-e2b39225.js +66 -0
- package/dist/esm/sqm-program-explainer-step.entry.js +3 -16
- package/dist/esm/sqm-program-explainer-view-f726f5ec.js +58 -0
- package/dist/esm/sqm-program-explainer.entry.js +7 -36
- package/dist/esm/sqm-referral-table-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-date-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-rewards-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-status-column.entry.js +2 -2
- package/dist/esm/sqm-referral-table-user-column.entry.js +2 -2
- package/dist/esm/sqm-share-code.entry.js +4 -4
- package/dist/esm/{useDemoBigStat-c3b955b7.js → useDemoBigStat-acd4b73f.js} +8 -7
- package/dist/esm-es5/ShadowViewAddon-558fabb7.js +1 -0
- package/dist/esm-es5/{global-90da933f.js → global-6b404f7f.js} +2 -2
- package/dist/esm-es5/{index.module-90d2c3ad.js → index.module-eb50a8d2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-e06f2f7f.js → re-render-6d5b856e.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_39.entry.js +1 -0
- package/dist/esm-es5/sqm-card-feed-view-c56cf42d.js +1 -0
- package/dist/esm-es5/sqm-card-feed.entry.js +1 -0
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/{sqm-leaderboard-rank-view-47844836.js → sqm-leaderboard-rank-view-a350e73c.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard.entry.js +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-2d8c368c.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-8cefe480.js → sqm-portal-email-verification-view-ff8af635.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-d9fe0bf8.js → sqm-portal-footer-view-d33f2e35.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-beb878a3.js +1 -0
- 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-program-explainer-step-view-e2b39225.js +1 -0
- package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
- package/dist/esm-es5/sqm-program-explainer-view-f726f5ec.js +1 -0
- package/dist/esm-es5/sqm-program-explainer.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -1
- package/dist/esm-es5/sqm-share-code.entry.js +1 -1
- package/dist/esm-es5/useDemoBigStat-acd4b73f.js +1 -0
- package/dist/mint-components/global/styles.ts +5 -5
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-e7f633b9.system.js → p-03aa4cc8.system.js} +1 -1
- package/dist/mint-components/{p-3ce2fb83.system.js → p-03e93c82.system.js} +1 -1
- package/dist/mint-components/p-0d8b2757.system.entry.js +1 -0
- package/dist/mint-components/p-13cbfee2.entry.js +372 -0
- package/dist/mint-components/{p-221a4097.entry.js → p-1705e549.entry.js} +1 -1
- package/dist/mint-components/p-2338162a.entry.js +1 -0
- package/dist/mint-components/{p-73148868.system.entry.js → p-24fa8920.system.entry.js} +1 -1
- package/dist/mint-components/p-2765e302.system.entry.js +1 -0
- package/dist/mint-components/{p-e6d77d20.system.entry.js → p-29ee7d11.system.entry.js} +1 -1
- package/dist/mint-components/p-2fb1baf2.system.js +1 -0
- package/dist/mint-components/{p-9d6dbb2d.entry.js → p-3143cce4.entry.js} +1 -1
- package/dist/mint-components/p-340089a3.system.js +1 -0
- package/dist/mint-components/p-34112d74.entry.js +1 -0
- package/dist/mint-components/p-35ee8cdf.js +1 -0
- package/dist/mint-components/{p-60855d33.system.js → p-3adbd62c.system.js} +1 -1
- package/dist/mint-components/p-3e1bd246.entry.js +1 -0
- package/dist/mint-components/{p-3b97aed8.system.js → p-40e83a85.system.js} +1 -1
- package/dist/mint-components/{p-be2738b0.system.entry.js → p-46493de5.system.entry.js} +1 -1
- package/dist/mint-components/{p-29fab29b.entry.js → p-53e51b3f.entry.js} +1 -1
- package/dist/mint-components/p-5744f326.system.js +1 -0
- package/dist/mint-components/{p-0eb3e89c.js → p-5894ceb0.js} +1 -1
- package/dist/mint-components/p-5b9a5dfa.entry.js +1 -0
- package/dist/mint-components/{p-d35b0366.js → p-5d925bb6.js} +1 -1
- package/dist/mint-components/{p-c6114bfe.system.js → p-5e4e7f01.system.js} +1 -1
- package/dist/mint-components/{p-224504ad.js → p-61acba7a.js} +1 -1
- package/dist/mint-components/p-63d1efcd.system.entry.js +1 -0
- package/dist/mint-components/{p-f17050de.entry.js → p-65c79eec.entry.js} +1 -1
- package/dist/mint-components/{p-46a4269a.js → p-671dfda0.js} +2 -2
- package/dist/mint-components/p-69e273b4.entry.js +1 -0
- package/dist/mint-components/p-6b8d51d6.entry.js +1 -0
- package/dist/mint-components/p-6caa44e1.system.entry.js +1 -0
- package/dist/mint-components/p-700f96f5.js +1 -0
- package/dist/mint-components/{p-49cbd0a2.entry.js → p-760762d3.entry.js} +2 -2
- package/dist/mint-components/{p-b608f7a4.system.js → p-795acde7.system.js} +2 -2
- package/dist/mint-components/{p-44d0fc80.system.entry.js → p-7a26fed1.system.entry.js} +1 -1
- package/dist/mint-components/{p-b1bb07db.entry.js → p-7dcefa4f.entry.js} +1 -1
- package/dist/mint-components/{p-223b42bd.system.entry.js → p-7ff22998.system.entry.js} +1 -1
- package/dist/mint-components/{p-6882070c.js → p-82506e49.js} +1 -1
- package/dist/mint-components/{p-a6094ff9.system.js → p-8451453e.system.js} +1 -1
- package/dist/mint-components/p-85efd952.entry.js +1 -0
- package/dist/mint-components/p-86255b95.entry.js +1 -0
- package/dist/mint-components/{p-24c9a599.system.entry.js → p-88fdfd94.system.entry.js} +1 -1
- package/dist/mint-components/p-89d63744.system.js +1 -0
- package/dist/mint-components/p-8c3d0392.system.entry.js +1 -0
- package/dist/mint-components/p-8f58ce03.system.entry.js +1 -0
- package/dist/mint-components/p-90647dea.entry.js +1 -0
- package/dist/mint-components/{p-412a9226.system.entry.js → p-97b946c2.system.entry.js} +1 -1
- package/dist/mint-components/p-9a82ec56.entry.js +1 -0
- package/dist/mint-components/p-9f14da02.system.entry.js +1 -0
- package/dist/mint-components/{p-1a09e4e1.system.entry.js → p-a0a26fc5.system.entry.js} +1 -1
- package/dist/mint-components/{p-304e6c82.system.entry.js → p-a355eeaf.system.entry.js} +1 -1
- package/dist/mint-components/p-a831de18.entry.js +1 -0
- package/dist/mint-components/p-a833dbb3.js +1 -0
- package/dist/mint-components/{p-52802c88.entry.js → p-adca9d11.entry.js} +1 -1
- package/dist/mint-components/{p-6e245fa3.system.entry.js → p-aee83885.system.entry.js} +1 -1
- package/dist/mint-components/p-b0d598db.system.entry.js +1 -0
- package/dist/mint-components/p-b11625ed.system.entry.js +1 -0
- package/dist/mint-components/p-ba0e812a.system.js +1 -0
- package/dist/mint-components/p-bb7fd343.system.js +1 -0
- package/dist/mint-components/{p-f90486ca.js → p-bd0887fb.js} +15 -15
- package/dist/mint-components/p-bffad7b3.system.entry.js +1 -0
- package/dist/mint-components/p-c04d40db.system.entry.js +1 -0
- package/dist/mint-components/{p-3397167c.entry.js → p-c0f9d0b1.entry.js} +1 -1
- package/dist/mint-components/p-c3d0b165.entry.js +1 -0
- package/dist/mint-components/p-c61028b0.entry.js +1 -0
- package/dist/mint-components/{p-fce1dbf6.entry.js → p-cc652a53.entry.js} +1 -1
- package/dist/mint-components/p-d3c7dbfc.entry.js +1 -0
- package/dist/mint-components/{p-24b3c6f0.system.entry.js → p-d4a1bce9.system.entry.js} +1 -1
- package/dist/mint-components/p-d6416b4d.js +1 -0
- package/dist/mint-components/{p-d21e0dbd.js → p-ded15f0a.js} +1 -1
- package/dist/mint-components/{p-c79c608d.system.entry.js → p-e7cb4274.system.entry.js} +1 -1
- package/dist/mint-components/{p-723ebe45.entry.js → p-ed2e08f8.entry.js} +2 -2
- package/dist/mint-components/{p-396bf448.system.entry.js → p-f20d9204.system.entry.js} +1 -1
- package/dist/mint-components/{p-cdeae699.system.js → p-f9ada3d7.system.js} +1 -1
- package/dist/mint-components/p-f9c4d41b.js +1 -0
- package/dist/mint-components/{p-563253e8.js → p-faf66fdb.js} +1 -1
- package/dist/mint-components/p-fcd03042.entry.js +1 -0
- package/dist/mint-components/{p-69bcf4fa.system.entry.js → p-fd281e6b.system.entry.js} +1 -1
- package/dist/mint-components/{p-67ae18d1.system.entry.js → p-ff747334.system.entry.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +1 -0
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +6 -0
- package/dist/types/components/sqm-big-stat/useBigStat.d.ts +1 -0
- package/dist/types/components/sqm-brand/SqmBrand.stories.d.ts +1 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +8 -2
- package/dist/types/components/sqm-card-feed/CardFeed.stories.d.ts +5 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed-view.d.ts +7 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +18 -0
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +11 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +4 -0
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +6 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +10 -0
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +3 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +8 -0
- package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +10 -0
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +1 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +8 -0
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +8 -0
- package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -1
- package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +3 -1
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +11 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +33 -3
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step-view.d.ts +2 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +14 -12
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +246 -0
- package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +3 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +78 -0
- package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +16 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.d.ts +7 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-rewards-cell.d.ts +5 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +4 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +6 -0
- package/dist/types/components/sqm-rewards-table/columns/RewardTableColumn.d.ts +5 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-date-column.d.ts +25 -0
- package/dist/types/components/sqm-rewards-table/{sqm-rewards-table-column.d.ts → columns/sqm-rewards-table-reward-column.d.ts} +3 -4
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.d.ts +23 -0
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-status-column.d.ts +19 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-view.d.ts +29 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +2 -4
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +0 -33
- package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +2 -0
- package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +3 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +12 -0
- package/dist/types/components/sqm-stencilbook/AutoColor.d.ts +0 -8
- package/dist/types/components/sqm-stencilbook/Themes.d.ts +1 -1
- package/dist/types/components/sqm-task-card/progress-bar/SVGs.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +4 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +22 -0
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +1 -1
- package/dist/types/components.d.ts +628 -36
- package/dist/types/fonts/GoogleFonts.d.ts +9 -0
- package/dist/types/global/styles.d.ts +1 -1
- package/dist/types/saasquatch.d.ts +34 -0
- package/dist/types/tables/TableSlots.d.ts +1 -0
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -4
- package/dist/cjs/sqm-portal-container-view-d144735a.js +0 -31
- package/dist/cjs/sqm-portal-container.cjs.entry.js +0 -35
- package/dist/cjs/sqm-program-explainer-step-view-0e66bea1.js +0 -49
- package/dist/esm/sqm-portal-container-view-73757ca5.js +0 -29
- package/dist/esm/sqm-portal-container.entry.js +0 -31
- package/dist/esm/sqm-program-explainer-step-view-26920cf9.js +0 -47
- package/dist/esm-es5/ShadowViewAddon-a3f510db.js +0 -1
- package/dist/esm-es5/sqm-brand_31.entry.js +0 -58
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-f2304ad9.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-73757ca5.js +0 -1
- package/dist/esm-es5/sqm-portal-container.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-b67467b4.js +0 -1
- package/dist/esm-es5/sqm-program-explainer-step-view-26920cf9.js +0 -1
- package/dist/esm-es5/useDemoBigStat-c3b955b7.js +0 -1
- package/dist/mint-components/p-07c924fa.system.js +0 -1
- package/dist/mint-components/p-160bd62f.entry.js +0 -1
- package/dist/mint-components/p-16f5a7cb.system.js +0 -1
- package/dist/mint-components/p-1c8b0290.entry.js +0 -1
- package/dist/mint-components/p-1dcdca58.system.entry.js +0 -1
- package/dist/mint-components/p-1ea0804d.js +0 -1
- package/dist/mint-components/p-20d41ab1.entry.js +0 -1
- package/dist/mint-components/p-244f3d9b.system.entry.js +0 -1
- package/dist/mint-components/p-33c5ffb7.entry.js +0 -1
- package/dist/mint-components/p-3d856985.entry.js +0 -1
- package/dist/mint-components/p-4052b948.system.entry.js +0 -1
- package/dist/mint-components/p-45c752a0.entry.js +0 -1
- package/dist/mint-components/p-4fd17832.entry.js +0 -1
- package/dist/mint-components/p-547a0354.system.js +0 -1
- package/dist/mint-components/p-5480e4ee.entry.js +0 -1
- package/dist/mint-components/p-6bf0a4d9.system.entry.js +0 -1
- package/dist/mint-components/p-7300b0ae.entry.js +0 -397
- package/dist/mint-components/p-8435a22d.entry.js +0 -1
- package/dist/mint-components/p-883a32e7.entry.js +0 -1
- package/dist/mint-components/p-9bda1dc4.system.entry.js +0 -1
- package/dist/mint-components/p-9c554ca0.system.js +0 -1
- package/dist/mint-components/p-9e4fee30.system.entry.js +0 -1
- package/dist/mint-components/p-a2c3cff3.js +0 -1
- package/dist/mint-components/p-a4c2c7ed.entry.js +0 -1
- package/dist/mint-components/p-ade44a4e.entry.js +0 -1
- package/dist/mint-components/p-b8bd2607.entry.js +0 -1
- package/dist/mint-components/p-cca9026f.system.entry.js +0 -1
- package/dist/mint-components/p-d12c666e.system.js +0 -1
- package/dist/mint-components/p-d174d0bc.system.entry.js +0 -1
- package/dist/mint-components/p-db2e4c42.js +0 -1
- package/dist/mint-components/p-dc603d08.system.entry.js +0 -1
- package/dist/mint-components/p-ded1509b.entry.js +0 -1
- package/dist/mint-components/p-e069bc2d.entry.js +0 -1
- package/dist/mint-components/p-e43cc1f8.system.entry.js +0 -1
- package/dist/mint-components/p-ebcd8a59.js +0 -1
- package/dist/mint-components/p-f8c5f710.system.entry.js +0 -58
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,h as t}from"./p-64c3217a.js";import{m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-
|
|
1
|
+
import{r as a,h as t}from"./p-64c3217a.js";import{m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{j as e}from"./p-a833dbb3.js";import{c as i}from"./p-c1086930.js";import{w as r,u as l,L as n}from"./p-faf66fdb.js";const o=class{constructor(t){a(this,t),this.ignored=!0,s(this),r(this)}disconnectedCallback(){}render(){const a={empty:t("slot",{name:"empty"}),loadingstate:t("slot",{name:"loading"}),usersheading:this.usersheading,statsheading:this.statsheading,rankType:this.rankType,leaderboardType:this.leaderboardType,interval:this.interval},s={...a,demoData:this.demoData},r=e()?function(a){return i({states:{loading:!1,hasLeaders:!0,styles:{usersheading:a.usersheading?a.usersheading:"TOP REFERRERS",statsheading:a.statsheading?a.statsheading:"NEW TITANS"}},data:{rankType:"rowNumber",leaderboard:[{firstName:"Viktor",lastInitial:"V",value:82,rank:1},{firstName:"MF",lastInitial:"D",value:73,rank:2},{firstName:"Freddie",lastInitial:"G",value:64,rank:3},{firstName:"Benny",lastInitial:"B",value:55,rank:4},{firstName:"Mos",lastInitial:"D",value:46,rank:5}]},elements:{empty:a.empty?a.empty:t("div",null,"Empty"),loadingstate:a.loadingstate?a.loadingstate:t("div",null,"Loading")}},a.demoProps||{},{arrayMerge:(a,t)=>t})}(s):l(a);return t(n,Object.assign({},r))}};o.style=":host{display:block}:host([hidden]){display:none}table{width:100%}th{font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-semibold);text-align:left}td{font-size:var(--sl-font-size-medium);font-weight:var(--sl-font-weight-normal)}td,th{color:var(--sl-color-gray-800);padding:var(--sl-spacing-x-small) var(--sl-spacing-small)}.User{width:100%}.Score{width:auto;white-space:nowrap}";export{o as sqm_leaderboard}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as o}from"./p-64c3217a.js";import{j as e,e as i,m as s}from"./p-44578b22.js";import"./p-ba505a8c.js";import{n as t,l,b as d,j as r}from"./p-a833dbb3.js";import"./p-db5a1e78.js";import{c as n}from"./p-c1086930.js";import"./p-26f627aa.js";import"./p-9b4f2af6.js";import{P as c}from"./p-a8b913a8.js";const v=class{constructor(o){a(this,o),this.ignored=!0,this.nextPage="/",this.failedPage="/",s(this)}disconnectedCallback(){}render(){const{states:a,data:s,callbacks:v}=r()?n({states:{error:"",loading:!1,verified:!0},data:{oobCode:"code"},callbacks:{failed:()=>{console.log("failed")},gotoNextPage:()=>{}}},this.demoData||{},{arrayMerge:(a,o)=>o}):function({nextPage:a,failedPage:o}){var s,r,n,c,v;const[m,p]=e(!1),[u,b]=e(!0),f=t(),[h,{loading:g,data:j,errors:P}]=l(),[k,x]=e(""),C=new URLSearchParams(window.location.search),w=C.get("oobCode"),y=C.get("nextPage");C.delete("oobCode");const N=()=>(C.delete("nextPage"),d.push({pathname:y||a,search:C.toString()&&"?"+C.toString()}));return i((()=>{var a;(null===(a=null==j?void 0:j.verifyManagedIdentityEmail)||void 0===a?void 0:a.success)&&p(!0)}),[null===(s=null==j?void 0:j.verifyManagedIdentityEmail)||void 0===s?void 0:s.success]),i((()=>{(async()=>{w&&(x(""),await h({oobCode:w}))})()}),[]),i((()=>{var a,o;(null===(a=null==f?void 0:f.managedIdentity)||void 0===a?void 0:a.emailVerified)?(b(!1),setTimeout((()=>{N()}),3e3)):w&&!1!==(null===(o=null==j?void 0:j.verifyManagedIdentityEmail)||void 0===o?void 0:o.success)?f||(b(!1),setTimeout((()=>{N()}),3e3)):b(!1)}),[null===(r=null==f?void 0:f.managedIdentity)||void 0===r?void 0:r.emailVerified]),i((()=>{(null==P?void 0:P.message)&&x("Network request failed.")}),[P]),{states:{loading:g||u,error:(null===(v=null===(c=null===(n=null==P?void 0:P.response)||void 0===n?void 0:n.errors)||void 0===c?void 0:c[0])||void 0===v?void 0:v.message)||k,verified:m},data:{oobCode:w},callbacks:{failed:()=>d.push({pathname:o,search:C.toString()&&"?"+C.toString()}),gotoNextPage:N}}}(this);return o(c,{states:a,data:s,callbacks:v})}};export{v as sqm_portal_verify_email}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-db5a1e78.js";import{g as o}from"./p-fb1b6fdf.js";import{P as p}from"./p-35ee8cdf.js";const a=class{constructor(r){s(this,r),t(this)}disconnectedCallback(){}render(){return r(p,Object.assign({},o(this)))}};export{a as sqm_program_explainer_step}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{
|
|
1
|
+
import{r as s}from"./p-64c3217a.js";import{m as t}from"./p-44578b22.js";import"./p-ba505a8c.js";import{Y as o,b as a,j as r}from"./p-a833dbb3.js";const i=class{constructor(o){s(this,o),this.ignored=!0,this.nextPage="/",t(this)}disconnectedCallback(){}render(){r()||function({nextPage:s}){o(void 0),a.push({pathname:s,search:""})}(this)}};export{i as sqm_portal_logout}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,c as t}from"./p-64c3217a.js";import{m as a}from"./p-44578b22.js";import"./p-ba505a8c.js";import"./p-a833dbb3.js";import{a as s}from"./p-61acba7a.js";const n=class{constructor(r){e(this,r),this.columnTitle="Date Converted",this.dateShown="dateConverted",a(this)}disconnectedCallback(){}async renderCell(e){return r("sqm-referral-table-date-cell",{date:e[this.dateShown]})}async renderLabel(){return this.columnTitle}render(){return s([this.dateShown,this.columnTitle]),r(t,{style:{display:"none"}})}};export{n as sqm_referral_table_date_column}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function u(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(u,a)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,u;return u={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function a(t){return function(e){return c([t,e])}}function c(u){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=u[0]&2?o["return"]:u[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;if(o=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1];i=u;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(u);break}if(i[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-40e83a85.system.js","./p-03e93c82.system.js"],(function(t){"use strict";var e,n,r,o,i,u;return{setters:[function(t){e=t.r;n=t.h;r=t.g;o=t.c},function(t){i=t.m},function(){},function(){},function(t){u=t.a}],execute:function(){var a=t("sqm_referral_table_column",function(){function t(t){e(this,t);i(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,n("sqm-referral-table-cell",{"inner-template":r(this).innerHTML})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,Promise.resolve(this.columnTitle)]}))}))};t.prototype.render=function(){u([this.columnTitle]);return n(o,{style:{display:"none"}},n("slot",null))};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as l}from"./p-64c3217a.js";import{i as t}from"./p-671dfda0.js";import{j as e,c as a}from"./p-db5a1e78.js";import{T as r}from"./p-9b4f2af6.js";function i(t,r){const i={Container:{display:"grid","grid-template-columns":"row"===t.direction?`repeat(auto-fill, minmax(${t.minWidth}, auto))`:"100%","grid-gap":`var(--sl-spacing-${t.gap})`,padding:"none"===t.padding?"0":`var(--sl-spacing-${t.padding})`,maxWidth:t.maxWidth?t.maxWidth:""}};e.setup(a());const o=e.createStyleSheet(i),s=o.toString();return l("div",{class:o.classes.Container},l("style",{type:"text/css"},"\n :host{\n width: 100%;\n display: block;\n }",s),r)}function o(o){var s,n,d,p,u;const{states:c,callbacks:m}=o,{text:v,formState:b}=c,{errors:x,error:g}=b;e.setup(a());const y=e.createStyleSheet({FormStyle:{"& >*:not(:last-child)":{"margin-bottom":"32px"}},Error:{"&::part(erroralert-base)":{"margin-bottom":"32px"}},NameInputStyle:{"&:not(:last-child)":{"margin-right":"var(--sl-spacing-medium)"}}}),f=y.toString(),h=(null===(s=c.user)||void 0===s?void 0:s.countryCode)?t.formatDisplayName(null===(n=c.user)||void 0===n?void 0:n.countryCode,{type:"region"}):"";return l(i,Object.assign({},{direction:"row",padding:"xxx-large",gap:"xxx-large",minWidth:"600px"}),l("style",{type:"text/css"},f),l(r,Object.assign({},{type:"h1"}),v.editProfileHeader),l(r,Object.assign({},{type:"h2"}),v.editProfileSubHeader),l("form",{class:y.classes.FormStyle,onSubmit:m.onSubmit},c.success&&l("sqm-form-message",{exportparts:"success-icon"},l("div",{part:"successalert-text"},"Your profile has been successfully updated.")),g&&l("sqm-form-message",{class:y.classes.Error,type:"error",exportparts:"erroralert-icon"},l("div",{part:"erroralert-text"},g)),l(i,Object.assign({},{direction:"row",padding:"none",gap:"32px",minWidth:"50%"}),l("sl-input",Object.assign({class:y.classes.NameInputStyle,exportparts:"label: input-label",value:null===(d=c.user)||void 0===d?void 0:d.firstName,onInput:m.onChange,label:v.firstnametext,disabled:c.loading},(null==x?void 0:x.firstName)&&"valid"!==(null==x?void 0:x.firstName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{id:"firstName",name:"firstName",error:(null==x?void 0:x.firstName)&&"valid"!==(null==x?void 0:x.firstName.status)?null==x?void 0:x.firstName.message:void 0})),l("sl-input",Object.assign({class:y.classes.NameInputStyle,exportparts:"label: input-label",value:null===(p=c.user)||void 0===p?void 0:p.lastName,onInput:m.onChange,label:v.lastnametext,disabled:c.loading,id:"lastName",name:"lastName"},(null==x?void 0:x.lastName)&&"valid"!==(null==x?void 0:x.lastName.status)?{class:"ErrorStyles",helpText:"Cannot be empty"}:[],{error:(null==x?void 0:x.lastName)&&"valid"!==(null==x?void 0:x.lastName.status)?null==x?void 0:x.lastName.message:void 0}))),l("sl-input",{label:v.emailtext,value:null===(u=c.user)||void 0===u?void 0:u.email,exportparts:"label: input-label",disabled:!0}),c.showCountry&&l("sl-input",{label:v.countrytext,value:h,exportparts:"label: input-label",disabled:!0}),l("sl-button",{type:"primary",loading:c.loading,disabled:c.submitDisabled,onClick:l=>{m.onSubmit(l)},submit:!0},v.submitChangeButtonText)))}export{i as P,o as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as n}from"./p-64c3217a.js";import{_ as t}from"./p-
|
|
1
|
+
import{h as n}from"./p-64c3217a.js";import{_ as t}from"./p-671dfda0.js";import{f as e}from"./p-a833dbb3.js";var a=new Map,r=new Map,o=!0,i=!1;function f(n){return n.replace(/[\s,]+/g," ").trim()}function c(n){var c,s,u,m=f(n);if(!a.has(m)){var p=e(n,{experimentalFragmentVariables:i});if(!p||"Document"!==p.kind)throw new Error("Not a valid GraphQL document.");a.set(m,function(n){var t=new Set(n.definitions);t.forEach((function(n){n.loc&&delete n.loc,Object.keys(n).forEach((function(e){var a=n[e];a&&"object"==typeof a&&t.add(a)}))}));var e=n.loc;return e&&(delete e.startToken,delete e.endToken),n}((c=p,s=new Set,u=[],c.definitions.forEach((function(n){if("FragmentDefinition"===n.kind){var t=n.name.value,e=f((i=n.loc).source.body.substring(i.start,i.end)),a=r.get(t);a&&!a.has(e)?o&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||r.set(t,a=new Set),a.add(e),s.has(e)||(s.add(e),u.push(n))}else u.push(n);var i})),t(t({},c),{definitions:u}))))}return a.get(m)}function s(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];"string"==typeof n&&(n=[n]);var a=n[0];return t.forEach((function(t,e){a+=t&&"Document"===t.kind?t.loc.source.body:t,a+=n[e+1]})),c(a)}var u,m=s;(u=s||(s={})).gql=m,u.resetCaches=function(){a.clear(),r.clear()},u.disableFragmentWarnings=function(){o=!1},u.enableExperimentalFragmentVariables=function(){i=!0},u.disableExperimentalFragmentVariables=function(){i=!1},s.default=s;const p=s;function l(t){const{data:e}=t;return n("span",{class:"P"},e.rank)}export{l as L,p as g}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r["throw"](t))}catch(t){i(t)}}function c(t){t.done?n(t.value):o(t.value).then(a,u)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(t){return function(e){return c([t,e])}}function c(a){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=a[0]&2?o["return"]:a[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;if(o=0,i)a=[a[0]&2,i.value];switch(a[0]){case 0:case 1:i=a;break;case 4:n.label++;return{value:a[1],done:false};case 5:n.label++;o=a[1];a=[0];continue;case 7:a=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){n=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){n.label=a[1];break}if(a[0]===6&&n.label<i[1]){n.label=i[1];i=a;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(a);break}if(i[2])n.ops.pop();n.trys.pop();continue}a=e.call(t,n)}catch(t){a=[6,t];o=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-40e83a85.system.js","./p-03e93c82.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.r;n=t.h;r=t.c},function(t){o=t.m},function(){},function(){},function(t){i=t.a}],execute:function(){var a=t("sqm_referral_table_date_column",function(){function t(t){e(this,t);this.columnTitle="Date Converted";this.dateShown="dateConverted";o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.renderCell=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,n("sqm-referral-table-date-cell",{date:t[this.dateShown]})]}))}))};t.prototype.renderLabel=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.columnTitle]}))}))};t.prototype.render=function(){i([this.dateShown,this.columnTitle]);return n(r,{style:{display:"none"}})};return t}())}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-64c3217a.js";import{j as r,e as o,m as i}from"./p-44578b22.js";import"./p-
|
|
1
|
+
import{r as t,h as e}from"./p-64c3217a.js";import{j as r,e as o,m as i}from"./p-44578b22.js";import"./p-671dfda0.js";import"./p-ba505a8c.js";import{d as a,n as s,c as n,D as l,j as d}from"./p-a833dbb3.js";import"./p-db5a1e78.js";import{g as u}from"./p-fb1b6fdf.js";import{c as m}from"./p-c1086930.js";import{a as c}from"./p-d6416b4d.js";import"./p-9b4f2af6.js";const v=a.gql`
|
|
2
2
|
query {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -30,4 +30,4 @@ import{r as t,h as e}from"./p-64c3217a.js";import{j as r,e as o,m as i}from"./p-
|
|
|
30
30
|
lastName
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
`,p={country:"",email:"",firstName:"",lastName:"",errors:{},error:""},b=class{constructor(e){t(this,e),this.ignored=!0,this.firstnametext="First Name",this.lastnametext="Last Name",this.emailtext="Email",this.countrytext="Country",this.editProfileHeader="Edit your profile",this.editProfileSubHeader="Personal Information",this.submitChangeButtonText="Submit Changes",this.showCountry=!0,i(this)}disconnectedCallback(){}render(){const t=
|
|
33
|
+
`,p={country:"",email:"",firstName:"",lastName:"",errors:{},error:""},b=class{constructor(e){t(this,e),this.ignored=!0,this.firstnametext="First Name",this.lastnametext="Last Name",this.emailtext="Email",this.countrytext="Country",this.editProfileHeader="Edit your profile",this.editProfileSubHeader="Personal Information",this.submitChangeButtonText="Submit Changes",this.showCountry=!0,i(this)}disconnectedCallback(){}render(){const t=d()?function(t){return m({states:{success:!1,loading:!1,submitDisabled:!1,showCountry:!0,user:{id:"01",accountId:"111100000",firstName:"Joe",lastName:"Smith",email:"jsmith@gmail.com",countryCode:"CA"},text:{firstnametext:"First Name",lastnametext:"Last Name",emailtext:"Email",countrytext:"Country",editProfileHeader:"Edit your profile",editProfileSubHeader:"Personal Information",submitChangeButtonText:"Submit Changes"},formState:{country:"Canada",firstName:"Joe",lastName:"Smith",errors:null,error:""}},callbacks:{onSubmit:t=>console.log(t),onChange:t=>console.log(t)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(u(this)):function(t){const e=s(),[i,a]=r(!1),[d,u]=r(void 0),[m,c]=r(p),b=n(v,{},!(null==e?void 0:e.jwt)),[h,N]=l(f);return o((()=>{(null==N?void 0:N.loading)||((null==N?void 0:N.errors)?c((t=>{var e,r,o;return{...t,error:null===(o=null===(r=null===(e=null==N?void 0:N.errors)||void 0===e?void 0:e.response)||void 0===r?void 0:r.errors)||void 0===o?void 0:o[0].message}})):(u((t=>{var e;return{...t,...null===(e=null==N?void 0:N.data)||void 0===e?void 0:e.upsertUser}})),(null==N?void 0:N.data)&&a(!0)))}),[null==N?void 0:N.loading]),o((()=>{var t,e;u((t=>{var e;return{...t,...null===(e=null==b?void 0:b.data)||void 0===e?void 0:e.viewer}})),c({...p,...null===(t=b.data)||void 0===t?void 0:t.viewer,...null===(e=N.data)||void 0===e?void 0:e.upsertUser})}),[null==b?void 0:b.data]),o((()=>{var t,e;(null===(t=null==N?void 0:N.errors)||void 0===t?void 0:t.message)&&c({...null===(e=b.data)||void 0===e?void 0:e.viewer,error:"Network request failed."})}),[null==N?void 0:N.errors]),{states:{success:i,loading:(null==b?void 0:b.loading)||N.loading,submitDisabled:!1,showCountry:t.showCountry,formState:m,user:d,text:{firstnametext:t.firstnametext,lastnametext:t.lastnametext,countrytext:t.countrytext,emailtext:t.emailtext,editProfileHeader:t.editProfileHeader,editProfileSubHeader:t.editProfileSubHeader,submitChangeButtonText:t.submitChangeButtonText}},callbacks:{onSubmit:()=>{if(a(!1),m.firstName&&m.lastName)return h({id:null==e?void 0:e.id,accountId:null==e?void 0:e.accountId,firstName:m.firstName,lastName:m.lastName}),void c((t=>({...t,errors:{},error:""})));const t={};m.firstName||(t.firstName={message:"Field can't be empty"}),m.lastName||(t.lastName={message:"Field can't be empty"}),t!=={}&&c((t=>({...t,error:"Please correct the errors below to update your profile."}))),c((e=>({...e,errors:t})))},onChange:t=>{const{name:e,value:r}=t.target;c((t=>({...t,[e]:r})))}}}}(u(this));return e(c,Object.assign({},t))}};export{b as sqm_portal_profile}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-40e83a85.system.js","./p-1b7d89a7.system.js","./p-d7d6bf44.system.js","./p-4bd679a7.system.js","./p-126bcba1.system.js","./p-5e4e7f01.system.js"],(function(t){"use strict";var n,e,s,a,i,c,o,r;return{setters:[function(t){n=t.r;e=t.h},function(t){s=t.m},function(){},function(t){a=t.v;i=t.j},function(){},function(t){c=t.g},function(t){o=t.c},function(){},function(t){r=t.N}],execute:function(){function u(t){var n=a();return{states:{active:n.pathname===t.path},data:{label:t.label,icon:t.icon,path:t.path}}}var f=t("sqm_navigation_sidebar_item",function(){function t(t){n(this,t);s(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i()?p(c(this)):u(c(this));return e(r,Object.assign({},t))};return t}());function p(t){return o({states:{active:false},data:{label:t.label||"Dashboard",icon:t.icon||"house"}},t.demoData||{},{arrayMerge:function(t,n){return n}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};System.register(["./p-ff17b3a4.system.js","./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,a){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:a})}else{e.raw=a}return e};System.register(["./p-ff17b3a4.system.js","./p-40e83a85.system.js"],(function(e){"use strict";var a,r,n,t,i,s;return{setters:[function(e){a=e.h;r=e.g},function(e){n=e.d;t=e.M;i=e.n;s=e.c}],execute:function(){e({L:l,u:d,w:v});function l(e){var r;var n=e.states,t=e.data,i=e.elements;var s=n.styles;if(n.loading){return i.loadingstate}return a("div",null,!n.hasLeaders&&i.empty,n.hasLeaders&&a("table",null,a("tr",null,s.showRank&&a("th",{class:"Rank"},s.rankheading),a("th",{class:"User"},s.usersheading),a("th",{class:"Score"},s.statsheading)),(r=t.leaderboard)===null||r===void 0?void 0:r.map((function(e){return a("tr",{class:"SeparateContent"},s.showRank&&a("td",{class:"Rank"},e.rank),a("td",{class:"User"},e.firstName+" "+e.lastInitial+" "),a("td",{class:"Score"},e.value))}))))}var o=n.gql(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n userLeaderboard(type: $type, filter: $filter) {\n dateModified\n rows {\n value\n firstName\n lastInitial\n rank {\n rank\n denseRank\n rowNumber\n }\n }\n }\n }\n"]));function d(e){var a;var r=t();var n=i();var l={type:e.leaderboardType,filter:{programId_eq:r}};if(e.interval){l.filter["interval"]=e.interval}var d=s(o,l,!(n===null||n===void 0?void 0:n.jwt)),u=d.data,v=d.loading;var f=(a=u===null||u===void 0?void 0:u.userLeaderboard)===null||a===void 0?void 0:a.rows;var c=m(f);var p=c===null||c===void 0?void 0:c.sort((function(e,a){return e.rank-a.rank}));function m(a){return a===null||a===void 0?void 0:a.flatMap((function(a){var r;return{value:a.value,firstName:a.firstName||"Anonymous",lastInitial:a.lastInitial,rank:(r=a.rank)===null||r===void 0?void 0:r[e.rankType]}}))}return{states:{loading:v,hasLeaders:(p===null||p===void 0?void 0:p.length)>0,styles:e},data:{leaderboard:p,rankType:e.rankType},elements:{empty:e.empty,loadingstate:e.loadingstate}}}var u=new Map;function v(e){var a=r(e);var n=e["render"].bind(e);var t=function(){var e=a.getAttribute("stencilbook-shadow-view");if(e){var r=u.get(e);if(r){return r}}return n()};e["render"]=t}var f=e("S",(function(e,r){var n=e.story;var t;var i=(t=n.parent.parameters)===null||t===void 0?void 0:t.tagname;if(!i)return r;var s=Math.round(Math.random()*1e5);u.set(s+"",r);var l="stencilbook-shawdow-view-"+s;return a(l,null,a(i,{"stencilbook-shadow-view":s}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-64c3217a.js";import{j as n,c as s}from"./p-db5a1e78.js";const o=new Map;function i(t,n,s){const o=parseFloat(t.getAttribute(n)||"");return isNaN(o)?s:o}function e(t,n,s){return isNaN(n)?Math.max(1,Math.ceil(t/s)):n}function a(t){let n=0,s=1/0;return t.forEach(((t,o)=>{t<s&&(s=t,n=o)})),n}const h=document.createElement("template");h.innerHTML='\n <style>\n :host {\n display: flex;\n align-items: flex-start;\n justify-content: stretch;\n }\n\n .column {\n\t max-width: calc((100% / var(--_masonry-layout-col-count, 1) - ((var(--_masonry-layout-gap, 24px) * (var(--_masonry-layout-col-count, 1) - 1) / var(--_masonry-layout-col-count, 1)))));\n\t width: 100%;\n flex: 1;\n display: flex;\n flex-direction: column;\n }\n\n .column:not(:last-child) {\n margin-right: var(--_masonry-layout-gap, 24px);\n }\n\n .column ::slotted(*) {\n margin-bottom: var(--_masonry-layout-gap, 24px);\n box-sizing: border-box;\n width: 100%;\n }\n\n /* Hide the items that has not yet found the correct slot */\n #unset-items {\n opacity: 0;\n position: absolute;\n pointer-events: none;\n }\n </style>\n <div id="unset-items">\n <slot></slot>\n </div>\n',window.ShadyCSS&&window.ShadyCSS.prepareTemplateStyles(h,"masonry-layout");class l extends HTMLElement{constructor(){super(),this.debounceId=`layout_${Math.random()}`,this.ro=void 0,this.currentRequestAnimationFrameCallback=void 0,this.attachShadow({mode:"open"}).appendChild(h.content.cloneNode(!0)),this.onSlotChange=this.onSlotChange.bind(this),this.onResize=this.onResize.bind(this),this.layout=this.layout.bind(this),this.$unsetElementsSlot=this.shadowRoot.querySelector("#unset-items > slot")}static get observedAttributes(){return["maxcolwidth","gap","cols"]}set maxColWidth(t){this.setAttribute("maxcolwidth",t.toString())}get maxColWidth(){return i(this,"maxcolwidth",500)}set cols(t){this.setAttribute("cols",t.toString())}get cols(){return i(this,"cols","auto")}set gap(t){this.setAttribute("gap",t.toString())}get gap(){return i(this,"gap",24)}set debounce(t){this.setAttribute("debounce",t.toString())}get debounce(){return i(this,"debounce",300)}get $columns(){return Array.from(this.shadowRoot.querySelectorAll(".column"))}connectedCallback(){this.$unsetElementsSlot.addEventListener("slotchange",this.onSlotChange),"ResizeObserver"in window?(this.ro=new ResizeObserver(this.onResize),this.ro.observe(this)):window.addEventListener("resize",this.onResize)}disconnectedCallback(){this.$unsetElementsSlot.removeEventListener("slotchange",this.onSlotChange),window.removeEventListener("resize",this.onResize),null!=this.ro&&this.ro.unobserve(this)}attributeChangedCallback(t){switch(t){case"gap":this.style.setProperty("--_masonry-layout-gap",`${this.gap}px`)}this.scheduleLayout()}onSlotChange(){(this.$unsetElementsSlot.assignedNodes()||[]).filter((t=>1===t.nodeType)).length>0&&this.layout()}onResize(t){const{width:n}=null!=t&&Array.isArray(t)&&t.length>0?t[0].contentRect:{width:this.offsetWidth};e(n,this.cols,this.maxColWidth)!==this.$columns.length&&this.scheduleLayout()}renderCols(t){const n=this.$columns;if(n.length!==t){for(const t of n)t.parentNode&&t.parentNode.removeChild(t);for(let n=0;n<t;n++){const t=document.createElement("div");t.classList.add("column"),t.setAttribute("part",`column column-${n}`);const s=document.createElement("slot");s.setAttribute("name",n.toString()),t.appendChild(s),this.shadowRoot.appendChild(t)}this.style.setProperty("--_masonry-layout-col-count",t.toString()),window.ShadyCSS&&window.ShadyCSS.styleElement(this)}}scheduleLayout(t=this.debounce){!function(t,n,s){const i=o.get(s);null!=i&&window.clearTimeout(i),o.set(s,window.setTimeout(t,n))}(this.layout,t,this.debounceId)}layout(){null!=this.currentRequestAnimationFrameCallback&&window.cancelAnimationFrame(this.currentRequestAnimationFrameCallback),this.currentRequestAnimationFrameCallback=requestAnimationFrame((()=>{const t=this.gap,n=Array.from(this.children).filter((t=>1===t.nodeType)),s=e(this.offsetWidth,this.cols,this.maxColWidth),o=Array(s).fill(0),i=[];for(const s of n){const n=s.getBoundingClientRect().height;let e=a(o);o[e]+=n+t;const h=e.toString();s.slot!==h&&i.push((()=>s.slot=h))}for(const t of i)t();this.renderCols(s),window.ShadyCSS&&window.ShadyCSS.styleElement(this)}))}}function c(o,i){const e={Container:{columnGap:o.gap+"px",columnWidth:o.width+"px","& > div":{marginBottom:"24px"}}};n.setup(s());const a=n.createStyleSheet(e),h=a.toString();return console.log(o),t("div",null,t("style",{type:"text/css"},h,"\n :host{\n display: block; \n }\n "),t("div",{class:a.classes.Container},i))}customElements.define("masonry-layout",l);export{c as C}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as t,g as e}from"./p-64c3217a.js";import{d as a,M as n,
|
|
1
|
+
import{h as t,g as e}from"./p-64c3217a.js";import{d as a,M as n,n as s,c as r}from"./p-a833dbb3.js";function l(e){var a;const{states:n,data:s,elements:r}=e,{styles:l}=n;return n.loading?r.loadingstate:t("div",null,!n.hasLeaders&&r.empty,n.hasLeaders&&t("table",null,t("tr",null,l.showRank&&t("th",{class:"Rank"},l.rankheading),t("th",{class:"User"},l.usersheading),t("th",{class:"Score"},l.statsheading)),null===(a=s.leaderboard)||void 0===a?void 0:a.map((e=>t("tr",{class:"SeparateContent"},l.showRank&&t("td",{class:"Rank"},e.rank),t("td",{class:"User"},`${e.firstName} ${e.lastInitial} `),t("td",{class:"Score"},e.value))))))}const o=a.gql`
|
|
2
2
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
3
3
|
userLeaderboard(type: $type, filter: $filter) {
|
|
4
4
|
dateModified
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a,c as s}from"./p-64c3217a.js";import{e,m as r}from"./p-44578b22.js";import"./p-ba505a8c.js";import{n as i,v as o,b as n,j as c}from"./p-a833dbb3.js";const l=class{constructor(a){t(this,a),this.ignored=!0,this.redirectTo="/",this.requireEmailVerification=!1,this.redirectToUnverified="/emailVerification",r(this)}disconnectedCallback(){}render(){const t=!!c()||function({requireEmailVerification:t,redirectTo:a,redirectToUnverified:s}){var r;const c=i(),l=!!(null==c?void 0:c.jwt),h=null===(r=null==c?void 0:c.managedIdentity)||void 0===r?void 0:r.emailVerified,{pathname:m,search:p}=o(),d=new URLSearchParams;return d.append("nextPage",`${m}${p}`),e((()=>l?t&&!h?n.push({pathname:s||a,search:"?"+d.toString()}):void 0:n.push({pathname:a,search:"?"+d.toString()})),[]),!!c}(this);return a(s,{style:{display:t?"contents":"none"}},a("slot",null))}};export{l as sqm_portal_protected_route}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-
|
|
1
|
+
System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-1e182e88.system.js","./p-40e83a85.system.js","./p-1b7d89a7.system.js","./p-4bd679a7.system.js","./p-126bcba1.system.js","./p-9c79643f.system.js"],(function(t){"use strict";var e,s,a,n,r,i,o;return{setters:[function(t){e=t.r;s=t.h},function(t){a=t.n;n=t.m},function(){},function(t){r=t.j},function(){},function(t){i=t.c},function(){},function(t){o=t.N}],execute:function(){var c="sq:validation-state";function u(t){var e=a(c);return{states:{validationErrors:e===null||e===void 0?void 0:e.validationErrors,content:{lastNameLabel:t.lastNameLabel,firstNameLabel:t.firstNameLabel}}}}var f=t("sqm_name_fields",function(){function t(t){e(this,t);this.ignored=true;this.firstNameLabel="First Name";this.lastNameLabel="Last Name";n(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=(r()?m(this):u(this)).states;return s(o,{states:t})};return t}());function m(t){return i({states:{validationErrors:[],content:{firstNameLabel:"First Name",lastNameLabel:"Last Name"}}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,r){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:r})}else{e.raw=r}return e};System.register(["./p-ff17b3a4.system.js","./p-015b683f.system.js","./p-795acde7.system.js","./p-1e182e88.system.js","./p-40e83a85.system.js","./p-4bd679a7.system.js","./p-3adbd62c.system.js"],(function(e){"use strict";var r,n,t,a,i,o,s,l,d,u,c,f;return{setters:[function(e){r=e.r;n=e.h},function(e){t=e.m},function(e){a=e.i;i=e.c},function(){},function(e){o=e.M;s=e.n;l=e.c;d=e.j},function(e){u=e.c},function(e){c=e.g;f=e.L}],execute:function(){var v=c(__makeTemplateObject(["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"],["\n query ($type: String!, $filter: UserLeaderboardFilterInput) {\n viewer {\n ... on User {\n leaderboardRank(type: $type, filter: $filter) {\n rowNumber\n rank\n denseRank\n }\n }\n }\n }\n"]));function p(e){var r,n,t;var i=o();var d=s();var u={type:e.leaderboardType,filter:{programId_eq:i}};if(e.interval){u.filter["interval"]=e.interval}var c=l(v,u,!(d===null||d===void 0?void 0:d.jwt)).data;var f=((r=c===null||c===void 0?void 0:c.viewer)===null||r===void 0?void 0:r.leaderboardRank)?a.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:(t=(n=c===null||c===void 0?void 0:c.viewer)===null||n===void 0?void 0:n.leaderboardRank)===null||t===void 0?void 0:t[e.rankType]}):e.unrankedText||"unranked";return{data:{rank:f}}}var y="p,.P{font-size:var(--sl-font-size-small);color:var(--sl-color-gray-800);margin-top:0px}p.Subtitle,.P.Subtitle{color:var(--sl-color-gray-500);margin:0px}";var k=e("sqm_leaderboard_rank",function(){function e(e){r(this,e);this.rankText="You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";t(this)}e.prototype.disconnectedCallback=function(){};e.prototype.render=function(){var e=d()?m(this):p(this);return n(f,Object.assign({},e))};return e}());function m(e){var r=i({locale:"en"});var n=r.formatMessage({id:"rankText",defaultMessage:e.rankText},{rank:1})||"1st";return u({data:{rank:n}},e.demoData||{},{arrayMerge:function(e,r){return r}})}k.style=y}}}));
|
|
@@ -24,6 +24,12 @@ export declare class BigStat {
|
|
|
24
24
|
* @uiEnum ["left", "right", "center"]
|
|
25
25
|
*/
|
|
26
26
|
alignment?: "left" | "right" | "center";
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the program that is used to scope stats. Defaults to the program context when no ID is specified.
|
|
29
|
+
*
|
|
30
|
+
* @uiName Program ID
|
|
31
|
+
*/
|
|
32
|
+
programId?: string;
|
|
27
33
|
/**
|
|
28
34
|
* @undocumented
|
|
29
35
|
* @uiType object
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
|
-
* @uiName
|
|
4
|
-
* @slot the
|
|
3
|
+
* @uiName Brand Container
|
|
4
|
+
* @slot Controls the brand color and font of Mint Components wrapped by the container.
|
|
5
5
|
*/
|
|
6
6
|
export declare class BrandComponent {
|
|
7
7
|
/**
|
|
@@ -11,6 +11,12 @@ export declare class BrandComponent {
|
|
|
11
11
|
* @uiName Brand Color
|
|
12
12
|
*/
|
|
13
13
|
brandColor: string;
|
|
14
|
+
/**
|
|
15
|
+
* The brand font that you want to use
|
|
16
|
+
*
|
|
17
|
+
* @uiName Brand Font
|
|
18
|
+
*/
|
|
19
|
+
brandFont: string;
|
|
14
20
|
constructor();
|
|
15
21
|
disconnectedCallback(): void;
|
|
16
22
|
render(): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uiName Card Feed
|
|
3
|
+
*/
|
|
4
|
+
export declare class CardFeed {
|
|
5
|
+
ignored: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @uiName Card Width
|
|
8
|
+
*/
|
|
9
|
+
width: number;
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Column Gap
|
|
12
|
+
* @uiType number
|
|
13
|
+
*/
|
|
14
|
+
gap: number;
|
|
15
|
+
constructor();
|
|
16
|
+
disconnectedCallback(): void;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
scenario: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const TooWideColumn: () => any;
|
|
9
|
+
export declare const TooWideRow: () => any;
|
|
10
|
+
export declare const HalfWidth: () => any;
|
|
11
|
+
export declare const FullWidth: () => any;
|
package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ import { PortalEmailVerificationViewProps } from "./sqm-portal-email-verificatio
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class PortalEmailVerification {
|
|
7
7
|
ignored: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The page that users are redirected to from the verification email.
|
|
10
|
+
*
|
|
11
|
+
* @uiName Email redirection base path
|
|
12
|
+
*/
|
|
13
|
+
redirectPath: string;
|
|
8
14
|
/**
|
|
9
15
|
* @uiName Email verification header text
|
|
10
16
|
*/
|
|
@@ -5,6 +5,12 @@ import { PortalForgotPasswordViewProps } from "./sqm-portal-forgot-password-view
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class PortalForgotPassword {
|
|
7
7
|
ignored: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The page that users are redirected to from the password reset email.
|
|
10
|
+
*
|
|
11
|
+
* @uiName Email redirection base path
|
|
12
|
+
*/
|
|
13
|
+
redirectPath: string;
|
|
8
14
|
/**
|
|
9
15
|
* @uiName Email label
|
|
10
16
|
*/
|
|
@@ -13,6 +19,10 @@ export declare class PortalForgotPassword {
|
|
|
13
19
|
* @uiName Password reset button text
|
|
14
20
|
*/
|
|
15
21
|
submitLabel: string;
|
|
22
|
+
/**
|
|
23
|
+
* @uiName Routing path to login page
|
|
24
|
+
*/
|
|
25
|
+
loginPath: string;
|
|
16
26
|
/**
|
|
17
27
|
* @undocumented
|
|
18
28
|
* @uiType object
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { PortalForgotPassword } from "./sqm-portal-forgot-password";
|
|
2
|
+
export declare function usePortalForgotPassword(props: PortalForgotPassword): {
|
|
2
3
|
states: {
|
|
3
4
|
loading: boolean;
|
|
4
5
|
error: string;
|
|
5
6
|
success: boolean;
|
|
7
|
+
loginPath: string;
|
|
6
8
|
};
|
|
7
9
|
callbacks: {
|
|
8
10
|
submit: (event: any) => Promise<void>;
|
|
@@ -33,6 +33,14 @@ export declare class PortalLogin {
|
|
|
33
33
|
* @uiName Heading label
|
|
34
34
|
*/
|
|
35
35
|
pageLabel: string;
|
|
36
|
+
/**
|
|
37
|
+
* @uiName Register button redirection path
|
|
38
|
+
*/
|
|
39
|
+
registerPath: string;
|
|
40
|
+
/**
|
|
41
|
+
* @uiName Forgot password button redirect path
|
|
42
|
+
*/
|
|
43
|
+
forgotPasswordPath: string;
|
|
36
44
|
/**
|
|
37
45
|
* @undocumented
|
|
38
46
|
* @uiType object
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare function usePortalLogin(
|
|
2
|
-
nextPage: any;
|
|
3
|
-
}): {
|
|
1
|
+
export declare function usePortalLogin(props: any): {
|
|
4
2
|
states: {
|
|
5
3
|
loading: boolean;
|
|
6
4
|
error: string;
|
|
5
|
+
registerPath: any;
|
|
6
|
+
forgotPasswordPath: any;
|
|
7
7
|
};
|
|
8
8
|
callbacks: {
|
|
9
9
|
submit: (event: any) => Promise<void>;
|
|
@@ -9,6 +9,12 @@ export declare class PortalRegister {
|
|
|
9
9
|
* @uiName Page navigated to after registration
|
|
10
10
|
*/
|
|
11
11
|
nextPage: string;
|
|
12
|
+
/**
|
|
13
|
+
* The page that users are redirected to from the verification email.
|
|
14
|
+
*
|
|
15
|
+
* @uiName Email redirection base path
|
|
16
|
+
*/
|
|
17
|
+
redirectPath: string;
|
|
12
18
|
/**
|
|
13
19
|
* @uiName Label for email field
|
|
14
20
|
*/
|
|
@@ -45,6 +51,10 @@ export declare class PortalRegister {
|
|
|
45
51
|
* @uiName Heading label
|
|
46
52
|
*/
|
|
47
53
|
pageLabel: string;
|
|
54
|
+
/**
|
|
55
|
+
* @uiName Sign in button redirection path
|
|
56
|
+
*/
|
|
57
|
+
loginPath: string;
|
|
48
58
|
/**
|
|
49
59
|
* @undocumented
|
|
50
60
|
* @uiType object
|
|
@@ -11,6 +11,7 @@ export declare function usePortalRegister(props: PortalRegister): {
|
|
|
11
11
|
validationState: import("./useValidationState").FormState;
|
|
12
12
|
confirmPassword: boolean;
|
|
13
13
|
hideInputs: boolean;
|
|
14
|
+
loginPath: string;
|
|
14
15
|
};
|
|
15
16
|
callbacks: {
|
|
16
17
|
submit: (event: any) => Promise<void>;
|
|
@@ -6,9 +6,17 @@ import { PortalResetPasswordViewProps } from "./sqm-portal-reset-password-view";
|
|
|
6
6
|
export declare class PortalResetPassword {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
+
* The page that users are redirected to when the password reset succeeds.
|
|
10
|
+
*
|
|
9
11
|
* @uiName Next page path
|
|
10
12
|
*/
|
|
11
13
|
nextPage: string;
|
|
14
|
+
/**
|
|
15
|
+
* The page that users are redirected to if the reset fails due to outdated password reset attempt.
|
|
16
|
+
*
|
|
17
|
+
* @uiName Failed page redirection path
|
|
18
|
+
*/
|
|
19
|
+
failedPage: string;
|
|
12
20
|
/**
|
|
13
21
|
* @uiName Show confirm password
|
|
14
22
|
*/
|
|
@@ -6,9 +6,17 @@ import { PortalVerifyEmailViewProps } from "./sqm-portal-verify-email-view";
|
|
|
6
6
|
export declare class PortalVerifyEmail {
|
|
7
7
|
ignored: boolean;
|
|
8
8
|
/**
|
|
9
|
+
* The page that users are redirected to when the verification succeeds.
|
|
10
|
+
*
|
|
9
11
|
* @uiName Next page path
|
|
10
12
|
*/
|
|
11
13
|
nextPage: string;
|
|
14
|
+
/**
|
|
15
|
+
* The page that users are redirected to if verification fails due to outdated verification attempt.
|
|
16
|
+
*
|
|
17
|
+
* @uiName Failed page redirection path
|
|
18
|
+
*/
|
|
19
|
+
failedPage: string;
|
|
12
20
|
/**
|
|
13
21
|
* @undocumented
|
|
14
22
|
* @uiType object
|
|
@@ -2,4 +2,6 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const OneStep: () => any;
|
|
6
|
+
export declare const TwoSteps: () => any;
|
|
7
|
+
export declare const ThreeSteps: () => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VNode } from "../../stencil-public-runtime";
|
|
2
|
+
export interface ProgramExplainerViewProps {
|
|
3
|
+
header: string;
|
|
4
|
+
headerColor: string;
|
|
5
|
+
headerBackground: string;
|
|
6
|
+
cardTitle: string;
|
|
7
|
+
cardDescription: string;
|
|
8
|
+
cardColor: string;
|
|
9
|
+
cardBackground: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function ProgramExplainerView(props: ProgramExplainerViewProps, children: VNode): any;
|
|
@@ -1,10 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* @uiName Navigation Sidebar
|
|
2
|
+
* @uiName Program Explainer
|
|
5
3
|
*/
|
|
6
4
|
export declare class ProgramExplainer {
|
|
7
5
|
ignored: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @uiName Header Text
|
|
8
|
+
*/
|
|
9
|
+
header: string;
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Header Text Color
|
|
12
|
+
* @uiWidget color
|
|
13
|
+
*/
|
|
14
|
+
headerColor: string;
|
|
15
|
+
/**
|
|
16
|
+
* @uiName Header Background Color
|
|
17
|
+
* @uiWidget color
|
|
18
|
+
*/
|
|
19
|
+
headerBackground: string;
|
|
20
|
+
/**
|
|
21
|
+
* @uiName Card Title
|
|
22
|
+
*/
|
|
23
|
+
cardTitle: string;
|
|
24
|
+
/**
|
|
25
|
+
* @uiName Card Description
|
|
26
|
+
*/
|
|
27
|
+
cardDescription: string;
|
|
28
|
+
/**
|
|
29
|
+
* @uiName Card Text Color
|
|
30
|
+
* @uiWidget color
|
|
31
|
+
*/
|
|
32
|
+
cardColor: string;
|
|
33
|
+
/**
|
|
34
|
+
* @uiName Card Background Color
|
|
35
|
+
* @uiWidget color
|
|
36
|
+
*/
|
|
37
|
+
cardBackground: string;
|
|
8
38
|
constructor();
|
|
9
39
|
disconnectedCallback(): void;
|
|
10
40
|
render(): any;
|