@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
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
5
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
2
|
+
import { e as useState, u as useEffect, j as h } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './use-callback-c5579ecb.js';
|
|
4
|
+
import { e as We, N as Ne, g as gn, i as isDemo } from './index.module-5043fba6.js';
|
|
6
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
6
|
import './mixins-f60a614c.js';
|
|
8
7
|
import './JSS-67b5cff8.js';
|
|
9
8
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
10
9
|
import './sqm-text-span-view-b03a3c6d.js';
|
|
10
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
11
11
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-2b9da683.js';
|
|
12
12
|
|
|
13
13
|
function usePortalResetPassword(props) {
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
15
15
|
const [reset, setReset] = useState(false);
|
|
16
16
|
const [error, setError] = useState("");
|
|
17
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] =
|
|
18
|
-
const [resetPassword, resetPasswordState] =
|
|
19
|
-
const urlParams = new URLSearchParams(
|
|
17
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = We();
|
|
18
|
+
const [resetPassword, resetPasswordState] = Ne();
|
|
19
|
+
const urlParams = new URLSearchParams(gn.location.search);
|
|
20
20
|
const oobCode = urlParams.get("oobCode");
|
|
21
21
|
urlParams.delete("oobCode");
|
|
22
22
|
const nextPageOverride = urlParams.get("nextPage");
|
|
@@ -54,10 +54,10 @@ function usePortalResetPassword(props) {
|
|
|
54
54
|
const gotoNextPage = () => {
|
|
55
55
|
urlParams.delete("nextPage");
|
|
56
56
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
57
|
-
|
|
57
|
+
gn.push(url.href);
|
|
58
58
|
};
|
|
59
59
|
const failed = () => {
|
|
60
|
-
|
|
60
|
+
gn.push({
|
|
61
61
|
pathname: props.failedPage,
|
|
62
62
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
63
63
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import { u as useEffect,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { u as useEffect, j as h } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './use-callback-c5579ecb.js';
|
|
4
|
+
import { W, X as Xe, g as gn, i as isDemo } from './index.module-5043fba6.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
@@ -11,9 +11,9 @@ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-e3e39
|
|
|
11
11
|
|
|
12
12
|
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
14
|
-
const userIdent =
|
|
14
|
+
const userIdent = W();
|
|
15
15
|
const [request, { loading, data, errors }] = Xe();
|
|
16
|
-
const urlParams = new URLSearchParams(
|
|
16
|
+
const urlParams = new URLSearchParams(gn.location.search);
|
|
17
17
|
const oobCode = urlParams.get("oobCode");
|
|
18
18
|
const nextPageOverride = urlParams.get("nextPage");
|
|
19
19
|
// derived from useMutation in component boilerplate initialState
|
|
@@ -21,7 +21,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
21
21
|
// if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
|
|
22
22
|
const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || (data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail.success));
|
|
23
23
|
const failed = () => {
|
|
24
|
-
return
|
|
24
|
+
return gn.push({
|
|
25
25
|
pathname: failedPage,
|
|
26
26
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
27
27
|
});
|
|
@@ -29,7 +29,7 @@ function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
|
29
29
|
const gotoNextPage = () => {
|
|
30
30
|
urlParams.delete("nextPage");
|
|
31
31
|
const url = sanitizeUrlPath(nextPageOverride || nextPage);
|
|
32
|
-
|
|
32
|
+
gn.push(url.href);
|
|
33
33
|
};
|
|
34
34
|
const submit = async () => {
|
|
35
35
|
var _a;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { i as isDemo } from './index.module-
|
|
2
|
+
import { j as h, i as useReducer, f as useMemo, u as useEffect } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import { i as intl } from './global-4bd89b1d.js';
|
|
4
|
+
import './use-callback-c5579ecb.js';
|
|
5
|
+
import { i as isDemo } from './index.module-5043fba6.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-ce26115f.js';
|
|
10
|
-
import { a as useRequestRerender, u as useRerenderListener } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
13
|
-
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-
|
|
10
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-a3c1732f.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-a68649fd.js';
|
|
12
|
+
import { l as luxon } from './luxon-dccb73bb.js';
|
|
13
|
+
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-6c6c06cb.js';
|
|
14
|
+
import './index-4bffa04c.js';
|
|
14
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
16
|
import { T as TextSpanView } from './sqm-text-span-view-b03a3c6d.js';
|
|
16
17
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-6bde7453.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-b03a3c6d.js';
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { j as h } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './use-callback-c5579ecb.js';
|
|
4
|
+
import './index.module-5043fba6.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-a3c1732f.js';
|
|
6
6
|
|
|
7
7
|
const RewardTableCustomerNoteColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { b as browser,
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { b as browser, i as useReducer, u as useEffect, j as h$1, f as useMemo } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import { i as intl } from './global-4bd89b1d.js';
|
|
4
|
+
import './use-callback-c5579ecb.js';
|
|
5
|
+
import { W, O, x, h as hn, i as isDemo } from './index.module-5043fba6.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-ce26115f.js';
|
|
10
|
-
import { u as useRerenderListener, a as useRequestRerender } from './re-render-
|
|
11
|
-
import { u as useChildElements } from './useChildElements-
|
|
12
|
-
import { l as luxon } from './luxon-
|
|
13
|
-
import { g as generateUserError, m as mockRewardData } from './useReferralTable-
|
|
10
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-a3c1732f.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-a68649fd.js';
|
|
12
|
+
import { l as luxon } from './luxon-dccb73bb.js';
|
|
13
|
+
import { g as generateUserError, m as mockRewardData } from './useReferralTable-6c6c06cb.js';
|
|
14
|
+
import { d as dist } from './index-4bffa04c.js';
|
|
14
15
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
15
16
|
|
|
16
17
|
const debug = browser("sq:useRewardsTable");
|
|
@@ -121,7 +122,7 @@ const GET_REWARDS = dist.gql `
|
|
|
121
122
|
`;
|
|
122
123
|
function useRewardsTable(props, emptyElement, loadingElement) {
|
|
123
124
|
var _a, _b;
|
|
124
|
-
const user =
|
|
125
|
+
const user = W();
|
|
125
126
|
const programIdContext = O();
|
|
126
127
|
const locale = x();
|
|
127
128
|
// Default to context, overriden by props
|
|
@@ -145,7 +146,7 @@ function useRewardsTable(props, emptyElement, loadingElement) {
|
|
|
145
146
|
loading: false,
|
|
146
147
|
page: 0,
|
|
147
148
|
});
|
|
148
|
-
const { envelope: rewardsData, states, callbacks, } =
|
|
149
|
+
const { envelope: rewardsData, states, callbacks, } = hn(GET_REWARDS, (data) => { var _a; return (_a = data === null || data === void 0 ? void 0 : data.viewer) === null || _a === void 0 ? void 0 : _a.rewards; }, {
|
|
149
150
|
limit: props.perPage,
|
|
150
151
|
offset: 0,
|
|
151
152
|
}, {
|
|
@@ -569,7 +570,7 @@ const RewardTableRewardsCell = class {
|
|
|
569
570
|
};
|
|
570
571
|
const sheet = createStyleSheet(style);
|
|
571
572
|
const styleString = sheet.toString();
|
|
572
|
-
return (h("div", null, h("style", { type: "text/css" }, styleString), h("div", { class: sheet.classes.Container }, h("span",
|
|
573
|
+
return (h("div", null, h("style", { type: "text/css" }, styleString), h("div", { class: sheet.classes.Container }, h("span", { part: "sqm-rewards-cell-value" }, pimpedPrettyValue + " "), h("br", null), " ", h("div", { part: "sqm-rewards-cell-progress-bar", class: sheet.classes.Progress }), h("span", { part: "sqm-rewards-cell-subtext", class: sheet.classes.Subtext }, progressBarSubtext))));
|
|
573
574
|
}
|
|
574
575
|
return h("div", null, pimpedPrettyValue);
|
|
575
576
|
};
|
|
@@ -600,7 +601,7 @@ const RewardsTableColumn = class {
|
|
|
600
601
|
}
|
|
601
602
|
disconnectedCallback() { }
|
|
602
603
|
async renderCell(data, locale) {
|
|
603
|
-
return (h("sqm-rewards-table-reward-cell", { reward: data, redeemedText: this.redeemedText, availableText: this.availableText, copyText: this.copyText, locale: locale }));
|
|
604
|
+
return (h("sqm-rewards-table-reward-cell", { reward: data, redeemedText: this.redeemedText, availableText: this.availableText, copyText: this.copyText, locale: locale, exportparts: "sqm-rewards-cell-value, sqm-rewards-cell-progress-bar, sqm-rewards-cell-subtext" }));
|
|
604
605
|
}
|
|
605
606
|
async renderLabel() {
|
|
606
607
|
return this.columnTitle;
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { a as commonjsGlobal,
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { a as commonjsGlobal, f as useMemo, e as useState, u as useEffect, c as createCommonjsModule, j as h$1 } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './global-4bd89b1d.js';
|
|
4
|
+
import './use-callback-c5579ecb.js';
|
|
5
|
+
import { g as gn, m as mn, c as setUserIdentity, z as ze, j as setProgramId } from './index.module-5043fba6.js';
|
|
6
6
|
import './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
9
9
|
import { G as GenericTableView } from './GenericTableView-ce26115f.js';
|
|
10
|
-
import './useChildElements-
|
|
11
|
-
import { l as luxon } from './luxon-
|
|
10
|
+
import './useChildElements-a68649fd.js';
|
|
11
|
+
import { l as luxon } from './luxon-dccb73bb.js';
|
|
12
|
+
import { d as dist } from './index-4bffa04c.js';
|
|
12
13
|
import './utils-334c1e34.js';
|
|
13
14
|
import './sqm-text-span-view-b03a3c6d.js';
|
|
14
15
|
import { A as AssetCardView } from './sqm-asset-card-view-b0f8ef8e.js';
|
|
15
|
-
import { H as HeroView } from './sqm-hero-view-
|
|
16
|
+
import { H as HeroView } from './sqm-hero-view-27de6b06.js';
|
|
16
17
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
17
18
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-74ad47d4.js';
|
|
18
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
19
|
-
import { P as
|
|
20
|
-
import {
|
|
19
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-d63373b2.js';
|
|
20
|
+
import { P as PoweredByImg$1 } from './PoweredByImg-1114005e.js';
|
|
21
|
+
import { P as PasswordlessRegistrationView } from './sqm-passwordless-registration-view-dcd145d6.js';
|
|
22
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-9c993283.js';
|
|
23
|
+
import { P as PortalFooterView } from './sqm-portal-footer-view-d673e9b9.js';
|
|
21
24
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-37bafb1c.js';
|
|
22
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
25
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-0b4315c2.js';
|
|
23
26
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-2b9da683.js';
|
|
24
27
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-e3e39501.js';
|
|
25
|
-
import { S as ShareButtonView, L as LeaderboardView,
|
|
26
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-
|
|
28
|
+
import { S as ShareButtonView, L as LeaderboardView, C as CopyTextView, B as BigStatView, P as PortalFrameView, E as EditProfileView, u as useShareLink, a as useShareButton, b as useDemoBigStat, c as StatContainerView, d as PortalChangePasswordView, e as PortalLoginView, f as PortalRegisterView, T as TaskCardView, g as ProgressBarView, R as ReferralIframeView, N as NameFieldsView, h as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as CardFeedView, H as autoColorScaleCss, J as ShadowViewAddon } from './ShadowViewAddon-e57c3d40.js';
|
|
29
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-06bce80d.js';
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
32
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1629,28 +1632,34 @@ const ShareLink_stories = {
|
|
|
1629
1632
|
};
|
|
1630
1633
|
const Default = () => {
|
|
1631
1634
|
const props = {
|
|
1632
|
-
|
|
1635
|
+
copyString: "https://noah.example.com",
|
|
1633
1636
|
open: false,
|
|
1634
1637
|
tooltiptext: "Copied!",
|
|
1635
1638
|
};
|
|
1636
|
-
return h(
|
|
1639
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
1637
1640
|
};
|
|
1638
1641
|
const Tooltip = () => {
|
|
1639
1642
|
const props = {
|
|
1640
|
-
|
|
1643
|
+
copyString: "https://noah.example.com",
|
|
1641
1644
|
tooltiptext: "Some text for the tooltip",
|
|
1642
1645
|
open: true,
|
|
1643
1646
|
};
|
|
1644
|
-
return h(
|
|
1647
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
1645
1648
|
};
|
|
1646
1649
|
const Disabled = () => {
|
|
1647
1650
|
const props = {
|
|
1648
|
-
|
|
1651
|
+
copyString: "https://noah.example.com",
|
|
1649
1652
|
disabled: true,
|
|
1650
1653
|
open: true,
|
|
1651
1654
|
tooltiptext: "Copied!",
|
|
1652
1655
|
};
|
|
1653
|
-
return h(
|
|
1656
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
1657
|
+
};
|
|
1658
|
+
const TextAlignCenter = () => {
|
|
1659
|
+
return h("sqm-share-link", { textAlign: "center" });
|
|
1660
|
+
};
|
|
1661
|
+
const CopyButton = () => {
|
|
1662
|
+
return h("sqm-share-link", { isCopyIcon: false });
|
|
1654
1663
|
};
|
|
1655
1664
|
const FullStack = () => {
|
|
1656
1665
|
return h("sqm-share-link", null);
|
|
@@ -1662,6 +1671,8 @@ const ShareLink = /*#__PURE__*/Object.freeze({
|
|
|
1662
1671
|
Default: Default,
|
|
1663
1672
|
Tooltip: Tooltip,
|
|
1664
1673
|
Disabled: Disabled,
|
|
1674
|
+
TextAlignCenter: TextAlignCenter,
|
|
1675
|
+
CopyButton: CopyButton,
|
|
1665
1676
|
FullStack: FullStack
|
|
1666
1677
|
});
|
|
1667
1678
|
|
|
@@ -2352,36 +2363,36 @@ const routes = `
|
|
|
2352
2363
|
`;
|
|
2353
2364
|
const TemplateNavigation = createHookStory(() => {
|
|
2354
2365
|
return (h("div", null,
|
|
2355
|
-
h("button", { onClick: () =>
|
|
2356
|
-
h("button", { onClick: () =>
|
|
2357
|
-
h("button", { onClick: () =>
|
|
2358
|
-
h("button", { onClick: () =>
|
|
2359
|
-
h("button", { onClick: () =>
|
|
2360
|
-
h("button", { onClick: () =>
|
|
2361
|
-
h("button", { onClick: () =>
|
|
2362
|
-
h("button", { onClick: () =>
|
|
2363
|
-
h("button", { onClick: () =>
|
|
2366
|
+
h("button", { onClick: () => gn.push("/") }, "/"),
|
|
2367
|
+
h("button", { onClick: () => gn.push("/foo") }, "/foo"),
|
|
2368
|
+
h("button", { onClick: () => gn.push("/bar") }, "/bar"),
|
|
2369
|
+
h("button", { onClick: () => gn.push("/baz/bang") }, "/baz/bang"),
|
|
2370
|
+
h("button", { onClick: () => gn.push("/refer") }, "/refer"),
|
|
2371
|
+
h("button", { onClick: () => gn.push("/refer/1") }, "/refer/1"),
|
|
2372
|
+
h("button", { onClick: () => gn.push("/refer/2") }, "/refer/2"),
|
|
2373
|
+
h("button", { onClick: () => gn.back() }, "Back"),
|
|
2374
|
+
h("button", { onClick: () => gn.forward() }, "Forward"),
|
|
2364
2375
|
h("hr", null),
|
|
2365
2376
|
h("sqm-router", { innerHTML: templates })));
|
|
2366
2377
|
});
|
|
2367
2378
|
const RouteNavigation = createHookStory(() => {
|
|
2368
2379
|
return (h("div", null,
|
|
2369
|
-
h("button", { onClick: () =>
|
|
2370
|
-
h("button", { onClick: () =>
|
|
2371
|
-
h("button", { onClick: () =>
|
|
2372
|
-
h("button", { onClick: () =>
|
|
2373
|
-
h("button", { onClick: () =>
|
|
2374
|
-
h("button", { onClick: () =>
|
|
2375
|
-
h("button", { onClick: () =>
|
|
2376
|
-
h("button", { onClick: () =>
|
|
2377
|
-
h("button", { onClick: () =>
|
|
2380
|
+
h("button", { onClick: () => gn.push("/") }, "/"),
|
|
2381
|
+
h("button", { onClick: () => gn.push("/foo") }, "/foo"),
|
|
2382
|
+
h("button", { onClick: () => gn.push("/bar") }, "/bar"),
|
|
2383
|
+
h("button", { onClick: () => gn.push("/baz/bang") }, "/baz/bang"),
|
|
2384
|
+
h("button", { onClick: () => gn.push("/refer") }, "/refer"),
|
|
2385
|
+
h("button", { onClick: () => gn.push("/refer/1") }, "/refer/1"),
|
|
2386
|
+
h("button", { onClick: () => gn.push("/refer/2") }, "/refer/2"),
|
|
2387
|
+
h("button", { onClick: () => gn.back() }, "Back"),
|
|
2388
|
+
h("button", { onClick: () => gn.forward() }, "Forward"),
|
|
2378
2389
|
h("hr", null),
|
|
2379
2390
|
h("sqm-router", { innerHTML: routes })));
|
|
2380
2391
|
});
|
|
2381
2392
|
const Styling = createHookStory(() => {
|
|
2382
2393
|
return (h("div", null,
|
|
2383
|
-
h("button", { onClick: () =>
|
|
2384
|
-
h("button", { onClick: () =>
|
|
2394
|
+
h("button", { onClick: () => gn.push("/") }, "/"),
|
|
2395
|
+
h("button", { onClick: () => gn.push("/foo") }, "/foo"),
|
|
2385
2396
|
h("hr", null),
|
|
2386
2397
|
h("div", { style: { display: "flex", justifyContent: "space-around" } },
|
|
2387
2398
|
h("sqm-router", { innerHTML: `<template path="/">
|
|
@@ -2395,7 +2406,7 @@ function useTemplate(templateString) {
|
|
|
2395
2406
|
const [previewTemplate, setPreviewTemplate] = useState(templateString);
|
|
2396
2407
|
function setPath(e) {
|
|
2397
2408
|
//@ts-ignore
|
|
2398
|
-
|
|
2409
|
+
gn.push(e.target.value);
|
|
2399
2410
|
}
|
|
2400
2411
|
return {
|
|
2401
2412
|
states: { previewTemplate, editedTemplate },
|
|
@@ -2559,8 +2570,8 @@ const FullStackFrame = () => {
|
|
|
2559
2570
|
"Current path:",
|
|
2560
2571
|
" ",
|
|
2561
2572
|
h("code", null,
|
|
2562
|
-
h("strong", null, (_a =
|
|
2563
|
-
h("button", { onClick:
|
|
2573
|
+
h("strong", null, (_a = mn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2574
|
+
h("button", { onClick: gn.back }, "Go Back")));
|
|
2564
2575
|
};
|
|
2565
2576
|
const FullStackFrameLoggedOut = () => {
|
|
2566
2577
|
var _a;
|
|
@@ -2584,8 +2595,8 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2584
2595
|
"Current path:",
|
|
2585
2596
|
" ",
|
|
2586
2597
|
h("code", null,
|
|
2587
|
-
h("strong", null, (_a =
|
|
2588
|
-
h("button", { onClick:
|
|
2598
|
+
h("strong", null, (_a = mn()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2599
|
+
h("button", { onClick: gn.back }, "Go Back")));
|
|
2589
2600
|
};
|
|
2590
2601
|
|
|
2591
2602
|
const PortalFrame = /*#__PURE__*/Object.freeze({
|
|
@@ -2700,11 +2711,11 @@ const BareBonesView = createHookStory(() => {
|
|
|
2700
2711
|
return (h("div", null,
|
|
2701
2712
|
"Sharelink:",
|
|
2702
2713
|
" ",
|
|
2703
|
-
h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.
|
|
2714
|
+
h("code", { style: { borderStyle: "solid", borderWidth: "1px", padding: "2px" } }, res.copyString)));
|
|
2704
2715
|
});
|
|
2705
2716
|
const RegularView = createHookStory(() => {
|
|
2706
2717
|
setupGraphQL$1();
|
|
2707
|
-
return (h(
|
|
2718
|
+
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2708
2719
|
programId: "sam-partner-test-2",
|
|
2709
2720
|
tooltiptext: "Copied to clipboard",
|
|
2710
2721
|
tooltiplifespan: 1000,
|
|
@@ -2712,7 +2723,7 @@ const RegularView = createHookStory(() => {
|
|
|
2712
2723
|
});
|
|
2713
2724
|
const FastTooltip = createHookStory(() => {
|
|
2714
2725
|
setupGraphQL$1();
|
|
2715
|
-
return (h(
|
|
2726
|
+
return (h(CopyTextView, Object.assign({}, useShareLink({
|
|
2716
2727
|
programId: "sam-partner-test-2",
|
|
2717
2728
|
tooltiptext: "⠀⠀⠀⠀⠀⠀⠀⠀⠀HELLO THERE!!!\n⠀⠀⠀⡯⡯⡾⠝⠘⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢊⠘⡮⣣⠪⠢⡑⡌\n⠀⠀⠀⠟⠝⠈⠀⠀⠀⠡⠀⠠⢈⠠⢐⢠⢂⢔⣐⢄⡂⢔⠀⡁⢉⠸⢨⢑⠕⡌\n⠀⠀⡀⠁⠀⠀⠀⡀⢂⠡⠈⡔⣕⢮⣳⢯⣿⣻⣟⣯⣯⢷⣫⣆⡂⠀⠀⢐⠑⡌\n⢀⠠⠐⠈⠀⢀⢂⠢⡂⠕⡁⣝⢮⣳⢽⡽⣾⣻⣿⣯⡯⣟⣞⢾⢜⢆⠀⡀⠀⠪\n⣬⠂⠀⠀⢀⢂⢪⠨⢂⠥⣺⡪⣗⢗⣽⢽⡯⣿⣽⣷⢿⡽⡾⡽⣝⢎⠀⠀⠀⢡\n⣿⠀⠀⠀⢂⠢⢂⢥⢱⡹⣪⢞⡵⣻⡪⡯⡯⣟⡾⣿⣻⡽⣯⡻⣪⠧⠑⠀⠁⢐\n⣿⠀⠀⠀⠢⢑⠠⠑⠕⡝⡎⡗⡝⡎⣞⢽⡹⣕⢯⢻⠹⡹⢚⠝⡷⡽⡨⠀⠀⢔\n⣿⡯⠀⢈⠈⢄⠂⠂⠐⠀⠌⠠⢑⠱⡱⡱⡑⢔⠁⠀⡀⠐⠐⠐⡡⡹⣪⠀⠀⢘\n⣿⣽⠀⡀⡊⠀⠐⠨⠈⡁⠂⢈⠠⡱⡽⣷⡑⠁⠠⠑⠀⢉⢇⣤⢘⣪⢽⠀⢌⢎\n⣿⢾⠀⢌⠌⠀⡁⠢⠂⠐⡀⠀⢀⢳⢽⣽⡺⣨⢄⣑⢉⢃⢭⡲⣕⡭⣹⠠⢐⢗\n⣿⡗⠀⠢⠡⡱⡸⣔⢵⢱⢸⠈⠀⡪⣳⣳⢹⢜⡵⣱⢱⡱⣳⡹⣵⣻⢔⢅⢬⡷\n⣷⡇⡂⠡⡑⢕⢕⠕⡑⠡⢂⢊⢐⢕⡝⡮⡧⡳⣝⢴⡐⣁⠃⡫⡒⣕⢏⡮⣷⡟\n⣷⣻⣅⠑⢌⠢⠁⢐⠠⠑⡐⠐⠌⡪⠮⡫⠪⡪⡪⣺⢸⠰⠡⠠⠐⢱⠨⡪⡪⡰\n⣯⢷⣟⣇⡂⡂⡌⡀⠀⠁⡂⠅⠂⠀⡑⡄⢇⠇⢝⡨⡠⡁⢐⠠⢀⢪⡐⡜⡪⡊\n⣿⢽⡾⢹⡄⠕⡅⢇⠂⠑⣴⡬⣬⣬⣆⢮⣦⣷⣵⣷⡗⢃⢮⠱⡸⢰⢱⢸⢨⢌\n⣯⢯⣟⠸⣳⡅⠜⠔⡌⡐⠈⠻⠟⣿⢿⣿⣿⠿⡻⣃⠢⣱⡳⡱⡩⢢⠣⡃⠢⠁\n⡯⣟⣞⡇⡿⣽⡪⡘⡰⠨⢐⢀⠢⢢⢄⢤⣰⠼⡾⢕⢕⡵⣝⠎⢌⢪⠪⡘⡌⠀\n⡯⣳⠯⠚⢊⠡⡂⢂⠨⠊⠔⡑⠬⡸⣘⢬⢪⣪⡺⡼⣕⢯⢞⢕⢝⠎⢻⢼⣀⠀\n⠁⡂⠔⡁⡢⠣⢀⠢⠀⠅⠱⡐⡱⡘⡔⡕⡕⣲⡹⣎⡮⡏⡑⢜⢼⡱⢩⣗⣯⣟\n⢀⢂⢑⠀⡂⡃⠅⠊⢄⢑⠠⠑⢕⢕⢝⢮⢺⢕⢟⢮⢊⢢⢱⢄⠃⣇⣞⢞⣞⢾\n⢀⠢⡑⡀⢂⢊⠠⠁⡂⡐⠀⠅⡈⠪⠪⠪⠣⠫⠑⡁⢔⠕⣜⣜⢦⡰⡎⡯⡾⡽",
|
|
2718
2729
|
tooltiplifespan: 500,
|
|
@@ -3589,14 +3600,14 @@ const Sidebar = () => {
|
|
|
3589
3600
|
};
|
|
3590
3601
|
const Dashboard = () => {
|
|
3591
3602
|
const sharelinkProps = {
|
|
3592
|
-
|
|
3603
|
+
copyString: "https://ssqt.co/johnsmithrox",
|
|
3593
3604
|
open: false,
|
|
3594
3605
|
disabled: false,
|
|
3595
3606
|
tooltiptext: "Share link copied",
|
|
3596
3607
|
onClick: () => console.log("Share link copied"),
|
|
3597
3608
|
};
|
|
3598
3609
|
const sharecodeProps = {
|
|
3599
|
-
|
|
3610
|
+
copyString: "JOHNSMITH1",
|
|
3600
3611
|
open: false,
|
|
3601
3612
|
disabled: false,
|
|
3602
3613
|
tooltiptext: "Share code copied",
|
|
@@ -3673,14 +3684,14 @@ const Dashboard = () => {
|
|
|
3673
3684
|
padding: "none",
|
|
3674
3685
|
label: (h("sqm-text", null,
|
|
3675
3686
|
h("h3", null, "Share your referral link"))),
|
|
3676
|
-
content: h(
|
|
3687
|
+
content: h(CopyTextView, Object.assign({}, sharelinkProps)),
|
|
3677
3688
|
})),
|
|
3678
3689
|
h(PortalSectionView, Object.assign({}, {
|
|
3679
3690
|
labelMargin: "small",
|
|
3680
3691
|
padding: "none",
|
|
3681
3692
|
label: (h("sqm-text", null,
|
|
3682
3693
|
h("h3", null, "Share your referral code"))),
|
|
3683
|
-
content: h(
|
|
3694
|
+
content: h(CopyTextView, Object.assign({}, sharecodeProps)),
|
|
3684
3695
|
})),
|
|
3685
3696
|
h(PortalSectionView, Object.assign({}, {
|
|
3686
3697
|
labelMargin: "small",
|
|
@@ -9590,16 +9601,16 @@ function DefaultTemplateView$1(props) {
|
|
|
9590
9601
|
gridTemplateColumns: "repeat(9, 80px)",
|
|
9591
9602
|
gridGap: "10px",
|
|
9592
9603
|
} },
|
|
9593
|
-
h("button", { onClick: () =>
|
|
9594
|
-
props.leadSubmit && (h("button", { onClick: () =>
|
|
9595
|
-
h("button", { onClick: () =>
|
|
9596
|
-
h("button", { onClick: () =>
|
|
9597
|
-
h("button", { onClick: () =>
|
|
9598
|
-
h("button", { onClick: () =>
|
|
9599
|
-
h("button", { onClick: () =>
|
|
9600
|
-
h("button", { onClick: () =>
|
|
9601
|
-
h("button", { onClick: () =>
|
|
9602
|
-
h("button", { onClick: () =>
|
|
9604
|
+
h("button", { onClick: () => gn.push("/") }, "Dashboard"),
|
|
9605
|
+
props.leadSubmit && (h("button", { onClick: () => gn.push("/refer") }, "Submit a Referral")),
|
|
9606
|
+
h("button", { onClick: () => gn.push("/activity") }, "Activity"),
|
|
9607
|
+
h("button", { onClick: () => gn.push("/editProfile") }, "Edit Profile"),
|
|
9608
|
+
h("button", { onClick: () => gn.push("/login") }, "Login"),
|
|
9609
|
+
h("button", { onClick: () => gn.push("/register") }, "Register"),
|
|
9610
|
+
h("button", { onClick: () => gn.push("/emailVerification") }, "Email Verification"),
|
|
9611
|
+
h("button", { onClick: () => gn.push("/verifyEmail") }, "Verify Email"),
|
|
9612
|
+
h("button", { onClick: () => gn.push("/forgotPassword") }, "Forgot Password"),
|
|
9613
|
+
h("button", { onClick: () => gn.push("/resetPassword") }, "Reset Password")),
|
|
9603
9614
|
h("br", null),
|
|
9604
9615
|
h("div", { innerHTML: states.previewTemplate })));
|
|
9605
9616
|
}
|
|
@@ -12928,8 +12939,14 @@ const ShareCode = () => {
|
|
|
12928
12939
|
const CustomTooltipText = () => {
|
|
12929
12940
|
return h("sqm-share-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
12930
12941
|
};
|
|
12942
|
+
const TextAlignCenter$1 = () => {
|
|
12943
|
+
return h("sqm-share-code", { textAlign: "center" });
|
|
12944
|
+
};
|
|
12945
|
+
const CopyButton$1 = () => {
|
|
12946
|
+
return h("sqm-share-code", { isCopyIcon: false });
|
|
12947
|
+
};
|
|
12931
12948
|
const CustomTooltipDuration = () => {
|
|
12932
|
-
return h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
12949
|
+
return (h("sqm-share-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
12933
12950
|
};
|
|
12934
12951
|
|
|
12935
12952
|
const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -12937,9 +12954,83 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
12937
12954
|
'default': ShareCode_stories,
|
|
12938
12955
|
ShareCode: ShareCode,
|
|
12939
12956
|
CustomTooltipText: CustomTooltipText,
|
|
12957
|
+
TextAlignCenter: TextAlignCenter$1,
|
|
12958
|
+
CopyButton: CopyButton$1,
|
|
12940
12959
|
CustomTooltipDuration: CustomTooltipDuration
|
|
12941
12960
|
});
|
|
12942
12961
|
|
|
12962
|
+
const PasswordlessRegistration_stories = {
|
|
12963
|
+
title: "Components/Passwordless Registration",
|
|
12964
|
+
};
|
|
12965
|
+
const defaultProps$d = {
|
|
12966
|
+
states: {
|
|
12967
|
+
error: "",
|
|
12968
|
+
loading: false,
|
|
12969
|
+
},
|
|
12970
|
+
callbacks: {
|
|
12971
|
+
submit: async (e) => await e,
|
|
12972
|
+
},
|
|
12973
|
+
content: {},
|
|
12974
|
+
};
|
|
12975
|
+
const Default$e = () => h(PasswordlessRegistrationView, Object.assign({}, defaultProps$d));
|
|
12976
|
+
const HasFirstNameLastName = () => (h(PasswordlessRegistrationView, Object.assign({}, defaultProps$d, {
|
|
12977
|
+
content: {
|
|
12978
|
+
includeName: true,
|
|
12979
|
+
},
|
|
12980
|
+
})));
|
|
12981
|
+
const WithSlots = () => (h(PasswordlessRegistrationView, Object.assign({}, defaultProps$d, {
|
|
12982
|
+
content: {
|
|
12983
|
+
topSlot: h("div", null, "Hello this is the top slot"),
|
|
12984
|
+
bottomSlot: h("div", null, "Hello this is the bottom slot"),
|
|
12985
|
+
},
|
|
12986
|
+
})));
|
|
12987
|
+
const HidePoweredBy = () => (h(PasswordlessRegistrationView, Object.assign({}, defaultProps$d, {
|
|
12988
|
+
content: {
|
|
12989
|
+
hidePoweredBy: true,
|
|
12990
|
+
},
|
|
12991
|
+
})));
|
|
12992
|
+
|
|
12993
|
+
const PasswordlessRegistration = /*#__PURE__*/Object.freeze({
|
|
12994
|
+
__proto__: null,
|
|
12995
|
+
'default': PasswordlessRegistration_stories,
|
|
12996
|
+
Default: Default$e,
|
|
12997
|
+
HasFirstNameLastName: HasFirstNameLastName,
|
|
12998
|
+
WithSlots: WithSlots,
|
|
12999
|
+
HidePoweredBy: HidePoweredBy
|
|
13000
|
+
});
|
|
13001
|
+
|
|
13002
|
+
const CouponCode_stories = {
|
|
13003
|
+
title: "Components/Coupon Code",
|
|
13004
|
+
parameters: {
|
|
13005
|
+
// scenario,
|
|
13006
|
+
},
|
|
13007
|
+
};
|
|
13008
|
+
const CouponCode = () => {
|
|
13009
|
+
return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
13010
|
+
};
|
|
13011
|
+
const CustomTooltipText$1 = () => {
|
|
13012
|
+
return h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
13013
|
+
};
|
|
13014
|
+
const TextAlignCenter$2 = () => {
|
|
13015
|
+
return h("sqm-coupon-code", { textAlign: "center" });
|
|
13016
|
+
};
|
|
13017
|
+
const CopyButton$2 = () => {
|
|
13018
|
+
return h("sqm-coupon-code", { isCopyIcon: false });
|
|
13019
|
+
};
|
|
13020
|
+
const CustomTooltipDuration$1 = () => {
|
|
13021
|
+
return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
13022
|
+
};
|
|
13023
|
+
|
|
13024
|
+
const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
13025
|
+
__proto__: null,
|
|
13026
|
+
'default': CouponCode_stories,
|
|
13027
|
+
CouponCode: CouponCode,
|
|
13028
|
+
CustomTooltipText: CustomTooltipText$1,
|
|
13029
|
+
TextAlignCenter: TextAlignCenter$2,
|
|
13030
|
+
CopyButton: CopyButton$2,
|
|
13031
|
+
CustomTooltipDuration: CustomTooltipDuration$1
|
|
13032
|
+
});
|
|
13033
|
+
|
|
12943
13034
|
/**
|
|
12944
13035
|
*
|
|
12945
13036
|
* Themes
|
|
@@ -12952,7 +13043,7 @@ const ShareCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
12952
13043
|
*
|
|
12953
13044
|
*/
|
|
12954
13045
|
//
|
|
12955
|
-
const Default$
|
|
13046
|
+
const Default$f = `
|
|
12956
13047
|
// No CSS
|
|
12957
13048
|
`;
|
|
12958
13049
|
const Orangey = `
|
|
@@ -12986,7 +13077,7 @@ const Klip = `
|
|
|
12986
13077
|
|
|
12987
13078
|
const Themes = /*#__PURE__*/Object.freeze({
|
|
12988
13079
|
__proto__: null,
|
|
12989
|
-
Default: Default$
|
|
13080
|
+
Default: Default$f,
|
|
12990
13081
|
Orangey: Orangey,
|
|
12991
13082
|
Netflix: Netflix,
|
|
12992
13083
|
SaaSquatchCorporate: SaaSquatchCorporate,
|
|
@@ -15649,6 +15740,8 @@ const stories = [
|
|
|
15649
15740
|
Scroll,
|
|
15650
15741
|
Tabs,
|
|
15651
15742
|
ShareCode$1,
|
|
15743
|
+
PasswordlessRegistration,
|
|
15744
|
+
CouponCode$1,
|
|
15652
15745
|
];
|
|
15653
15746
|
const StencilStorybook = class {
|
|
15654
15747
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
2
|
+
import { j as h$1 } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './use-callback-c5579ecb.js';
|
|
4
|
+
import './index.module-5043fba6.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-a3c1732f.js';
|
|
6
6
|
|
|
7
7
|
const TabView = ({}, children) => {
|
|
8
8
|
return h(Host, null, children);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import { l,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { R } from './index.module-
|
|
5
|
-
import { u as useRerenderListener } from './re-render-
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
2
|
+
import { l, f as useMemo, u as useEffect, j as h$1 } from './stencil-hooks.module-6bde7453.js';
|
|
3
|
+
import './use-callback-c5579ecb.js';
|
|
4
|
+
import { R } from './index.module-5043fba6.js';
|
|
5
|
+
import { u as useRerenderListener } from './re-render-a3c1732f.js';
|
|
6
|
+
import { u as useChildElements } from './useChildElements-a68649fd.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
|
|
9
9
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { j as h } from './stencil-hooks.module-6bde7453.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
4
|
import { T as TextSpanView } from './sqm-text-span-view-b03a3c6d.js';
|
|
5
5
|
|