@saasquatch/mint-components 1.6.8-2 → 1.6.8-4
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/{ShadowViewAddon-7a412c0b.js → ShadowViewAddon-937f11d0.js} +20 -11
- package/dist/cjs/{global-ea52ea30.js → global-48c25606.js} +1 -1
- package/dist/cjs/{index.module-bd6e817a.js → index.module-f6afc139.js} +21 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/mint-components.cjs.js +3 -3
- package/dist/cjs/{re-render-1d12dfdd.js → re-render-552514cb.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_37.cjs.entry.js +22 -18
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-link-button.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-91d9d7b5.js → sqm-navigation-sidebar-item-view-c39b695c.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +2 -10
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-7e795920.js → sqm-portal-email-verification-view-2e646897.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-7c290eed.js → sqm-portal-profile-view-52bc73ad.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +10 -12
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +43 -21
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-identifier-view-69b42b84.js → sqm-user-identifier-view-90b36758.js} +10 -3
- package/dist/cjs/sqm-user-identifier.cjs.entry.js +28 -5
- package/dist/cjs/{useChildElements-0a6ccd0f.js → useChildElements-a8f7f5ca.js} +1 -1
- package/dist/cjs/{usePasswordlessRegistration-9105faa4.js → usePasswordlessRegistration-b10e325f.js} +1 -1
- package/dist/cjs/{useReferralTable-259fc04d.js → useReferralTable-f53a9a1b.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-ed30c0e6.js → useRegistrationFormState-99160dad.js} +1 -1
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +4 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +13 -13
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +1 -1
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +3 -3
- package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +0 -32
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +1 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +4 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +25 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +9 -35
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +13 -13
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +13 -13
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +10 -3
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +50 -7
- package/dist/collection/components/sqm-user-identifier/useUserIdentifer.js +7 -0
- package/dist/collection/components/views/EmailRegistration.stories.js +14 -0
- package/dist/collection/components/views/copy-text-view.js +13 -6
- package/dist/esm/{ShadowViewAddon-ca765d5e.js → ShadowViewAddon-751a6b84.js} +20 -11
- package/dist/esm/{global-0f137e54.js → global-170c4499.js} +1 -1
- package/dist/esm/{index.module-787e5d35.js → index.module-0ba0774e.js} +21 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/mint-components.js +3 -3
- package/dist/esm/{re-render-54bb3e32.js → re-render-22de5b23.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_37.entry.js +22 -18
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-link-button.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-ee402e54.js → sqm-navigation-sidebar-item-view-5a4ac267.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-passwordless-registration.entry.js +2 -10
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-727bbfd9.js → sqm-portal-email-verification-view-889fcc01.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-1f2b6063.js → sqm-portal-profile-view-ac955752.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm/sqm-portal-registration-form.entry.js +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-referred-registration.entry.js +10 -12
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +43 -21
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{sqm-user-identifier-view-379c773f.js → sqm-user-identifier-view-dbf71a5e.js} +10 -3
- package/dist/esm/sqm-user-identifier.entry.js +28 -5
- package/dist/esm/{useChildElements-0124b1a9.js → useChildElements-fd458906.js} +1 -1
- package/dist/esm/{usePasswordlessRegistration-2381025b.js → usePasswordlessRegistration-ad9a05d5.js} +1 -1
- package/dist/esm/{useReferralTable-3024490c.js → useReferralTable-a3d6051e.js} +3 -3
- package/dist/esm/{useRegistrationFormState-3c2c2f1b.js → useRegistrationFormState-29e30121.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-751a6b84.js +1 -0
- package/dist/esm-es5/{global-0f137e54.js → global-170c4499.js} +1 -1
- package/dist/esm-es5/index.module-0ba0774e.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-54bb3e32.js → re-render-22de5b23.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_37.entry.js +1 -1
- package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-link-button.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-ee402e54.js → sqm-navigation-sidebar-item-view-5a4ac267.js} +1 -1
- 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.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-727bbfd9.js → sqm-portal-email-verification-view-889fcc01.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.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-1f2b6063.js → sqm-portal-profile-view-ac955752.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-referred-registration.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-user-identifier-view-dbf71a5e.js +1 -0
- package/dist/esm-es5/sqm-user-identifier.entry.js +1 -1
- package/dist/esm-es5/{useChildElements-0124b1a9.js → useChildElements-fd458906.js} +1 -1
- package/dist/esm-es5/{usePasswordlessRegistration-2381025b.js → usePasswordlessRegistration-ad9a05d5.js} +1 -1
- package/dist/esm-es5/{useReferralTable-3024490c.js → useReferralTable-a3d6051e.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-3c2c2f1b.js → useRegistrationFormState-29e30121.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-32b28506.system.entry.js → p-045af9fb.system.entry.js} +1 -1
- package/dist/mint-components/p-0597b64f.js +1 -0
- package/dist/mint-components/p-0a410d79.entry.js +1 -0
- package/dist/mint-components/{p-25ce265e.entry.js → p-0b6ee047.entry.js} +2 -2
- package/dist/mint-components/{p-a9467e3e.system.entry.js → p-0c5aadd5.system.entry.js} +1 -1
- package/dist/mint-components/{p-838e5560.system.entry.js → p-0c7a3116.system.entry.js} +1 -1
- package/dist/mint-components/{p-82f341ec.system.entry.js → p-0d395b4f.system.entry.js} +1 -1
- package/dist/mint-components/{p-3ad8c79f.entry.js → p-135c3cef.entry.js} +1 -1
- package/dist/mint-components/{p-05abfc50.system.entry.js → p-16dda971.system.entry.js} +1 -1
- package/dist/mint-components/{p-92002bbb.system.entry.js → p-18e7d7c6.system.entry.js} +1 -1
- package/dist/mint-components/{p-aaff2c88.system.entry.js → p-19244318.system.entry.js} +1 -1
- package/dist/mint-components/{p-3855a6e0.entry.js → p-1d9cb344.entry.js} +1 -1
- package/dist/mint-components/{p-f96d239a.entry.js → p-221878e3.entry.js} +1 -1
- package/dist/mint-components/p-35d6d322.system.js +1 -0
- package/dist/mint-components/p-390b1f99.entry.js +1 -0
- package/dist/mint-components/{p-56494499.js → p-3d339fa9.js} +1 -1
- package/dist/mint-components/p-4120758d.system.entry.js +1 -0
- package/dist/mint-components/{p-ba7feba5.js → p-494829ff.js} +1 -1
- package/dist/mint-components/{p-95cc44c3.system.js → p-4994b24c.system.js} +1 -1
- package/dist/mint-components/p-515eac9c.system.entry.js +1 -0
- package/dist/mint-components/{p-3a6a59f2.system.js → p-517a5669.system.js} +1 -1
- package/dist/mint-components/{p-db297fa3.system.entry.js → p-58362d80.system.entry.js} +1 -1
- package/dist/mint-components/{p-52468c89.system.js → p-59ca1d2c.system.js} +1 -1
- package/dist/mint-components/{p-af00c9b0.entry.js → p-62306484.entry.js} +1 -1
- package/dist/mint-components/p-6332cdb6.entry.js +1 -0
- package/dist/mint-components/{p-ae00aec4.system.js → p-64242338.system.js} +1 -1
- package/dist/mint-components/p-653131de.entry.js +9 -0
- package/dist/mint-components/{p-555123c5.system.js → p-657acf81.system.js} +1 -1
- package/dist/mint-components/p-66a0332f.system.entry.js +1 -0
- package/dist/mint-components/p-689d022a.js +1 -0
- package/dist/mint-components/{p-332448db.system.entry.js → p-6c0409fe.system.entry.js} +1 -1
- package/dist/mint-components/p-6ddc2a08.js +1 -0
- package/dist/mint-components/{p-36b5b564.entry.js → p-6e9cfc74.entry.js} +1 -1
- package/dist/mint-components/{p-15cfd2cf.system.js → p-70263662.system.js} +1 -1
- package/dist/mint-components/{p-01bd9ae1.system.entry.js → p-730db569.system.entry.js} +1 -1
- package/dist/mint-components/{p-598f6e6e.entry.js → p-773cf8ec.entry.js} +4 -4
- package/dist/mint-components/{p-bc6255a0.js → p-7d31f692.js} +2 -2
- package/dist/mint-components/{p-39ac088a.entry.js → p-7d7baf55.entry.js} +2 -2
- package/dist/mint-components/{p-f63ea5f4.entry.js → p-8322ad92.entry.js} +1 -1
- package/dist/mint-components/{p-6868f6a3.system.entry.js → p-8478a86e.system.entry.js} +1 -1
- package/dist/mint-components/{p-b0ad1b74.system.entry.js → p-88ce114f.system.entry.js} +1 -1
- package/dist/mint-components/{p-dffe8bea.entry.js → p-8e0d9535.entry.js} +1 -1
- package/dist/mint-components/{p-e94f28d3.system.js → p-8f58a603.system.js} +1 -1
- package/dist/mint-components/{p-8eb9298d.js → p-9009d352.js} +2 -2
- package/dist/mint-components/{p-695d65b1.js → p-9076f688.js} +1 -1
- package/dist/mint-components/{p-9c0678aa.system.entry.js → p-919ea20a.system.entry.js} +1 -1
- package/dist/mint-components/{p-b039fb72.entry.js → p-94607792.entry.js} +1 -1
- package/dist/mint-components/{p-b91658ca.system.entry.js → p-96b05458.system.entry.js} +1 -1
- package/dist/mint-components/{p-ea76c3bc.system.entry.js → p-97988090.system.entry.js} +1 -1
- package/dist/mint-components/{p-6d7b7618.system.entry.js → p-97fa9d3e.system.entry.js} +1 -1
- package/dist/mint-components/p-9a13cb78.system.entry.js +1 -0
- package/dist/mint-components/{p-d949b099.entry.js → p-9cdf8d74.entry.js} +1 -1
- package/dist/mint-components/{p-d27b326c.js → p-9d9da716.js} +1 -1
- package/dist/mint-components/{p-eb3278aa.js → p-a59be693.js} +1 -1
- package/dist/mint-components/{p-3ad5761c.entry.js → p-a7451d8c.entry.js} +1 -1
- package/dist/mint-components/p-b27a0503.system.entry.js +1 -0
- package/dist/mint-components/p-b6b28b95.js +1 -0
- package/dist/mint-components/{p-65aac49a.entry.js → p-bd037777.entry.js} +1 -1
- package/dist/mint-components/{p-6c69d3d5.entry.js → p-bf021a55.entry.js} +1 -1
- package/dist/mint-components/p-bfd347b4.js +1 -0
- package/dist/mint-components/p-bfecc81e.system.js +1 -0
- package/dist/mint-components/p-c0f82fc7.system.entry.js +1 -0
- package/dist/mint-components/p-c1e7a6c3.entry.js +1 -0
- package/dist/mint-components/p-c2c3d7fd.entry.js +1 -0
- package/dist/mint-components/{p-e74525d9.system.entry.js → p-c3765ad9.system.entry.js} +1 -1
- package/dist/mint-components/{p-91b1dd5f.system.entry.js → p-c3777cf3.system.entry.js} +1 -1
- package/dist/mint-components/{p-d483347f.system.entry.js → p-c4b6454d.system.entry.js} +1 -1
- package/dist/mint-components/p-d16b1f37.entry.js +1 -0
- package/dist/mint-components/{p-de9716b9.entry.js → p-d6c78b10.entry.js} +2 -2
- package/dist/mint-components/p-de055c6b.system.js +1 -0
- package/dist/mint-components/{p-cfb400c5.entry.js → p-e633ae08.entry.js} +1 -1
- package/dist/mint-components/{p-9957d667.system.js → p-eb25d055.system.js} +1 -1
- package/dist/mint-components/p-ef3e1cb8.system.js +1 -0
- package/dist/mint-components/{p-1069832a.entry.js → p-f27766d6.entry.js} +1 -1
- package/dist/mint-components/{p-911f8910.system.js → p-f8d9e861.system.js} +1 -1
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +3 -3
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +3 -3
- package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +0 -7
- package/dist/types/components/sqm-portal-footer/PortalFooter.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +4 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +0 -7
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +3 -3
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +3 -3
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +10 -3
- package/dist/types/components/sqm-user-identifier/useUserIdentifer.d.ts +3 -0
- package/dist/types/components/views/EmailRegistration.stories.d.ts +2 -0
- package/dist/types/components/views/copy-text-view.d.ts +1 -1
- package/dist/types/components.d.ts +36 -42
- 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/esm-es5/ShadowViewAddon-ca765d5e.js +0 -1
- package/dist/esm-es5/index.module-787e5d35.js +0 -1
- package/dist/esm-es5/sqm-user-identifier-view-379c773f.js +0 -1
- package/dist/mint-components/p-19cecf43.entry.js +0 -1
- package/dist/mint-components/p-27c9d3be.system.entry.js +0 -1
- package/dist/mint-components/p-3282f52a.entry.js +0 -1
- package/dist/mint-components/p-35b9bb54.entry.js +0 -1
- package/dist/mint-components/p-4359f515.system.js +0 -1
- package/dist/mint-components/p-5333d935.entry.js +0 -1
- package/dist/mint-components/p-5377e1c5.system.entry.js +0 -1
- package/dist/mint-components/p-545e2df1.entry.js +0 -1
- package/dist/mint-components/p-5938e109.js +0 -1
- package/dist/mint-components/p-5deb8687.system.entry.js +0 -1
- package/dist/mint-components/p-788fd322.system.js +0 -1
- package/dist/mint-components/p-7ed639bc.js +0 -1
- package/dist/mint-components/p-883169ad.entry.js +0 -1
- package/dist/mint-components/p-8caf0121.system.entry.js +0 -1
- package/dist/mint-components/p-9e8ea69d.system.js +0 -1
- package/dist/mint-components/p-c0685957.js +0 -1
- package/dist/mint-components/p-cce7f6ea.js +0 -1
- package/dist/mint-components/p-e0167571.js +0 -1
- package/dist/mint-components/p-e41a853f.system.entry.js +0 -1
- package/dist/mint-components/p-e869887b.system.entry.js +0 -1
- package/dist/mint-components/p-f87b1e0b.system.js +0 -1
- package/dist/mint-components/p-fd90e9db.entry.js +0 -9
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
2
|
import { a as commonjsGlobal, k as useMemo, i as useState, u as useEffect, c as createCommonjsModule, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
-
import './global-
|
|
3
|
+
import './global-170c4499.js';
|
|
4
4
|
import './use-callback-051c06c6.js';
|
|
5
|
-
import { g as gn, c as mn, e as setUserIdentity, d as dist, z as ze, o as setProgramId } from './index.module-
|
|
5
|
+
import { g as gn, c as mn, e as setUserIdentity, d as dist, z as ze, o as setProgramId } from './index.module-0ba0774e.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-266126f9.js';
|
|
10
|
-
import './useChildElements-
|
|
10
|
+
import './useChildElements-fd458906.js';
|
|
11
11
|
import { l as luxon } from './luxon-1e38d7f1.js';
|
|
12
12
|
import './utils-334c1e34.js';
|
|
13
13
|
import './sqm-text-span-view-2f7d6d14.js';
|
|
@@ -16,16 +16,16 @@ import { H as HeroView } from './sqm-hero-view-875c927d.js';
|
|
|
16
16
|
import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
|
|
17
17
|
import { L as LinkButtonView } from './sqm-link-button-view-8d9ad936.js';
|
|
18
18
|
import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-feb719ce.js';
|
|
19
|
-
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-
|
|
19
|
+
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-5a4ac267.js';
|
|
20
20
|
import { E as EmailRegistrationView } from './email-registration-view-0ed79e24.js';
|
|
21
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
21
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-889fcc01.js';
|
|
22
22
|
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-9970dee2.js';
|
|
23
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
23
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-ac955752.js';
|
|
24
24
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-1f0f3bf8.js';
|
|
25
25
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-8d453021.js';
|
|
26
|
-
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, h as PoweredByImg$1, i as PortalFooterView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, H as rewardExchange, J as CardFeedView, K as autoColorScaleCss, M as ShadowViewAddon } from './ShadowViewAddon-
|
|
26
|
+
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, h as PoweredByImg$1, i as PortalFooterView, R as ReferralIframeView, N as NameFieldsView, j as CheckboxFieldView, D as DropdownFieldView, I as InputFieldView, k as RewardExchangeView, r as rewardExchangeCustomErrorMsg, l as rewardExchangeLongText, m as rewardExchangeSelected, n as chooseAmountFixed, o as chooseAmountFixedNoDescription, p as chooseAmountVariable, q as chooseAmountVariableNoDescription, s as chooseAmountVariableDisabled, t as chooseAmountVariableUnavailable, v as confirmFixed, w as confirmVariable, x as redemptionError, y as queryError, z as success, A as successVariable, F as loading, G as empty$1, H as rewardExchange, J as CardFeedView, K as autoColorScaleCss, M as ShadowViewAddon } from './ShadowViewAddon-751a6b84.js';
|
|
27
27
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-83b417f0.js';
|
|
28
|
-
import { U as UserIdentifierView } from './sqm-user-identifier-view-
|
|
28
|
+
import { U as UserIdentifierView } from './sqm-user-identifier-view-dbf71a5e.js';
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1670,7 +1670,7 @@ const CopyButtonInside = () => {
|
|
|
1670
1670
|
copyString: "https://noah.example.com",
|
|
1671
1671
|
open: false,
|
|
1672
1672
|
tooltiptext: "Copied!",
|
|
1673
|
-
|
|
1673
|
+
buttonPosition: "inside",
|
|
1674
1674
|
isCopyIcon: false,
|
|
1675
1675
|
})));
|
|
1676
1676
|
};
|
|
@@ -3869,13 +3869,13 @@ const monoWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\
|
|
|
3869
3869
|
|
|
3870
3870
|
const loyaltyWidget = "<sqm-brand brand-color=\"#4225c4\" brand-font=\"Nunito Sans\">\n <sqm-portal-container\n direction=\"column\"\n padding=\"small\"\n gap=\"xxxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-hero-image\n image-url=\"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\"\n header=\"MyCompany Rewards\"\n description=\"Complete tasks to earn rewards\"\n layout=\"overlay\"\n padding-image=\"xxxx-large\"\n padding-text=\"xxx-large\"\n image-pos=\"center\"\n overlay-color=\"#5e5669\"\n overlay-opacity=\"0.9\"\n >\n </sqm-hero-image>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xxx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-program-explainer header=\"How it works\">\n <sqm-program-explainer-step\n description=\"Complete tasks like uploading your first video or sharing videos with friends\"\n header=\"Earn points for using our product\"\n icon=\"cash-stack\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n <sqm-program-explainer-step\n description=\"Redeem rewards like one free month of Enterprise or two plane tickets to anywhere in North America\"\n header=\"Redeem rewards with your points\"\n icon=\"people\"\n text-color=\"#000000\"\n >\n </sqm-program-explainer-step>\n </sqm-program-explainer>\n <sqm-portal-container\n center\n direction=\"row\"\n display=\"flex\"\n justify-content=\"space-between\"\n gap=\"xxx-large\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-stat-container space=\"xxx-large\" display=\"flex\">\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsRedeemed/CREDIT/POINTS\"\n >\n <p>Points Redeemed</p>\n </sqm-big-stat>\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/POINT/value/global\"\n >\n <p>Points Balance</p>\n </sqm-big-stat>\n </sqm-stat-container>\n </sqm-portal-container>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n display=\"grid\"\n max-width=\"100%\"\n >\n <sqm-titled-section\n label-margin=\"small\"\n padding=\"none\"\n text-align=\"center\"\n >\n <h3 slot=\"label\">Earn points</h3>\n </sqm-titled-section>\n <sqm-card-feed gap=\"24\" width=\"347\">\n <sqm-task-card\n reward-amount=\"20\"\n goal=\"1\"\n card-title=\"Complete a Survey\"\n description=\"Fill out our NPS survey and get 20 points for giving us honest feedback.\"\n button-text=\"Take survey\"\n reward-unit=\"Points\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"250\"\n goal=\"500\"\n show-progress-bar\n card-title=\"Spend $500\"\n description=\"Earn 250 points when you spend $500 or more.\"\n button-text=\"See plans\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n progress-bar-unit=\"$\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n goal=\"1\"\n reward-amount=\"50\"\n card-title=\"Follow Us on Twitter\"\n description=\"Earn 50 points when you follow us on Twitter!\"\n button-text=\"Follow\"\n button-link=\"https://twitter.com/\"\n open-new-tab=\"true\"\n event-key=\"socialFollow\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n finite=\"0\"\n reward-unit=\"Points\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n <sqm-task-card\n reward-amount=\"1\"\n reward-unit=\"Free Month\"\n goal=\"1\"\n card-title=\"Upgrade Your Plan\"\n description=\"Receive one free month for being a committed customer when you upgrade your plan.\"\n button-text=\"Upgrade\"\n completed-text=\"Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}\"\n ended-message=\"Ended {endDate}\"\n expiry-message=\"Ends {endDate}\"\n open-new-tab=\"false\"\n finite=\"0\"\n starts-on-message=\"Starts {startDate}\"\n >\n </sqm-task-card>\n </sqm-card-feed>\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-titled-section\n padding=\"none\"\n text-align=\"center\"\n label-margin=\"xx-small\"\n >\n <h3 slot=\"label\">Reward History</h3>\n </sqm-titled-section>\n <sqm-rewards-table\n per-page=\"4\"\n hidden-columns=\"0\"\n more-label=\"Next\"\n prev-label=\"Prev\"\n sm-breakpoint=\"599\"\n md-breakpoint=\"799\"\n >\n <sqm-rewards-table-reward-column\n available-text=\"{availableAmount} remaining\"\n column-title=\"Reward\"\n copy-text=\"Copied!\"\n redeemed-text=\"{redeemedAmount} redeemed\"\n >\n </sqm-rewards-table-reward-column>\n <sqm-rewards-table-source-column\n anonymous-user=\"Anonymous User\"\n column-title=\"Source\"\n deleted-user=\"Deleted User\"\n referral-text=\"{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}\"\n reward-exchange-text=\"Reward Exchange\"\n reward-source-text=\"{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}\"\n >\n </sqm-rewards-table-source-column>\n <sqm-rewards-table-status-column\n column-title=\"Status\"\n expiry-text=\"Expires on \"\n status-text=\"{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }\"\n >\n </sqm-rewards-table-status-column>\n <sqm-rewards-table-date-column\n column-title=\"Date received\"\n date-shown=\"dateGiven\"\n >\n </sqm-rewards-table-date-column>\n <sqm-empty\n slot=\"empty\"\n empty-state-image=\"https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png\"\n empty-state-header=\"View your rewards\"\n empty-state-text=\"Refer friends and complete tasks to view the details of your rewards\"\n >\n </sqm-empty>\n </sqm-rewards-table>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-footer\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-portal-container>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3871
3871
|
|
|
3872
|
-
const passwordlessReferrerPersonalized = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and\n you’ll get up to $1200\n </p>\n </sqm-titled-section>\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p
|
|
3872
|
+
const passwordlessReferrerPersonalized = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"header\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and\n you’ll get up to $1200\n </p>\n </sqm-titled-section>\n <sqm-portal-container\n gap=\"large\"\n slot=\"left\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>How to get rewarded!</p>\n <sqm-timeline icon=\"circle\">\n <sqm-timeline-entry\n reward=\"$50\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases a Business plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$200\"\n unit=\"visa giftcard\"\n desc=\"Our sales team qualifies your friend as a good fit for our Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n <sqm-timeline-entry\n reward=\"$1000\"\n unit=\"visa giftcard\"\n desc=\"Your friend purchases an Enterprise plan\"\n icon=\"circle\"\n >\n </sqm-timeline-entry>\n </sqm-timeline>\n </sqm-portal-container>\n <sqm-portal-container\n gap=\"large\"\n slot=\"right\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <p>Choose how you want to share:</p>\n <p><sub>Your unique referral link:</sub></p>\n <sqm-share-link\n tooltip-text=\"Copied to Clipboard\"\n tooltip-lifespan=\"1000\"\n >\n </sqm-share-link>\n <sqm-portal-container\n gap=\"x-small\"\n direction=\"column\"\n display=\"grid\"\n max-width=\"100%\"\n padding=\"none\"\n >\n <sqm-share-button\n medium=\"email\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share via email\n </sqm-share-button>\n <sqm-share-button\n medium=\"linkedin\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Share on LinkedIn\n </sqm-share-button>\n <sqm-share-button\n medium=\"twitter\"\n icon-slot=\"prefix\"\n size=\"medium\"\n type=\"default\"\n >\n Tweet about us\n </sqm-share-button>\n </sqm-portal-container>\n </sqm-portal-container>\n <sqm-portal-container\n slot=\"footer\"\n direction=\"column\"\n gap=\"small\"\n justify-content=\"center\"\n display=\"flex\"\n padding=\"large\"\n >\n <sqm-user-identifier\n switch-user-link=\"https://www.example.com\"\n ></sqm-user-identifier\n ><sqm-portal-footer\n padding-top=\"0\"\n padding-bottom=\"0\"\n padding-left=\"0\"\n padding-right=\"0\"\n ></sqm-portal-footer>\n </sqm-portal-container>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3873
3873
|
|
|
3874
|
-
const passwordlessReferrerRegistration = "<sqm-brand>\n <sqm-passwordless-registration include-name=\"true\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and\n you’ll get up to $1200\n </p>\n </sqm-titled-section>\n\n <sqm-portal-footer\n support-
|
|
3874
|
+
const passwordlessReferrerRegistration = "<sqm-brand>\n <sqm-passwordless-registration include-name=\"true\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">Share $50 with friends</h3>\n <p slot=\"content\">\n They’ll get a $50 credit towards a new account and\n you’ll get up to $1200\n </p>\n </sqm-titled-section>\n\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n slot=\"bottom-slot\"\n ></sqm-portal-footer>\n </sqm-passwordless-registration>\n</sqm-brand>\n";
|
|
3875
3875
|
|
|
3876
|
-
const passwordlessReferredPersonalized = "<sqm-brand
|
|
3876
|
+
const passwordlessReferredPersonalized = "<sqm-brand>\n <sqm-portal-container\n direction=\"column\"\n padding=\"none\"\n gap=\"xx-large\"\n max-width=\"770px\"\n center\n display=\"grid\"\n >\n <sqm-referral-card vertical-alignment=\"start\">\n <sqm-portal-container\n gap=\"large\"\n direction=\"column\"\n display=\"flex\"\n justify-content=\"center\"\n max-width=\"100%\"\n padding=\"none\"\n slot=\"header\"\n >\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n\n <p slot=\"content\">\n Description about sharing the products wiht friends will make your\n life 100 times better!\n </p>\n </sqm-titled-section>\n\n <sqm-portal-container>\n <p>\n The coupon code has some conditions that are described concisely in\n this paragraph so that you don’t get upset if the code doesn’t work\n </p></sqm-portal-container\n >\n\n <sqm-coupon-code></sqm-coupon-code>\n </sqm-portal-container>\n\n <sqm-portal-footer\n slot=\"footer\"\n padding-top=\"0\"\n padding-bottom=\"0\"\n padding-left=\"0\"\n padding-right=\"0\"\n ></sqm-portal-footer>\n </sqm-referral-card>\n </sqm-portal-container>\n</sqm-brand>\n";
|
|
3877
3877
|
|
|
3878
|
-
const passwordlessReferredRegistration = "<sqm-brand>\n <sqm-referred-registration\n
|
|
3878
|
+
const passwordlessReferredRegistration = "<sqm-brand>\n <sqm-referred-registration register-label=\"Get $50 off\">\n <sqm-titled-section\n text-align=\"center\"\n label-margin=\"xxx-small\"\n padding=\"none\"\n slot=\"top-slot\"\n >\n <h3 slot=\"label\">You got $50 off thanks to a friend!</h3>\n <p slot=\"content\">\n Description about sharing the products with friends will make your life\n 100 times better!\n </p>\n </sqm-titled-section>\n\n <div slot=\"bottom-slot\">\n <p style=\"text-align: center; margin-top: 0; margin-bottom: 1.5rem\">\n *Valid on purchases of $75 or more\n </p>\n <sqm-portal-footer\n hide-support-text=\"true\"\n terms-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n padding-bottom=\"none\"\n padding-left=\"none\"\n padding-right=\"none\"\n padding-top=\"none\"\n ></sqm-portal-footer>\n </div>\n </sqm-referred-registration>\n</sqm-brand>\n";
|
|
3879
3879
|
|
|
3880
3880
|
const portalTemplate = "<sqm-portal-frame>\n <a slot=\"header\" href=\"/\">\n <sqm-text style=\"height: 60px\">\n <img\n style=\"height: 60px\"\n src=\"https://res.cloudinary.com/saasquatch/image/upload/v1634255445/squatch-assets/Copy_of_saasquatch-logo-tree-large-horizontal.png\"\n />\n </sqm-text>\n </a>\n <sqb-program-section program-id=\"referral-program\">\n <sqm-router>\n <template\n path=\"/:path(\\bregister\\b|\\bemailVerification\\b|\\blogin\\b|\\bverifyEmail\\b|\\bforgotPassword\\b|\\bresetPassword\\b|\\blogout\\b)\"\n >\n <sqm-hero\n background=\"https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80\"\n >\n <sqm-router>\n <template path=\"/register\">\n <sqm-portal-register>\n <sqm-name-fields slot=\"formData\"></sqm-name-fields>\n </sqm-portal-register>\n </template>\n\n <template path=\"/emailVerification\">\n <sqm-portal-protected-route\n redirect-to=\"/login\"\n ></sqm-portal-protected-route>\n <sqm-portal-email-verification></sqm-portal-email-verification>\n </template>\n\n <template path=\"/login\">\n <sqm-portal-login></sqm-portal-login>\n </template>\n\n <template path=\"/verifyEmail\">\n <sqm-portal-verify-email></sqm-portal-verify-email>\n </template>\n\n <template path=\"/forgotPassword\">\n <sqm-portal-forgot-password\n email-label=\"Business Email\"\n ></sqm-portal-forgot-password>\n </template>\n\n <template path=\"/resetPassword\">\n <sqm-portal-reset-password\n confirm-password=\"true\"\n ></sqm-portal-reset-password>\n </template>\n <template path=\"/logout\">\n <sqm-portal-logout next-page=\"/login\"></sqm-portal-logout>\n </template>\n </sqm-router>\n </sqm-hero>\n </template>\n </sqm-router>\n <sqm-router>\n <template path=\"/:path(\\bactivity\\b|\\beditProfile\\b)?\">\n <sqm-divided-layout\n direction=\"row\"\n style=\"\n border-top: 1px solid #eaeaea;\n border-bottom: 1px solid #eaeaea;\n \"\n >\n <sqm-navigation-sidebar>\n <sqm-navigation-sidebar-item\n path=\"/\"\n icon=\"house\"\n label=\"Dashboard\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/activity\"\n icon=\"bar-chart\"\n label=\"Activity\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/editProfile\"\n icon=\"person\"\n label=\"Edit Profile\"\n ></sqm-navigation-sidebar-item>\n <sqm-navigation-sidebar-item\n path=\"/logout\"\n icon=\"box-arrow-right\"\n label=\"Logout\"\n ></sqm-navigation-sidebar-item>\n </sqm-navigation-sidebar>\n <sqm-divided-layout direction=\"column\">\n <sqm-router>\n <template path=\"/\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqb-widget\n widget-type=\"p/referral-program/w/referrerWidget\"\n track-loads=\"true\"\n ></sqb-widget>\n </template>\n <template path=\"/editProfile\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-profile></sqm-portal-profile> </sqm-portal-container\n ><sqm-portal-container direction=\"column\" gap=\"xxx-large\">\n <sqm-portal-change-password></sqm-portal-change-password>\n </sqm-portal-container>\n </template>\n\n <template path=\"/activity\">\n <sqm-portal-protected-route\n require-email-verification=\"true\"\n redirect-to=\"/login\"\n redirect-to-unverified=\"/emailVerification\"\n ></sqm-portal-protected-route>\n <sqm-portal-container\n direction=\"column\"\n padding=\"xxx-large\"\n gap=\"xxx-large\"\n >\n <sqm-text> <h1>Activity</h1></sqm-text>\n <sqm-stat-container space=\"xxxx-large\"\n ><sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/referralsCount\"\n ><sqm-text><p>Referrals</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardsCountFiltered/AVAILABLE\"\n ><sqm-text><p>Rewards Earned</p></sqm-text></sqm-big-stat\n >\n <sqm-big-stat\n flex-reverse=\"true\"\n alignment=\"left\"\n stat-type=\"/rewardBalance/CREDIT/CENTS\"\n ><sqm-text><p>Reward Balance</p></sqm-text></sqm-big-stat\n >\n </sqm-stat-container>\n <sqm-referral-table>\n <sqm-referral-table-user-column></sqm-referral-table-user-column>\n <sqm-referral-table-rewards-column></sqm-referral-table-rewards-column>\n <sqm-referral-table-status-column></sqm-referral-table-status-column>\n <sqm-referral-table-date-column\n column-title=\"Referred\"\n date-shown=\"dateReferralStarted\"\n ></sqm-referral-table-date-column> </sqm-referral-table\n ></sqm-portal-container>\n </template>\n </sqm-router>\n </sqm-divided-layout>\n </sqm-divided-layout>\n </template>\n </sqm-router>\n </sqb-program-section>\n <sqm-portal-footer\n slot=\"footer\"\n support-email=\"support@example.com\"\n terms-link=\"https://example.com\"\n faq-link=\"https://example.com\"\n terms-text=\"Terms And Conditions\"\n faq-text=\"FAQ\"\n show-powered-by=\"true\"\n ></sqm-portal-footer>\n</sqm-portal-frame>\n";
|
|
3881
3881
|
|
|
@@ -9813,7 +9813,7 @@ const PoweredByImg = /*#__PURE__*/Object.freeze({
|
|
|
9813
9813
|
CustomWidthAndHeight: CustomWidthAndHeight
|
|
9814
9814
|
});
|
|
9815
9815
|
|
|
9816
|
-
const scenario$f = "Feature: Portal Footer\n\n Background: A user is viewing the portal\n Given a hosted portal\n And a user is viewing the portal\n And the portal has a footer\n\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\n And prop \"terms-text\" with value \"Terms and Conditions\"\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\n And prop \"faq-text\" with value \"Visit FAQ\"\n When a user clicks on the \"Visit FAQ\" link\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\n When they go back to the portal\n And click on the \"Terms and Conditions\" link\n Then they will be redirected to \"https://example.com/terms\" in a new page\n\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\n Given the footer does not have <linkProp>\n But it <mayHave> <textProp> with <value>\n Then the <link> will not be shown in the footer\n Examples:\n | linkProp | mayHave | textProp | value | link |\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\n | terms-link | doesn't have | | | T&C Link |\n | faq-link | doesn't have | | | FAQ Link |\n\n Scenario Outline: The support email and text is configurable but has a default\n Given the footer <mayHave> <emailPropWithValue>\n And the footer <mayAlsoHave> <textPropWithValue>\n Then the footer's support email text is <renderedEmailText>\n And the email address will be a mailto link with <mailtoEmail>\n When the user clicks on the email address mailto Link\n Then the users preferred email client will open with a draft email to <mailtoEmail>\n Examples:\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\n\n Scenario Outline: Powered by SaaSquatch is shown by default\n Given the footer <mayHaveProp> \"hide-powered-by\" with <value>\n Then the powered by SaaSquatch image <mayBeShown>\n Examples:\n | mayHaveProp | value | mayBeShown |\n | has prop | true | isn't shown |\n | has prop | false | is shown |\n | has prop | test | isn't shown |\n | has prop | | isn't shown |\n | doesn't have prop | | is shown |\n\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\n Given the footer has the powered by SaaSquatch image\n When a user clicks on it\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
|
|
9816
|
+
const scenario$f = "Feature: Portal Footer\n\n Background: A user is viewing the portal\n Given a hosted portal\n And a user is viewing the portal\n And the portal has a footer\n\n Scenario Outline: FAQ and T&C links/text are configurable and open in a new page when clicked\n Given the footer has prop \"terms-link\" with value \"https://example.com/terms\"\n And prop \"terms-text\" with value \"Terms and Conditions\"\n And prop \"faq-link\" with value \"https://example.com/FAQ\"\n And prop \"faq-text\" with value \"Visit FAQ\"\n When a user clicks on the \"Visit FAQ\" link\n Then they will be redirected to \"https://example.com/FAQ\" in a new page\n When they go back to the portal\n And click on the \"Terms and Conditions\" link\n Then they will be redirected to \"https://example.com/terms\" in a new page\n\n Scenario Outline: FAQ/T&C Links are not shown if a link is not provided\n Given the footer does not have <linkProp>\n But it <mayHave> <textProp> with <value>\n Then the <link> will not be shown in the footer\n Examples:\n | linkProp | mayHave | textProp | value | link |\n | terms-link | has | termsText | Terms and Conditions | T&C Link |\n | faq-link | has | faqText | Visit FAQ | FAQ Link |\n | terms-link | doesn't have | | | T&C Link |\n | faq-link | doesn't have | | | FAQ Link |\n\n Scenario Outline: The support email and text is configurable but has a default\n Given the footer <mayHave> <emailPropWithValue>\n And the footer <mayAlsoHave> <textPropWithValue>\n Then the footer's support email text is <renderedEmailText>\n And the email address will be a mailto link with <mailtoEmail>\n When the user clicks on the email address mailto Link\n Then the users preferred email client will open with a draft email to <mailtoEmail>\n Examples:\n | mayHave | emailPropWithValue | mayAlsoHave | textPropWithValue | mailtoEmail | renderedEmailText |\n | has | support@saasquatch.com | has | For support please contact {email} | support@saasquatch.com | For support please contact support@saasquatch.com |\n | doesn't have | N/A | doesn't have | N/A | support@example.com | For program support, contact support@example.com |\n\n Scenario Outline: Powered by SaaSquatch is shown by default\n Given the footer <mayHaveProp> \"hide-powered-by\" with <value>\n Then the powered by SaaSquatch image <mayBeShown>\n Examples:\n | mayHaveProp | value | mayBeShown |\n | has prop | true | isn't shown |\n | has prop | false | is shown |\n | has prop | test | isn't shown |\n | has prop | | isn't shown |\n | doesn't have prop | | is shown |\n\n Scenario Outline: Support text is shown by default\n Given the footer <mayHaveProp> \"hide-support-text\" with <value>\n Then the support text <mayBeShown>\n Examples:\n | mayHaveProp | value | mayBeShown |\n | has prop | true | isn't shown |\n | has prop | false | is shown |\n | has prop | test | isn't shown |\n | has prop | | isn't shown |\n | doesn't have prop | | is shown |\n\n Scenario: Powered By Saasquatch links out to \"https://saasquatch.com\"\n Given the footer has the powered by SaaSquatch image\n When a user clicks on it\n Then they will be redirected to \"https://saasquatch.com\" in a new page";
|
|
9817
9817
|
|
|
9818
9818
|
const PortalFooter_stories = {
|
|
9819
9819
|
title: "Components/Portal Footer",
|
|
@@ -9836,6 +9836,7 @@ const FooterWithTerms = () => (h(PortalFooterView, Object.assign({}, defaultProp
|
|
|
9836
9836
|
const FooterWithFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9837
9837
|
const FooterWithTermsAndFAQ = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ" })));
|
|
9838
9838
|
const FooterNoPoweredBy = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hidePoweredBy: true })));
|
|
9839
|
+
const FooterNoSupportText = () => (h(PortalFooterView, Object.assign({}, defaultProps$9, { termsLink: "https://example.com", termsText: "Terms and Conditions", faqLink: "https://example.com", faqText: "FAQ", hideSupportText: true })));
|
|
9839
9840
|
|
|
9840
9841
|
const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
9841
9842
|
__proto__: null,
|
|
@@ -9844,7 +9845,8 @@ const PortalFooter = /*#__PURE__*/Object.freeze({
|
|
|
9844
9845
|
FooterWithTerms: FooterWithTerms,
|
|
9845
9846
|
FooterWithFAQ: FooterWithFAQ,
|
|
9846
9847
|
FooterWithTermsAndFAQ: FooterWithTermsAndFAQ,
|
|
9847
|
-
FooterNoPoweredBy: FooterNoPoweredBy
|
|
9848
|
+
FooterNoPoweredBy: FooterNoPoweredBy,
|
|
9849
|
+
FooterNoSupportText: FooterNoSupportText
|
|
9848
9850
|
});
|
|
9849
9851
|
|
|
9850
9852
|
const scenario$g = "Feature: Hero Unit\n\n Background: A portal with a hero unit exists\n Given a hosted portal\n And the portal has hero unit on the login page\n And a user is viewing the login page\n\n Scenario: The hero unit defaults to a single column layout\n Given a hero unit does not have a \"columns\" prop\n But the following html is wrapped by the hero unit\n \"\"\"\n <sqm-portal-login></sqm-portal-login>\n <div slot=\"secondary-column\">\n <h1 style=\"text-align:center\">Get Referring!</h1>\n <p style=\"text-align:center\">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do\n eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\n ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n aliquip ex ea commodo consequat. Duis aute irure dolor in\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\n pariatur.\n </p>\n </div>\n \"\"\"\n Then only a single column will be displayed\n And within it will be the login component\n\n Scenario Outline: The hero unit supports single or dual column layouts\n Given a hero unit with prop \"columns\" having <columnValue>\n And it wraps <html>\n Then the hero unit displays <columnValue> columns\n Examples:\n | columnValue | html |\n | 1 | <h1>Column 1!</h1> |\n | 2 | <h1>Column 1!</h1><div slot=\"secondary-column\"><h1 style=\"text-align:center\">Column 2!</h1></div> |\n\n Scenario: HTML to be displayed in the second column comes from the \"secondary-column\" slot\n Given a hero unit with \"columns\" \"2\"\n And the following html\n \"\"\"\n <h1>Column 1!</h1>\n <div>\n <h1 style=\"text-align:center\">Column 2!</h1>\n </div>\n \"\"\"\n When the hero unit is rendered\n Then only one column is displayed with content\n And column 1 will contain the \"Column 1!\" text\n And column 1 will contain the \"Column 2!\" text\n When the div for column two is updated to have 'slot=\"secondary-column\"'\n Then the two columns are displayed with content\n And column 1 will contain the \"Column 1!\" text\n And column 2 will contain the \"Column 2!\" text\n\n Scenario Outline: A background for the hero unit can be set as an image or colour\n Given a hero unit with <backgroundPropValue>\n Then the background will be <background>\n Examples:\n | background | background |\n | https://images.unsplash.com/photo-1599676821464-3555954838d | image of misty mountains |\n | LightSlateGrey | light slate grey |\n | #00FF00 | green |\n | rgb(128,0,128) | purple |\n\n Scenario Outline: Wrap Direction can be configured for mobile experiences\n Given a hero unit with the following HTML\n \"\"\"\n <h1>Column 1!</h1>\n <div slot=\"secondary-column\">\n <h1 style=\"text-align:center\">Column 2!</h1>\n </div>\n \"\"\"\n And prop \"wrap-direction\" has <value>\n When the window width is less than 600px\n Then the two columns will stack\n And <column> will be on top\n Examples:\n | value | column |\n | wrap | 1 |\n | wrap-reverse | 2 |\n | | 1 |";
|
|
@@ -13015,7 +13017,7 @@ const CopyButtonInside$1 = () => {
|
|
|
13015
13017
|
copyString: "https://noah.example.com",
|
|
13016
13018
|
open: false,
|
|
13017
13019
|
tooltiptext: "Copied!",
|
|
13018
|
-
|
|
13020
|
+
buttonPosition: "inside",
|
|
13019
13021
|
isCopyIcon: false,
|
|
13020
13022
|
})));
|
|
13021
13023
|
};
|
|
@@ -13060,13 +13062,29 @@ const WithSlots = () => (h(EmailRegistrationView, Object.assign({}, defaultProps
|
|
|
13060
13062
|
bottomSlot: h("div", null, "Hello this is the bottom slot"),
|
|
13061
13063
|
},
|
|
13062
13064
|
})));
|
|
13065
|
+
const Loading$4 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13066
|
+
...defaultProps$d,
|
|
13067
|
+
states: {
|
|
13068
|
+
error: "",
|
|
13069
|
+
loading: true,
|
|
13070
|
+
},
|
|
13071
|
+
})));
|
|
13072
|
+
const Error$6 = () => (h(EmailRegistrationView, Object.assign({}, {
|
|
13073
|
+
...defaultProps$d,
|
|
13074
|
+
states: {
|
|
13075
|
+
error: "Something went wrong. Please try again.",
|
|
13076
|
+
loading: false,
|
|
13077
|
+
},
|
|
13078
|
+
})));
|
|
13063
13079
|
|
|
13064
13080
|
const EmailRegistration = /*#__PURE__*/Object.freeze({
|
|
13065
13081
|
__proto__: null,
|
|
13066
13082
|
'default': EmailRegistration_stories,
|
|
13067
13083
|
Default: Default$e,
|
|
13068
13084
|
HasFirstNameLastName: HasFirstNameLastName,
|
|
13069
|
-
WithSlots: WithSlots
|
|
13085
|
+
WithSlots: WithSlots,
|
|
13086
|
+
Loading: Loading$4,
|
|
13087
|
+
Error: Error$6
|
|
13070
13088
|
});
|
|
13071
13089
|
|
|
13072
13090
|
const CouponCode_stories = {
|
|
@@ -13094,7 +13112,10 @@ const CopyButton$2 = () => {
|
|
|
13094
13112
|
return h("sqm-coupon-code", { isCopyIcon: false });
|
|
13095
13113
|
};
|
|
13096
13114
|
const CopyButtonInside$2 = () => {
|
|
13097
|
-
return (h(CopyTextView, Object.assign({}, defaultProps$e, {
|
|
13115
|
+
return (h(CopyTextView, Object.assign({}, defaultProps$e, { buttonPosition: "inside", isCopyIcon: false })));
|
|
13116
|
+
};
|
|
13117
|
+
const CopyButtonBelow = () => {
|
|
13118
|
+
return (h(CopyTextView, Object.assign({}, defaultProps$e, { buttonPosition: "below", isCopyIcon: false })));
|
|
13098
13119
|
};
|
|
13099
13120
|
const CustomTooltipDuration$1 = () => {
|
|
13100
13121
|
return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
@@ -13108,10 +13129,11 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
13108
13129
|
TextAlignCenter: TextAlignCenter$2,
|
|
13109
13130
|
CopyButton: CopyButton$2,
|
|
13110
13131
|
CopyButtonInside: CopyButtonInside$2,
|
|
13132
|
+
CopyButtonBelow: CopyButtonBelow,
|
|
13111
13133
|
CustomTooltipDuration: CustomTooltipDuration$1
|
|
13112
13134
|
});
|
|
13113
13135
|
|
|
13114
|
-
const scenario$A = "@author:noah\n@owner:noah\n\nFeature: User Identifier\n\n\
|
|
13136
|
+
const scenario$A = "@author:noah\n@owner:noah\n\nFeature: User Identifier\n\n\tScenario: A user on a passwordless widget\n\t\tGiven a user viewing a passwordless widget\n\t\tAnd the user is identified\n\t\tAnd the user is not logged in\n\t\tThen the component identifies the user by email\n\n\tScenario: Users can switch who they are identified as through a link\n\t\tGiven a user viewing a passwordless widget\n\t\tAnd the user is identified\n\t\tAnd the user is not logged in\n\t\tWhen the user clicks the link in the component\n\t\tThen they are sent back to the registration form to re-identify themselves";
|
|
13115
13137
|
|
|
13116
13138
|
const UserIdentifier_stories = {
|
|
13117
13139
|
title: "Components/User Identifier",
|
|
@@ -13134,10 +13156,10 @@ const UserIdentifier = /*#__PURE__*/Object.freeze({
|
|
|
13134
13156
|
Default: Default$f
|
|
13135
13157
|
});
|
|
13136
13158
|
|
|
13137
|
-
const scenario$B = "@author:noah\n@owner:noah\n\nFeature:
|
|
13159
|
+
const scenario$B = "@author:noah\n@owner:noah\n\nFeature: Link Button\n\n\tScenario: When a user clicks the button a link open\n\t\tWhen a user clicks the button\n\t\tThen a link opens\n\t\tAnd if `openInNewTab` is set to true then the link opens in a new tab";
|
|
13138
13160
|
|
|
13139
13161
|
const LinkButton_stories = {
|
|
13140
|
-
title: "Components/
|
|
13162
|
+
title: "Components/Link Button",
|
|
13141
13163
|
parameters: {
|
|
13142
13164
|
scenario: scenario$B,
|
|
13143
13165
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
2
|
import { m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
import './use-callback-051c06c6.js';
|
|
4
|
-
import './index.module-
|
|
5
|
-
import { a as useRequestRerender } from './re-render-
|
|
4
|
+
import './index.module-0ba0774e.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-22de5b23.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
2
|
import { l, k as useMemo, u as useEffect, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
import './use-callback-051c06c6.js';
|
|
4
|
-
import { R } from './index.module-
|
|
5
|
-
import { u as useRerenderListener } from './re-render-
|
|
6
|
-
import { u as useChildElements } from './useChildElements-
|
|
4
|
+
import { R } from './index.module-0ba0774e.js';
|
|
5
|
+
import { u as useRerenderListener } from './re-render-22de5b23.js';
|
|
6
|
+
import { u as useChildElements } from './useChildElements-fd458906.js';
|
|
7
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
8
8
|
|
|
9
9
|
const TabsView = ({ content, placement, }) => {
|
package/dist/esm/{sqm-user-identifier-view-379c773f.js → sqm-user-identifier-view-dbf71a5e.js}
RENAMED
|
@@ -2,7 +2,14 @@ import { h } from './index-17b4da69.js';
|
|
|
2
2
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
3
3
|
|
|
4
4
|
const style = {
|
|
5
|
-
Container: {},
|
|
5
|
+
Container: { color: "var(--sl-color-neutral-600)" },
|
|
6
|
+
Link: {
|
|
7
|
+
textDecoration: "none",
|
|
8
|
+
color: "var(--sl-color-primary-700)",
|
|
9
|
+
"&:hover": {
|
|
10
|
+
color: "var(--sl-color-primary-800)",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
6
13
|
};
|
|
7
14
|
const vanillaStyle = `
|
|
8
15
|
:host{
|
|
@@ -13,13 +20,13 @@ const sheet = createStyleSheet(style);
|
|
|
13
20
|
const styleString = sheet.toString();
|
|
14
21
|
function UserIdentifierView(props) {
|
|
15
22
|
const { userIdentificationText, switchUserLink, switchUserText } = props;
|
|
16
|
-
return (h("span", { class: sheet.classes.Container },
|
|
23
|
+
return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
|
|
17
24
|
h("style", { type: "text/css" },
|
|
18
25
|
styleString,
|
|
19
26
|
vanillaStyle),
|
|
20
27
|
userIdentificationText,
|
|
21
28
|
" (",
|
|
22
|
-
h("a", { href: switchUserLink }, switchUserText),
|
|
29
|
+
h("a", { class: sheet.classes.Link, href: switchUserLink, part: "sqm-link" }, switchUserText),
|
|
23
30
|
")"));
|
|
24
31
|
}
|
|
25
32
|
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-17b4da69.js';
|
|
2
|
+
import './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { i as isDemo } from './index.module-0ba0774e.js';
|
|
5
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
2
6
|
import './JSS-67b5cff8.js';
|
|
3
|
-
import {
|
|
4
|
-
import { U as UserIdentifierView } from './sqm-user-identifier-view-379c773f.js';
|
|
7
|
+
import { U as UserIdentifierView } from './sqm-user-identifier-view-dbf71a5e.js';
|
|
5
8
|
|
|
6
|
-
|
|
9
|
+
function useUserIdentifier(props) {
|
|
10
|
+
return {
|
|
11
|
+
switchUserLink: props.switchUserLink,
|
|
12
|
+
userIdentificationText: "",
|
|
13
|
+
switchUserText: "",
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const UserIdentifier = class {
|
|
7
18
|
constructor(hostRef) {
|
|
8
19
|
registerInstance(this, hostRef);
|
|
9
20
|
/**
|
|
@@ -18,8 +29,20 @@ const Image = class {
|
|
|
18
29
|
this.switchUserText = "not you?";
|
|
19
30
|
}
|
|
20
31
|
render() {
|
|
21
|
-
|
|
32
|
+
const props = isDemo()
|
|
33
|
+
? useDemoUserIdentifier(this)
|
|
34
|
+
: useUserIdentifier(this);
|
|
35
|
+
return h(UserIdentifierView, Object.assign({}, props));
|
|
22
36
|
}
|
|
23
37
|
};
|
|
38
|
+
function useDemoUserIdentifier(props) {
|
|
39
|
+
const switchUserLink = "https://example.com";
|
|
40
|
+
const userIdentificationText = "user@example.com";
|
|
41
|
+
return cjs({
|
|
42
|
+
switchUserLink,
|
|
43
|
+
userIdentificationText,
|
|
44
|
+
switchUserText: props.switchUserText,
|
|
45
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
46
|
+
}
|
|
24
47
|
|
|
25
|
-
export {
|
|
48
|
+
export { UserIdentifier as sqm_user_identifier };
|
package/dist/esm/{usePasswordlessRegistration-2381025b.js → usePasswordlessRegistration-ad9a05d5.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as useState } from './stencil-hooks.module-b48b45ec.js';
|
|
2
|
-
import { j as sn } from './index.module-
|
|
2
|
+
import { j as sn } from './index.module-0ba0774e.js';
|
|
3
3
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
4
4
|
|
|
5
5
|
function usePasswordlessRegistration() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { b as browser, f as useReducer, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
-
import { d as dist, W, O, x, f as fn, h as hn } from './index.module-
|
|
4
|
-
import { u as useRerenderListener } from './re-render-
|
|
5
|
-
import { u as useChildElements } from './useChildElements-
|
|
3
|
+
import { d as dist, W, O, x, f as fn, h as hn } from './index.module-0ba0774e.js';
|
|
4
|
+
import { u as useRerenderListener } from './re-render-22de5b23.js';
|
|
5
|
+
import { u as useChildElements } from './useChildElements-fd458906.js';
|
|
6
6
|
import { l as luxon } from './luxon-1e38d7f1.js';
|
|
7
7
|
|
|
8
8
|
const mockRewardData = (count = 4) => {
|
package/dist/esm/{useRegistrationFormState-3c2c2f1b.js → useRegistrationFormState-29e30121.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y } from './stencil-hooks.module-b48b45ec.js';
|
|
2
|
-
import { R } from './index.module-
|
|
2
|
+
import { R } from './index.module-0ba0774e.js';
|
|
3
3
|
|
|
4
4
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
5
5
|
function useRegistrationFormState(formState) {
|