@saasquatch/mint-components 1.5.0-49 → 1.5.0-52
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/{AutoColor-a489ed67.js → AutoColor-db901e98.js} +101 -105
- package/dist/cjs/{GenericTableView-f9bd3b19.js → GenericTableView-34662639.js} +5 -6
- package/dist/cjs/{JSS-24a85193.js → JSS-c65a40f1.js} +39 -39
- package/dist/cjs/{global-32bf222f.js → global-08276663.js} +589 -589
- package/dist/cjs/{index-d8fa5d8e.js → index-b0129cd6.js} +104 -181
- package/dist/cjs/{index.module-0f10a4c4.js → index.module-54724339.js} +6392 -6392
- package/dist/cjs/loader.cjs.js +7 -7
- package/dist/cjs/{luxon-751f2e1c.js → luxon-59ca7d19.js} +2 -2
- package/dist/cjs/mint-components.cjs.js +9 -9
- package/dist/cjs/{sqm-asset-card-view-0764beab.js → sqm-asset-card-view-d9ac6a95.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-big-stat-view-37e341c1.js → sqm-big-stat-view-e5dc0877.js} +2 -2
- package/dist/cjs/sqm-big-stat.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-brand_26.cjs.entry.js → sqm-brand_27.cjs.entry.js} +328 -251
- package/dist/cjs/sqm-form-message.cjs.entry.js +3 -3
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-hero-view-6706134d.js → sqm-hero-view-a13795c0.js} +4 -4
- package/dist/cjs/sqm-hero.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-leaderboard-rank-view-5e2bcad9.js → sqm-leaderboard-rank-view-35015d30.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +14 -15
- package/dist/cjs/sqm-leaderboard.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-name-fields-view-c684114f.js → sqm-name-fields-view-c95e4768.js} +10 -12
- package/dist/cjs/sqm-name-fields.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-7f69e118.js → sqm-navigation-sidebar-item-view-da648fbc.js} +4 -4
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-navigation-sidebar-view-b53fad32.js → sqm-navigation-sidebar-view-36632c96.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +26 -27
- package/dist/cjs/sqm-popup-container.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-container-view-a78ab7ca.js → sqm-portal-container-view-185b4bd0.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-2a783b13.js → sqm-portal-email-verification-view-991a6739.js} +4 -4
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-portal-footer-view-ff16e344.js → sqm-portal-footer-view-266e5a7d.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +9 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-036e5d76.js → sqm-portal-forgot-password-view-10c0b54f.js} +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +13 -13
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-portal-profile-view-0c31ff46.js → sqm-portal-profile-view-fda5946f.js} +10 -13
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +16 -16
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +11 -11
- package/dist/cjs/{sqm-portal-reset-password-view-c2ca03ef.js → sqm-portal-reset-password-view-1fdc957e.js} +3 -3
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +15 -15
- package/dist/cjs/{sqm-portal-section-view-073d9dda.js → sqm-portal-section-view-3b6c990e.js} +2 -2
- package/dist/cjs/{sqm-portal-verify-email-view-1fa62a17.js → sqm-portal-verify-email-view-4c78e231.js} +3 -3
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +14 -14
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +31 -31
- package/dist/cjs/sqm-refresh-button.cjs.entry.js +7 -7
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +26 -27
- package/dist/cjs/sqm-route.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-stat-container-view-fd6e8f8d.js → sqm-stat-container-view-5b2db929.js} +2 -18
- package/dist/cjs/sqm-stat-container.cjs.entry.js +6 -6
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +642 -599
- package/dist/cjs/sqm-table-cell_3.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-text-span-view-dd99633a.js → sqm-text-span-view-f101dedf.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +5 -5
- package/dist/cjs/sqm-titled-section.cjs.entry.js +6 -6
- package/dist/{esm/stencil-hooks.module-1bcbec4f.js → cjs/stencil-hooks.module-87a1f4f7.js} +58 -40
- package/dist/cjs/{use-callback-867e51f6.js → use-callback-e754042f.js} +1 -1
- package/dist/cjs/{useChildElements-6f8aa7de.js → useChildElements-4bc9b219.js} +3 -3
- package/dist/cjs/{useDemoBigStat-1fa1ca6a.js → useDemoBigStat-42fa7a69.js} +5 -5
- package/dist/cjs/{useLeaderboard-b712d583.js → useLeaderboard-6110cd94.js} +5 -5
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/sqm-edit-profile/useEditProfile.js +3 -4
- package/dist/collection/components/sqm-image/Image.stories.js +25 -0
- package/dist/collection/components/sqm-image/sqm-image-view.js +32 -0
- package/dist/collection/components/sqm-image/sqm-image.js +137 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
- package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +3 -4
- package/dist/collection/components/sqm-media/HeroImage.stories.js +37 -0
- package/dist/collection/components/sqm-media/{sqm-media-view.js → sqm-hero-image-view.js} +26 -18
- package/dist/collection/components/sqm-media/{sqm-media.js → sqm-hero-image.js} +77 -38
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +8 -10
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -5
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +5 -8
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +10 -12
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +1 -1
- package/dist/collection/components/sqm-referral-card/sqm-timeline-entry.js +47 -16
- package/dist/collection/components/sqm-referral-card/sqm-timeline.js +21 -16
- package/dist/collection/components/sqm-referral-table/UseReferralTable.stories.js +0 -2
- package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +2 -2
- package/dist/collection/components/sqm-refresh-button/sqm-refresh-button.js +1 -3
- package/dist/collection/components/sqm-reward-exchange-list/UseRewardExchangeList.stories.js +0 -3
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +1 -2
- package/dist/collection/components/sqm-rewards-table/UseRewardsTable.stories.js +0 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +0 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +3 -4
- package/dist/collection/components/sqm-share-button/useShareButton.js +1 -2
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +0 -16
- package/dist/collection/components/sqm-stencilbook/AutoColor.js +1 -1
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -2
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +2 -2
- package/dist/collection/tables/GenericTableView.js +3 -4
- package/dist/esm/{AutoColor-9281c94b.js → AutoColor-5d891803.js} +101 -105
- package/dist/esm/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +5 -6
- package/dist/esm/{JSS-df9ea8a0.js → JSS-96eeab98.js} +39 -39
- package/dist/esm/{global-cc738e38.js → global-6bd9287e.js} +589 -589
- package/dist/esm/{index-2c5a6587.js → index-17b4da69.js} +104 -181
- package/dist/esm/{index.module-983975d9.js → index.module-ec3dcc82.js} +6374 -6374
- package/dist/esm/loader.js +7 -7
- package/dist/esm/{luxon-afa282c2.js → luxon-5fa22651.js} +2 -2
- package/dist/esm/mint-components.js +9 -9
- package/dist/esm/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +9 -9
- package/dist/esm/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +2 -2
- package/dist/esm/sqm-big-stat.entry.js +9 -9
- package/dist/esm/{sqm-brand_26.entry.js → sqm-brand_27.entry.js} +327 -251
- package/dist/esm/sqm-form-message.entry.js +3 -3
- package/dist/esm/sqm-graphql-client-provider.entry.js +10 -10
- package/dist/esm/{sqm-hero-view-b30e42f0.js → sqm-hero-view-190bc812.js} +4 -4
- package/dist/esm/sqm-hero.entry.js +7 -7
- package/dist/esm/{sqm-leaderboard-rank-view-91a35c42.js → sqm-leaderboard-rank-view-da91f5f3.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +14 -15
- package/dist/esm/sqm-leaderboard.entry.js +9 -9
- package/dist/esm/{sqm-name-fields-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +10 -12
- package/dist/esm/sqm-name-fields.entry.js +9 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +4 -4
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +11 -11
- package/dist/esm/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +5 -5
- package/dist/esm/sqm-password-field.entry.js +26 -27
- package/dist/esm/sqm-popup-container.entry.js +9 -9
- package/dist/esm/{sqm-portal-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +4 -4
- package/dist/esm/sqm-portal-email-verification.entry.js +13 -13
- package/dist/esm/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +9 -9
- package/dist/esm/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.js} +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +13 -13
- package/dist/esm/sqm-portal-logout.entry.js +8 -8
- package/dist/esm/{sqm-portal-profile-view-3da23184.js → sqm-portal-profile-view-36488558.js} +10 -13
- package/dist/esm/sqm-portal-profile.entry.js +16 -16
- package/dist/esm/sqm-portal-protected-route.entry.js +11 -11
- package/dist/esm/{sqm-portal-reset-password-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +3 -3
- package/dist/esm/sqm-portal-reset-password.entry.js +15 -15
- package/dist/esm/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +2 -2
- package/dist/esm/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.js} +3 -3
- package/dist/esm/sqm-portal-verify-email.entry.js +14 -14
- package/dist/esm/sqm-referral-table_11.entry.js +31 -31
- package/dist/esm/sqm-refresh-button.entry.js +7 -7
- package/dist/esm/sqm-rewards-table_9.entry.js +26 -27
- package/dist/esm/sqm-route.entry.js +2 -2
- package/dist/esm/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.js} +2 -18
- package/dist/esm/sqm-stat-container.entry.js +6 -6
- package/dist/esm/sqm-stencilbook.entry.js +642 -599
- package/dist/esm/sqm-table-cell_3.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +5 -5
- package/dist/esm/sqm-titled-section.entry.js +6 -6
- package/dist/{cjs/stencil-hooks.module-23a5a83a.js → esm/stencil-hooks.module-2f159754.js} +40 -58
- package/dist/esm/{use-callback-cfeaefe1.js → use-callback-d8ef4b5d.js} +1 -1
- package/dist/esm/{useChildElements-9936fb9a.js → useChildElements-c11d6189.js} +3 -3
- package/dist/esm/{useDemoBigStat-5450ce4c.js → useDemoBigStat-e2295035.js} +5 -5
- package/dist/esm/{useLeaderboard-c0017437.js → useLeaderboard-5d875f53.js} +5 -5
- package/dist/esm-es5/AutoColor-5d891803.js +1 -0
- package/dist/esm-es5/{GenericTableView-e4257466.js → GenericTableView-5de898c3.js} +1 -1
- package/dist/esm-es5/JSS-96eeab98.js +8 -0
- package/dist/esm-es5/global-6bd9287e.js +285 -0
- package/dist/esm-es5/index-17b4da69.js +1 -0
- package/dist/esm-es5/index.module-ec3dcc82.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-afa282c2.js → luxon-5fa22651.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-809b35ce.js → sqm-asset-card-view-f9ca5345.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/{sqm-big-stat-view-3adf4ef2.js → sqm-big-stat-view-309f7c1f.js} +1 -1
- package/dist/esm-es5/sqm-big-stat.entry.js +1 -1
- package/dist/esm-es5/sqm-brand_27.entry.js +1 -0
- 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-b30e42f0.js → sqm-hero-view-190bc812.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-da91f5f3.js +1 -0
- 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-view-77895fa8.js → sqm-name-fields-view-69b1583f.js} +1 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-3c21b3ee.js → sqm-navigation-sidebar-item-view-a6f7f96c.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-1c50483e.js → sqm-navigation-sidebar-view-816558e3.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-container-view-72c8b457.js → sqm-portal-container-view-cf79ed90.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-7685db9c.js → sqm-portal-email-verification-view-96c1f91b.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-b344a6ad.js → sqm-portal-footer-view-3a7dfbfc.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-f7f24742.js → sqm-portal-forgot-password-view-fa088f83.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-3da23184.js → sqm-portal-profile-view-36488558.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-view-f3017d72.js → sqm-portal-reset-password-view-73e14282.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-5a3d3829.js → sqm-portal-section-view-d3098f7f.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-329fdc3b.js → sqm-portal-verify-email-view-cbf1cfdc.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-route.entry.js +1 -1
- package/dist/esm-es5/{sqm-stat-container-view-02b82222.js → sqm-stat-container-view-8a565c5a.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-table-cell_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-be532a94.js → sqm-text-span-view-7e61c95c.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-titled-section.entry.js +1 -1
- package/dist/esm-es5/stencil-hooks.module-2f159754.js +53 -0
- package/dist/esm-es5/use-callback-d8ef4b5d.js +1 -0
- package/dist/esm-es5/useChildElements-c11d6189.js +1 -0
- package/dist/esm-es5/useDemoBigStat-e2295035.js +1 -0
- package/dist/esm-es5/useLeaderboard-5d875f53.js +1 -0
- package/dist/loader/index.d.ts +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-09357f10.system.entry.js → p-01748c80.system.entry.js} +1 -1
- package/dist/mint-components/p-023dcaee.js +1 -0
- package/dist/mint-components/{p-64d2bfb1.system.entry.js → p-067cf6da.system.entry.js} +1 -1
- package/dist/mint-components/p-0c19f830.entry.js +1 -0
- package/dist/mint-components/{p-0e97beb3.js → p-0e7e10b6.js} +1 -1
- package/dist/mint-components/p-1288be55.entry.js +1 -0
- package/dist/mint-components/{p-c4cedfef.system.entry.js → p-136e2028.system.entry.js} +1 -1
- package/dist/mint-components/{p-b138c9e4.system.js → p-16effd39.system.js} +1 -1
- package/dist/mint-components/{p-740a45df.js → p-179988b5.js} +1 -1
- package/dist/mint-components/{p-38045cb3.system.js → p-1959da16.system.js} +1 -1
- package/dist/mint-components/{p-408f48ec.system.entry.js → p-197d1027.system.entry.js} +1 -1
- package/dist/mint-components/{p-6e2e549a.js → p-1d1e9197.js} +1 -1
- package/dist/mint-components/p-204fd08c.js +1 -0
- package/dist/mint-components/p-220181cd.system.entry.js +1 -0
- package/dist/mint-components/p-232db563.system.entry.js +1 -0
- package/dist/mint-components/{p-ef4e8230.system.entry.js → p-2454f30a.system.entry.js} +1 -1
- package/dist/mint-components/p-24724b6b.entry.js +13 -0
- package/dist/mint-components/p-27e04aaf.entry.js +1 -0
- package/dist/mint-components/{p-96103ab1.system.js → p-2c49c7a8.system.js} +1 -1
- package/dist/mint-components/p-348461ec.system.entry.js +1 -0
- package/dist/mint-components/{p-747dc08d.js → p-373fa002.js} +1 -1
- package/dist/mint-components/p-3b184c32.js +1 -0
- package/dist/mint-components/{p-1ef9bc8f.system.js → p-3bbb90a9.system.js} +1 -1
- package/dist/mint-components/{p-4c5581b9.js → p-3dc2850c.js} +1 -1
- package/dist/mint-components/{p-e52d6c0f.js → p-3e556042.js} +1 -1
- package/dist/mint-components/{p-65d669e7.system.entry.js → p-4275c957.system.entry.js} +1 -1
- package/dist/mint-components/{p-c5d104d8.system.js → p-4279da4b.system.js} +1 -1
- package/dist/mint-components/{p-fc103049.system.js → p-443c133e.system.js} +1 -1
- package/dist/mint-components/p-48abcb89.entry.js +86 -0
- package/dist/mint-components/p-49c9ff69.entry.js +1 -0
- package/dist/mint-components/{p-eba0f8b5.js → p-4a1b7d35.js} +1 -1
- package/dist/mint-components/p-4c21835b.entry.js +1 -0
- package/dist/mint-components/p-4e0b9201.system.js +1 -0
- package/dist/mint-components/{p-159a0455.system.entry.js → p-4e8e99bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-79b96b7c.js → p-509e6dc9.js} +4 -4
- package/dist/mint-components/p-5289072a.js +1 -0
- package/dist/mint-components/p-54986541.entry.js +1 -0
- package/dist/mint-components/{p-754c90b6.js → p-54e855a1.js} +1 -1
- package/dist/mint-components/{p-6d1fd7ef.js → p-591de129.js} +1 -1
- package/dist/mint-components/{p-2cf031e5.js → p-5c75acad.js} +1 -1
- package/dist/mint-components/{p-feb4ccf1.system.js → p-5df1d9ae.system.js} +1 -1
- package/dist/mint-components/{p-b094bf1f.system.entry.js → p-5e2b006a.system.entry.js} +1 -1
- package/dist/mint-components/{p-39ba54b0.js → p-61a542ec.js} +1 -1
- package/dist/mint-components/p-62625e22.entry.js +1 -0
- package/dist/mint-components/p-62e49806.system.entry.js +1 -0
- package/dist/mint-components/p-639d3dd3.entry.js +1 -0
- package/dist/mint-components/p-63a6475a.system.entry.js +1 -0
- package/dist/mint-components/{p-73246c5e.js → p-64c3217a.js} +1 -1
- package/dist/mint-components/{p-feea807c.system.js → p-6b43e4cc.system.js} +1 -1
- package/dist/mint-components/{p-a6940c14.system.entry.js → p-6e70be1c.system.entry.js} +1 -1
- package/dist/mint-components/p-6f88ea09.system.js +1 -0
- package/dist/mint-components/p-72a978c8.entry.js +1 -0
- package/dist/mint-components/{p-637a01d0.system.js → p-72c87c04.system.js} +1 -1
- package/dist/mint-components/{p-071fdcfa.js → p-73d5306f.js} +1 -1
- package/dist/mint-components/p-76325d9c.system.entry.js +1 -0
- package/dist/mint-components/{p-80eb9f8a.js → p-7a1ebc00.js} +15 -15
- package/dist/mint-components/{p-720d9f1a.system.entry.js → p-81681ebd.system.entry.js} +1 -1
- package/dist/mint-components/p-871536c7.entry.js +1 -0
- package/dist/mint-components/{p-9fa1fb4e.system.js → p-8bcaafaf.system.js} +1 -1
- package/dist/mint-components/{p-a6a9d6b7.system.entry.js → p-91ab2b0d.system.entry.js} +1 -1
- package/dist/mint-components/{p-efb82cfc.system.js → p-91d119ad.system.js} +1 -1
- package/dist/mint-components/p-9580888c.system.js +53 -0
- package/dist/mint-components/p-96c971fa.entry.js +1 -0
- package/dist/mint-components/p-97f843f9.system.entry.js +1 -0
- package/dist/mint-components/p-98393bf0.entry.js +1 -0
- package/dist/mint-components/{p-e46a4dc4.js → p-9b48d01e.js} +1 -1
- package/dist/mint-components/p-9f215c7f.entry.js +161 -0
- package/dist/mint-components/p-9f65904f.entry.js +1 -0
- package/dist/mint-components/{p-5cc0dc12.system.js → p-a09e3176.system.js} +1 -1
- package/dist/mint-components/p-a674c833.system.entry.js +1 -0
- package/dist/mint-components/p-ac5f63b1.entry.js +33 -0
- package/dist/mint-components/p-ac65007d.js +1 -0
- package/dist/mint-components/p-af5673c4.entry.js +1 -0
- package/dist/mint-components/p-b0c32d15.system.js +1 -0
- package/dist/mint-components/p-b0d6a380.system.js +1 -0
- package/dist/mint-components/p-b0e8c584.system.entry.js +1 -0
- package/dist/mint-components/p-b3201e4c.entry.js +1 -0
- package/dist/mint-components/p-b3735eaf.entry.js +9 -0
- package/dist/mint-components/p-b3af1c6f.js +1 -0
- package/dist/mint-components/p-b69365f5.entry.js +1 -0
- package/dist/mint-components/p-b77bb179.system.js +285 -0
- package/dist/mint-components/p-b7da9a8a.js +42 -0
- package/dist/mint-components/{p-e29935f9.system.js → p-b8434fc0.system.js} +1 -1
- package/dist/mint-components/p-b9974b87.entry.js +1 -0
- package/dist/mint-components/{p-86372145.system.entry.js → p-ba41fde8.system.entry.js} +1 -1
- package/dist/mint-components/{p-80493415.system.entry.js → p-bd0475a2.system.entry.js} +1 -1
- package/dist/mint-components/{p-0ef64931.system.js → p-bf055b6c.system.js} +1 -1
- package/dist/mint-components/{p-1b2b1ba2.js → p-c157f510.js} +3 -3
- package/dist/mint-components/{p-16db729c.system.entry.js → p-c1a47137.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ca5b819.js → p-c2e84199.js} +1 -1
- package/dist/mint-components/p-cb93f2c8.entry.js +1 -0
- package/dist/mint-components/p-cd4037d1.entry.js +1 -0
- package/dist/mint-components/{p-d8e97fb7.system.js → p-ce0ec1c4.system.js} +1 -1
- package/dist/mint-components/p-d10efde1.system.js +1 -0
- package/dist/mint-components/p-d1520098.js +1 -0
- package/dist/mint-components/p-d312db42.entry.js +1 -0
- package/dist/mint-components/{p-d27c4eb5.js → p-d33eb961.js} +1 -1
- package/dist/mint-components/{p-5c4dec0c.system.entry.js → p-d6ef4765.system.entry.js} +1 -1
- package/dist/mint-components/p-dc17de12.entry.js +119 -0
- package/dist/mint-components/p-dcff1a85.entry.js +1 -0
- package/dist/mint-components/{p-6d6791b6.system.js → p-df466813.system.js} +1 -1
- package/dist/mint-components/{p-b81b4ebf.system.js → p-e00e11b1.system.js} +1 -1
- package/dist/mint-components/{p-35a8858e.system.js → p-e0be39d0.system.js} +1 -1
- package/dist/mint-components/{p-83e18382.system.entry.js → p-e1166d9b.system.entry.js} +1 -1
- package/dist/mint-components/{p-6353bf11.entry.js → p-e7b20665.entry.js} +1 -1
- package/dist/mint-components/{p-bb2bc191.system.js → p-ea110693.system.js} +1 -1
- package/dist/mint-components/p-ea197664.js +1 -0
- package/dist/mint-components/p-eb23e1b9.system.entry.js +1 -0
- package/dist/mint-components/{p-8c5bf8ee.system.js → p-eba2e455.system.js} +1 -1
- package/dist/mint-components/p-ef99c411.system.entry.js +1 -0
- package/dist/mint-components/p-f143117c.entry.js +1 -0
- package/dist/mint-components/p-f241ee8a.system.entry.js +1 -0
- package/dist/mint-components/p-f372c8d8.entry.js +1 -0
- package/dist/mint-components/p-f5cba1f7.system.entry.js +1 -0
- package/dist/mint-components/{p-82a02b17.system.js → p-f8d95abc.system.js} +1 -1
- package/dist/mint-components/{p-af859f26.js → p-f9008f86.js} +153 -153
- package/dist/mint-components/{p-4479f753.system.entry.js → p-fb8a587b.system.entry.js} +1 -1
- package/dist/mint-components/p-fe4d9531.system.js +1 -0
- package/dist/mint-components/p-ff17b3a4.system.js +1 -0
- package/dist/types/components/sqm-image/Image.stories.d.ts +11 -0
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +8 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +31 -0
- package/dist/types/components/sqm-media/HeroImage.stories.d.ts +15 -0
- package/dist/types/components/sqm-media/{sqm-media-view.d.ts → sqm-hero-image-view.d.ts} +6 -3
- package/dist/types/components/sqm-media/{sqm-media.d.ts → sqm-hero-image.d.ts} +16 -9
- package/dist/types/components/sqm-referral-card/sqm-timeline-entry.d.ts +4 -0
- package/dist/types/components.d.ts +215 -138
- package/dist/types/stencil-public-runtime.d.ts +182 -190
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-media/Media.stories.js +0 -28
- package/dist/esm-es5/AutoColor-9281c94b.js +0 -1
- package/dist/esm-es5/JSS-df9ea8a0.js +0 -8
- package/dist/esm-es5/global-cc738e38.js +0 -285
- package/dist/esm-es5/index-2c5a6587.js +0 -1
- package/dist/esm-es5/index.module-983975d9.js +0 -1
- package/dist/esm-es5/sqm-brand_26.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-91a35c42.js +0 -1
- package/dist/esm-es5/stencil-hooks.module-1bcbec4f.js +0 -53
- package/dist/esm-es5/use-callback-cfeaefe1.js +0 -1
- package/dist/esm-es5/useChildElements-9936fb9a.js +0 -1
- package/dist/esm-es5/useDemoBigStat-5450ce4c.js +0 -1
- package/dist/esm-es5/useLeaderboard-c0017437.js +0 -1
- package/dist/mint-components/p-00894968.system.js +0 -1
- package/dist/mint-components/p-0449904d.system.entry.js +0 -1
- package/dist/mint-components/p-050bd4c1.entry.js +0 -1
- package/dist/mint-components/p-073c0485.system.js +0 -1
- package/dist/mint-components/p-09ae771c.system.entry.js +0 -1
- package/dist/mint-components/p-12557b30.js +0 -1
- package/dist/mint-components/p-15932a6d.entry.js +0 -1
- package/dist/mint-components/p-18e9e739.system.entry.js +0 -1
- package/dist/mint-components/p-1c0fac18.system.js +0 -1
- package/dist/mint-components/p-2012b3eb.entry.js +0 -1
- package/dist/mint-components/p-21bf87e9.system.js +0 -1
- package/dist/mint-components/p-2673d322.entry.js +0 -1
- package/dist/mint-components/p-32ec3994.entry.js +0 -161
- package/dist/mint-components/p-33bd2ff9.entry.js +0 -1
- package/dist/mint-components/p-3beda015.js +0 -1
- package/dist/mint-components/p-40849586.entry.js +0 -1
- package/dist/mint-components/p-40b91bd2.entry.js +0 -1
- package/dist/mint-components/p-40d9f8f3.entry.js +0 -1
- package/dist/mint-components/p-425ea70b.entry.js +0 -1
- package/dist/mint-components/p-46adc2cf.system.entry.js +0 -1
- package/dist/mint-components/p-4ac07db9.system.js +0 -1
- package/dist/mint-components/p-673d1d37.system.entry.js +0 -1
- package/dist/mint-components/p-6f2ab381.system.entry.js +0 -1
- package/dist/mint-components/p-71775f38.entry.js +0 -1
- package/dist/mint-components/p-746fa1fa.entry.js +0 -1
- package/dist/mint-components/p-77bf2413.entry.js +0 -1
- package/dist/mint-components/p-79339d1d.entry.js +0 -33
- package/dist/mint-components/p-7a24a7a4.system.entry.js +0 -1
- package/dist/mint-components/p-860513de.system.js +0 -53
- package/dist/mint-components/p-8873b8b0.system.entry.js +0 -1
- package/dist/mint-components/p-8b5f9502.system.entry.js +0 -1
- package/dist/mint-components/p-8f900354.system.entry.js +0 -1
- package/dist/mint-components/p-95b5aa14.system.js +0 -1
- package/dist/mint-components/p-a2c12d31.system.entry.js +0 -1
- package/dist/mint-components/p-a716fa21.entry.js +0 -1
- package/dist/mint-components/p-aa926a92.entry.js +0 -86
- package/dist/mint-components/p-adabc223.js +0 -1
- package/dist/mint-components/p-ae9a75d7.entry.js +0 -1
- package/dist/mint-components/p-aeaf1171.js +0 -1
- package/dist/mint-components/p-af8a82a5.entry.js +0 -1
- package/dist/mint-components/p-b094b800.js +0 -1
- package/dist/mint-components/p-c1509151.system.entry.js +0 -1
- package/dist/mint-components/p-c154b16e.system.entry.js +0 -1
- package/dist/mint-components/p-c164d3fe.js +0 -1
- package/dist/mint-components/p-c358211f.js +0 -1
- package/dist/mint-components/p-c824c2e5.system.js +0 -285
- package/dist/mint-components/p-ce5a08d0.entry.js +0 -119
- package/dist/mint-components/p-cfe598c1.js +0 -1
- package/dist/mint-components/p-cfe65695.entry.js +0 -1
- package/dist/mint-components/p-d2a2c424.js +0 -56
- package/dist/mint-components/p-d4c1b8e9.entry.js +0 -1
- package/dist/mint-components/p-d9bf4d77.entry.js +0 -1
- package/dist/mint-components/p-e341556f.entry.js +0 -13
- package/dist/mint-components/p-e551074e.system.js +0 -1
- package/dist/mint-components/p-e9a8a8f3.entry.js +0 -9
- package/dist/mint-components/p-eb3ce654.entry.js +0 -1
- package/dist/mint-components/p-eb4f3c85.entry.js +0 -1
- package/dist/mint-components/p-f0c38e7a.entry.js +0 -1
- package/dist/mint-components/p-f17cd500.entry.js +0 -1
- package/dist/mint-components/p-f39b5f6b.entry.js +0 -1
- package/dist/types/components/sqm-media/Media.stories.d.ts +0 -12
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-87a1f4f7.js');
|
|
5
|
+
const global = require('./global-08276663.js');
|
|
6
|
+
const index_module = require('./index.module-54724339.js');
|
|
5
7
|
const mixins = require('./mixins-7b7c59fe.js');
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-a78ab7ca.js');
|
|
9
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-073d9dda.js');
|
|
10
|
-
const sqmTextSpanView = require('./sqm-text-span-view-dd99633a.js');
|
|
11
|
-
const luxon = require('./luxon-751f2e1c.js');
|
|
12
|
-
const global = require('./global-32bf222f.js');
|
|
8
|
+
const JSS = require('./JSS-c65a40f1.js');
|
|
9
|
+
const luxon = require('./luxon-59ca7d19.js');
|
|
13
10
|
const utils = require('./utils-01dbfd4a.js');
|
|
11
|
+
const sqmTextSpanView = require('./sqm-text-span-view-f101dedf.js');
|
|
12
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-185b4bd0.js');
|
|
13
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-3b6c990e.js');
|
|
14
14
|
|
|
15
15
|
function ShareButtonView(props, children) {
|
|
16
16
|
const vanillaStyle = `
|
|
@@ -43,23 +43,23 @@ function ShareButtonView(props, children) {
|
|
|
43
43
|
!props.hidetext && children)));
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
const style
|
|
46
|
+
const style = {
|
|
47
47
|
HostBlock: mixins.HostBlock,
|
|
48
48
|
inputStyle: {
|
|
49
49
|
"&::part(base)": { background: "white", opacity: "1", cursor: "pointer" },
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
|
-
const sheet
|
|
53
|
-
const styleString
|
|
52
|
+
const sheet = JSS.createStyleSheet(style);
|
|
53
|
+
const styleString = sheet.toString();
|
|
54
54
|
function ShareLinkView(props) {
|
|
55
55
|
return (index.h("div", null,
|
|
56
|
-
index.h("style", { type: "text/css" }, styleString
|
|
56
|
+
index.h("style", { type: "text/css" }, styleString),
|
|
57
57
|
index.h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: "top-end", disabled: props.disabled, open: props.open },
|
|
58
|
-
index.h("sl-input", { class: sheet
|
|
58
|
+
index.h("sl-input", { class: sheet.classes.inputStyle, exportparts: "label: input-label", value: props.shareString, readonly: true },
|
|
59
59
|
index.h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })))));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
const style$
|
|
62
|
+
const style$1 = {
|
|
63
63
|
HostBlock: mixins.HostBlock,
|
|
64
64
|
":host": {
|
|
65
65
|
"min-height": "100vh",
|
|
@@ -97,17 +97,17 @@ const style$5 = {
|
|
|
97
97
|
},
|
|
98
98
|
},
|
|
99
99
|
};
|
|
100
|
-
const sheet$
|
|
101
|
-
const styleString$
|
|
100
|
+
const sheet$1 = JSS.createStyleSheet(style$1);
|
|
101
|
+
const styleString$1 = sheet$1.toString();
|
|
102
102
|
function PortalFrameView(props, children) {
|
|
103
103
|
const { data } = props;
|
|
104
|
-
return (index.h("div", { class: sheet$
|
|
105
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
106
|
-
index.h("div", { class: sheet$
|
|
104
|
+
return (index.h("div", { class: sheet$1.classes.Frame },
|
|
105
|
+
index.h("style", { type: "text/css" }, styleString$1),
|
|
106
|
+
index.h("div", { class: sheet$1.classes.HeaderWrapper },
|
|
107
107
|
data.header,
|
|
108
108
|
index.h("slot", { name: "sqm-navigation-menu" })),
|
|
109
109
|
children,
|
|
110
|
-
index.h("div", { class: sheet$
|
|
110
|
+
index.h("div", { class: sheet$1.classes.FooterWrapper }, data.footer)));
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
const EditProfileView = (props) => {
|
|
@@ -164,7 +164,7 @@ const EditProfileView = (props) => {
|
|
|
164
164
|
}, exportparts: "base: primarybutton-base" }, text.editprofiletext)));
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
const MessageLinkQuery
|
|
167
|
+
const MessageLinkQuery = index_module.dist.gql `
|
|
168
168
|
query ($programId: ID) {
|
|
169
169
|
user: viewer {
|
|
170
170
|
... on User {
|
|
@@ -181,10 +181,10 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
181
181
|
function useShareLink(props) {
|
|
182
182
|
var _a, _b;
|
|
183
183
|
const { programId = index_module.M() } = props;
|
|
184
|
-
const user = index_module.
|
|
185
|
-
const engagementMedium = index_module.
|
|
186
|
-
const { data } = index_module.
|
|
187
|
-
const [sendLoadEvent] = index_module.
|
|
184
|
+
const user = index_module.ne();
|
|
185
|
+
const engagementMedium = index_module.x();
|
|
186
|
+
const { data } = index_module.mn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
187
|
+
const [sendLoadEvent] = index_module.De(WIDGET_ENGAGEMENT_EVENT);
|
|
188
188
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
189
189
|
// Shown during loading
|
|
190
190
|
"...";
|
|
@@ -211,7 +211,7 @@ function useShareLink(props) {
|
|
|
211
211
|
return { ...props, onClick, open, shareString };
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
const MessageLinkQuery = index_module.dist.gql `
|
|
214
|
+
const MessageLinkQuery$1 = index_module.dist.gql `
|
|
215
215
|
query (
|
|
216
216
|
$programId: ID
|
|
217
217
|
$engagementMedium: UserEngagementMedium!
|
|
@@ -263,24 +263,23 @@ function FacebookShare(directLink, res) {
|
|
|
263
263
|
}
|
|
264
264
|
function GenericShare(res) {
|
|
265
265
|
var _a, _b;
|
|
266
|
-
return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink)
|
|
267
|
-
? window.open(res.data.viewer.messageLink)
|
|
266
|
+
return ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.messageLink) ? window.open(res.data.viewer.messageLink)
|
|
268
267
|
: alert("error: message link undefined!");
|
|
269
268
|
}
|
|
270
269
|
function useShareButton(props) {
|
|
271
270
|
var _a, _b;
|
|
272
271
|
const { sharetitle, sharetext, medium } = props;
|
|
273
272
|
const programId = props.programId ? props.programId : index_module.M();
|
|
274
|
-
const user = index_module.
|
|
273
|
+
const user = index_module.ne();
|
|
275
274
|
const variables = {
|
|
276
|
-
engagementMedium: index_module.
|
|
275
|
+
engagementMedium: index_module.x(),
|
|
277
276
|
programId: programId,
|
|
278
277
|
shareMedium: medium.toUpperCase(),
|
|
279
278
|
};
|
|
280
279
|
// only queries if a programId is available
|
|
281
|
-
const res = index_module.
|
|
280
|
+
const res = index_module.mn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
282
281
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
283
|
-
const environment = index_module.
|
|
282
|
+
const environment = index_module.D();
|
|
284
283
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
285
284
|
window.orientation === undefined) ||
|
|
286
285
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
@@ -369,7 +368,7 @@ function PortalChangePasswordView(props) {
|
|
|
369
368
|
index.h("style", { type: "text/css" }, styleString))));
|
|
370
369
|
}
|
|
371
370
|
|
|
372
|
-
const style$
|
|
371
|
+
const style$2 = {
|
|
373
372
|
Wrapper: mixins.AuthWrapper,
|
|
374
373
|
Column: mixins.AuthColumn,
|
|
375
374
|
ForgotButtonContainer: {
|
|
@@ -382,7 +381,7 @@ const style$4 = {
|
|
|
382
381
|
},
|
|
383
382
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
384
383
|
};
|
|
385
|
-
const vanillaStyle
|
|
384
|
+
const vanillaStyle = `
|
|
386
385
|
:host {
|
|
387
386
|
display: block;
|
|
388
387
|
}
|
|
@@ -390,23 +389,23 @@ const vanillaStyle$1 = `
|
|
|
390
389
|
display: none;
|
|
391
390
|
}
|
|
392
391
|
`;
|
|
393
|
-
const sheet$
|
|
394
|
-
const styleString$
|
|
392
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
393
|
+
const styleString$2 = sheet$2.toString();
|
|
395
394
|
function PortalLoginView(props) {
|
|
396
395
|
const { states, callbacks, content } = props;
|
|
397
|
-
return (index.h("div", { class: sheet$
|
|
396
|
+
return (index.h("div", { class: sheet$2.classes.Wrapper },
|
|
398
397
|
index.h("style", { type: "text/css" },
|
|
399
|
-
vanillaStyle
|
|
400
|
-
styleString$
|
|
398
|
+
vanillaStyle,
|
|
399
|
+
styleString$2),
|
|
401
400
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
402
|
-
index.h("sl-form", { class: sheet$
|
|
401
|
+
index.h("sl-form", { class: sheet$2.classes.Column, "onSl-submit": callbacks.submit },
|
|
403
402
|
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
404
403
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
405
404
|
index.h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
406
405
|
index.h("div", null,
|
|
407
406
|
index.h("sl-input", { exportparts: "label: input-label", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
408
|
-
index.h("div", { class: sheet$
|
|
409
|
-
index.h("div", { class: sheet$
|
|
407
|
+
index.h("div", { class: sheet$2.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
408
|
+
index.h("div", { class: sheet$2.classes.ButtonsContainer },
|
|
410
409
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
411
410
|
content.secondaryButton))));
|
|
412
411
|
}
|
|
@@ -422,7 +421,7 @@ const style$3 = {
|
|
|
422
421
|
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
423
422
|
ErrorStyle: mixins.ErrorStyles,
|
|
424
423
|
};
|
|
425
|
-
const vanillaStyle = `
|
|
424
|
+
const vanillaStyle$1 = `
|
|
426
425
|
sqm-portal-register {
|
|
427
426
|
margin: 0 auto;
|
|
428
427
|
width: 100%;
|
|
@@ -447,7 +446,7 @@ function PortalRegisterView(props) {
|
|
|
447
446
|
}
|
|
448
447
|
return (index.h("div", { class: sheet$3.classes.Wrapper },
|
|
449
448
|
index.h("style", { type: "text/css" },
|
|
450
|
-
vanillaStyle,
|
|
449
|
+
vanillaStyle$1,
|
|
451
450
|
styleString$3),
|
|
452
451
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
453
452
|
index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
@@ -462,21 +461,19 @@ function PortalRegisterView(props) {
|
|
|
462
461
|
if (!value.includes("@")) {
|
|
463
462
|
return "Must be a valid email address";
|
|
464
463
|
}
|
|
465
|
-
} }, (((_b = (_a = states.validationState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email)
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
}
|
|
464
|
+
} }, (((_b = (_a = states.validationState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
465
|
+
class: sheet$3.classes.ErrorStyle,
|
|
466
|
+
helpText: ((_d = (_c = states.validationState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
467
|
+
"Cannot be empty",
|
|
468
|
+
}
|
|
471
469
|
: [])))),
|
|
472
470
|
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "enable-validation": states.enablePasswordValidation })),
|
|
473
471
|
content.passwordField,
|
|
474
|
-
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword)
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
}
|
|
472
|
+
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.validationState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
473
|
+
class: sheet$3.classes.ErrorStyle,
|
|
474
|
+
helpText: ((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) ||
|
|
475
|
+
"Cannot be empty",
|
|
476
|
+
}
|
|
480
477
|
: [])))),
|
|
481
478
|
content.terms,
|
|
482
479
|
index.h("div", { class: sheet$3.classes.ButtonsContainer },
|
|
@@ -484,7 +481,7 @@ function PortalRegisterView(props) {
|
|
|
484
481
|
content.secondaryButton))));
|
|
485
482
|
}
|
|
486
483
|
|
|
487
|
-
const style$
|
|
484
|
+
const style$4 = {
|
|
488
485
|
Description: {
|
|
489
486
|
"& input[type=checkbox]": {
|
|
490
487
|
display: "none",
|
|
@@ -523,20 +520,20 @@ const style$2 = {
|
|
|
523
520
|
},
|
|
524
521
|
},
|
|
525
522
|
};
|
|
526
|
-
const sheet$
|
|
527
|
-
const styleString$
|
|
523
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
524
|
+
const styleString$4 = sheet$4.toString();
|
|
528
525
|
function Details(props) {
|
|
529
526
|
const rid = Math.random().toString(36).slice(2);
|
|
530
527
|
return (index.h("div", null,
|
|
531
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
532
|
-
index.h("span", { class: sheet$
|
|
528
|
+
index.h("style", { type: "text/css" }, styleString$4),
|
|
529
|
+
index.h("span", { class: sheet$4.classes.Description },
|
|
533
530
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
534
531
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
535
532
|
index.h("sl-icon", { name: "chevron-down" })),
|
|
536
533
|
index.h("span", { class: "summary", "progress-bar": props.progressBar }, props.content.description))));
|
|
537
534
|
}
|
|
538
535
|
|
|
539
|
-
const Gift
|
|
536
|
+
const Gift = () => {
|
|
540
537
|
return (index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
541
538
|
index.h("path", { d: "M15 5H12.4508H9V16H13.5C14.0523 16 14.5 15.5523 14.5 15V9H15C15.5523 9 16 8.55228 16 8V6C16 5.44772 15.5523 5 15 5Z", fill: "#F2C94C" }),
|
|
542
539
|
index.h("path", { d: "M1.5 9V15C1.5 15.5523 1.94772 16 2.5 16H7V5H4.64242H1C0.447715 5 0 5.44772 0 6V8C0 8.55228 0.447715 9 1 9H1.5Z", fill: "#F2C94C" }),
|
|
@@ -544,7 +541,7 @@ const Gift$1 = () => {
|
|
|
544
541
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#EB5757" })));
|
|
545
542
|
};
|
|
546
543
|
|
|
547
|
-
const style$
|
|
544
|
+
const style$5 = {
|
|
548
545
|
ProgressBar: {
|
|
549
546
|
"& .progress-bar": {
|
|
550
547
|
height: "0",
|
|
@@ -653,8 +650,8 @@ const style$1 = {
|
|
|
653
650
|
},
|
|
654
651
|
},
|
|
655
652
|
};
|
|
656
|
-
const sheet$
|
|
657
|
-
const styleString$
|
|
653
|
+
const sheet$5 = JSS.createStyleSheet(style$5, { classNamePrefix: "sqm-prog-bar" });
|
|
654
|
+
const styleString$5 = sheet$5.toString();
|
|
658
655
|
function ProgressBarView(props) {
|
|
659
656
|
var _a;
|
|
660
657
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, expired = false, finite = 0, } = props;
|
|
@@ -663,8 +660,8 @@ function ProgressBarView(props) {
|
|
|
663
660
|
//@ts-ignore
|
|
664
661
|
console.log("PROGRESS BAR PROPS " + ((_a = props === null || props === void 0 ? void 0 : props.content) === null || _a === void 0 ? void 0 : _a.cardTitle));
|
|
665
662
|
console.log({ props });
|
|
666
|
-
return (index.h("div", { class: sheet$
|
|
667
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
663
|
+
return (index.h("div", { class: sheet$5.classes.ProgressBar, "data-expired": expired, "data-steps": steps, "data-done": goal <= progress },
|
|
664
|
+
index.h("style", { type: "text/css" }, styleString$5),
|
|
668
665
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
669
666
|
(Boolean(finite) && progress > 2 * goal)
|
|
670
667
|
? "progress-bar repeatable-steps"
|
|
@@ -715,14 +712,14 @@ function addSteps({ progress, goal }) {
|
|
|
715
712
|
columns.push("0fr");
|
|
716
713
|
items.push(index.h("div", { class: "filled" }));
|
|
717
714
|
items.push(index.h("div", { class: "progress bg" }, goal));
|
|
718
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
715
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
719
716
|
}
|
|
720
717
|
// reward fail
|
|
721
718
|
else {
|
|
722
719
|
columns.push("0fr");
|
|
723
720
|
items.push(index.h("div", { class: "remain" }));
|
|
724
721
|
items.push(index.h("div", { class: "empty bg" }, goal));
|
|
725
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
722
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
726
723
|
}
|
|
727
724
|
return {
|
|
728
725
|
items,
|
|
@@ -742,10 +739,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
|
|
|
742
739
|
items.push(index.h("div", { class: "remain" }));
|
|
743
740
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
744
741
|
items.push(index.h("div", { class: progress == goal ? "gift" : "gift bw" },
|
|
745
|
-
index.h(Gift
|
|
742
|
+
index.h(Gift, null)));
|
|
746
743
|
items.push(index.h("div", { class: "remain" }));
|
|
747
744
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
|
|
748
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
745
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
749
746
|
}
|
|
750
747
|
// single repetition
|
|
751
748
|
else if (repetitions == 1) {
|
|
@@ -753,18 +750,18 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
|
|
|
753
750
|
"0.5fr 0fr 0fr " + ratio + "fr 0fr " + (0.5 - ratio) + "fr 0fr 0fr";
|
|
754
751
|
items.push(index.h("div", { class: "filled" }));
|
|
755
752
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
756
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
753
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
757
754
|
items.push(index.h("div", { class: "filled" }));
|
|
758
755
|
items.push(index.h("div", { class: progress == goal ? "progress top bg" : "progress top" }, progress == goal ? "" : progressBarUnit + progress));
|
|
759
756
|
items.push(index.h("div", { class: "remain" }));
|
|
760
757
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * 2));
|
|
761
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
758
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
762
759
|
}
|
|
763
760
|
// finite repetition hit
|
|
764
761
|
else if (finite && repetitions >= finite) {
|
|
765
762
|
if (repetitions > 2) {
|
|
766
763
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 2)));
|
|
767
|
-
items.push(index.h("div", { class: "gift start" }, index.h(Gift
|
|
764
|
+
items.push(index.h("div", { class: "gift start" }, index.h(Gift, null)));
|
|
768
765
|
columns = "0fr 0fr 0.5fr 0fr 0fr 0.5fr 0fr 0fr";
|
|
769
766
|
}
|
|
770
767
|
else {
|
|
@@ -772,10 +769,10 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
|
|
|
772
769
|
}
|
|
773
770
|
items.push(index.h("div", { class: "filled" }));
|
|
774
771
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (finite - 1)));
|
|
775
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
772
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
776
773
|
items.push(index.h("div", { class: "filled" }));
|
|
777
774
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * finite));
|
|
778
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
775
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
779
776
|
}
|
|
780
777
|
// multiple repetitions
|
|
781
778
|
else {
|
|
@@ -786,15 +783,15 @@ function addLinearRepeatable({ progress, goal, progressBarUnit, finite, }) {
|
|
|
786
783
|
(0.5 - ratio) +
|
|
787
784
|
"fr 0fr 0fr";
|
|
788
785
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions - 1)));
|
|
789
|
-
items.push(index.h("div", { class: "gift start" }, index.h(Gift
|
|
786
|
+
items.push(index.h("div", { class: "gift start" }, index.h(Gift, null)));
|
|
790
787
|
items.push(index.h("div", { class: "filled" }));
|
|
791
788
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * repetitions));
|
|
792
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
789
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
793
790
|
items.push(index.h("div", { class: "filled" }));
|
|
794
791
|
items.push(index.h("div", { class: progress == goal * repetitions ? "progress top bg" : "progress top" }, progress == goal * repetitions ? "" : progressBarUnit + progress));
|
|
795
792
|
items.push(index.h("div", { class: "remain" }));
|
|
796
793
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal * (repetitions + 1)));
|
|
797
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
794
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
798
795
|
}
|
|
799
796
|
return { items, columns };
|
|
800
797
|
}
|
|
@@ -813,14 +810,14 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
813
810
|
columns.push("0fr");
|
|
814
811
|
items.push(index.h("div", { class: "remain" }));
|
|
815
812
|
items.push(index.h("div", { class: "empty bg" }, goal));
|
|
816
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
813
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
817
814
|
}
|
|
818
815
|
else if (i == goal * 2) {
|
|
819
816
|
columns.push("0fr");
|
|
820
817
|
columns.push("0fr");
|
|
821
818
|
items.push(index.h("div", { class: "remain" }));
|
|
822
819
|
items.push(index.h("div", { class: "empty bg" }, goal * 2));
|
|
823
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
820
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
824
821
|
}
|
|
825
822
|
else {
|
|
826
823
|
items.push(index.h("div", { class: "remain" }));
|
|
@@ -831,7 +828,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
831
828
|
columns.push("0fr");
|
|
832
829
|
items.push(index.h("div", { class: "filled" }));
|
|
833
830
|
items.push(index.h("div", { class: "progress bg" }, i));
|
|
834
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
831
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
835
832
|
}
|
|
836
833
|
else {
|
|
837
834
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -846,7 +843,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
846
843
|
columns.push("0fr");
|
|
847
844
|
columns.push("0fr");
|
|
848
845
|
items.push(index.h("div", { class: "progress bg" }, goal * (finite - 2)));
|
|
849
|
-
items.push(index.h("div", { class: "gift start" }, index.h(Gift
|
|
846
|
+
items.push(index.h("div", { class: "gift start" }, index.h(Gift, null)));
|
|
850
847
|
}
|
|
851
848
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
852
849
|
columns.push(ratio + "fr");
|
|
@@ -856,21 +853,21 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
856
853
|
columns.push("0fr");
|
|
857
854
|
items.push(index.h("div", { class: "remain" }));
|
|
858
855
|
items.push(index.h("div", { class: "progress bg" }, goal * (finite - 1)));
|
|
859
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
856
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
860
857
|
}
|
|
861
858
|
}
|
|
862
859
|
else if (i == goal) {
|
|
863
860
|
columns.push("0fr");
|
|
864
861
|
items.push(index.h("div", { class: "filled" }));
|
|
865
862
|
items.push(index.h("div", { class: "progress bg" }, goal * (finite - 1)));
|
|
866
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
863
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
867
864
|
}
|
|
868
865
|
else if (i == goal * 2) {
|
|
869
866
|
columns.push("0fr");
|
|
870
867
|
columns.push("0fr");
|
|
871
868
|
items.push(index.h("div", { class: "filled" }));
|
|
872
869
|
items.push(index.h("div", { class: "progress bg" }, goal * finite));
|
|
873
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
870
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
874
871
|
}
|
|
875
872
|
else {
|
|
876
873
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -885,7 +882,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
885
882
|
columns.push("0fr");
|
|
886
883
|
columns.push("0fr");
|
|
887
884
|
items.push(index.h("div", { class: "progress bg" }, goal * (repetitions - 1)));
|
|
888
|
-
items.push(index.h("div", { class: "gift start" }, index.h(Gift
|
|
885
|
+
items.push(index.h("div", { class: "gift start" }, index.h(Gift, null)));
|
|
889
886
|
for (let i = 1; i < goal * 2 + 1; i++) {
|
|
890
887
|
columns.push(ratio + "fr");
|
|
891
888
|
columns.push("0fr");
|
|
@@ -894,7 +891,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
894
891
|
columns.push("0fr");
|
|
895
892
|
items.push(index.h("div", { class: "filled" }));
|
|
896
893
|
items.push(index.h("div", { class: "progress bg" }, i + goal * (repetitions - 1)));
|
|
897
|
-
items.push(index.h("div", { class: "gift" }, index.h(Gift
|
|
894
|
+
items.push(index.h("div", { class: "gift" }, index.h(Gift, null)));
|
|
898
895
|
}
|
|
899
896
|
else {
|
|
900
897
|
items.push(index.h("div", { class: "filled" }));
|
|
@@ -907,7 +904,7 @@ function addStepsRepeatable({ progress, goal, finite, }) {
|
|
|
907
904
|
columns.push("0fr");
|
|
908
905
|
items.push(index.h("div", { class: "remain" }));
|
|
909
906
|
items.push(index.h("div", { class: "empty bg" }, i + goal * (repetitions - 1)));
|
|
910
|
-
items.push(index.h("div", { class: "gift bw" }, index.h(Gift
|
|
907
|
+
items.push(index.h("div", { class: "gift bw" }, index.h(Gift, null)));
|
|
911
908
|
}
|
|
912
909
|
else {
|
|
913
910
|
items.push(index.h("div", { class: "remain" }));
|
|
@@ -935,7 +932,7 @@ function addLinear({ progress, goal, progressBarUnit, }) {
|
|
|
935
932
|
items.push(index.h("div", { class: "remain" }));
|
|
936
933
|
items.push(index.h("div", { class: "progress bg" }, progressBarUnit + goal));
|
|
937
934
|
items.push(index.h("div", { class: clamp(progress, 0, goal) == goal ? "gift" : "gift bw" },
|
|
938
|
-
index.h(Gift
|
|
935
|
+
index.h(Gift, null)));
|
|
939
936
|
return { items, columns };
|
|
940
937
|
}
|
|
941
938
|
function clamp(x, min, max) {
|
|
@@ -956,7 +953,7 @@ const arrow_left_right = () => {
|
|
|
956
953
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
957
954
|
};
|
|
958
955
|
|
|
959
|
-
const style = {
|
|
956
|
+
const style$6 = {
|
|
960
957
|
TaskCard: {
|
|
961
958
|
display: "inline-block",
|
|
962
959
|
width: "100%",
|
|
@@ -1107,8 +1104,8 @@ const style = {
|
|
|
1107
1104
|
},
|
|
1108
1105
|
},
|
|
1109
1106
|
};
|
|
1110
|
-
const sheet = JSS.createStyleSheet(style);
|
|
1111
|
-
const styleString = sheet.toString();
|
|
1107
|
+
const sheet$6 = JSS.createStyleSheet(style$6);
|
|
1108
|
+
const styleString$6 = sheet$6.toString();
|
|
1112
1109
|
function TaskCardView(props) {
|
|
1113
1110
|
var _a, _b, _c;
|
|
1114
1111
|
console.log("TASK CARD PROPS " + ((_a = props === null || props === void 0 ? void 0 : props.content) === null || _a === void 0 ? void 0 : _a.cardTitle));
|
|
@@ -1146,11 +1143,11 @@ function TaskCardView(props) {
|
|
|
1146
1143
|
margin-bottom: var(--sl-spacing-large);
|
|
1147
1144
|
}
|
|
1148
1145
|
`;
|
|
1149
|
-
return (index.h("div", { class: sheet.classes.TaskCard },
|
|
1146
|
+
return (index.h("div", { class: sheet$6.classes.TaskCard },
|
|
1150
1147
|
index.h("style", { type: "text/css" },
|
|
1151
|
-
styleString,
|
|
1148
|
+
styleString$6,
|
|
1152
1149
|
vanillaStyle),
|
|
1153
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet.classes.NotStarted },
|
|
1150
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$6.classes.NotStarted },
|
|
1154
1151
|
index.h("span", { class: "icon" },
|
|
1155
1152
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
1156
1153
|
global.intl.formatMessage({
|
|
@@ -1161,7 +1158,7 @@ function TaskCardView(props) {
|
|
|
1161
1158
|
.setLocale(utils.luxonLocale(states.locale))
|
|
1162
1159
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
1163
1160
|
}))),
|
|
1164
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet.classes.Ended },
|
|
1161
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$6.classes.Ended },
|
|
1165
1162
|
index.h("span", { class: "icon" },
|
|
1166
1163
|
index.h("sl-icon", { name: "exclamation-triangle-fill" })),
|
|
1167
1164
|
global.intl.formatMessage({
|
|
@@ -1181,7 +1178,7 @@ function TaskCardView(props) {
|
|
|
1181
1178
|
? "main complete"
|
|
1182
1179
|
: "main" },
|
|
1183
1180
|
index.h("div", { class: taskComplete || taskUnavailable ? "container subdued" : "container" },
|
|
1184
|
-
index.h("div", { class: sheet.classes.Header }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
1181
|
+
index.h("div", { class: sheet$6.classes.Header }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
1185
1182
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
1186
1183
|
index.h("span", { class: "value" }, content.rewardAmount),
|
|
1187
1184
|
index.h("span", { class: "text" }, content.rewardUnit)))),
|
|
@@ -1196,7 +1193,7 @@ function TaskCardView(props) {
|
|
|
1196
1193
|
} }, content.cardTitle)),
|
|
1197
1194
|
states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && index.h(Details, Object.assign({}, props))),
|
|
1198
1195
|
content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { complete: taskComplete, expired: taskUnavailable })))),
|
|
1199
|
-
index.h("div", { class: sheet.classes.Footer }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
1196
|
+
index.h("div", { class: sheet$6.classes.Footer }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
1200
1197
|
index.h("span", { class: "text" },
|
|
1201
1198
|
content.repeatable && (index.h("div", null,
|
|
1202
1199
|
index.h("span", { class: repetitions > 0
|
|
@@ -1264,7 +1261,7 @@ const CheckMark = () => (index.h("svg", { width: 12, height: 10, fill: "none", x
|
|
|
1264
1261
|
const CheckmarkFilled = () => (index.h("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
1265
1262
|
index.h("path", { d: "M0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9Z", fill: "currentColor" }),
|
|
1266
1263
|
index.h("path", { d: "M5.68394 8.77046C5.28103 8.39273 4.64819 8.41315 4.27046 8.81606C3.89273 9.21897 3.91315 9.85181 4.31606 10.2295L5.68394 8.77046ZM7.66667 12L6.98273 12.7295C7.36738 13.0902 7.96595 13.0902 8.35061 12.7295L7.66667 12ZM13.6839 7.72954C14.0869 7.35181 14.1073 6.71897 13.7295 6.31606C13.3518 5.91315 12.719 5.89273 12.3161 6.27046L13.6839 7.72954ZM4.31606 10.2295L6.98273 12.7295L8.35061 11.2705L5.68394 8.77046L4.31606 10.2295ZM8.35061 12.7295L13.6839 7.72954L12.3161 6.27046L6.98273 11.2705L8.35061 12.7295Z", fill: "white" })));
|
|
1267
|
-
const Gift = () => (index.h("svg", { width: 156, height: 157, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
1264
|
+
const Gift$1 = () => (index.h("svg", { width: 156, height: 157, fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
1268
1265
|
index.h("path", { d: "M40.18 126h83.663a3 3 0 0 0 3-3V73.966a3 3 0 0 0-3-3H40.18a3 3 0 0 0-3 3V123a3 3 0 0 0 3 3Z", fill: "#FFD34F" }),
|
|
1269
1266
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M37.18 73.862v7.966h89.663v-7.966H37.18Z", fill: "#E9BB30" }),
|
|
1270
1267
|
index.h("path", { d: "M133.039 74.224a2.18 2.18 0 0 0 2.187-2.172v-19.19c0-1.2-.98-2.172-2.187-2.172H31.347a2.18 2.18 0 0 0-2.187 2.172v19.19c0 1.2.98 2.172 2.187 2.172H133.04Z", fill: "#FFC000" }),
|
|
@@ -1788,7 +1785,7 @@ function RewardExchangeView(props) {
|
|
|
1788
1785
|
var _a, _b, _c, _d, _e;
|
|
1789
1786
|
console.log("success");
|
|
1790
1787
|
return (index.h("div", { class: sheet.classes.Success },
|
|
1791
|
-
index.h(Gift, null),
|
|
1788
|
+
index.h(Gift$1, null),
|
|
1792
1789
|
index.h(Confetti, null),
|
|
1793
1790
|
index.h("div", { class: "title" }, states.content.text.rewardRedeemedText),
|
|
1794
1791
|
index.h("div", { class: "description" }, global.intl.formatMessage({
|
|
@@ -1796,8 +1793,7 @@ function RewardExchangeView(props) {
|
|
|
1796
1793
|
defaultMessage: states.content.text.redemptionSuccessText,
|
|
1797
1794
|
}, {
|
|
1798
1795
|
sourceValue: (_a = states.selectedItem.prettySourceValue) !== null && _a !== void 0 ? _a : (_b = states.selectedStep) === null || _b === void 0 ? void 0 : _b.prettySourceValue,
|
|
1799
|
-
destinationValue: ((_c = states.selectedStep) === null || _c === void 0 ? void 0 : _c.prettyDestinationValue) ||
|
|
1800
|
-
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.name) ||
|
|
1796
|
+
destinationValue: ((_c = states.selectedStep) === null || _c === void 0 ? void 0 : _c.prettyDestinationValue) || ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.name) ||
|
|
1801
1797
|
states.selectedItem.globalRewardKey,
|
|
1802
1798
|
})),
|
|
1803
1799
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { style: {
|
|
@@ -1928,7 +1924,7 @@ const lScale = [
|
|
|
1928
1924
|
0.32,
|
|
1929
1925
|
0.25,
|
|
1930
1926
|
0.18,
|
|
1931
|
-
0.15,
|
|
1927
|
+
0.15,
|
|
1932
1928
|
];
|
|
1933
1929
|
// https://github.com/ricokahler/color2k/blob/main/src/parseToRgba.ts
|
|
1934
1930
|
const hslaRegex = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const mixins = require('./mixins-7b7c59fe.js');
|
|
5
|
-
const JSS = require('./JSS-
|
|
5
|
+
const JSS = require('./JSS-c65a40f1.js');
|
|
6
6
|
|
|
7
7
|
function GenericTableView(props) {
|
|
8
8
|
const { states, data, callbacks, elements } = props;
|
|
@@ -100,10 +100,9 @@ function GenericTableView(props) {
|
|
|
100
100
|
index.h("tbody", null,
|
|
101
101
|
show === "loading" && elements.loadingElement,
|
|
102
102
|
show === "empty" && elements.emptyElement,
|
|
103
|
-
show === "rows" &&
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}, part: "table-row" }, row.map((cell, j) => (index.h("td", { class: hiddenCols.includes(j) ? "hidden" : "", "data-label": columns[j] + ":" }, cell))))))))),
|
|
103
|
+
show === "rows" && (rows === null || rows === void 0 ? void 0 : rows.map((row, i) => (index.h("tr", { style: {
|
|
104
|
+
borderTop: `${!data.textOverrides.showLabels && i === 0 ? "none" : ""}`,
|
|
105
|
+
}, part: "table-row" }, row.map((cell, j) => (index.h("td", { class: hiddenCols.includes(j) ? "hidden" : "", "data-label": columns[j] + ":" }, cell))))))))),
|
|
107
106
|
index.h("div", { class: sheet.classes.ButtonContainer, part: states.namespace + "-button-wrapper" },
|
|
108
107
|
index.h("sl-button", { size: "small", disabled: !states.hasPrev, loading: show === "loading", onClick: callbacks.prevPage, exportparts: "base: defaultbutton-base", class: !states.hasPrev ? sheet.classes.ButtonDisabled : "" }, data.textOverrides.prevLabel),
|
|
109
108
|
index.h("sl-button", { size: "small", loading: show === "loading", disabled: !states.hasNext, onClick: callbacks.nextPage, exportparts: "base: defaultbutton-base", class: !states.hasNext ? sheet.classes.ButtonDisabled : "" }, data.textOverrides.moreLabel))));
|