@saasquatch/mint-components 1.11.1-4 → 1.11.1-40
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/{GenericTableView-a3f48e15.js → GenericTableView-bb2fcd95.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-cfda0bfa.js → ShadowViewAddon-2d56f3b4.js} +28 -20
- package/dist/cjs/{copy-text-view-5f908186.js → copy-text-view-29330e8a.js} +69 -25
- package/dist/cjs/{email-registration-view-4c5d9379.js → email-registration-view-54cedb43.js} +1 -1
- package/dist/cjs/{global-02e50f09.js → global-e067aa06.js} +2 -2
- package/dist/cjs/{index-b0129cd6.js → index-ff72278c.js} +2 -0
- package/dist/cjs/{index.module-df530553.js → index.module-224d7b8d.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-05098e19.js → luxon-45228ff5.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-d6be2267.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-1976e05e.js → re-render-cd2f8774.js} +2 -2
- package/dist/cjs/{sqm-asset-card-view-a0e33f21.js → sqm-asset-card-view-30ca5188.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +10 -10
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +13 -13
- package/dist/cjs/{sqm-close-button-view-217239b7.js → sqm-close-button-view-6a709e00.js} +1 -1
- package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
- package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
- package/dist/cjs/sqm-empty_4.cjs.entry.js +10 -5
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-invoice-table-view-e3b03a00.js → sqm-invoice-table-view-2f4f426b.js} +2 -2
- package/dist/cjs/{sqm-leaderboard-rank-view-5a3d4a88.js → sqm-leaderboard-rank-view-317eb84f.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-logout-current-user-view-c9f18d96.js → sqm-logout-current-user-view-1912b773.js} +1 -1
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-item-view-4e90b6f5.js → sqm-navigation-sidebar-item-view-010a81c7.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-navigation-sidebar-view-921704fb.js → sqm-navigation-sidebar-view-215eba1d.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +80 -30
- package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
- package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-container-view-990a85a3.js → sqm-portal-container-view-976bf0f5.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-bff9783d.js → sqm-portal-email-verification-view-f8980d11.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-forgot-password-view-3cd69fe7.js → sqm-portal-forgot-password-view-24339191.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +5 -5
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-profile-view-fde54e35.js → sqm-portal-profile-view-7c70d7f9.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-reset-password-view-34771d2c.js → sqm-portal-reset-password-view-1b85b8cf.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-verify-email-view-c8f91506.js → sqm-portal-verify-email-view-cc3c87c3.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +55 -28
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-text-span-view-e1cd9bd3.js → sqm-text-span-view-38222836.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-8f69ed33.js} +1 -1
- package/dist/cjs/{useChildElements-e0d44916.js → useChildElements-176ac928.js} +2 -2
- package/dist/cjs/{useInstantAccessRegistration-bbe746d1.js → useInstantAccessRegistration-151a3f4a.js} +3 -3
- package/dist/cjs/{useReferralTable-a76adb0d.js → useReferralTable-c91d9310.js} +5 -5
- package/dist/cjs/{useRegistrationFormState-876ed65d.js → useRegistrationFormState-49dd9295.js} +2 -2
- package/dist/cjs/{utilities-cec9dd36.js → utilities-719c980a.js} +2 -2
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +10 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +6 -8
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +47 -10
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +5 -3
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +12 -5
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +18 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +13 -3
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +51 -5
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +64 -22
- package/dist/collection/components/sqm-share-button/useShareButton.js +15 -8
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +5 -4
- package/dist/collection/components/views/copy-text-view.js +4 -2
- package/dist/collection/stories/Widget.stories.js +5 -0
- package/dist/esm/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
- package/dist/esm/{ShadowViewAddon-95520b03.js → ShadowViewAddon-db086943.js} +28 -20
- package/dist/esm/{copy-text-view-73cd7a82.js → copy-text-view-47f83e9b.js} +69 -25
- package/dist/esm/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
- package/dist/esm/{global-b89b6edc.js → global-701bd5b0.js} +2 -2
- package/dist/esm/{index-17b4da69.js → index-014ddfa3.js} +2 -1
- package/dist/esm/{index.module-f122af7b.js → index.module-5eb0926c.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-c64289f3.js → re-render-b31d83d7.js} +2 -2
- package/dist/esm/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/sqm-banking-info-form_16.entry.js +10 -10
- package/dist/esm/sqm-big-stat_38.entry.js +13 -13
- package/dist/esm/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
- package/dist/esm/sqm-close-button.entry.js +4 -4
- package/dist/esm/sqm-context-router.entry.js +3 -3
- package/dist/esm/sqm-empty_4.entry.js +10 -5
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
- package/dist/esm/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +2 -2
- package/dist/esm/{sqm-leaderboard-rank-view-10657658.js → sqm-leaderboard-rank-view-773a586f.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
- package/dist/esm/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm/sqm-logout-current-user.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-pagination_3.entry.js +80 -30
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-popup-container.entry.js +3 -3
- package/dist/esm/{sqm-portal-container-view-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +5 -5
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +7 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +5 -5
- package/dist/esm/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
- package/dist/esm/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +11 -11
- package/dist/esm/sqm-referred-registration.entry.js +6 -6
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +55 -28
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -3
- package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm/{useChildElements-37daf533.js → useChildElements-ebcfbc19.js} +2 -2
- package/dist/esm/{useInstantAccessRegistration-9d4cb797.js → useInstantAccessRegistration-7b2ea2bd.js} +3 -3
- package/dist/esm/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +5 -5
- package/dist/esm/{useRegistrationFormState-53c71782.js → useRegistrationFormState-faea9402.js} +2 -2
- package/dist/esm/{utilities-18d10876.js → utilities-292b61b9.js} +2 -2
- package/dist/esm-es5/{GenericTableView-bf154727.js → GenericTableView-706f5b56.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-db086943.js +1 -0
- package/dist/esm-es5/copy-text-view-47f83e9b.js +1 -0
- package/dist/esm-es5/{email-registration-view-12793040.js → email-registration-view-5ecee6f8.js} +1 -1
- package/dist/esm-es5/{global-b89b6edc.js → global-701bd5b0.js} +1 -1
- package/dist/esm-es5/{index-17b4da69.js → index-014ddfa3.js} +1 -1
- package/dist/esm-es5/{index.module-f122af7b.js → index.module-5eb0926c.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-7600be8d.js → luxon-12195d94.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-133c20ca.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-c64289f3.js → re-render-b31d83d7.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-9d93fbdd.js → sqm-asset-card-view-da88351a.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/{sqm-close-button-view-b24c708b.js → sqm-close-button-view-8058642b.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-form-message.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
- package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-09cc28d6.js → sqm-invoice-table-view-7d1aa71f.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-773a586f.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-2c6122cd.js → sqm-logout-current-user-view-dfcd508a.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-14114804.js → sqm-navigation-sidebar-item-view-9fa7f5ea.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-0312e073.js → sqm-navigation-sidebar-view-5f332ea1.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.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-6c582684.js → sqm-portal-container-view-83df005d.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-ced567c9.js → sqm-portal-email-verification-view-332e1339.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-95cd454f.js → sqm-portal-forgot-password-view-8629f753.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-d72dd5ac.js → sqm-portal-profile-view-847526a2.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-f1454d43.js → sqm-portal-reset-password-view-865655da.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-3739f523.js → sqm-portal-verify-email-view-6c60df25.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-route.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-8d140661.js → sqm-text-span-view-d6e03f93.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-576d7f01.js} +1 -1
- package/dist/esm-es5/useChildElements-ebcfbc19.js +1 -0
- package/dist/esm-es5/useInstantAccessRegistration-7b2ea2bd.js +1 -0
- package/dist/esm-es5/{useReferralTable-42f99ea2.js → useReferralTable-df227f15.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-faea9402.js +1 -0
- package/dist/esm-es5/{utilities-18d10876.js → utilities-292b61b9.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-fd2c5407.js → p-019506c4.js} +1 -1
- package/dist/mint-components/p-03e2a88c.js +1 -0
- package/dist/mint-components/{p-01434e4a.entry.js → p-04643464.entry.js} +1 -1
- package/dist/mint-components/p-062051ad.entry.js +1 -0
- package/dist/mint-components/{p-18a19cb5.system.js → p-06b8a582.system.js} +1 -1
- package/dist/mint-components/p-0a26adee.js +1 -0
- package/dist/mint-components/{p-523ed056.system.js → p-0dc18b5c.system.js} +1 -1
- package/dist/mint-components/p-0ebd104c.js +1 -0
- package/dist/mint-components/{p-8077e9c6.js → p-134424df.js} +1 -1
- package/dist/mint-components/p-146c2a0e.js +1 -0
- package/dist/mint-components/{p-c7ce2c1e.system.js → p-16b9efe1.system.js} +1 -1
- package/dist/mint-components/{p-991c9787.js → p-195e306e.js} +2 -2
- package/dist/mint-components/{p-251e7567.js → p-1a4e5a3a.js} +1 -1
- package/dist/mint-components/p-1a5f4a13.system.entry.js +1 -0
- package/dist/mint-components/{p-3cc5474d.entry.js → p-1c45b7d0.entry.js} +1 -1
- package/dist/mint-components/{p-bb6f6681.system.js → p-1e03d640.system.js} +1 -1
- package/dist/mint-components/{p-1099290c.system.js → p-1e68fa26.system.js} +1 -1
- package/dist/mint-components/p-20c6c73e.entry.js +1 -0
- package/dist/mint-components/{p-ff17b3a4.system.js → p-21d94eab.system.js} +1 -1
- package/dist/mint-components/{p-2e16db11.entry.js → p-2474c5c6.entry.js} +1 -1
- package/dist/mint-components/p-2478ab2e.js +1 -0
- package/dist/mint-components/{p-3373d84e.js → p-249798d3.js} +1 -1
- package/dist/mint-components/{p-1b1d10e5.entry.js → p-26383fdd.entry.js} +1 -1
- package/dist/mint-components/p-284f26ec.system.entry.js +1 -0
- package/dist/mint-components/{p-c1a47137.system.entry.js → p-29952a5b.system.entry.js} +1 -1
- package/dist/mint-components/{p-64fcb97f.system.entry.js → p-29e0dedf.system.entry.js} +1 -1
- package/dist/mint-components/{p-4f775e84.system.js → p-2be11651.system.js} +1 -1
- package/dist/mint-components/{p-9deac406.system.js → p-2cb2401d.system.js} +1 -1
- package/dist/mint-components/{p-246a2827.entry.js → p-2d688fe9.entry.js} +1 -1
- package/dist/mint-components/{p-96cb9c17.entry.js → p-391b6274.entry.js} +1 -1
- package/dist/mint-components/{p-c39f9dc1.system.entry.js → p-3973cf23.system.entry.js} +1 -1
- package/dist/mint-components/{p-59c141a2.system.js → p-3c6bc373.system.js} +1 -1
- package/dist/mint-components/p-3ee0a8af.entry.js +1 -0
- package/dist/mint-components/p-3ef97112.system.js +1 -0
- package/dist/mint-components/{p-1c6e4a5f.entry.js → p-3f03a247.entry.js} +2 -2
- package/dist/mint-components/{p-855ae1b5.js → p-42390bcc.js} +1 -1
- package/dist/mint-components/{p-e546347e.system.js → p-4531488f.system.js} +1 -1
- package/dist/mint-components/{p-2a414b2e.system.js → p-45d71b2a.system.js} +1 -1
- package/dist/mint-components/{p-798ed3a2.entry.js → p-45f46e4c.entry.js} +1 -1
- package/dist/mint-components/{p-daba8cd2.system.entry.js → p-48a72a05.system.entry.js} +1 -1
- package/dist/mint-components/{p-b334bde8.entry.js → p-4be053fb.entry.js} +2 -2
- package/dist/mint-components/{p-ec8a9e91.system.entry.js → p-4c1b1914.system.entry.js} +1 -1
- package/dist/mint-components/{p-53ff8bd0.system.entry.js → p-4ef2f4f6.system.entry.js} +1 -1
- package/dist/mint-components/{p-48b7d703.entry.js → p-5073b8c9.entry.js} +1 -1
- package/dist/mint-components/{p-ea88142c.js → p-517bcc71.js} +1 -1
- package/dist/mint-components/{p-9288cca6.system.entry.js → p-51dba12d.system.entry.js} +1 -1
- package/dist/mint-components/p-53e25b79.entry.js +1 -0
- package/dist/mint-components/p-549139be.entry.js +1 -0
- package/dist/mint-components/p-57f92fe0.entry.js +1 -0
- package/dist/mint-components/{p-de2a8fae.system.entry.js → p-5922cd9e.system.entry.js} +1 -1
- package/dist/mint-components/{p-32cf8417.js → p-59e310c8.js} +1 -1
- package/dist/mint-components/{p-92110eef.entry.js → p-5c70bc39.entry.js} +1 -1
- package/dist/mint-components/{p-5c845bc2.system.entry.js → p-5dcd7fc9.system.entry.js} +1 -1
- package/dist/mint-components/p-5fe660bb.system.entry.js +1 -0
- package/dist/mint-components/{p-64c3217a.js → p-61d5f26e.js} +1 -1
- package/dist/mint-components/p-64473f17.system.js +1 -0
- package/dist/mint-components/{p-e41cb11f.js → p-65535cf7.js} +1 -1
- package/dist/mint-components/{p-0806343b.js → p-6568392b.js} +1 -1
- package/dist/mint-components/p-66aca488.entry.js +1 -0
- package/dist/mint-components/{p-9c3d78e9.js → p-66c7b15c.js} +1 -1
- package/dist/mint-components/{p-f44d88fa.system.js → p-66d9a540.system.js} +1 -1
- package/dist/mint-components/{p-79da7f18.js → p-6d164a9e.js} +1 -1
- package/dist/mint-components/{p-942d1c22.entry.js → p-6dab9a17.entry.js} +1 -1
- package/dist/mint-components/{p-0f028514.system.js → p-71e0ca2b.system.js} +1 -1
- package/dist/mint-components/{p-3036cf58.system.js → p-752650b9.system.js} +1 -1
- package/dist/mint-components/{p-1c710e16.entry.js → p-752fd47b.entry.js} +1 -1
- package/dist/mint-components/{p-55588b46.system.js → p-778b3774.system.js} +1 -1
- package/dist/mint-components/p-7956a44f.system.entry.js +1 -0
- package/dist/mint-components/{p-f3053c61.js → p-7ae55645.js} +1 -1
- package/dist/mint-components/p-7dc69a64.entry.js +13 -0
- package/dist/mint-components/{p-7962ab58.system.entry.js → p-7f43c280.system.entry.js} +1 -1
- package/dist/mint-components/{p-370a1a73.system.js → p-81ed0e97.system.js} +1 -1
- package/dist/mint-components/{p-6b5e355c.system.js → p-842cbd05.system.js} +1 -1
- package/dist/mint-components/p-87113437.entry.js +11 -0
- package/dist/mint-components/{p-5d37482d.entry.js → p-8925f3c5.entry.js} +1 -1
- package/dist/mint-components/{p-21d4f6ce.system.js → p-8b9408e5.system.js} +1 -1
- package/dist/mint-components/{p-00be5090.js → p-8c765c81.js} +1 -1
- package/dist/mint-components/{p-dbc0db45.js → p-8cd49ec4.js} +3 -3
- package/dist/mint-components/{p-d68ed4a6.system.entry.js → p-9a1a4d71.system.entry.js} +1 -1
- package/dist/mint-components/p-9ed09b3a.system.js +1 -0
- package/dist/mint-components/p-9ee50200.entry.js +1 -0
- package/dist/mint-components/{p-6afb4f48.system.entry.js → p-9f9f851d.system.entry.js} +1 -1
- package/dist/mint-components/{p-03a647c2.system.js → p-9fc73ff8.system.js} +1 -1
- package/dist/mint-components/p-a13c83c5.entry.js +1 -0
- package/dist/mint-components/{p-ce746af8.system.js → p-a2aed0da.system.js} +1 -1
- package/dist/mint-components/{p-178d2d2e.entry.js → p-a3fdbfed.entry.js} +1 -1
- package/dist/mint-components/{p-fbdf0738.entry.js → p-a4c1b404.entry.js} +1 -1
- package/dist/mint-components/{p-02f6cda4.js → p-a9ff5495.js} +1 -1
- package/dist/mint-components/{p-acc93caa.system.entry.js → p-af4cce6a.system.entry.js} +1 -1
- package/dist/mint-components/p-b08e9577.entry.js +1 -0
- package/dist/mint-components/{p-ce9e7c98.system.js → p-b210bcc2.system.js} +1 -1
- package/dist/mint-components/p-b3aaeb2f.system.entry.js +1 -0
- package/dist/mint-components/p-b3d193e3.system.entry.js +1 -0
- package/dist/mint-components/{p-6e7e8af6.system.js → p-b3f02315.system.js} +1 -1
- package/dist/mint-components/{p-67846dce.system.entry.js → p-b4448aec.system.entry.js} +1 -1
- package/dist/mint-components/p-b6f61a27.entry.js +9 -0
- package/dist/mint-components/{p-ed161025.js → p-b7705066.js} +1 -1
- package/dist/mint-components/{p-43a990b6.system.js → p-b8230f83.system.js} +1 -1
- package/dist/mint-components/p-bd5cb4f3.system.js +1 -0
- package/dist/mint-components/{p-f52c3aec.system.entry.js → p-c134af86.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0806232.system.entry.js → p-c2281e04.system.entry.js} +1 -1
- package/dist/mint-components/{p-ecefeaa9.system.entry.js → p-c3188365.system.entry.js} +1 -1
- package/dist/mint-components/{p-e2bb72eb.system.entry.js → p-c3b8765c.system.entry.js} +1 -1
- package/dist/mint-components/{p-22de9f73.system.entry.js → p-ca182259.system.entry.js} +1 -1
- package/dist/mint-components/{p-cfbe2f86.entry.js → p-cc1ffc0c.entry.js} +1 -1
- package/dist/mint-components/{p-e3e16c36.js → p-d25af377.js} +1 -1
- package/dist/mint-components/{p-73decce7.system.js → p-d2abffc0.system.js} +1 -1
- package/dist/mint-components/p-d8d97ff5.js +1 -0
- package/dist/mint-components/{p-1ce4fa30.system.entry.js → p-dac99706.system.entry.js} +1 -1
- package/dist/mint-components/{p-ac1bf045.js → p-e039ce2f.js} +1 -1
- package/dist/mint-components/{p-82e09b8d.system.entry.js → p-e1e700b8.system.entry.js} +1 -1
- package/dist/mint-components/{p-fb2c0ce4.system.entry.js → p-e3411b86.system.entry.js} +1 -1
- package/dist/mint-components/{p-88aac6a9.system.entry.js → p-e401cb44.system.entry.js} +1 -1
- package/dist/mint-components/{p-ed6ebd60.system.js → p-e479d77e.system.js} +1 -1
- package/dist/mint-components/{p-88a2e66e.system.entry.js → p-e53e95ce.system.entry.js} +1 -1
- package/dist/mint-components/{p-41499327.entry.js → p-e909906f.entry.js} +1 -1
- package/dist/mint-components/{p-452b562d.entry.js → p-e91bdadf.entry.js} +1 -1
- package/dist/mint-components/{p-6e62f207.entry.js → p-e92f0fbb.entry.js} +1 -1
- package/dist/mint-components/p-ebd6c7e5.js +52 -0
- package/dist/mint-components/{p-5d0c9424.js → p-ee343d0b.js} +1 -1
- package/dist/mint-components/{p-bf834367.system.js → p-ee474d4c.system.js} +1 -1
- package/dist/mint-components/{p-ff41c804.system.entry.js → p-f246f7dd.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7fd9e16.js → p-f29e62e1.js} +1 -1
- package/dist/mint-components/{p-14dac608.system.entry.js → p-f5c3a8cf.system.entry.js} +1 -1
- package/dist/mint-components/{p-a474b0ec.system.entry.js → p-f6712472.system.entry.js} +1 -1
- package/dist/mint-components/{p-46ca288c.system.js → p-f6c279d8.system.js} +1 -1
- package/dist/mint-components/{p-b3b5b4b7.system.entry.js → p-f9564398.system.entry.js} +1 -1
- package/dist/mint-components/{p-a1150633.system.entry.js → p-f9680769.system.entry.js} +1 -1
- package/dist/mint-components/{p-d3d281ff.entry.js → p-f9b9be03.entry.js} +1 -1
- package/dist/mint-components/{p-1df19ea2.js → p-fd04355d.js} +1 -1
- package/dist/mint-components/p-feace4a6.entry.js +1 -0
- package/dist/mint-components/{p-8c97bfb1.system.entry.js → p-fef83f2a.system.entry.js} +1 -1
- package/dist/mint-components/{p-fae82751.entry.js → p-ffdb1310.entry.js} +1 -1
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +4 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +4 -0
- package/dist/types/components/sqm-pagination/usePagination.d.ts +1 -1
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +1 -1
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +2 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +6 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +7 -1
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +9 -5
- package/dist/types/components/views/copy-text-view.d.ts +1 -0
- package/dist/types/components.d.ts +21 -3
- package/dist/types/stories/Widget.stories.d.ts +6 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-95520b03.js +0 -1
- package/dist/esm-es5/copy-text-view-73cd7a82.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +0 -1
- package/dist/esm-es5/useChildElements-37daf533.js +0 -1
- package/dist/esm-es5/useInstantAccessRegistration-9d4cb797.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-53c71782.js +0 -1
- package/dist/mint-components/p-0a898ab1.js +0 -1
- package/dist/mint-components/p-110dddfe.entry.js +0 -1
- package/dist/mint-components/p-12c56ba6.entry.js +0 -1
- package/dist/mint-components/p-15dee492.js +0 -1
- package/dist/mint-components/p-18a7f543.system.entry.js +0 -1
- package/dist/mint-components/p-1a02cebe.entry.js +0 -13
- package/dist/mint-components/p-26306ac4.system.entry.js +0 -1
- package/dist/mint-components/p-4068bd43.system.js +0 -1
- package/dist/mint-components/p-476182e7.system.entry.js +0 -1
- package/dist/mint-components/p-494e407e.entry.js +0 -1
- package/dist/mint-components/p-4f815653.entry.js +0 -9
- package/dist/mint-components/p-5b7e2d53.entry.js +0 -1
- package/dist/mint-components/p-5fc8d87c.system.js +0 -1
- package/dist/mint-components/p-639d3dd3.entry.js +0 -1
- package/dist/mint-components/p-6b0e6a6c.js +0 -1
- package/dist/mint-components/p-753a19e2.js +0 -25
- package/dist/mint-components/p-89a760ea.js +0 -1
- package/dist/mint-components/p-9dcfa187.system.js +0 -1
- package/dist/mint-components/p-aed69f9e.system.entry.js +0 -1
- package/dist/mint-components/p-b4eb9c46.entry.js +0 -11
- package/dist/mint-components/p-b5176703.entry.js +0 -1
- package/dist/mint-components/p-bd4e9c2b.js +0 -1
- package/dist/mint-components/p-c1ba2ad0.system.entry.js +0 -1
- package/dist/mint-components/p-c8878e79.entry.js +0 -1
- package/dist/mint-components/p-ca17d998.entry.js +0 -1
- package/dist/mint-components/p-d666b326.js +0 -1
- package/dist/mint-components/p-dc41ff27.entry.js +0 -1
- package/dist/mint-components/p-dd0d79bf.entry.js +0 -1
- package/dist/mint-components/p-f1ec1180.entry.js +0 -1
- package/dist/mint-components/p-f26580a1.system.entry.js +0 -1
- package/dist/mint-components/p-f2a0658d.system.js +0 -1
- package/dist/types/global/android.d.ts +0 -7
- package/dist/types/global/demo.d.ts +0 -2
- package/dist/types/stories/features.d.ts +0 -4
- package/dist/types/stories/templates.d.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(s){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))s[r]=e[r]}return s};return __assign.apply(this,arguments)};System.register(["./p-21d94eab.system.js","./p-f6c279d8.system.js","./p-1a673057.system.js","./p-f6934a55.system.js","./p-2be11651.system.js"],(function(s){"use strict";var e,t,n,r,a,i;return{setters:[function(s){e=s.h},function(s){t=s.i},function(s){n=s.c},function(s){r=s.A;a=s.a},function(s){i=s.T}],execute:function(){s("P",p);var o={Wrapper:r,Column:__assign({},a),ButtonLink:{fontSize:"14px",color:"var(--sl-color-primary-500)",display:"inline-block !important","&:hover":{cursor:"pointer",textDecoration:"underline"}},ButtonLinkLoading:{fontSize:"14px",color:"var(--sl-color-gray-500)",opacity:"0.6",display:"inline-block !important",textDecoration:"underline","&:hover":{cursor:"not-allowed"}}};var c="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var l=n(o);var u=l.toString();function p(s){var n=s.states,r=s.callbacks,a=s.content,o=a.email,p=a.verifyMessage,f=a.emailVerificationHeader,d=a.resendEmailButtonText,g=a.verificationStatusMessage,m=a.verificationLoadingMessage,y=a.verificationResentMessage;return e("div",{class:l.classes.Wrapper},e("style",{type:"text/css"},c,u),e(i,{type:"h3"},f),e("sl-form",{class:l.classes.Column,"onSl-submit":r.submit},s.states.error&&e("sqm-form-message",{type:"error",exportparts:"erroralert-icon"},e("div",{part:"erroralert-text"},s.states.error)),s.states.success&&e("sqm-form-message",{type:"success",exportparts:"successalert-icon"},e("div",{part:"successalert-text"},y)),e(i,{type:"p"},t.formatMessage({id:"verifyMessage",defaultMessage:p},{email:e("span",{style:{fontWeight:"var(--sl-font-weight-semibold)"}},o)})),e("p",{style:{color:"var(--sl-color-gray-500)",fontSize:"14px"}},t.formatMessage({id:"verificationStatus",defaultMessage:n.loadingVerification?m+" {countdown}":g},{countdown:n.loadingVerification?e("sl-spinner",null):n.countdown})),e("a",{class:n.loading?l.classes.ButtonLinkLoading:l.classes.ButtonLink,onClick:r.submit},d)))}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,d as a}from"./p-
|
|
1
|
+
import{h as t,d as a}from"./p-61d5f26e.js";import{c as r}from"./p-cef45012.js";const e=r({CardContainer:{"box-sizing":"border-box",width:"100%","max-width":"260px",border:"1px solid #EAEAEA",padding:"0px 16px 16px 16px","border-radius":"8px"},TextContainer:{display:"flex","justify-content":"space-between","align-items":"center"},Title:{"font-weight":600,color:"var(--sl-color-gray-800)","max-width":"85%","overflow-wrap":"break-word"},CardImg:{width:"100%",height:"228px","border-radius":"4px"},Icon:{"&:hover":{cursor:"pointer"}}}),s=e.toString(),i=r=>{const{text:{titleText:i},imgUrl:o}=r;return t("div",{class:e.classes.CardContainer,part:"sqm-base"},t("style",{type:"text/css"},s),t("div",{class:e.classes.TextContainer},t("p",{class:e.classes.Title,part:"sqm-title"},i),t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"#000000",class:`bi bi-download ${e.classes.Icon}`,viewBox:"0 0 16 16"},t("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),t("path",{d:"M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"}))),t("img",{src:a(o),class:e.classes.CardImg}))};export{i as A}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-61d5f26e.js";import{k as r,f as i,n as o}from"./p-019506c4.js";import"./p-66c7b15c.js";import{d as s,Q as a,y as l,$ as n,i as u}from"./p-8c765c81.js";import{g as d}from"./p-9ec99ced.js";import"./p-cef45012.js";import{c as m}from"./p-c1086930.js";import"./p-ee343d0b.js";import{P as c}from"./p-249798d3.js";import{i as v}from"./p-146c2a0e.js";const f=s.gql`
|
|
2
2
|
query {
|
|
3
3
|
viewer {
|
|
4
4
|
... on User {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-45d71b2a.system.js","./p-1e68fa26.system.js"],(function(n){"use strict";var e,t,r;return{setters:[function(n){e=n.k;t=n.f},function(n){r=n.u}],execute:function(){n({a:u,b:i,i:s});function i(n){var i=e(window.innerWidth),u=i[0],s=i[1];var o=r((function(){return s(window.innerWidth)}),[]);t((function(){window.addEventListener("resize",o);return function(){return window.removeEventListener("resize",o)}}),[]);return u>n?false:true}function u(n){return CSS.supports("(color: "+n+")")}function s(n){return!n||Object.keys(n).length===0&&n.constructor===Object}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-21d94eab.system.js","./p-1a673057.system.js"],(function(t){"use strict";var s,e,a;return{setters:[function(t){s=t.h;e=t.d},function(t){a=t.c}],execute:function(){var r={CardContainer:{"box-sizing":"border-box",width:"100%","max-width":"260px",border:"1px solid #EAEAEA",padding:"0px 16px 16px 16px","border-radius":"8px"},TextContainer:{display:"flex","justify-content":"space-between","align-items":"center"},Title:{"font-weight":600,color:"var(--sl-color-gray-800)","max-width":"85%","overflow-wrap":"break-word"},CardImg:{width:"100%",height:"228px","border-radius":"4px"},Icon:{"&:hover":{cursor:"pointer"}}};var i=a(r);var o=i.toString();var n=t("A",(function(t){var a=t.text.titleText,r=t.imgUrl;return s("div",{class:i.classes.CardContainer,part:"sqm-base"},s("style",{type:"text/css"},o),s("div",{class:i.classes.TextContainer},s("p",{class:i.classes.Title,part:"sqm-title"},a),s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"#000000",class:"bi bi-download "+i.classes.Icon,viewBox:"0 0 16 16"},s("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),s("path",{d:"M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"}))),s("img",{src:e(r),class:i.classes.CardImg}))}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as i}from"./p-
|
|
1
|
+
import{r as e,h as i}from"./p-61d5f26e.js";import{k as a,m as t,f as s,n}from"./p-019506c4.js";import"./p-66c7b15c.js";import{l as r,n as o,Q as l,f as c,u as d,i as v}from"./p-8c765c81.js";import"./p-cef45012.js";import{c as u}from"./p-c1086930.js";import"./p-02be1a88.js";import"./p-ee343d0b.js";import{P as m}from"./p-65535cf7.js";const f=class{constructor(i){e(this,i),this.ignored=!0,this.redirectPath="/verifyEmail",this.emailVerificationHeader="Verify your email",this.resendEmailButtonText="Re-send Email",this.verifyMessage="A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.",this.verificationStatusMessage="Checking verification status in {countdown}",this.verificationLoadingMessage="Checking verification status",this.verificationResentMessage="Your verification email has been resent successfully",this.networkErrorMessage="An error occurred while verifying your password. Please refresh the page.",n(this)}disconnectedCallback(){}render(){const{states:e,callbacks:n,content:f}=v()?u({states:{error:"",loading:!1,success:!1,countdown:10},callbacks:{submit:async()=>{}},content:{email:"test@example.com",verifyMessage:(h=this).verifyMessage,emailVerificationHeader:h.emailVerificationHeader,resendEmailButtonText:h.resendEmailButtonText,verificationLoadingMessage:h.verificationLoadingMessage,verificationStatusMessage:h.verificationStatusMessage,verificationResentMessage:h.verificationResentMessage,networkErrorMessage:h.networkErrorMessage}},h.demoData||{},{arrayMerge:(e,i)=>i}):function(e){var i,n,v,u,m,f,h,g,p;const[y,{loading:b,errors:w}]=r(),[M,{data:k,loading:j}]=o(),I=l(),P=null===(i=null==I?void 0:I.managedIdentity)||void 0===i?void 0:i.email,E=new URLSearchParams(c.location.search),x=E.get("nextPage"),[R,V]=a(!1),[C,L]=a(""),[S,_]=a(10),A=t(void 0),B=t(void 0);async function H(){var i;const a=await M();if(null===(i=null==a?void 0:a.managedIdentitySession)||void 0===i?void 0:i.emailVerified)return clearInterval(A.current),c.push({pathname:e.redirectPath,search:E.toString()&&"?"+E.toString()});U(10)}const T=(e=1e4)=>setInterval(H,e),q=e=>setInterval((()=>_(e)),1e3);function U(e){if(clearInterval(B.current),clearInterval(A.current),"hidden"===document.visibilityState)return;e&&_(e);let i=S||10;B.current=q(e-1||i-1),A.current=T(1e3*e||1e3*i)}const Y=d((()=>U()),[S]);return s((()=>(A.current||(H(),A.current=T()),()=>{clearInterval(A.current)})),[]),s((()=>(S>0&&(clearInterval(B.current),B.current=q(S-1)),document.addEventListener("visibilitychange",Y),()=>{clearInterval(B.current),document.removeEventListener("visibilitychange",Y)})),[S]),{states:{loading:b,error:(null===(m=null===(u=null===(v=null===(n=null==w?void 0:w.response)||void 0===n?void 0:n.errors)||void 0===v?void 0:v[0])||void 0===u?void 0:u.extensions)||void 0===m?void 0:m.message)||(null===(g=null===(h=null===(f=null==w?void 0:w.response)||void 0===f?void 0:f.errors)||void 0===h?void 0:h[0])||void 0===g?void 0:g.message)||C,success:R,loadingVerification:j,isVerified:!!(null===(p=null==k?void 0:k.managedIdentitySession)||void 0===p?void 0:p.emailVerified),countdown:S},callbacks:{submit:async()=>{var i;if(!P)return;L(""),V(!1);const a={email:P,urlParams:x?{nextPage:x}:null,redirectPath:e.redirectPath},t=await y(a);t instanceof Error?t.message&&L(e.networkErrorMessage):(null===(i=t.requestManagedIdentityVerificationEmail)||void 0===i?void 0:i.success)&&V(!0)}},content:{email:P,verifyMessage:e.verifyMessage,emailVerificationHeader:e.emailVerificationHeader,resendEmailButtonText:e.resendEmailButtonText,verificationLoadingMessage:e.verificationLoadingMessage,verificationStatusMessage:e.verificationStatusMessage,verificationResentMessage:e.verificationResentMessage,networkErrorMessage:e.networkErrorMessage}}}(this);var h;return i(m,{states:e,callbacks:n,content:f})}};export{f as sqm_portal_email_verification}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))r[a]=e[a]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,t,n){function a(r){return r instanceof t?r:new t((function(e){e(r)}))}return new(t||(t=Promise))((function(t,i){function o(r){try{l(n.next(r))}catch(r){i(r)}}function s(r){try{l(n["throw"](r))}catch(r){i(r)}}function l(r){r.done?t(r.value):a(r.value).then(o,s)}l((n=n.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(r){return function(e){return l([r,e])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=e.call(r,t)}catch(r){o=[6,r];a=0}finally{n=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-b2295bc5.system.js","./p-8b9408e5.system.js"],(function(r){"use strict";var e,t,n,a;return{setters:[function(r){e=r.k},function(r){t=r.e},function(r){n=r.j},function(r){a=r.u}],execute:function(){r("u",i);function i(r){var i=this;var o=new URLSearchParams(window.location.search);var s=o===null||o===void 0?void 0:o.get("_saasquatch");var l=a(),u=l.registrationFormState,c=l.setRegistrationFormState;var f=t(),v=f[0],d=f[1],_=d.loading,g=d.errors,h=d.data;var p=e(""),m=p[0],y=p[1];var b=function(e){return __awaiter(i,void 0,void 0,(function(){var t,a,i,o,l,f,d;return __generator(this,(function(_){switch(_.label){case 0:y("");a=e.target.getFormControls();i=e.detail.formData;o={};a===null||a===void 0?void 0:a.map((function(e){if(!e.name)return;var t=e.name;var a=e.value;n.set(i,t,a);if(e.required&&!a){n.set(o,t,r.requiredFieldErrorMessage)}if(typeof e.validationError==="function"){var s=e.validationError;var l=s({control:e,key:t,value:a});if(l)n.set(o,t,l)}}));l=__assign({firstName:i.firstName,lastName:i.lastName,email:i.email},(r===null||r===void 0?void 0:r.includeCookies)&&s?{cookies:s}:{});_.label=1;case 1:_.trys.push([1,3,,4]);return[4,v(l)];case 2:f=_.sent();if(f instanceof Error){throw f}c(__assign(__assign({},u),{loading:false,error:"",validationErrors:{}}));return[3,4];case 3:d=_.sent();if((t=d===null||d===void 0?void 0:d.message)===null||t===void 0?void 0:t.includes("is not valid")){c(__assign(__assign({},u),{loading:false,error:"",validationErrors:{email:r.invalidEmailErrorMessage}}))}else if((d===null||d===void 0?void 0:d.name)==="fraud_error"){c(__assign(__assign({},u),{loading:false,error:"FRAUD"}))}else{c(__assign(__assign({},u),{loading:false,error:r.networkErrorMessage,validationErrors:{}}))}return[3,4];case 4:return[2]}}))}))};return{states:{loading:_,error:u===null||u===void 0?void 0:u.error,registrationFormState:u},callbacks:{submit:b}}}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __makeTemplateObject=this&&this.__makeTemplateObject||function(t,e){if(Object.defineProperty){Object.defineProperty(t,"raw",{value:e})}else{t.raw=e}return t};var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++){e=arguments[n];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,n,a){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function o(t){try{l(a.next(t))}catch(t){i(t)}}function s(t){try{l(a["throw"](t))}catch(t){i(t)}}function l(t){t.done?n(t.value):r(t.value).then(o,s)}l((a=a.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:[]},a,r,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(n)try{if(a=1,r&&(i=o[0]&2?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;if(r=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;r=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){n.label=o[1];break}if(o[0]===6&&n.label<i[1]){n.label=i[1];i=o;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(o);break}if(i[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];r=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-f6c279d8.system.js","./p-1e68fa26.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-64473f17.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js"],(function(t){"use strict";var e,n,a,r,i,o,s,l,u,c,d,f,p,v,g,h,y,m,x,b,C,_;return{setters:[function(t){e=t.h;n=t.F;a=t.r},function(t){r=t.n;i=t.k},function(t){o=t.i},function(t){s=t.I;l=t.i;u=t.d;c=t.H;d=t.Q;f=t.y;p=t.$;v=t.B},function(t){g=t.g},function(t){h=t.c},function(t){y=t.R;m=t.a;x=t.S;b=t.C;C=t.u},function(t){_=t.c},function(){}],execute:function(){var T={Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}};var w=h(T);var P=w.toString();function j(t){var a=t.onNext,r=t.onPrev,i=t.currentPage,o=t.totalPages,s=t.text,l=t.loading;return e("span",{class:w.classes.Container,part:"sqm-base"},e("style",{type:"text/css"},P),!l&&e(n,null,e("sl-button",{onClick:r,part:"sqm-pagination-button",circle:true,disabled:i===1},e("sl-icon",{name:"chevron-left",label:"Previous Page"})),e("div",{class:w.classes.TextContainer},s.paginationText)),e("sl-button",{onClick:a,part:"sqm-pagination-button",circle:true,disabled:i===o},e("sl-icon",{name:"chevron-right",label:"Previous Page"})))}function k(){var t=s(y);return __assign({},t)}var I=t("sqm_pagination",function(){function t(t){a(this,t);this.ignored=true;this.paginationText="{currentPage} of {totalPages}";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t;var n=l()?S(g(this)):k();var a=n.states.currentPage+1;var r=(t=n.states)===null||t===void 0?void 0:t.pageCount;var i={currentPage:a,totalPages:r,onNext:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)+1)},onPrev:function(){var t,e;return(t=n.callbacks)===null||t===void 0?void 0:t.setCurrentPage(((e=n.states)===null||e===void 0?void 0:e.currentPage)-1)},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:this.paginationText},{currentPage:a,totalPages:r})},loading:n.states.loading};return e(j,Object.assign({},i))};return t}());function S(t){var e=i(1),n=e[0],a=e[1];return _({states:{},callbacks:{setCurrentPage:a},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:this.paginationText},{currentPage:n+1,totalPages:5})}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var E=u.gql(__makeTemplateObject(["\n query ($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"],["\n query ($programId: ID) {\n user: viewer {\n ... on User {\n referralCode(programId: $programId)\n }\n }\n }\n"]));var M=u.gql(__makeTemplateObject(["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"],["\n mutation loadEvent($eventMeta: UserAnalyticsEvent!) {\n createUserAnalyticsEvent(eventMeta: $eventMeta)\n }\n"]));function A(t){var e,n;var a=t.programId,r=a===void 0?c():a;var o=d();var l=v();var u=s(m);var g=f(E,{programId:r},!(o===null||o===void 0?void 0:o.jwt)||(u===null||u===void 0?void 0:u.referralCode)!==undefined).data;var h=p(M)[0];var y=p(x),b=y[0],C=y[1];var _=(n=(u===null||u===void 0?void 0:u.referralCode)||((e=g===null||g===void 0?void 0:g.user)===null||e===void 0?void 0:e.referralCode))!==null&&n!==void 0?n:"...";var T=i(false),w=T[0],P=T[1];function j(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!u)return[3,2];return[4,b({referralCode:u.referralCode})];case 1:e.sent();u.refresh();e.label=2;case 2:navigator.clipboard.writeText(_);P(true);setTimeout((function(){return P(false)}),t.tooltiplifespan);h({eventMeta:{programId:r,id:o===null||o===void 0?void 0:o.id,accountId:o===null||o===void 0?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:l,shareMedium:"DIRECT"}}});return[2]}}))}))}return __assign(__assign({},t),{onClick:j,open:w,copyString:_,isCopied:u===null||u===void 0?void 0:u.isCopied})}var O=t("sqm_referral_code",function(){function t(t){a(this,t);this.tooltiptext="Copied to Clipboard";this.showNotificationText=false;this.notificationText="You've copied this code before";this.tooltiplifespan=1e3;this.textAlign="left";this.copyButtonLabel="Copy Code";this.buttonStyle="icon";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=g(this);var n=l()?q(t):A(t);return e(b,Object.assign({},n))};return t}());function q(t){var e=i(false),n=e[0],a=e[1];var r="REFERRALCODE001";return _({copyString:r,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,isUsed:false,rewardStatus:"AVAILABLE",open:n,onClick:function(){navigator.clipboard.writeText(r);a(true);setTimeout((function(){return a(false)}),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:function(t,e){return e}})}var R={Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)"},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{color:"var(--sl-color-neutral-700)",fontSize:"var(--sl-font-size-large)",margin:"0"}};var B="\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n";var D=h(R);var N=D.toString();function $(t){var n=t.slots,a=t.titleText,r=t.states;var i=function(t){if(t.noCodes){return n.empty}if(t.loading){return n.loading}return e("div",{class:D.classes.Wrapper},e("div",{class:D.classes.ShareCodeContainer},n.shareCodes),e("div",{class:D.classes.ShareButtonContainer},n.shareButtons))};return e("div",{class:D.classes.Wrapper,part:"sqm-base"},e("style",{type:"text/css"},B,N),e("div",{class:D.classes.HeaderContainer},e("h2",{class:D.classes.TitleText},a),n.pagination),i(r))}var U=t("sqm_referral_codes",function(){function t(t){a(this,t);this.titleText="Start sharing";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=g(this);var n=l()?F(t):C(t);console.log(n);var a={shareButtons:e("slot",{name:"shareButtons"}),shareCodes:e("slot",{name:"shareCodes"}),pagination:e("slot",{name:"pagination"}),empty:e(L,null),loading:e(G,null)};var r=__assign(__assign({slots:a},n),{loading:n.states.loading,noCodes:n.states.noCodes});return e($,Object.assign({},r))};return t}());function L(){return e("slot",{name:"empty"},e("sqm-empty",{emptyStateHeader:"Your new codes and links aren’t ready yet",emptyStateText:"Please contact our program support team to let them know you’re out of codes."}))}function G(){return e("slot",{name:"loading"},e(H,null),e(H,null),e(H,null),e(H,null))}function H(){return e("sl-skeleton",{style:{width:"100%"}})}function F(t){return _({titleText:t.titleText,states:{noCodes:false,loading:false}},t.demoData||{},{arrayMerge:function(t,e){return e}})}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./p-
|
|
1
|
+
import{l as e}from"./p-1a4e5a3a.js";const a=(e=4,a)=>({data:[...Array(e)].map((()=>s(a)))}),t=["POINT","TICKET","GIFT"],d=["Points","Tickets","Gifts"],r=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"],n=["US_TAX","SCHEDULED","UNHANDLED_ERROR"],E=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"],l=()=>{var a,t;const d=Math.floor(10*Math.random())>=5?null===(a=e.DateTime.now())||void 0===a?void 0:a.minus({day:1}):null,r=Math.floor(10*Math.random())>=5?null===(t=e.DateTime.now())||void 0===t?void 0:t.minus({day:1}):null,n=function(e){if(e)return"SUCCESS";const a=Math.floor(10*Math.random());return E[a]}(d);return{status:"DENIED"===n?"WARN":d?"SUCCESS":Math.floor(10*Math.random())>=8?"ERROR":"SUCCESS",customMeta:{datePaidOut:d,dateLastAttempted:r,dateFirstAttempted:r,rawPayPalInfo:{transaction_status:n}}}},s=a=>{let E,s,u,i,R=!1,o=0;const D=e.DateTime.now(),M=Math.floor(3*Math.random()),h=a||r[Math.floor(5*Math.random())],m=t[M],y=d[M],p=Math.floor(100*Math.random())+2;if("AVAILABLE"===h)o=Math.floor(Math.random()*p),i=Math.floor(10*Math.random())<3?D.plus({days:7}).toMillis():null;else if("EXPIRED"===h)R=!0,o=Math.floor(Math.random()*p),i=D.minus({days:1}).toMillis();else if("PENDING"===h){const e=n[Math.floor(3*Math.random())];E=[e],"SCHEDULED"===e&&(s=D.plus({days:6}).toMillis())}else"REDEEMED"===h?R=!0:(R=!0,u=D.minus({days:2}).toMillis());const N=Math.floor(3*Math.random());return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:p,unit:m,name:null,dateGiven:D.minus({days:3}).toMillis(),dateExpires:i,dateCancelled:u,dateRedeemed:"REDEEMED"===h?D.plus({days:2}).toMillis():null,dateScheduledFor:s,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:`${p} ${y}`,prettyValueNumber:`${p}`,prettyAvailableNumber:R?"0":""+(p-o),prettyRedeemedNumber:R&&!o?"0":`${o}`,programId:1===N?"program-id":null,program:{name:"My Program"},meta:{...l()},statuses:[h],pendingReasons:E,globalRewardKey:null,programRewardKey:null,rewardSource:1===N?"AUTOMATED":"MANUAL",prettyRedeemedCredit:`${o} ${y}`,prettyAssignedCredit:`${p} ${y}`,prettyAvailableValue:R?`0 ${y}`:`${p-o} ${y}`,exchangedRewardRedemptionTransaction:2===N?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}};export{l as g,a as m}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{h as t,F as e,r as n}from"./p-61d5f26e.js";import{n as a,k as s}from"./p-019506c4.js";import{i as o}from"./p-66c7b15c.js";import{I as i,i as r,d as l,H as c,Q as d,y as u,$ as p,B as g}from"./p-8c765c81.js";import{g as m}from"./p-9ec99ced.js";import{c as f}from"./p-cef45012.js";import{R as v,a as h,S as y,C as x,u as C}from"./p-ebd6c7e5.js";import{c as b}from"./p-c1086930.js";import"./p-02be1a88.js";const P=f({Container:{display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"var(--sl-spacing-small)",width:"100%"},TextContainer:{display:"flex",gap:"var(--sl-spacing-xx-small)"}}),j=P.toString();function T(n){const{onNext:a,onPrev:s,currentPage:o,totalPages:i,text:r,loading:l}=n;return t("span",{class:P.classes.Container,part:"sqm-base"},t("style",{type:"text/css"},j),!l&&t(e,null,t("sl-button",{onClick:s,part:"sqm-pagination-button",circle:!0,disabled:1===o},t("sl-icon",{name:"chevron-left",label:"Previous Page"})),t("div",{class:P.classes.TextContainer},r.paginationText)),t("sl-button",{onClick:a,part:"sqm-pagination-button",circle:!0,disabled:o===i},t("sl-icon",{name:"chevron-right",label:"Previous Page"})))}const E=class{constructor(t){n(this,t),this.ignored=!0,this.paginationText="{currentPage} of {totalPages}",a(this)}disconnectedCallback(){}render(){var e;const n=r()?function(t){const[e,n]=s(1);return b({states:{},callbacks:{setCurrentPage:n},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:this.paginationText},{currentPage:e+1,totalPages:5})}},t.demoData||{},{arrayMerge:(t,e)=>e})}(m(this)):{...i(v)},a=n.states.currentPage+1,l=null===(e=n.states)||void 0===e?void 0:e.pageCount,c={currentPage:a,totalPages:l,onNext:()=>{var t,e;return null===(t=n.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=n.states)||void 0===e?void 0:e.currentPage)+1)},onPrev:()=>{var t,e;return null===(t=n.callbacks)||void 0===t?void 0:t.setCurrentPage((null===(e=n.states)||void 0===e?void 0:e.currentPage)-1)},text:{paginationText:o.formatMessage({id:"paginationText",defaultMessage:this.paginationText},{currentPage:a,totalPages:l})},loading:n.states.loading};return t(T,Object.assign({},c))}},I=l.gql`
|
|
2
|
+
query ($programId: ID) {
|
|
3
|
+
user: viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
referralCode(programId: $programId)
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`,k=l.gql`
|
|
10
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
11
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
12
|
+
}
|
|
13
|
+
`,w=class{constructor(t){n(this,t),this.tooltiptext="Copied to Clipboard",this.showNotificationText=!1,this.notificationText="You've copied this code before",this.tooltiplifespan=1e3,this.textAlign="left",this.copyButtonLabel="Copy Code",this.buttonStyle="icon",a(this)}disconnectedCallback(){}render(){const e=m(this),n=r()?function(t){const[e,n]=s(!1),a="REFERRALCODE001";return b({copyString:a,tooltiptext:t.tooltiptext,textAlign:t.textAlign,copyButtonLabel:t.copyButtonLabel,buttonStyle:t.buttonStyle,notificationText:t.notificationText,showNotificationText:t.showNotificationText,isCopied:t.showNotificationText,isUsed:!1,rewardStatus:"AVAILABLE",open:e,onClick:()=>{navigator.clipboard.writeText(a),n(!0),setTimeout((()=>n(!1)),t.tooltiplifespan)}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):function(t){var e,n;const{programId:a=c()}=t,o=d(),r=g(),l=i(h),{data:m}=u(I,{programId:a},!(null==o?void 0:o.jwt)||void 0!==(null==l?void 0:l.referralCode)),[f]=p(k),[v,x]=p(y),C=null!==(n=(null==l?void 0:l.referralCode)||(null===(e=null==m?void 0:m.user)||void 0===e?void 0:e.referralCode))&&void 0!==n?n:"...",[b,P]=s(!1);return{...t,onClick:async function(){l&&(await v({referralCode:l.referralCode}),l.refresh()),navigator.clipboard.writeText(C),P(!0),setTimeout((()=>P(!1)),t.tooltiplifespan),f({eventMeta:{programId:a,id:null==o?void 0:o.id,accountId:null==o?void 0:o.accountId,type:"USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",meta:{engagementMedium:r,shareMedium:"DIRECT"}}})},open:b,copyString:C,isCopied:null==l?void 0:l.isCopied}}(e);return t(x,Object.assign({},n))}},M=f({Wrapper:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column",gap:"var(--sl-spacing-large)"},HeaderContainer:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},ShareCodeContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},ShareButtonContainer:{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"center",flexDirection:"column"},TitleText:{color:"var(--sl-color-neutral-700)",fontSize:"var(--sl-font-size-large)",margin:"0"}}),S=M.toString();function R(e){const{slots:n,titleText:a,states:s}=e;return t("div",{class:M.classes.Wrapper,part:"sqm-base"},t("style",{type:"text/css"},"\n:host {\n display: block;\n}\n:host([hidden]): {\n display: none;\n}\n",S),t("div",{class:M.classes.HeaderContainer},t("h2",{class:M.classes.TitleText},a),n.pagination),(e=>e.noCodes?n.empty:e.loading?n.loading:t("div",{class:M.classes.Wrapper},t("div",{class:M.classes.ShareCodeContainer},n.shareCodes),t("div",{class:M.classes.ShareButtonContainer},n.shareButtons)))(s))}const A=class{constructor(t){n(this,t),this.titleText="Start sharing",a(this)}disconnectedCallback(){}render(){const e=m(this),n=r()?function(t){return b({titleText:t.titleText,states:{noCodes:!1,loading:!1}},t.demoData||{},{arrayMerge:(t,e)=>e})}(e):C(e);console.log(n);const a={slots:{shareButtons:t("slot",{name:"shareButtons"}),shareCodes:t("slot",{name:"shareCodes"}),pagination:t("slot",{name:"pagination"}),empty:t(q,null),loading:t(_,null)},...n,loading:n.states.loading,noCodes:n.states.noCodes};return t(R,Object.assign({},a))}};function q(){return t("slot",{name:"empty"},t("sqm-empty",{emptyStateHeader:"Your new codes and links aren’t ready yet",emptyStateText:"Please contact our program support team to let them know you’re out of codes."}))}function _(){return t("slot",{name:"loading"},t(D,null),t(D,null),t(D,null),t(D,null))}function D(){return t("sl-skeleton",{style:{width:"100%"}})}export{E as sqm_pagination,w as sqm_referral_code,A as sqm_referral_codes}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-21d94eab.system.js","./p-45d71b2a.system.js","./p-1e68fa26.system.js","./p-6333265f.system.js","./p-1a673057.system.js","./p-4bd679a7.system.js","./p-f6934a55.system.js","./p-16b9efe1.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.n},function(t){a=t.S;i=t.i},function(t){c=t.g},function(){},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 __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var e,r=1,t=arguments.length;r<t;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))a[n]=e[n]}return a};return __assign.apply(this,arguments)};var __spreadArrays=this&&this.__spreadArrays||function(){for(var a=0,e=0,r=arguments.length;e<r;e++)a+=arguments[e].length;for(var t=Array(a),n=0,e=0;e<r;e++)for(var o=arguments[e],l=0,d=o.length;l<d;l++,n++)t[n]=o[l];return t};System.register(["./p-
|
|
1
|
+
var __assign=this&&this.__assign||function(){__assign=Object.assign||function(a){for(var e,r=1,t=arguments.length;r<t;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))a[n]=e[n]}return a};return __assign.apply(this,arguments)};var __spreadArrays=this&&this.__spreadArrays||function(){for(var a=0,e=0,r=arguments.length;e<r;e++)a+=arguments[e].length;for(var t=Array(a),n=0,e=0;e<r;e++)for(var o=arguments[e],l=0,d=o.length;l<d;l++,n++)t[n]=o[l];return t};System.register(["./p-b210bcc2.system.js"],(function(a){"use strict";var e;return{setters:[function(a){e=a.l}],execute:function(){var r=a("m",(function(a,e){if(a===void 0){a=4}if(e===void 0){e=undefined}var r=__spreadArrays(Array(a)).map((function(){return u(e)}));return{data:r}}));var t=["POINT","TICKET","GIFT"];var n=["Points","Tickets","Gifts"];var o=["AVAILABLE","PENDING","CANCELLED","EXPIRED","REDEEMED"];var l=["US_TAX","SCHEDULED","UNHANDLED_ERROR"];var d=["PENDING","IN_PROGRESS","FAILED","UNCLAIMED","ONHOLD","REFUNDED","RETURNED","REVERSED","BLOCKED","DENIED"];function i(a){if(a)return"SUCCESS";var e=Math.floor(Math.random()*10);var r=d[e];return r}var s=a("g",(function(){var a,r;var t=Math.floor(Math.random()*10)>=5?(a=e.DateTime.now())===null||a===void 0?void 0:a.minus({day:1}):null;var n=Math.floor(Math.random()*10)>=5?(r=e.DateTime.now())===null||r===void 0?void 0:r.minus({day:1}):null;var o=i(t);var l=o==="DENIED"?"WARN":!!t?"SUCCESS":Math.floor(Math.random()*10)>=8?"ERROR":"SUCCESS";return{status:l,customMeta:{datePaidOut:t,dateLastAttempted:n,dateFirstAttempted:n,rawPayPalInfo:{transaction_status:o}}}}));var u=function(a){var r=false;var d=0;var i;var u;var E;var v;var f=e.DateTime.now();var m=Math.floor(Math.random()*3);var M=a||o[Math.floor(Math.random()*5)];var h=t[m];var D=n[m];var R=Math.floor(Math.random()*100)+2;if(M==="AVAILABLE"){d=Math.floor(Math.random()*R);v=Math.floor(Math.random()*10)<3?f.plus({days:7}).toMillis():null}else if(M==="EXPIRED"){r=true;d=Math.floor(Math.random()*R);v=f.minus({days:1}).toMillis()}else if(M==="PENDING"){var c=l[Math.floor(Math.random()*3)];i=[c];if(c==="SCHEDULED"){u=f.plus({days:6}).toMillis()}}else if(M==="REDEEMED"){r=true}else{r=true;E=f.minus({days:2}).toMillis()}var p=Math.floor(Math.random()*3);return{id:"61f7878e096c9265de88b46f",type:"CREDIT",value:R,unit:h,name:null,dateGiven:f.minus({days:3}).toMillis(),dateExpires:v,dateCancelled:E,dateRedeemed:M==="REDEEMED"?f.plus({days:2}).toMillis():null,dateScheduledFor:u,fuelTankCode:null,fuelTankType:null,currency:null,prettyValue:R+" "+D,prettyValueNumber:""+R,prettyAvailableNumber:r?"0":""+(R-d),prettyRedeemedNumber:r&&!d?"0":""+d,programId:p===1?"program-id":null,program:{name:"My Program"},meta:__assign({},s()),statuses:[M],pendingReasons:i,globalRewardKey:null,programRewardKey:null,rewardSource:p===1?"AUTOMATED":"MANUAL",prettyRedeemedCredit:d+" "+D,prettyAssignedCredit:R+" "+D,prettyAvailableValue:r?"0 "+D:R-d+" "+D,exchangedRewardRedemptionTransaction:p===2?{id:"61f7878e096c9265de88b414",creditRedeemed:50,prettyRedeemedCredit:"50 Tokens",unit:"TOKEN",dateRedeemed:1643612046258,exchangedRewards:[],redeemedRewards:[]}:null,referral:null,rewardRedemptionTransactions:{data:[]}}}}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-21d94eab.system.js"],(function(t){"use strict";var e;return{setters:[function(t){e=t.h}],execute:function(){t("L",n);function n(t){var n=t.data;return e("span",{class:"P"},n.rank)}}}}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{r as i,h as t}from"./p-61d5f26e.js";import{n as r}from"./p-019506c4.js";import{d as e,Q as o,y as s,c as a,i as c}from"./p-8c765c81.js";import{g as n}from"./p-9ec99ced.js";import"./p-cef45012.js";import{c as l}from"./p-c1086930.js";import{L as m}from"./p-d25af377.js";const d=e.gql`
|
|
2
|
+
query getUserDetails {
|
|
3
|
+
viewer {
|
|
4
|
+
... on User {
|
|
5
|
+
id
|
|
6
|
+
accountId
|
|
7
|
+
email
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`,h=class{constructor(t){i(this,t),this.userIdentificationText="{email}",this.switchUserText="not you?",this.emailErrorText="Error fetching email",r(this)}disconnectedCallback(){}render(){const i=c()?function(i){return l({onSwitchClick:()=>a(void 0),filledInEmailText:"john@example.com",switchUserText:i.switchUserText,emailErrorText:i.emailErrorText,loading:!1},i.demoData||{},{arrayMerge:(i,t)=>t})}(this):function(i){var t,r;const e=o(),{loading:c,data:n}=s(d,{},!e);return{loading:c,onSwitchClick:()=>{a(void 0)},filledInEmailText:null===(t=i.userIdentificationText)||void 0===t?void 0:t.replace("{email}",null===(r=null==n?void 0:n.viewer)||void 0===r?void 0:r.email),...i}}(n(this));return t(m,Object.assign({},i,{userIdentificationText:this.userIdentificationText,switchUserText:this.switchUserText,emailErrorText:this.emailErrorText}))}};export{h as sqm_logout_current_user}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-
|
|
1
|
+
import{r as s,h as t}from"./p-61d5f26e.js";import{n as a}from"./p-019506c4.js";import{S as r,i as o}from"./p-8c765c81.js";import{g as e}from"./p-9ec99ced.js";import"./p-cef45012.js";import{c as i}from"./p-c1086930.js";import"./p-02be1a88.js";import{N as c}from"./p-fd04355d.js";const n=class{constructor(t){s(this,t),a(this)}disconnectedCallback(){}render(){const s=o()?function(s){return i({states:{active:!1},data:{label:s.label||"Dashboard",icon:s.icon||"house"}},s.demoData||{},{arrayMerge:(s,t)=>t})}(e(this)):function(s){return{states:{active:r().pathname===s.path},data:{label:s.label,icon:s.icon,path:s.path}}}(e(this));return t(c,Object.assign({},s))}};export{n as sqm_navigation_sidebar_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-45d71b2a.system.js","./p-1e68fa26.system.js"],(function(t){"use strict";var e,r;return{setters:[function(t){e=t.y},function(t){r=t._}],execute:function(){t("u",n);var s=t("R","sq:registration-form-state");function n(t){var n=r();var i=e(n,s,t),a=i[0],o=i[1];return{registrationFormState:a,setRegistrationFormState:o}}}}}));
|