@saasquatch/mint-components 1.6.7-2 → 1.6.7-3
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/{sqm-portal-footer-view-349373b2.js → PoweredByImg-7084ef2d.js} +0 -66
- package/dist/cjs/{ShadowViewAddon-9c42e820.js → ShadowViewAddon-2d3ef919.js} +64 -52
- package/dist/cjs/{global-67a37b3f.js → global-3ebda209.js} +161 -10
- package/dist/cjs/index-e4027f09.js +2227 -0
- package/dist/cjs/{index.module-c6626247.js → index.module-30d74cb5.js} +51 -50
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-53e983a6.js → luxon-1b6e7276.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{re-render-fce04f85.js → re-render-6963789e.js} +3 -3
- package/dist/cjs/sqm-asset-card.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-big-stat_35.cjs.entry.js → sqm-big-stat_36.cjs.entry.js} +243 -112
- package/dist/cjs/sqm-empty_5.cjs.entry.js +6 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-hero-view-fcc0188c.js → sqm-hero-view-201fca7e.js} +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +12 -11
- package/dist/cjs/{sqm-navigation-sidebar-item-view-8b4f304f.js → sqm-navigation-sidebar-item-view-9bba2bad.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +5 -5
- package/dist/cjs/sqm-passwordless-registration-view-60f25a41.js +51 -0
- package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +124 -0
- package/dist/cjs/sqm-popup-container.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-container-view-3215dce9.js → sqm-portal-container-view-ec1be9eb.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-6f41962b.js → sqm-portal-email-verification-view-e834e79c.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-footer-view-6e490bc6.js +71 -0
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +7 -6
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-portal-profile-view-b8215eae.js → sqm-portal-profile-view-c143c506.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +15 -14
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +11 -10
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +10 -10
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +8 -8
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +62 -61
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +162 -69
- package/dist/cjs/sqm-tab.cjs.entry.js +5 -5
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
- package/dist/cjs/sqm-user-identifier.cjs.entry.js +56 -0
- package/dist/cjs/{stencil-hooks.module-e4bf7f2d.js → stencil-hooks.module-5344b631.js} +1 -4
- package/dist/cjs/{use-callback-86e9ac75.js → use-callback-05714e23.js} +1 -1
- package/dist/cjs/{useChildElements-eaa9e49d.js → useChildElements-161457a6.js} +2 -2
- package/dist/cjs/{useReferralTable-6257eb3b.js → useReferralTable-e933351b.js} +17 -16
- package/dist/cjs/{useRegistrationFormState-a1861717.js → useRegistrationFormState-5f21a453.js} +2 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/sqm-card-feed/sqm-card-feed-view.js +1 -1
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +22 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +208 -0
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +49 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +2 -3
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -1
- package/dist/collection/components/sqm-passwordless-registration/PasswordlessRegistration.stories.js +32 -0
- package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration-view.js +46 -0
- package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +267 -0
- package/dist/collection/components/sqm-passwordless-registration/usePasswordlessRegistration.js +38 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +2 -4
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +2 -2
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-reward-cell.js +3 -3
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-reward-column.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +7 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +65 -9
- package/dist/collection/components/sqm-share-code/useShareCode.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +13 -7
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +4 -4
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +65 -9
- package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
- package/dist/collection/components/sqm-task-card/DetailsView.js +1 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +10 -9
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +4 -4
- package/dist/collection/components/sqm-user-identifier/UserIdentifier.stories.js +26 -0
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +32 -0
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +131 -0
- package/dist/collection/components/views/copy-text-view.js +28 -0
- package/dist/collection/stories/NewPortal.stories.js +5 -5
- package/dist/esm/{sqm-portal-footer-view-41fe6018.js → PoweredByImg-1114005e.js} +1 -66
- package/dist/esm/{ShadowViewAddon-9791fbe2.js → ShadowViewAddon-e57c3d40.js} +47 -35
- package/dist/esm/{global-fbe84c58.js → global-4bd89b1d.js} +161 -10
- package/dist/esm/index-4bffa04c.js +2225 -0
- package/dist/esm/{index.module-3c720e8f.js → index.module-5043fba6.js} +38 -35
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-1e38d7f1.js → luxon-dccb73bb.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{re-render-695ddbbd.js → re-render-a3c1732f.js} +3 -3
- package/dist/esm/sqm-asset-card.entry.js +3 -3
- package/dist/esm/{sqm-big-stat_35.entry.js → sqm-big-stat_36.entry.js} +201 -71
- package/dist/esm/sqm-empty_5.entry.js +3 -3
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +5 -5
- package/dist/esm/sqm-header-logo.entry.js +1 -1
- package/dist/esm/{sqm-hero-view-f1809063.js → sqm-hero-view-27de6b06.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +7 -6
- package/dist/esm/{sqm-navigation-sidebar-item-view-6f909ba7.js → sqm-navigation-sidebar-item-view-d63373b2.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +5 -5
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +4 -4
- package/dist/esm/sqm-passwordless-registration-view-dcd145d6.js +49 -0
- package/dist/esm/sqm-passwordless-registration.entry.js +120 -0
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-container-view-8e091565.js → sqm-portal-container-view-06bce80d.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-381320c4.js → sqm-portal-email-verification-view-9c993283.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +9 -9
- package/dist/esm/sqm-portal-footer-view-d673e9b9.js +69 -0
- package/dist/esm/sqm-portal-footer.entry.js +6 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-510e0fac.js → sqm-portal-profile-view-0b4315c2.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +9 -8
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form.entry.js +9 -8
- package/dist/esm/sqm-portal-reset-password.entry.js +9 -9
- package/dist/esm/sqm-portal-verify-email.entry.js +7 -7
- package/dist/esm/sqm-referral-table_11.entry.js +9 -8
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +13 -12
- package/dist/esm/sqm-stencilbook.entry.js +157 -64
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/sqm-text-span.entry.js +1 -1
- package/dist/esm/sqm-user-identifier.entry.js +52 -0
- package/dist/esm/{stencil-hooks.module-b48b45ec.js → stencil-hooks.module-6bde7453.js} +1 -1
- package/dist/esm/{use-callback-051c06c6.js → use-callback-c5579ecb.js} +1 -1
- package/dist/esm/{useChildElements-79be4145.js → useChildElements-a68649fd.js} +2 -2
- package/dist/esm/{useReferralTable-7f8db41f.js → useReferralTable-6c6c06cb.js} +9 -8
- package/dist/esm/{useRegistrationFormState-6ce2e16f.js → useRegistrationFormState-97f39def.js} +2 -2
- package/dist/esm-es5/PoweredByImg-1114005e.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-e57c3d40.js +1 -0
- package/dist/esm-es5/global-4bd89b1d.js +285 -0
- package/dist/esm-es5/index-4bffa04c.js +1 -0
- package/dist/esm-es5/index.module-5043fba6.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-1e38d7f1.js → luxon-dccb73bb.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-695ddbbd.js → re-render-a3c1732f.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_36.entry.js +1 -0
- package/dist/esm-es5/sqm-empty_5.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-hero-view-f1809063.js → sqm-hero-view-27de6b06.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-d63373b2.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-passwordless-registration-view-dcd145d6.js +1 -0
- package/dist/esm-es5/sqm-passwordless-registration.entry.js +1 -0
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-8e091565.js → sqm-portal-container-view-06bce80d.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-381320c4.js → sqm-portal-email-verification-view-9c993283.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-footer-view-d673e9b9.js +1 -0
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-510e0fac.js → sqm-portal-profile-view-0b4315c2.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-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-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-identifier.entry.js +1 -0
- package/dist/esm-es5/{stencil-hooks.module-b48b45ec.js → stencil-hooks.module-6bde7453.js} +1 -1
- package/dist/esm-es5/use-callback-c5579ecb.js +1 -0
- package/dist/esm-es5/{useChildElements-79be4145.js → useChildElements-a68649fd.js} +1 -1
- package/dist/esm-es5/useReferralTable-6c6c06cb.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-6ce2e16f.js → useRegistrationFormState-97f39def.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +98 -8543
- package/dist/mint-components/p-014e183e.system.js +1 -0
- package/dist/mint-components/p-040a7ac6.system.entry.js +1 -0
- package/dist/mint-components/{p-3c189cea.system.js → p-0a15b302.system.js} +1 -1
- package/dist/mint-components/{p-52ce1373.system.entry.js → p-0a4c867d.system.entry.js} +1 -1
- package/dist/mint-components/p-0afd05cc.system.entry.js +1 -0
- package/dist/mint-components/p-0b07c70b.entry.js +171 -0
- package/dist/mint-components/p-0b3af3f2.js +1 -0
- package/dist/mint-components/{p-eab70762.system.entry.js → p-0e344e4c.system.entry.js} +1 -1
- package/dist/mint-components/p-15e0bdb5.entry.js +1 -0
- package/dist/mint-components/p-18d5795d.system.js +1 -0
- package/dist/mint-components/p-1943d52e.js +1 -0
- package/dist/mint-components/p-1b0c59f0.system.entry.js +1 -0
- package/dist/mint-components/p-1e350778.system.entry.js +1 -0
- package/dist/mint-components/{p-2433b74c.js → p-218c8a32.js} +1 -1
- package/dist/mint-components/{p-e931152c.entry.js → p-21bf8abc.entry.js} +1 -1
- package/dist/mint-components/p-25d4bd6c.entry.js +1 -0
- package/dist/mint-components/{p-9bacac1a.system.entry.js → p-26131a87.system.entry.js} +1 -1
- package/dist/mint-components/{p-f4a318fa.entry.js → p-293d8305.entry.js} +2 -2
- package/dist/mint-components/p-2bc7c025.system.entry.js +1 -0
- package/dist/mint-components/{p-1ea19d11.system.entry.js → p-2c8645c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-c3d4bd17.entry.js → p-2d728c9b.entry.js} +1 -1
- package/dist/mint-components/p-2dcc4495.entry.js +1 -0
- package/dist/mint-components/{p-e7548e13.system.entry.js → p-2f8ddf17.system.entry.js} +1 -1
- package/dist/mint-components/{p-07a2fa17.system.js → p-2ffe61a0.system.js} +1 -1
- package/dist/mint-components/{p-33e9fcfc.js → p-3aa51afb.js} +3 -3
- package/dist/mint-components/{p-48cc1220.system.entry.js → p-3b084b9e.system.entry.js} +1 -1
- package/dist/mint-components/p-4056a7f4.entry.js +1 -0
- package/dist/mint-components/p-41377dac.system.js +1 -0
- package/dist/mint-components/{p-707e7a2e.system.entry.js → p-4777598b.system.entry.js} +1 -1
- package/dist/mint-components/p-497c2091.system.entry.js +1 -0
- package/dist/mint-components/{p-d91a5c01.js → p-4e38410c.js} +153 -153
- package/dist/mint-components/{p-f6e8985b.system.entry.js → p-4fc59b30.system.entry.js} +1 -1
- package/dist/mint-components/p-545c6333.system.entry.js +1 -0
- package/dist/mint-components/{p-0179da5a.entry.js → p-54d0019e.entry.js} +3 -3
- package/dist/mint-components/p-561b5ade.js +268 -0
- package/dist/mint-components/{p-04950f4c.system.js → p-5bba84a6.system.js} +1 -1
- package/dist/mint-components/p-5bfe901d.js +1 -0
- package/dist/mint-components/p-5da32b79.system.entry.js +1 -0
- package/dist/mint-components/{p-d54de97b.system.entry.js → p-68454fb6.system.entry.js} +1 -1
- package/dist/mint-components/p-6b5824db.entry.js +13 -0
- package/dist/mint-components/{p-b79c0e38.system.js → p-6b9e32ca.system.js} +2 -2
- package/dist/mint-components/p-721deaaf.system.js +1 -0
- package/dist/mint-components/{p-1c80a930.entry.js → p-848a7767.entry.js} +1 -1
- package/dist/mint-components/{p-45ee4fcd.entry.js → p-850c27d0.entry.js} +1 -1
- package/dist/mint-components/{p-a421f44e.system.js → p-88bfcec2.system.js} +1 -1
- package/dist/mint-components/p-8a7b0f2c.system.entry.js +1 -0
- package/dist/mint-components/{p-c06cd3cc.system.js → p-8c0e613f.system.js} +1 -1
- package/dist/mint-components/{p-14c9767e.system.entry.js → p-8ddb2c01.system.entry.js} +1 -1
- package/dist/mint-components/p-8e84f311.system.entry.js +1 -0
- package/dist/mint-components/p-910c977e.entry.js +13 -0
- package/dist/mint-components/{p-d1a74f7e.js → p-938ff1fc.js} +1 -1
- package/dist/mint-components/{p-1866c07f.entry.js → p-94cf16d4.entry.js} +1 -1
- package/dist/mint-components/p-9c63de96.system.js +1 -0
- package/dist/mint-components/p-9ccc4b8a.system.entry.js +1 -0
- package/dist/mint-components/{p-1c2c05ea.system.entry.js → p-9dce9be7.system.entry.js} +1 -1
- package/dist/mint-components/p-9f011b61.system.entry.js +1 -0
- package/dist/mint-components/p-9f06a318.entry.js +1 -0
- package/dist/mint-components/p-a0dcecee.system.js +1 -0
- package/dist/mint-components/p-a15a06d1.entry.js +1 -0
- package/dist/mint-components/p-a208711a.js +1 -0
- package/dist/mint-components/p-a4b7f6a6.system.js +1 -0
- package/dist/mint-components/{p-5ee4e422.system.entry.js → p-a853bf1c.system.entry.js} +1 -1
- package/dist/mint-components/{p-ebdd7428.js → p-acc9e541.js} +1 -1
- package/dist/mint-components/{p-72b166c9.system.entry.js → p-ad694844.system.entry.js} +1 -1
- package/dist/mint-components/{p-03bf73ac.entry.js → p-b0601c94.entry.js} +1 -1
- package/dist/mint-components/{p-3f075d21.entry.js → p-b0f1dfad.entry.js} +1 -1
- package/dist/mint-components/p-b56a0052.system.js +1 -0
- package/dist/mint-components/{p-5a8866c0.system.entry.js → p-b6de33e5.system.entry.js} +1 -1
- package/dist/mint-components/p-b76c5252.entry.js +1 -0
- package/dist/mint-components/{p-6f9f5609.js → p-b8301966.js} +1 -1
- package/dist/mint-components/{p-6db612cd.entry.js → p-b9831b79.entry.js} +1 -1
- package/dist/mint-components/p-c3fa90e4.entry.js +1 -0
- package/dist/mint-components/{p-ed801cb7.js → p-c5966d38.js} +1 -1
- package/dist/mint-components/p-c5bd5f21.entry.js +9 -0
- package/dist/mint-components/p-c78edab5.entry.js +1 -0
- package/dist/mint-components/p-c7e36372.system.js +1 -0
- package/dist/mint-components/p-c96900ab.js +1 -0
- package/dist/mint-components/p-ce7fef38.system.js +1 -0
- package/dist/mint-components/p-ceb6a9e5.js +1 -0
- package/dist/mint-components/p-ceefa840.system.entry.js +1 -0
- package/dist/mint-components/p-d4dd44ce.js +1 -0
- package/dist/mint-components/{p-25254dd1.js → p-d566db0b.js} +1 -1
- package/dist/mint-components/{p-7e15b154.entry.js → p-d96ba635.entry.js} +1 -1
- package/dist/mint-components/{p-e6f5ccc0.entry.js → p-db01736e.entry.js} +1 -1
- package/dist/mint-components/p-dbb3533c.system.entry.js +1 -0
- package/dist/mint-components/{p-6eb41f14.system.entry.js → p-dc9f2ec3.system.entry.js} +1 -1
- package/dist/mint-components/p-dcdfc20a.entry.js +1 -0
- package/dist/mint-components/p-e36afaf4.system.entry.js +1 -0
- package/dist/mint-components/p-eae501f9.js +1 -0
- package/dist/mint-components/p-eb5e8657.entry.js +1 -0
- package/dist/mint-components/p-ece264ab.entry.js +1 -0
- package/dist/mint-components/p-ee7e5b54.system.js +1 -0
- package/dist/mint-components/p-f19e6247.entry.js +1 -0
- package/dist/mint-components/p-f4dbaf32.js +1 -0
- package/dist/mint-components/{p-c9a2502c.system.js → p-f572337b.system.js} +1 -1
- package/dist/mint-components/p-f5a0ea6c.entry.js +1 -0
- package/dist/mint-components/{p-8b422807.entry.js → p-f628a8cd.entry.js} +1 -1
- package/dist/mint-components/p-f6e9b11e.js +1 -0
- package/dist/mint-components/p-f9203fcb.system.entry.js +1 -0
- package/dist/mint-components/p-fab61d16.system.js +1 -0
- package/dist/mint-components/{p-e02ac363.system.js → p-fbc2343f.system.js} +22 -22
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +10 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +48 -0
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +8 -0
- package/dist/types/components/sqm-passwordless-registration/PasswordlessRegistration.stories.d.ts +8 -0
- package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration-view.d.ts +21 -0
- package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +48 -0
- package/dist/types/components/sqm-passwordless-registration/usePasswordlessRegistration.d.ts +9 -0
- package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +2 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +14 -2
- package/dist/types/components/sqm-share-code/useShareCode.d.ts +2 -2
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +2 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +14 -2
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +2 -2
- package/dist/types/components/sqm-user-identifier/UserIdentifier.stories.d.ts +13 -0
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +9 -0
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +33 -0
- package/dist/types/components/views/copy-text-view.d.ts +10 -0
- package/dist/types/components.d.ts +267 -5
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +2 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +0 -18
- package/dist/esm-es5/ShadowViewAddon-9791fbe2.js +0 -1
- package/dist/esm-es5/global-fbe84c58.js +0 -285
- package/dist/esm-es5/index.module-3c720e8f.js +0 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-6f909ba7.js +0 -1
- package/dist/esm-es5/sqm-portal-footer-view-41fe6018.js +0 -1
- package/dist/esm-es5/use-callback-051c06c6.js +0 -1
- package/dist/esm-es5/useReferralTable-7f8db41f.js +0 -1
- package/dist/mint-components/p-02356211.system.entry.js +0 -1
- package/dist/mint-components/p-1303bd2f.system.entry.js +0 -1
- package/dist/mint-components/p-1696a6e2.system.entry.js +0 -1
- package/dist/mint-components/p-1d1fac2c.js +0 -1
- package/dist/mint-components/p-1f54fd38.system.js +0 -1
- package/dist/mint-components/p-21b4895e.entry.js +0 -9
- package/dist/mint-components/p-27fc534b.system.entry.js +0 -1
- package/dist/mint-components/p-2bfa2da4.js +0 -1
- package/dist/mint-components/p-2e4443d4.entry.js +0 -1
- package/dist/mint-components/p-4294a89c.entry.js +0 -1
- package/dist/mint-components/p-45bb95ba.js +0 -1
- package/dist/mint-components/p-4c3f24a7.entry.js +0 -1
- package/dist/mint-components/p-5027afd7.entry.js +0 -159
- package/dist/mint-components/p-51dd43c0.system.js +0 -1
- package/dist/mint-components/p-600c88be.system.js +0 -1
- package/dist/mint-components/p-6b627b02.system.entry.js +0 -1
- package/dist/mint-components/p-6e28498f.system.entry.js +0 -1
- package/dist/mint-components/p-7578e83f.system.entry.js +0 -1
- package/dist/mint-components/p-78651bde.entry.js +0 -1
- package/dist/mint-components/p-79be7593.system.js +0 -1
- package/dist/mint-components/p-7f156573.system.entry.js +0 -1
- package/dist/mint-components/p-84e18e6b.system.js +0 -1
- package/dist/mint-components/p-895858d0.entry.js +0 -1
- package/dist/mint-components/p-8aa61264.system.js +0 -1
- package/dist/mint-components/p-8f2e7864.js +0 -268
- package/dist/mint-components/p-8fc166eb.js +0 -1
- package/dist/mint-components/p-8ffaf231.system.entry.js +0 -1
- package/dist/mint-components/p-926e57e7.entry.js +0 -1
- package/dist/mint-components/p-93832713.js +0 -1
- package/dist/mint-components/p-9732cfef.system.js +0 -1
- package/dist/mint-components/p-9775b40a.entry.js +0 -13
- package/dist/mint-components/p-9b833cfb.system.entry.js +0 -1
- package/dist/mint-components/p-9e16b967.entry.js +0 -1
- package/dist/mint-components/p-a44bf369.entry.js +0 -1
- package/dist/mint-components/p-a7da9285.entry.js +0 -13
- package/dist/mint-components/p-a9af92ea.entry.js +0 -1
- package/dist/mint-components/p-aaa3de28.entry.js +0 -1
- package/dist/mint-components/p-ac000fc6.system.js +0 -1
- package/dist/mint-components/p-b0e85f24.entry.js +0 -1
- package/dist/mint-components/p-b2a0461f.system.entry.js +0 -1
- package/dist/mint-components/p-b76df920.entry.js +0 -1
- package/dist/mint-components/p-c7090fd1.system.js +0 -1
- package/dist/mint-components/p-cd898a3a.js +0 -1
- package/dist/mint-components/p-d1d42507.system.entry.js +0 -1
- package/dist/mint-components/p-df63ee45.system.entry.js +0 -1
- package/dist/mint-components/p-f66b4b3a.js +0 -1
- package/dist/mint-components/p-fad0a26c.system.entry.js +0 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +0 -8
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
7
|
const JSS = require('./JSS-8503a151.js');
|
|
8
8
|
const utils = require('./utils-6847bc06.js');
|
|
9
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
9
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-ec1be9eb.js');
|
|
10
10
|
|
|
11
11
|
function EmptyStateView(props) {
|
|
12
12
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
@@ -55,7 +55,7 @@ function ImageView(props) {
|
|
|
55
55
|
styleString,
|
|
56
56
|
vanillaStyle),
|
|
57
57
|
index.h("div", { class: sheet.classes.Container },
|
|
58
|
-
index.h("img", { src: props.imageUrl, class: sheet.classes.Image }))));
|
|
58
|
+
index.h("img", { part: "sqm-image", src: props.imageUrl, class: sheet.classes.Image }))));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
const Image = class {
|
|
@@ -103,7 +103,7 @@ const PortalContainer = class {
|
|
|
103
103
|
* @uiName Maximum width
|
|
104
104
|
*/
|
|
105
105
|
this.maxWidth = "100%";
|
|
106
|
-
stencilHooks_module.h
|
|
106
|
+
stencilHooks_module.h(this);
|
|
107
107
|
}
|
|
108
108
|
disconnectedCallback() { }
|
|
109
109
|
render() {
|
|
@@ -162,7 +162,7 @@ const Text = class {
|
|
|
162
162
|
constructor(hostRef) {
|
|
163
163
|
index.registerInstance(this, hostRef);
|
|
164
164
|
this.ignored = true;
|
|
165
|
-
stencilHooks_module.h
|
|
165
|
+
stencilHooks_module.h(this);
|
|
166
166
|
}
|
|
167
167
|
disconnectedCallback() { }
|
|
168
168
|
componentWillLoad() { }
|
|
@@ -199,7 +199,7 @@ const TitledSection = class {
|
|
|
199
199
|
* @uiEnumNames ["None", "XXX-Small", "XX-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "XX-Large", "XXX-Large", "XXXX-Large"]
|
|
200
200
|
*/
|
|
201
201
|
this.padding = "none";
|
|
202
|
-
stencilHooks_module.h
|
|
202
|
+
stencilHooks_module.h(this);
|
|
203
203
|
}
|
|
204
204
|
disconnectedCallback() { }
|
|
205
205
|
render() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
7
|
|
|
8
8
|
const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ const FormMessage = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ignored = true;
|
|
14
|
-
stencilHooks_module.h
|
|
14
|
+
stencilHooks_module.h(this);
|
|
15
15
|
}
|
|
16
16
|
disconnectedCallback() { }
|
|
17
17
|
render() {
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
9
|
|
|
10
10
|
async function useGraphQLClientProvider({ domain }) {
|
|
11
|
-
const token = index_module.
|
|
11
|
+
const token = index_module.U();
|
|
12
12
|
const appDomain = domain;
|
|
13
|
-
const tenantAlias = index_module.
|
|
13
|
+
const tenantAlias = index_module.H();
|
|
14
14
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
15
15
|
const managedIdentityClient = index_module.ye(appDomain, tenantAlias, token);
|
|
16
16
|
const [, setGraphQLClient] = stencilHooks_module.m(index_module.he, managedIdentityClient);
|
|
@@ -23,7 +23,7 @@ const GraphQLClientProvider = class {
|
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
index.registerInstance(this, hostRef);
|
|
25
25
|
this.ignored = true;
|
|
26
|
-
stencilHooks_module.h
|
|
26
|
+
stencilHooks_module.h(this);
|
|
27
27
|
}
|
|
28
28
|
disconnectedCallback() { }
|
|
29
29
|
render() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
7
|
|
|
8
8
|
const HeroImage = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ const HeroImage = class {
|
|
|
19
19
|
* @uiName Logo Height
|
|
20
20
|
*/
|
|
21
21
|
this.height = 60;
|
|
22
|
-
stencilHooks_module.h
|
|
22
|
+
stencilHooks_module.h(this);
|
|
23
23
|
}
|
|
24
24
|
disconnectedCallback() { }
|
|
25
25
|
render() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const useCallback = require('./use-callback-
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
5
|
+
const useCallback = require('./use-callback-05714e23.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
8
8
|
// import { IntlMessageFormat } from 'intl-messageformat';
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
8
|
require('./JSS-8503a151.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
|
-
const sqmHeroView = require('./sqm-hero-view-
|
|
10
|
+
const sqmHeroView = require('./sqm-hero-view-201fca7e.js');
|
|
11
11
|
|
|
12
12
|
const Hero = class {
|
|
13
13
|
constructor(hostRef) {
|
|
@@ -40,7 +40,7 @@ const Hero = class {
|
|
|
40
40
|
* @uiEnumNames ["Wrap", "Wrap Reverse"]
|
|
41
41
|
*/
|
|
42
42
|
this.wrapDirection = "wrap";
|
|
43
|
-
stencilHooks_module.h
|
|
43
|
+
stencilHooks_module.h(this);
|
|
44
44
|
}
|
|
45
45
|
disconnectedCallback() { }
|
|
46
46
|
render() {
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const global = require('./global-
|
|
8
|
-
require('./use-callback-
|
|
9
|
-
const index_module = require('./index.module-
|
|
5
|
+
const index$1 = require('./index-b0129cd6.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
const global = require('./global-3ebda209.js');
|
|
8
|
+
require('./use-callback-05714e23.js');
|
|
9
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
|
+
const index = require('./index-e4027f09.js');
|
|
11
12
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
12
13
|
|
|
13
|
-
const GET_RANK =
|
|
14
|
+
const GET_RANK = index.dist.gql `
|
|
14
15
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
15
16
|
viewer {
|
|
16
17
|
... on User {
|
|
@@ -28,7 +29,7 @@ function useLeaderboardRank(props) {
|
|
|
28
29
|
const programIdContext = index_module.O();
|
|
29
30
|
// Default to context, overriden by props
|
|
30
31
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
31
|
-
const user = index_module.
|
|
32
|
+
const user = index_module.W();
|
|
32
33
|
const rankVariables = programId
|
|
33
34
|
? {
|
|
34
35
|
type: props.leaderboardType,
|
|
@@ -41,7 +42,7 @@ function useLeaderboardRank(props) {
|
|
|
41
42
|
if (props.interval) {
|
|
42
43
|
rankVariables.filter["interval"] = props.interval;
|
|
43
44
|
}
|
|
44
|
-
const { data: rankData } = index_module.
|
|
45
|
+
const { data: rankData } = index_module.fn(GET_RANK, rankVariables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
45
46
|
const fullRankText = ((_b = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _b === void 0 ? void 0 : _b.leaderboardRank) ? global.intl.formatMessage({ id: "rankText", defaultMessage: props.rankText }, {
|
|
46
47
|
rank: (_d = (_c = rankData === null || rankData === void 0 ? void 0 : rankData.viewer) === null || _c === void 0 ? void 0 : _c.leaderboardRank) === null || _d === void 0 ? void 0 : _d[props.rankType],
|
|
47
48
|
})
|
|
@@ -57,20 +58,20 @@ const sqmLeaderboardRankCss = "p,.P{font-size:var(--sl-font-size-small);color:va
|
|
|
57
58
|
|
|
58
59
|
const LeaderboardRank = class {
|
|
59
60
|
constructor(hostRef) {
|
|
60
|
-
index.registerInstance(this, hostRef);
|
|
61
|
+
index$1.registerInstance(this, hostRef);
|
|
61
62
|
/**
|
|
62
63
|
* @uiName Rank Text
|
|
63
64
|
* @uiWidget textArea
|
|
64
65
|
*/
|
|
65
66
|
this.rankText = "You are currently in {rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th} } place!";
|
|
66
|
-
stencilHooks_module.h
|
|
67
|
+
stencilHooks_module.h(this);
|
|
67
68
|
}
|
|
68
69
|
disconnectedCallback() { }
|
|
69
70
|
render() {
|
|
70
71
|
const props = index_module.isDemo()
|
|
71
72
|
? useLeaderboardRankDemo(this)
|
|
72
73
|
: useLeaderboardRank(this);
|
|
73
|
-
return index.h(sqmLeaderboardRankView.LeaderboardRankView, Object.assign({}, props));
|
|
74
|
+
return index$1.h(sqmLeaderboardRankView.LeaderboardRankView, Object.assign({}, props));
|
|
74
75
|
}
|
|
75
76
|
};
|
|
76
77
|
function useLeaderboardRankDemo(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@ function NavigationSidebarItemView(props) {
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
return (index.h("a", { href: data.path, onClick: (e) => {
|
|
37
37
|
e.preventDefault();
|
|
38
|
-
index_module.
|
|
38
|
+
index_module.gn.push(data.path);
|
|
39
39
|
}, class: sheet.classes.ItemContainer },
|
|
40
40
|
index.h("style", { type: "text/css" }, styleString),
|
|
41
41
|
index.h("sl-icon", { class: sheet.classes.Icon, name: data.icon }),
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
const utils = require('./utils-6847bc06.js');
|
|
13
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
13
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-9bba2bad.js');
|
|
14
14
|
|
|
15
15
|
function useNavigationSidebarItem(props) {
|
|
16
|
-
const currentPage = index_module.
|
|
16
|
+
const currentPage = index_module.mn();
|
|
17
17
|
return {
|
|
18
18
|
states: {
|
|
19
19
|
active: currentPage.pathname === props.path,
|
|
@@ -29,7 +29,7 @@ function useNavigationSidebarItem(props) {
|
|
|
29
29
|
const NavigationSidebarItem = class {
|
|
30
30
|
constructor(hostRef) {
|
|
31
31
|
index.registerInstance(this, hostRef);
|
|
32
|
-
stencilHooks_module.h
|
|
32
|
+
stencilHooks_module.h(this);
|
|
33
33
|
}
|
|
34
34
|
disconnectedCallback() { }
|
|
35
35
|
render() {
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
9
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-2da83d3b.js');
|
|
10
10
|
|
|
11
11
|
const NavigationSidebar = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
14
|
this.ignored = true;
|
|
15
|
-
stencilHooks_module.h
|
|
15
|
+
stencilHooks_module.h(this);
|
|
16
16
|
}
|
|
17
17
|
disconnectedCallback() { }
|
|
18
18
|
render() {
|
|
@@ -21,7 +21,7 @@ const NavigationSidebar = class {
|
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
function useNavigationSidebar() {
|
|
24
|
-
const location = index_module.
|
|
24
|
+
const location = index_module.mn();
|
|
25
25
|
const programId = index_module.O();
|
|
26
26
|
const [checked, setChecked] = stencilHooks_module.useState(false);
|
|
27
27
|
// Close hamburger menu after navigation
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const mixins = require('./mixins-fe9d4112.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
|
-
const useRegistrationFormState = require('./useRegistrationFormState-
|
|
12
|
+
const useRegistrationFormState = require('./useRegistrationFormState-5f21a453.js');
|
|
13
13
|
|
|
14
14
|
var constants = {
|
|
15
15
|
error: {
|
|
@@ -546,7 +546,7 @@ const PortalPasswordField = class {
|
|
|
546
546
|
* @uiName Disable Validation
|
|
547
547
|
*/
|
|
548
548
|
this.disableValidation = false;
|
|
549
|
-
stencilHooks_module.h
|
|
549
|
+
stencilHooks_module.h(this);
|
|
550
550
|
}
|
|
551
551
|
disconnectedCallback() { }
|
|
552
552
|
render() {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
|
+
const mixins = require('./mixins-fe9d4112.js');
|
|
5
|
+
const JSS = require('./JSS-8503a151.js');
|
|
6
|
+
const PoweredByImg = require('./PoweredByImg-7084ef2d.js');
|
|
7
|
+
|
|
8
|
+
const style = {
|
|
9
|
+
Wrapper: mixins.AuthWrapper,
|
|
10
|
+
Column: mixins.AuthColumn,
|
|
11
|
+
ForgotButtonContainer: {
|
|
12
|
+
display: "inline",
|
|
13
|
+
cursor: "pointer",
|
|
14
|
+
"font-size": "13px",
|
|
15
|
+
"font-weight": "600",
|
|
16
|
+
color: "#AAAAAA",
|
|
17
|
+
margin: "0",
|
|
18
|
+
},
|
|
19
|
+
ButtonsContainer: mixins.AuthButtonsContainer,
|
|
20
|
+
};
|
|
21
|
+
const vanillaStyle = `
|
|
22
|
+
:host {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
:host([hidden]): {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
const sheet = JSS.createStyleSheet(style);
|
|
30
|
+
const styleString = sheet.toString();
|
|
31
|
+
function PasswordlessRegistrationView(props) {
|
|
32
|
+
const { states, callbacks, content } = props;
|
|
33
|
+
return (index.h("div", { class: sheet.classes.Wrapper },
|
|
34
|
+
index.h("style", { type: "text/css" },
|
|
35
|
+
vanillaStyle,
|
|
36
|
+
styleString),
|
|
37
|
+
content.topSlot,
|
|
38
|
+
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
|
|
39
|
+
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
40
|
+
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
41
|
+
content.includeName && (index.h("sl-input", { exportparts: "label: input-label", type: "name", name: "/firstName", label: content.firstNameLabel || "First Name", disabled: states.loading, required: true })),
|
|
42
|
+
content.includeName && (index.h("sl-input", { exportparts: "label: input-label", type: "name", name: "/lastName", label: content.lastNameLabel || "Last Name", disabled: states.loading, required: true })),
|
|
43
|
+
index.h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
44
|
+
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
45
|
+
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.registerLabel || "Registration"))),
|
|
46
|
+
content.bottomSlot,
|
|
47
|
+
!content.hidePoweredBy && (index.h("a", { target: "_blank", href: "www.saasquatch.com" },
|
|
48
|
+
index.h(PoweredByImg.PoweredByImg, null)))));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
exports.PasswordlessRegistrationView = PasswordlessRegistrationView;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-b0129cd6.js');
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
|
+
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
+
require('./mixins-fe9d4112.js');
|
|
11
|
+
require('./JSS-8503a151.js');
|
|
12
|
+
require('./PoweredByImg-7084ef2d.js');
|
|
13
|
+
const sqmPasswordlessRegistrationView = require('./sqm-passwordless-registration-view-60f25a41.js');
|
|
14
|
+
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
15
|
+
|
|
16
|
+
function usePasswordlessRegistration() {
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
18
|
+
const [request, { loading, errors, data }] = index_module.sn();
|
|
19
|
+
const [error, setError] = stencilHooks_module.useState("");
|
|
20
|
+
const submit = async (event) => {
|
|
21
|
+
var _a;
|
|
22
|
+
setError("");
|
|
23
|
+
let formData = event.detail.formData;
|
|
24
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
25
|
+
jsonpointer.jsonpointer.set(formData, key, value);
|
|
26
|
+
});
|
|
27
|
+
const variables = {
|
|
28
|
+
firstName: formData.firstName,
|
|
29
|
+
lastName: formData.lastName,
|
|
30
|
+
email: formData.email,
|
|
31
|
+
};
|
|
32
|
+
const result = await request(variables);
|
|
33
|
+
if (result instanceof Error) {
|
|
34
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
35
|
+
setError("Network request failed.");
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
40
|
+
error;
|
|
41
|
+
return {
|
|
42
|
+
states: {
|
|
43
|
+
loading,
|
|
44
|
+
error: errorMessage,
|
|
45
|
+
},
|
|
46
|
+
callbacks: {
|
|
47
|
+
submit,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const PasswordlessRegistration = class {
|
|
53
|
+
constructor(hostRef) {
|
|
54
|
+
index.registerInstance(this, hostRef);
|
|
55
|
+
this.ignored = true;
|
|
56
|
+
/**
|
|
57
|
+
* Redirect participants to this page after they successfully register.
|
|
58
|
+
*
|
|
59
|
+
* @uiName Registration Redirect
|
|
60
|
+
* @uiWidget pageSelect
|
|
61
|
+
*/
|
|
62
|
+
this.nextPage = "/";
|
|
63
|
+
/**
|
|
64
|
+
* @uiName Email Field Label
|
|
65
|
+
*/
|
|
66
|
+
this.emailLabel = "Email";
|
|
67
|
+
/**
|
|
68
|
+
* @uiName First Name Field Label
|
|
69
|
+
*/
|
|
70
|
+
this.firstNameLabel = "First Name";
|
|
71
|
+
/**
|
|
72
|
+
* @uiName Last Name Field Label
|
|
73
|
+
*/
|
|
74
|
+
this.lastNameLabel = "Last Name";
|
|
75
|
+
/**
|
|
76
|
+
* @uiName Register Button Text
|
|
77
|
+
*/
|
|
78
|
+
this.registerLabel = "Start Referring";
|
|
79
|
+
/**
|
|
80
|
+
* @uiName Include name fields
|
|
81
|
+
*/
|
|
82
|
+
this.includeName = false;
|
|
83
|
+
/**
|
|
84
|
+
* @uiName Include name fields
|
|
85
|
+
*/
|
|
86
|
+
this.hidePoweredBy = false;
|
|
87
|
+
stencilHooks_module.h(this);
|
|
88
|
+
}
|
|
89
|
+
disconnectedCallback() { }
|
|
90
|
+
render() {
|
|
91
|
+
const { states, callbacks } = index_module.isDemo()
|
|
92
|
+
? useRegistrationDemo(this)
|
|
93
|
+
: usePasswordlessRegistration();
|
|
94
|
+
const content = {
|
|
95
|
+
emailLabel: this.emailLabel,
|
|
96
|
+
registerLabel: this.registerLabel,
|
|
97
|
+
firstNameLabel: this.firstNameLabel,
|
|
98
|
+
lastNameLabel: this.lastNameLabel,
|
|
99
|
+
includeName: this.includeName,
|
|
100
|
+
hidePoweredBy: this.hidePoweredBy,
|
|
101
|
+
// slots
|
|
102
|
+
topSlot: index.h("slot", { name: "top-slot" }),
|
|
103
|
+
bottomSlot: index.h("slot", { name: "bottom-slot" }),
|
|
104
|
+
};
|
|
105
|
+
return (index.h(sqmPasswordlessRegistrationView.PasswordlessRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
function useRegistrationDemo(props) {
|
|
109
|
+
return cjs.cjs({
|
|
110
|
+
states: {
|
|
111
|
+
error: "",
|
|
112
|
+
loading: false,
|
|
113
|
+
forgotPasswordPath: "/forgotPassword",
|
|
114
|
+
registerPath: "/register",
|
|
115
|
+
},
|
|
116
|
+
callbacks: {
|
|
117
|
+
submit: async (_event) => {
|
|
118
|
+
console.log("submit");
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
exports.sqm_passwordless_registration = PasswordlessRegistration;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./use-callback-05714e23.js');
|
|
8
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
|
|
11
11
|
const PopupContainerView = (props) => {
|
|
@@ -19,10 +19,10 @@ const PopupContainerView = (props) => {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
function usePopupContainer(props) {
|
|
22
|
-
const engagementMedium = index_module.
|
|
22
|
+
const engagementMedium = index_module._();
|
|
23
23
|
function closePopup() {
|
|
24
24
|
var _a;
|
|
25
|
-
if (index_module.
|
|
25
|
+
if (index_module._() === "POPUP") {
|
|
26
26
|
(_a = window.frameElement["squatchJsApi"]) === null || _a === void 0 ? void 0 : _a.close();
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -36,7 +36,7 @@ function usePopupContainer(props) {
|
|
|
36
36
|
? "0"
|
|
37
37
|
: `var(--sl-spacing-${props.embedPadding})`
|
|
38
38
|
: "0";
|
|
39
|
-
const padding = index_module.
|
|
39
|
+
const padding = index_module._() === "POPUP" ? popupPadding : embedPadding;
|
|
40
40
|
return {
|
|
41
41
|
states: {
|
|
42
42
|
showCloseButton: props.closeButton && engagementMedium === "POPUP",
|
|
@@ -56,7 +56,7 @@ const sqmPopupContainerCss = ".squatch-header-close{position:absolute;right:20px
|
|
|
56
56
|
const PopupContainer = class {
|
|
57
57
|
constructor(hostRef) {
|
|
58
58
|
index.registerInstance(this, hostRef);
|
|
59
|
-
stencilHooks_module.h
|
|
59
|
+
stencilHooks_module.h(this);
|
|
60
60
|
}
|
|
61
61
|
disconnectedCallback() { }
|
|
62
62
|
render() {
|
package/dist/cjs/{sqm-portal-container-view-3215dce9.js → sqm-portal-container-view-ec1be9eb.js}
RENAMED
|
@@ -47,7 +47,7 @@ function PortalContainerView(props, children) {
|
|
|
47
47
|
}`;
|
|
48
48
|
const sheet = JSS.createStyleSheet(style);
|
|
49
49
|
const styleString = sheet.toString();
|
|
50
|
-
return (index.h("div", { class: sheet.classes.Container },
|
|
50
|
+
return (index.h("div", { class: sheet.classes.Container, part: 'sqm-base' },
|
|
51
51
|
index.h("style", { type: "text/css" },
|
|
52
52
|
vanillaStyle,
|
|
53
53
|
styleString),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-3ebda209.js');
|
|
5
5
|
const mixins = require('./mixins-fe9d4112.js');
|
|
6
6
|
const JSS = require('./JSS-8503a151.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-1acdf7e9.js');
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
const useCallback = require('./use-callback-
|
|
9
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-5344b631.js');
|
|
7
|
+
require('./global-3ebda209.js');
|
|
8
|
+
const useCallback = require('./use-callback-05714e23.js');
|
|
9
|
+
const index_module = require('./index.module-30d74cb5.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
require('./JSS-8503a151.js');
|
|
13
13
|
require('./sqm-text-span-view-1acdf7e9.js');
|
|
14
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
14
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-e834e79c.js');
|
|
15
15
|
|
|
16
16
|
function usePortalEmailVerification(props) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
18
|
-
const [request, { loading, data, errors }] = index_module.
|
|
18
|
+
const [request, { loading, data, errors }] = index_module.an();
|
|
19
19
|
const [getVerificationStatus, { data: user, loading: loadingVerification }] = index_module.Be();
|
|
20
|
-
const userIdent = index_module.
|
|
20
|
+
const userIdent = index_module.W();
|
|
21
21
|
const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
|
|
22
|
-
const urlParams = new URLSearchParams(index_module.
|
|
22
|
+
const urlParams = new URLSearchParams(index_module.gn.location.search);
|
|
23
23
|
const nextPage = urlParams.get("nextPage");
|
|
24
24
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
25
25
|
const [error, setError] = stencilHooks_module.useState("");
|
|
@@ -49,7 +49,7 @@ function usePortalEmailVerification(props) {
|
|
|
49
49
|
const data = (await getVerificationStatus());
|
|
50
50
|
if ((_a = data === null || data === void 0 ? void 0 : data.managedIdentitySession) === null || _a === void 0 ? void 0 : _a.emailVerified) {
|
|
51
51
|
clearInterval(timerRef.current);
|
|
52
|
-
return index_module.
|
|
52
|
+
return index_module.gn.push({
|
|
53
53
|
pathname: props.redirectPath,
|
|
54
54
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
55
55
|
});
|
|
@@ -156,7 +156,7 @@ const PortalEmailVerification = class {
|
|
|
156
156
|
* @uiWidget textArea
|
|
157
157
|
*/
|
|
158
158
|
this.verificationLoadingMessage = "Checking verification status";
|
|
159
|
-
stencilHooks_module.h
|
|
159
|
+
stencilHooks_module.h(this);
|
|
160
160
|
}
|
|
161
161
|
disconnectedCallback() { }
|
|
162
162
|
render() {
|