@saasquatch/mint-components 1.6.8-0 → 1.6.8-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-9271483b.js → GenericTableView-380b83e2.js} +7 -2
- package/dist/cjs/{ShadowViewAddon-2d3ef919.js → ShadowViewAddon-7a412c0b.js} +139 -57
- package/dist/cjs/{sqm-passwordless-registration-view-60f25a41.js → email-registration-view-a483578e.js} +7 -6
- package/dist/cjs/{global-3ebda209.js → global-ea52ea30.js} +10 -161
- package/dist/cjs/{index.module-30d74cb5.js → index.module-bd6e817a.js} +36 -23
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-1b6e7276.js → luxon-53e983a6.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{re-render-6963789e.js → re-render-1d12dfdd.js} +2 -2
- package/dist/cjs/{sqm-asset-card-view-59c39ed2.js → sqm-asset-card-view-79099616.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-big-stat_36.cjs.entry.js → sqm-big-stat_37.cjs.entry.js} +191 -83
- package/dist/cjs/sqm-empty_5.cjs.entry.js +7 -7
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +4 -4
- package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-hero-view-201fca7e.js → sqm-hero-view-ddd1ef43.js} +6 -6
- package/dist/cjs/sqm-hero.cjs.entry.js +4 -4
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -10
- package/dist/cjs/sqm-link-button-view-8b446852.js +27 -0
- package/dist/cjs/sqm-link-button.cjs.entry.js +23 -0
- package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba2bad.js → sqm-navigation-sidebar-item-view-91d9d7b5.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +5 -5
- package/dist/cjs/{sqm-navigation-sidebar-view-2da83d3b.js → sqm-navigation-sidebar-view-b830e8d8.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +5 -5
- package/dist/cjs/sqm-password-field.cjs.entry.js +6 -6
- package/dist/cjs/sqm-passwordless-registration.cjs.entry.js +19 -54
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-container-view-ec1be9eb.js → sqm-portal-container-view-6accb54a.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-e834e79c.js → sqm-portal-email-verification-view-7e795920.js} +2 -2
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-forgot-password-view-a3573ade.js → sqm-portal-forgot-password-view-f73bb724.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-c143c506.js → sqm-portal-profile-view-7c290eed.js} +3 -3
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -13
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +4 -4
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +9 -10
- package/dist/cjs/{sqm-portal-reset-password-view-a5d48909.js → sqm-portal-reset-password-view-e182df83.js} +1 -1
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +7 -7
- package/dist/cjs/{sqm-portal-verify-email-view-9657cc0c.js → sqm-portal-verify-email-view-fd739843.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +6 -6
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +25 -26
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +83 -0
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +60 -61
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +4241 -4109
- 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-view-1acdf7e9.js → sqm-text-span-view-3c734dbb.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
- package/dist/cjs/sqm-user-identifier-view-69b42b84.js +28 -0
- package/dist/cjs/sqm-user-identifier.cjs.entry.js +11 -38
- package/dist/cjs/{stencil-hooks.module-5344b631.js → stencil-hooks.module-e4bf7f2d.js} +4 -1
- package/dist/cjs/{use-callback-05714e23.js → use-callback-86e9ac75.js} +1 -1
- package/dist/cjs/{useChildElements-161457a6.js → useChildElements-0a6ccd0f.js} +2 -2
- package/dist/cjs/usePasswordlessRegistration-9105faa4.js +47 -0
- package/dist/cjs/{useReferralTable-e933351b.js → useReferralTable-259fc04d.js} +13 -14
- package/dist/cjs/{useRegistrationFormState-5f21a453.js → useRegistrationFormState-ed30c0e6.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +2 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +10 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +57 -1
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +1 -1
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +4 -4
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +1 -1
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +4 -4
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +7 -7
- package/dist/collection/components/sqm-image/sqm-image-view.js +1 -1
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +2 -2
- package/dist/collection/components/sqm-link-button/LinkButton.stories.js +20 -0
- package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +22 -0
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +68 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +2 -2
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +2 -2
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
- package/dist/collection/components/sqm-passwordless-registration/sqm-passwordless-registration.js +17 -37
- package/dist/collection/components/sqm-passwordless-registration/usePasswordlessRegistration.js +6 -2
- package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -3
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +2 -2
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +1 -1
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +1 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +1 -1
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +1 -1
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +3 -3
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +4 -4
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +12 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +17 -7
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +3 -1
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +7 -7
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +241 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +6 -6
- package/dist/collection/components/sqm-share-code/ShareCode.stories.js +18 -3
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +57 -1
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +15 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +57 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +3 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +6 -2
- package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +1 -1
- package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +2 -2
- package/dist/collection/components/sqm-user-identifier/UserIdentifier.stories.js +9 -18
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier-view.js +17 -26
- package/dist/collection/components/sqm-user-identifier/sqm-user-identifier.js +31 -61
- package/dist/collection/components/views/EmailRegistration.stories.js +31 -0
- package/dist/collection/components/views/copy-text-view.js +8 -1
- package/dist/collection/components/{sqm-passwordless-registration/sqm-passwordless-registration-view.js → views/email-registration-view.js} +6 -5
- package/dist/collection/stories/PortalTemplates.stories.js +1 -1
- package/dist/collection/stories/Widget.stories.js +21 -0
- package/dist/collection/tables/GenericTableView.js +7 -2
- package/dist/esm/{GenericTableView-ce26115f.js → GenericTableView-266126f9.js} +7 -2
- package/dist/esm/{ShadowViewAddon-e57c3d40.js → ShadowViewAddon-ca765d5e.js} +121 -41
- package/dist/esm/{sqm-passwordless-registration-view-dcd145d6.js → email-registration-view-0ed79e24.js} +7 -6
- package/dist/esm/{global-4bd89b1d.js → global-0f137e54.js} +10 -161
- package/dist/esm/{index.module-5043fba6.js → index.module-787e5d35.js} +29 -19
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-dccb73bb.js → luxon-1e38d7f1.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{re-render-a3c1732f.js → re-render-54bb3e32.js} +2 -2
- package/dist/esm/{sqm-asset-card-view-b0f8ef8e.js → sqm-asset-card-view-b2ac5a23.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +4 -4
- package/dist/esm/{sqm-big-stat_36.entry.js → sqm-big-stat_37.entry.js} +144 -37
- package/dist/esm/sqm-empty_5.entry.js +4 -4
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/{sqm-hero-view-27de6b06.js → sqm-hero-view-875c927d.js} +6 -6
- package/dist/esm/sqm-hero.entry.js +3 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +4 -5
- package/dist/esm/sqm-link-button-view-8d9ad936.js +25 -0
- package/dist/esm/sqm-link-button.entry.js +19 -0
- package/dist/esm/{sqm-navigation-sidebar-item-view-d63373b2.js → sqm-navigation-sidebar-item-view-ee402e54.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
- package/dist/esm/{sqm-navigation-sidebar-view-74ad47d4.js → sqm-navigation-sidebar-view-feb719ce.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
- package/dist/esm/sqm-password-field.entry.js +5 -5
- package/dist/esm/sqm-passwordless-registration.entry.js +17 -52
- package/dist/esm/sqm-popup-container.entry.js +5 -5
- package/dist/esm/{sqm-portal-container-view-06bce80d.js → sqm-portal-container-view-83b417f0.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-9c993283.js → sqm-portal-email-verification-view-727bbfd9.js} +2 -2
- package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
- package/dist/esm/{sqm-portal-forgot-password-view-37bafb1c.js → sqm-portal-forgot-password-view-9970dee2.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +6 -6
- package/dist/esm/sqm-portal-logout.entry.js +3 -3
- package/dist/esm/{sqm-portal-profile-view-0b4315c2.js → sqm-portal-profile-view-1f2b6063.js} +3 -3
- package/dist/esm/sqm-portal-profile.entry.js +6 -7
- package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
- package/dist/esm/sqm-portal-registration-form.entry.js +7 -8
- package/dist/esm/{sqm-portal-reset-password-view-2b9da683.js → sqm-portal-reset-password-view-1f0f3bf8.js} +1 -1
- package/dist/esm/sqm-portal-reset-password.entry.js +6 -6
- package/dist/esm/{sqm-portal-verify-email-view-e3e39501.js → sqm-portal-verify-email-view-8d453021.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +5 -5
- package/dist/esm/sqm-referral-table_11.entry.js +17 -18
- package/dist/esm/sqm-referred-registration.entry.js +79 -0
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +2 -2
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +9 -10
- package/dist/esm/sqm-stencilbook.entry.js +4231 -4099
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +5 -5
- package/dist/esm/{sqm-text-span-view-b03a3c6d.js → sqm-text-span-view-2f7d6d14.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +2 -2
- package/dist/esm/sqm-user-identifier-view-379c773f.js +26 -0
- package/dist/esm/sqm-user-identifier.entry.js +12 -39
- package/dist/esm/{stencil-hooks.module-6bde7453.js → stencil-hooks.module-b48b45ec.js} +1 -1
- package/dist/esm/{use-callback-c5579ecb.js → use-callback-051c06c6.js} +1 -1
- package/dist/esm/{useChildElements-a68649fd.js → useChildElements-0124b1a9.js} +2 -2
- package/dist/esm/usePasswordlessRegistration-2381025b.js +45 -0
- package/dist/esm/{useReferralTable-6c6c06cb.js → useReferralTable-3024490c.js} +5 -6
- package/dist/esm/{useRegistrationFormState-97f39def.js → useRegistrationFormState-3c2c2f1b.js} +2 -2
- package/dist/esm-es5/GenericTableView-266126f9.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-ca765d5e.js +1 -0
- package/dist/esm-es5/email-registration-view-0ed79e24.js +1 -0
- package/dist/esm-es5/global-0f137e54.js +285 -0
- package/dist/esm-es5/index.module-787e5d35.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-dccb73bb.js → luxon-1e38d7f1.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-a3c1732f.js → re-render-54bb3e32.js} +1 -1
- package/dist/esm-es5/sqm-asset-card-view-b2ac5a23.js +1 -0
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_37.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-27de6b06.js → sqm-hero-view-875c927d.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-link-button-view-8d9ad936.js +1 -0
- package/dist/esm-es5/sqm-link-button.entry.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-ee402e54.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-74ad47d4.js → sqm-navigation-sidebar-view-feb719ce.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-container-view-83b417f0.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-9c993283.js → sqm-portal-email-verification-view-727bbfd9.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-9970dee2.js +1 -0
- 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 +1 -0
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-2b9da683.js → sqm-portal-reset-password-view-1f0f3bf8.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-8d453021.js +1 -0
- 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 -0
- 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-view-b03a3c6d.js → sqm-text-span-view-2f7d6d14.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/sqm-user-identifier-view-379c773f.js +1 -0
- package/dist/esm-es5/sqm-user-identifier.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-6bde7453.js → stencil-hooks.module-b48b45ec.js} +1 -1
- package/dist/esm-es5/use-callback-051c06c6.js +1 -0
- package/dist/esm-es5/{useChildElements-a68649fd.js → useChildElements-0124b1a9.js} +1 -1
- package/dist/esm-es5/usePasswordlessRegistration-2381025b.js +1 -0
- package/dist/esm-es5/useReferralTable-3024490c.js +1 -0
- package/dist/esm-es5/{useRegistrationFormState-97f39def.js → useRegistrationFormState-3c2c2f1b.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-9dce9be7.system.entry.js → p-01bd9ae1.system.entry.js} +1 -1
- package/dist/mint-components/p-03ad8655.js +1 -0
- package/dist/mint-components/p-05abfc50.system.entry.js +1 -0
- package/dist/mint-components/p-085290c7.system.entry.js +1 -0
- package/dist/mint-components/p-0eddbe09.entry.js +1 -0
- package/dist/mint-components/p-1069832a.entry.js +1 -0
- package/dist/mint-components/{p-fbc2343f.system.js → p-15cfd2cf.system.js} +22 -22
- package/dist/mint-components/p-19cecf43.entry.js +1 -0
- package/dist/mint-components/p-1b9c1909.entry.js +1 -0
- package/dist/mint-components/p-1bf9875f.entry.js +1 -0
- package/dist/mint-components/p-1f54fd38.system.js +1 -0
- package/dist/mint-components/{p-d566db0b.js → p-25254dd1.js} +1 -1
- package/dist/mint-components/p-25ce265e.entry.js +13 -0
- package/dist/mint-components/p-26117a7d.system.js +1 -0
- package/dist/mint-components/p-27c9d3be.system.entry.js +1 -0
- package/dist/mint-components/p-2a7686a6.system.entry.js +1 -0
- package/dist/mint-components/p-2b9ae018.system.js +1 -0
- package/dist/mint-components/p-30ec7d38.entry.js +1 -0
- package/dist/mint-components/p-3282f52a.entry.js +1 -0
- package/dist/mint-components/p-32b28506.system.entry.js +1 -0
- package/dist/mint-components/{p-2f8ddf17.system.entry.js → p-332448db.system.entry.js} +1 -1
- package/dist/mint-components/p-3552b5c5.entry.js +1 -0
- package/dist/mint-components/p-35b9bb54.entry.js +1 -0
- package/dist/mint-components/{p-21bf8abc.entry.js → p-36b5b564.entry.js} +1 -1
- package/dist/mint-components/p-36c08962.js +1 -0
- package/dist/mint-components/p-3855a6e0.entry.js +1 -0
- package/dist/mint-components/p-39ac088a.entry.js +13 -0
- package/dist/mint-components/{p-ce7fef38.system.js → p-3a6a59f2.system.js} +1 -1
- package/dist/mint-components/{p-f628a8cd.entry.js → p-3ad5761c.entry.js} +1 -1
- package/dist/mint-components/{p-850c27d0.entry.js → p-3ad8c79f.entry.js} +1 -1
- package/dist/mint-components/{p-0a15b302.system.js → p-3c189cea.system.js} +1 -1
- package/dist/mint-components/{p-a853bf1c.system.entry.js → p-3cbdb360.system.entry.js} +1 -1
- package/dist/mint-components/{p-b0f1dfad.entry.js → p-3f075d21.entry.js} +1 -1
- package/dist/mint-components/p-4336876b.js +1 -0
- package/dist/mint-components/p-4359f515.system.js +1 -0
- package/dist/mint-components/p-52468c89.system.js +1 -0
- package/dist/mint-components/p-5333d935.entry.js +1 -0
- package/dist/mint-components/p-5377e1c5.system.entry.js +1 -0
- package/dist/mint-components/p-545e2df1.entry.js +1 -0
- package/dist/mint-components/{p-f572337b.system.js → p-555123c5.system.js} +1 -1
- package/dist/mint-components/p-56306cfd.system.js +1 -0
- package/dist/mint-components/p-56494499.js +1 -0
- package/dist/mint-components/p-5938e109.js +1 -0
- package/dist/mint-components/p-598f6e6e.entry.js +171 -0
- package/dist/mint-components/{p-b6de33e5.system.entry.js → p-5a8866c0.system.entry.js} +1 -1
- package/dist/mint-components/p-5deb8687.system.entry.js +1 -0
- package/dist/mint-components/{p-94cf16d4.entry.js → p-65aac49a.entry.js} +1 -1
- package/dist/mint-components/p-6868f6a3.system.entry.js +1 -0
- package/dist/mint-components/{p-acc9e541.js → p-695d65b1.js} +1 -1
- package/dist/mint-components/p-6c69d3d5.entry.js +1 -0
- package/dist/mint-components/{p-0a4c867d.system.entry.js → p-6d7b7618.system.entry.js} +1 -1
- package/dist/mint-components/p-70d33b67.system.js +1 -0
- package/dist/mint-components/p-71fe4061.js +1 -0
- package/dist/mint-components/p-73bca9e7.js +1 -0
- package/dist/mint-components/p-76c339cd.system.js +1 -0
- package/dist/mint-components/p-788fd322.system.js +1 -0
- package/dist/mint-components/p-7ed639bc.js +1 -0
- package/dist/mint-components/p-7ef716a7.js +1 -0
- package/dist/mint-components/p-82f341ec.system.entry.js +1 -0
- package/dist/mint-components/{p-ad694844.system.entry.js → p-838e5560.system.entry.js} +1 -1
- package/dist/mint-components/p-83927707.js +1 -0
- package/dist/mint-components/p-883169ad.entry.js +1 -0
- package/dist/mint-components/p-8caf0121.system.entry.js +1 -0
- package/dist/mint-components/p-8eb9298d.js +268 -0
- package/dist/mint-components/p-911f8910.system.js +1 -0
- package/dist/mint-components/p-9165844e.system.js +1 -0
- package/dist/mint-components/p-91b1dd5f.system.entry.js +1 -0
- package/dist/mint-components/{p-4fc59b30.system.entry.js → p-92002bbb.system.entry.js} +1 -1
- package/dist/mint-components/p-95cc44c3.system.js +1 -0
- package/dist/mint-components/{p-e9489bfb.system.js → p-96e98d06.system.js} +1 -1
- package/dist/mint-components/p-97763c36.system.js +1 -0
- package/dist/mint-components/p-9957d667.system.js +1 -0
- package/dist/mint-components/p-9c0678aa.system.entry.js +1 -0
- package/dist/mint-components/p-9cbc79f6.system.entry.js +1 -0
- package/dist/mint-components/p-9e8ea69d.system.js +1 -0
- package/dist/mint-components/p-a2f7a2f3.system.js +1 -0
- package/dist/mint-components/{p-22176b92.js → p-a90b4c3f.js} +1 -1
- package/dist/mint-components/p-a9467e3e.system.entry.js +1 -0
- package/dist/mint-components/p-aaff2c88.system.entry.js +1 -0
- package/dist/mint-components/p-ae00aec4.system.js +1 -0
- package/dist/mint-components/{p-2d728c9b.entry.js → p-af00c9b0.entry.js} +1 -1
- package/dist/mint-components/p-b039fb72.entry.js +1 -0
- package/dist/mint-components/{p-0e344e4c.system.entry.js → p-b0ad1b74.system.entry.js} +1 -1
- package/dist/mint-components/{p-6b9e32ca.system.js → p-b79c0e38.system.js} +2 -2
- package/dist/mint-components/{p-8ddb2c01.system.entry.js → p-b91658ca.system.entry.js} +1 -1
- package/dist/mint-components/p-ba7feba5.js +1 -0
- package/dist/mint-components/{p-10122db1.system.js → p-bb6f60a6.system.js} +1 -1
- package/dist/mint-components/{p-3aa51afb.js → p-bc6255a0.js} +3 -3
- package/dist/mint-components/{p-cd745ffb.system.js → p-bd63ef52.system.js} +1 -1
- package/dist/mint-components/p-bfdbe27c.js +1 -0
- package/dist/mint-components/p-c0685957.js +1 -0
- package/dist/mint-components/p-cce7f6ea.js +1 -0
- package/dist/mint-components/{p-b0601c94.entry.js → p-cfb400c5.entry.js} +1 -1
- package/dist/mint-components/{p-938ff1fc.js → p-d27b326c.js} +1 -1
- package/dist/mint-components/{p-2c8645c6.system.entry.js → p-d483347f.system.entry.js} +1 -1
- package/dist/mint-components/{p-293d8305.entry.js → p-d949b099.entry.js} +2 -2
- package/dist/mint-components/{p-26131a87.system.entry.js → p-d9643307.system.entry.js} +1 -1
- package/dist/mint-components/p-da70e75d.entry.js +1 -0
- package/dist/mint-components/p-db297fa3.system.entry.js +1 -0
- package/dist/mint-components/{p-54d0019e.entry.js → p-de9716b9.entry.js} +3 -3
- package/dist/mint-components/p-dffe8bea.entry.js +1 -0
- package/dist/mint-components/p-e0167571.js +1 -0
- package/dist/mint-components/p-e41a853f.system.entry.js +1 -0
- package/dist/mint-components/p-e74525d9.system.entry.js +1 -0
- package/dist/mint-components/p-e869887b.system.entry.js +1 -0
- package/dist/mint-components/{p-5bba84a6.system.js → p-e94f28d3.system.js} +1 -1
- package/dist/mint-components/p-ea76c3bc.system.entry.js +1 -0
- package/dist/mint-components/{p-4e38410c.js → p-eb3278aa.js} +153 -153
- package/dist/mint-components/{p-c5966d38.js → p-ed801cb7.js} +1 -1
- package/dist/mint-components/p-f63ea5f4.entry.js +1 -0
- package/dist/mint-components/p-f66b4b3a.js +1 -0
- package/dist/mint-components/p-f85504fd.system.entry.js +1 -0
- package/dist/mint-components/p-f87b1e0b.system.js +1 -0
- package/dist/mint-components/p-f8bbbea1.js +1 -0
- package/dist/mint-components/{p-74f936b0.js → p-f8dd6bac.js} +1 -1
- package/dist/mint-components/{p-b9831b79.entry.js → p-f96d239a.entry.js} +1 -1
- package/dist/mint-components/p-fd90e9db.entry.js +9 -0
- 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 +12 -0
- package/dist/types/components/sqm-link-button/LinkButton.stories.d.ts +9 -0
- package/dist/types/components/sqm-link-button/sqm-link-button-view.d.ts +5 -0
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +17 -0
- package/dist/types/components/sqm-passwordless-registration/sqm-passwordless-registration.d.ts +2 -6
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +2 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +44 -0
- package/dist/types/components/sqm-share-code/ShareCode.stories.d.ts +2 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +12 -0
- package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +1 -0
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +12 -0
- package/dist/types/components/sqm-user-identifier/UserIdentifier.stories.d.ts +1 -6
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier-view.d.ts +5 -8
- package/dist/types/components/sqm-user-identifier/sqm-user-identifier.d.ts +8 -18
- package/dist/types/components/{sqm-passwordless-registration/PasswordlessRegistration.stories.d.ts → views/EmailRegistration.stories.d.ts} +1 -1
- package/dist/types/components/views/copy-text-view.d.ts +3 -1
- package/dist/types/components/{sqm-passwordless-registration/sqm-passwordless-registration-view.d.ts → views/email-registration-view.d.ts} +2 -3
- package/dist/types/components.d.ts +185 -47
- package/dist/types/stories/PortalTemplates.stories.d.ts +1 -0
- package/dist/types/stories/Widget.stories.d.ts +24 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +4 -2
- package/dist/cjs/PoweredByImg-7084ef2d.js +0 -16
- package/dist/cjs/index-e4027f09.js +0 -2227
- package/dist/cjs/sqm-portal-footer-view-6e490bc6.js +0 -71
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +0 -69
- package/dist/collection/components/sqm-passwordless-registration/PasswordlessRegistration.stories.js +0 -32
- package/dist/esm/PoweredByImg-1114005e.js +0 -14
- package/dist/esm/index-4bffa04c.js +0 -2225
- package/dist/esm/sqm-portal-footer-view-d673e9b9.js +0 -69
- package/dist/esm/sqm-portal-footer.entry.js +0 -65
- package/dist/esm-es5/GenericTableView-ce26115f.js +0 -1
- package/dist/esm-es5/PoweredByImg-1114005e.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-e57c3d40.js +0 -1
- package/dist/esm-es5/global-4bd89b1d.js +0 -285
- package/dist/esm-es5/index-4bffa04c.js +0 -1
- package/dist/esm-es5/index.module-5043fba6.js +0 -1
- package/dist/esm-es5/sqm-asset-card-view-b0f8ef8e.js +0 -1
- package/dist/esm-es5/sqm-big-stat_36.entry.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-d63373b2.js +0 -1
- package/dist/esm-es5/sqm-passwordless-registration-view-dcd145d6.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-06bce80d.js +0 -1
- package/dist/esm-es5/sqm-portal-footer-view-d673e9b9.js +0 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-forgot-password-view-37bafb1c.js +0 -1
- package/dist/esm-es5/sqm-portal-profile-view-0b4315c2.js +0 -1
- package/dist/esm-es5/sqm-portal-verify-email-view-e3e39501.js +0 -1
- package/dist/esm-es5/use-callback-c5579ecb.js +0 -1
- package/dist/esm-es5/useReferralTable-6c6c06cb.js +0 -1
- package/dist/mint-components/p-014e183e.system.js +0 -1
- package/dist/mint-components/p-040a7ac6.system.entry.js +0 -1
- package/dist/mint-components/p-0afd05cc.system.entry.js +0 -1
- package/dist/mint-components/p-0b07c70b.entry.js +0 -171
- package/dist/mint-components/p-0b3af3f2.js +0 -1
- package/dist/mint-components/p-143e7a08.system.js +0 -1
- package/dist/mint-components/p-1555c1e9.js +0 -1
- package/dist/mint-components/p-15e0bdb5.entry.js +0 -1
- package/dist/mint-components/p-18d5795d.system.js +0 -1
- package/dist/mint-components/p-1943d52e.js +0 -1
- package/dist/mint-components/p-1b0c59f0.system.entry.js +0 -1
- package/dist/mint-components/p-1e350778.system.entry.js +0 -1
- package/dist/mint-components/p-218c8a32.js +0 -1
- package/dist/mint-components/p-25d4bd6c.entry.js +0 -1
- package/dist/mint-components/p-2b2415cc.system.js +0 -1
- package/dist/mint-components/p-2bc7c025.system.entry.js +0 -1
- package/dist/mint-components/p-2dcc4495.entry.js +0 -1
- package/dist/mint-components/p-2ffe61a0.system.js +0 -1
- package/dist/mint-components/p-3b084b9e.system.entry.js +0 -1
- package/dist/mint-components/p-4056a7f4.entry.js +0 -1
- package/dist/mint-components/p-41377dac.system.js +0 -1
- package/dist/mint-components/p-4777598b.system.entry.js +0 -1
- package/dist/mint-components/p-497c2091.system.entry.js +0 -1
- package/dist/mint-components/p-545c6333.system.entry.js +0 -1
- package/dist/mint-components/p-561b5ade.js +0 -268
- package/dist/mint-components/p-5bfe901d.js +0 -1
- package/dist/mint-components/p-5da32b79.system.entry.js +0 -1
- package/dist/mint-components/p-68454fb6.system.entry.js +0 -1
- package/dist/mint-components/p-6b5824db.entry.js +0 -13
- package/dist/mint-components/p-6b8b7dc0.system.js +0 -1
- package/dist/mint-components/p-6dd27a5e.js +0 -1
- package/dist/mint-components/p-721deaaf.system.js +0 -1
- package/dist/mint-components/p-848a7767.entry.js +0 -1
- package/dist/mint-components/p-88bfcec2.system.js +0 -1
- package/dist/mint-components/p-8a6a0b6f.js +0 -1
- package/dist/mint-components/p-8a7b0f2c.system.entry.js +0 -1
- package/dist/mint-components/p-8c0e613f.system.js +0 -1
- package/dist/mint-components/p-8e84f311.system.entry.js +0 -1
- package/dist/mint-components/p-910c977e.entry.js +0 -13
- package/dist/mint-components/p-9c63de96.system.js +0 -1
- package/dist/mint-components/p-9ccc4b8a.system.entry.js +0 -1
- package/dist/mint-components/p-9f011b61.system.entry.js +0 -1
- package/dist/mint-components/p-9f06a318.entry.js +0 -1
- package/dist/mint-components/p-a0dcecee.system.js +0 -1
- package/dist/mint-components/p-a15a06d1.entry.js +0 -1
- package/dist/mint-components/p-a208711a.js +0 -1
- package/dist/mint-components/p-a46c0d32.js +0 -1
- package/dist/mint-components/p-a4b7f6a6.system.js +0 -1
- package/dist/mint-components/p-b56a0052.system.js +0 -1
- package/dist/mint-components/p-b76c5252.entry.js +0 -1
- package/dist/mint-components/p-b8301966.js +0 -1
- package/dist/mint-components/p-bef0a1f4.system.js +0 -1
- package/dist/mint-components/p-c3fa90e4.entry.js +0 -1
- package/dist/mint-components/p-c5bd5f21.entry.js +0 -9
- package/dist/mint-components/p-c78edab5.entry.js +0 -1
- package/dist/mint-components/p-c7e36372.system.js +0 -1
- package/dist/mint-components/p-c96900ab.js +0 -1
- package/dist/mint-components/p-ceb6a9e5.js +0 -1
- package/dist/mint-components/p-ceefa840.system.entry.js +0 -1
- package/dist/mint-components/p-d4dd44ce.js +0 -1
- package/dist/mint-components/p-d8c7e0db.js +0 -1
- package/dist/mint-components/p-d96ba635.entry.js +0 -1
- package/dist/mint-components/p-db01736e.entry.js +0 -1
- package/dist/mint-components/p-dbb3533c.system.entry.js +0 -1
- package/dist/mint-components/p-dc9f2ec3.system.entry.js +0 -1
- package/dist/mint-components/p-dcdfc20a.entry.js +0 -1
- package/dist/mint-components/p-e36afaf4.system.entry.js +0 -1
- package/dist/mint-components/p-eae501f9.js +0 -1
- package/dist/mint-components/p-eb5e8657.entry.js +0 -1
- package/dist/mint-components/p-ece264ab.entry.js +0 -1
- package/dist/mint-components/p-ee7e5b54.system.js +0 -1
- package/dist/mint-components/p-f19e6247.entry.js +0 -1
- package/dist/mint-components/p-f4dbaf32.js +0 -1
- package/dist/mint-components/p-f5a0ea6c.entry.js +0 -1
- package/dist/mint-components/p-f6e9b11e.js +0 -1
- package/dist/mint-components/p-f9203fcb.system.entry.js +0 -1
- package/dist/mint-components/p-fab61d16.system.js +0 -1
|
@@ -1,49 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { i as isDemo, e as setUserIdentity } from './index.module-787e5d35.js';
|
|
5
|
+
import './jsonpointer-388a7082.js';
|
|
5
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
7
|
import './mixins-f60a614c.js';
|
|
7
8
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import './
|
|
9
|
-
import {
|
|
10
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
11
|
-
|
|
12
|
-
function usePasswordlessRegistration() {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
14
|
-
const [request, { loading, errors, data }] = sn();
|
|
15
|
-
const [error, setError] = useState("");
|
|
16
|
-
const submit = async (event) => {
|
|
17
|
-
var _a;
|
|
18
|
-
setError("");
|
|
19
|
-
let formData = event.detail.formData;
|
|
20
|
-
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
21
|
-
jsonpointer.set(formData, key, value);
|
|
22
|
-
});
|
|
23
|
-
const variables = {
|
|
24
|
-
firstName: formData.firstName,
|
|
25
|
-
lastName: formData.lastName,
|
|
26
|
-
email: formData.email,
|
|
27
|
-
};
|
|
28
|
-
const result = await request(variables);
|
|
29
|
-
if (result instanceof Error) {
|
|
30
|
-
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
31
|
-
setError("Network request failed.");
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
36
|
-
error;
|
|
37
|
-
return {
|
|
38
|
-
states: {
|
|
39
|
-
loading,
|
|
40
|
-
error: errorMessage,
|
|
41
|
-
},
|
|
42
|
-
callbacks: {
|
|
43
|
-
submit,
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
}
|
|
9
|
+
import { E as EmailRegistrationView } from './email-registration-view-0ed79e24.js';
|
|
10
|
+
import { u as usePasswordlessRegistration } from './usePasswordlessRegistration-2381025b.js';
|
|
47
11
|
|
|
48
12
|
const PasswordlessRegistration = class {
|
|
49
13
|
constructor(hostRef) {
|
|
@@ -76,10 +40,6 @@ const PasswordlessRegistration = class {
|
|
|
76
40
|
* @uiName Include name fields
|
|
77
41
|
*/
|
|
78
42
|
this.includeName = false;
|
|
79
|
-
/**
|
|
80
|
-
* @uiName Include name fields
|
|
81
|
-
*/
|
|
82
|
-
this.hidePoweredBy = false;
|
|
83
43
|
h(this);
|
|
84
44
|
}
|
|
85
45
|
disconnectedCallback() { }
|
|
@@ -93,25 +53,30 @@ const PasswordlessRegistration = class {
|
|
|
93
53
|
firstNameLabel: this.firstNameLabel,
|
|
94
54
|
lastNameLabel: this.lastNameLabel,
|
|
95
55
|
includeName: this.includeName,
|
|
96
|
-
hidePoweredBy: this.hidePoweredBy,
|
|
97
56
|
// slots
|
|
98
57
|
topSlot: h$1("slot", { name: "top-slot" }),
|
|
99
58
|
bottomSlot: h$1("slot", { name: "bottom-slot" }),
|
|
100
59
|
};
|
|
101
|
-
return (h$1(
|
|
60
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
102
61
|
}
|
|
103
62
|
};
|
|
104
63
|
function useRegistrationDemo(props) {
|
|
64
|
+
console.debug("sqm-passwordless-registration: Running in debug mode...");
|
|
65
|
+
const onSubmit = () => {
|
|
66
|
+
setUserIdentity({
|
|
67
|
+
id: "referrer@example.com",
|
|
68
|
+
accountId: "referrer@example.com",
|
|
69
|
+
jwt: "eyJraWQiOiJlNjI2NzQxNy1jMzZlLTRlM2EtYjM5NS1lYTFmY2YyNmU3YzIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjbVZtWlhKeVpYSkFaWGhoYlhCc1pTNWpiMjA9OmNtVm1aWEp5WlhKQVpYaGhiWEJzWlM1amIyMD1AdGVzdF9heGJndGF0dzF0Y2NwOnVzZXJzIiwicGFzc3dvcmRsZXNzIjp0cnVlLCJpc3MiOiJodHRwczovL3N0YWdpbmcucmVmZXJyYWxzYWFzcXVhdGNoLmNvbS8iLCJleHAiOjE2ODA4ODU5MTksImlhdCI6MTY4MDc5OTUxOX0.kjmTVVf_BTb-uMNKnadLyNLxMFwpkefsY02O3iAfBVIJJZZfeZMwunPlKsS3Vbp28aYRClBjH5Wj4pYxDn23D0CdZx8KNCqiJ8yF6149O9SPMkRseoJkliqS6LyvMOEDjGDkuLfcC8_hq1AHBXFt5BdCtWOk1gwf_5R9A0w5gXEIvprBzbNDLbuo88bVAlrmFNvfttXXryrpUeruMal7cBKuy02YblBrB4kKoyJiprU5GLEjciBA4A56u8TwQc0kbsPf2YcQaJsY_IvkC7S1u4sPyObpq6iF6Ed8UYHAo6nU5KjZXyVtoUyeIS11mf_6OtDO6LyMNHV2FtEUUDdPCg",
|
|
70
|
+
});
|
|
71
|
+
};
|
|
105
72
|
return cjs({
|
|
106
73
|
states: {
|
|
107
|
-
error: "",
|
|
108
74
|
loading: false,
|
|
109
|
-
|
|
110
|
-
registerPath: "/register",
|
|
75
|
+
error: "",
|
|
111
76
|
},
|
|
112
77
|
callbacks: {
|
|
113
78
|
submit: async (_event) => {
|
|
114
|
-
|
|
79
|
+
onSubmit();
|
|
115
80
|
},
|
|
116
81
|
},
|
|
117
82
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { _ } from './index.module-
|
|
2
|
+
import { m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { _ } from './index.module-787e5d35.js';
|
|
5
5
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
6
|
|
|
7
7
|
const PopupContainerView = (props) => {
|
|
8
8
|
const { states, callbacks } = props;
|
|
9
9
|
const { styles } = states;
|
|
10
10
|
return (h(Host, { class: "squatch-container" },
|
|
11
|
-
h("div", { style: { padding: props.states.styles.padding } },
|
|
12
|
-
styles.closeButton && (h("span", { class: "close squatch-header-close", "data-close-panel": "#squatch-panel", onClick: () => callbacks.closePopup() }, styles.closeButtonText)),
|
|
11
|
+
h("div", { style: { padding: props.states.styles.padding }, part: "sqm-popup-container" },
|
|
12
|
+
styles.closeButton && (h("span", { part: "sqm-popup-container-close-btn", class: "close squatch-header-close", "data-close-panel": "#squatch-panel", onClick: () => callbacks.closePopup() }, styles.closeButtonText)),
|
|
13
13
|
h("slot", null),
|
|
14
14
|
styles.poweredBy ? (h("a", { class: "sqh-attribution", href: "https://www.saasquatch.com/?utm_source=app&utm_medium=user-widget&utm_campaign=referral-widget", target: "_blank" }, "Powered By")) : (""))));
|
|
15
15
|
};
|
package/dist/esm/{sqm-portal-container-view-06bce80d.js → sqm-portal-container-view-83b417f0.js}
RENAMED
|
@@ -16,9 +16,9 @@ function PortalSectionView(props) {
|
|
|
16
16
|
};
|
|
17
17
|
const sheet = createStyleSheet(style);
|
|
18
18
|
const styleString = sheet.toString();
|
|
19
|
-
return (h("div", { class: sheet.classes.SectionContainer },
|
|
19
|
+
return (h("div", { class: sheet.classes.SectionContainer, part: "sqm-portal-section-container" },
|
|
20
20
|
h("style", { type: "text/css" }, styleString),
|
|
21
|
-
h("div", { class: sheet.classes.LabelContainer }, props.label),
|
|
21
|
+
h("div", { class: sheet.classes.LabelContainer, part: "sqm-portal-section-label" }, props.label),
|
|
22
22
|
props.content));
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-0f137e54.js';
|
|
3
3
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
4
4
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
5
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
5
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
6
6
|
|
|
7
7
|
const style = {
|
|
8
8
|
Wrapper: AuthWrapper,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './global-
|
|
4
|
-
import { u as useCallback } from './use-callback-
|
|
5
|
-
import {
|
|
2
|
+
import { i as useState, j as useRef, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './global-0f137e54.js';
|
|
4
|
+
import { u as useCallback } from './use-callback-051c06c6.js';
|
|
5
|
+
import { k as an, B as Be, W, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './mixins-f60a614c.js';
|
|
8
8
|
import './JSS-67b5cff8.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-
|
|
9
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
10
|
+
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-727bbfd9.js';
|
|
11
11
|
|
|
12
12
|
function usePortalEmailVerification(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -24,7 +24,7 @@ const sheet = createStyleSheet(style);
|
|
|
24
24
|
const styleString = sheet.toString();
|
|
25
25
|
function PortalForgotPasswordView(props) {
|
|
26
26
|
const { states, callbacks, content } = props;
|
|
27
|
-
return (h("div", { class: sheet.classes.Wrapper },
|
|
27
|
+
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-forgot-password-container" },
|
|
28
28
|
h("style", { type: "text/css" },
|
|
29
29
|
vanillaStyle,
|
|
30
30
|
styleString),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { n as nn, g as gn, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { n as nn, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
7
|
import './mixins-f60a614c.js';
|
|
7
8
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import './sqm-text-span-view-
|
|
9
|
-
import {
|
|
10
|
-
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-37bafb1c.js';
|
|
9
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
10
|
+
import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-9970dee2.js';
|
|
11
11
|
|
|
12
12
|
function usePortalForgotPassword(props) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { e as setUserIdentity, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
5
|
|
|
6
6
|
function usePortalLogout({ nextPage }) {
|
|
7
7
|
setUserIdentity(undefined);
|
package/dist/esm/{sqm-portal-profile-view-0b4315c2.js → sqm-portal-profile-view-1f2b6063.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
|
-
import { i as intl } from './global-
|
|
2
|
+
import { i as intl } from './global-0f137e54.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
5
5
|
|
|
6
6
|
function PortalProfileView(props) {
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
@@ -57,7 +57,7 @@ function PortalProfileView(props) {
|
|
|
57
57
|
type: "region",
|
|
58
58
|
})
|
|
59
59
|
: "";
|
|
60
|
-
return (h("div", { class: sheet.classes.Container },
|
|
60
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-portal-profile-container" },
|
|
61
61
|
h("style", { type: "text/css" }, styleString),
|
|
62
62
|
h(TextSpanView, Object.assign({}, { type: "h1" }), text.editProfileHeader),
|
|
63
63
|
h(TextSpanView, Object.assign({}, { type: "h2" }), text.editProfileSubHeader),
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './global-
|
|
4
|
-
import './use-callback-
|
|
5
|
-
import { W, f as fn, F as Fe, i as isDemo } from './index.module-
|
|
2
|
+
import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './global-0f137e54.js';
|
|
4
|
+
import './use-callback-051c06c6.js';
|
|
5
|
+
import { d as dist, W, f as fn, F as Fe, i as isDemo } from './index.module-787e5d35.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
|
-
import { d as dist } from './index-4bffa04c.js';
|
|
9
8
|
import { g as getProps } from './utils-334c1e34.js';
|
|
10
|
-
import './sqm-text-span-view-
|
|
11
|
-
import { P as PortalProfileView } from './sqm-portal-profile-view-
|
|
9
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
10
|
+
import { P as PortalProfileView } from './sqm-portal-profile-view-1f2b6063.js';
|
|
12
11
|
|
|
13
12
|
const GET_USER = dist.gql `
|
|
14
13
|
query {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
-
import { u as useEffect,
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import { W,
|
|
2
|
+
import { u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { W, c as mn, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
5
|
|
|
6
6
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
7
7
|
var _a;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import { u as useCallback } from './use-callback-
|
|
4
|
-
import { q as qe, f as fn, g as gn, i as isDemo } from './index.module-
|
|
2
|
+
import { j as useRef, u as useEffect, m as h$1 } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { u as useCallback } from './use-callback-051c06c6.js';
|
|
4
|
+
import { d as dist, q as qe, f as fn, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
7
|
import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
8
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
|
-
import {
|
|
9
|
-
import { T as TextSpanView } from './sqm-text-span-view-b03a3c6d.js';
|
|
10
|
-
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
9
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
11
10
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
12
|
-
import { u as useRegistrationFormState } from './useRegistrationFormState-
|
|
11
|
+
import { u as useRegistrationFormState } from './useRegistrationFormState-3c2c2f1b.js';
|
|
13
12
|
|
|
14
13
|
const style = {
|
|
15
14
|
Wrapper: { ...AuthWrapper, "max-width": "600px" },
|
|
@@ -45,7 +44,7 @@ function PortalRegistrationFormView(props) {
|
|
|
45
44
|
if (states.error) {
|
|
46
45
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
47
46
|
}
|
|
48
|
-
return (h("div", { class: sheet.classes.Wrapper },
|
|
47
|
+
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-portal-registration-container" },
|
|
49
48
|
h("style", { type: "text/css" },
|
|
50
49
|
vanillaStyle,
|
|
51
50
|
styleString),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer } from './mixins-f60a614c.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
3
|
-
import './use-callback-
|
|
4
|
-
import {
|
|
2
|
+
import { i as useState, u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { l as We, N as Ne, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
|
+
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
5
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
7
|
import './mixins-f60a614c.js';
|
|
7
8
|
import './JSS-67b5cff8.js';
|
|
8
9
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import {
|
|
11
|
-
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-2b9da683.js';
|
|
10
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
11
|
+
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-1f0f3bf8.js';
|
|
12
12
|
|
|
13
13
|
function usePortalResetPassword(props) {
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-17b4da69.js';
|
|
2
2
|
import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
|
|
3
3
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
5
5
|
|
|
6
6
|
const style = {
|
|
7
7
|
Wrapper: AuthWrapper,
|
|
@@ -23,7 +23,7 @@ const styleString = sheet.toString();
|
|
|
23
23
|
function PortalVerifyEmailView(props) {
|
|
24
24
|
const { states, data, callbacks } = props;
|
|
25
25
|
if (states.verified) {
|
|
26
|
-
return (h("div", { class: sheet.classes.Wrapper },
|
|
26
|
+
return (h("div", { class: sheet.classes.Wrapper, part: "sqm-portal-verify-email-container" },
|
|
27
27
|
h("style", { type: "text/css" },
|
|
28
28
|
vanillaStyle,
|
|
29
29
|
styleString),
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { W, X as Xe, g as gn, i as isDemo } from './index.module-
|
|
2
|
+
import { u as useEffect, m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { W, X as Xe, g as gn, i as isDemo } from './index.module-787e5d35.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import './mixins-f60a614c.js';
|
|
7
7
|
import './JSS-67b5cff8.js';
|
|
8
8
|
import { s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
9
|
-
import './sqm-text-span-view-
|
|
10
|
-
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-
|
|
9
|
+
import './sqm-text-span-view-2f7d6d14.js';
|
|
10
|
+
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-8d453021.js';
|
|
11
11
|
|
|
12
12
|
function usePortalVerifyEmail({ nextPage, failedPage }) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
@@ -1,19 +1,18 @@
|
|
|
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 { m as h, f as useReducer, k as useMemo, u as useEffect } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { i as intl } from './global-0f137e54.js';
|
|
4
|
+
import './use-callback-051c06c6.js';
|
|
5
|
+
import { i as isDemo } from './index.module-787e5d35.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
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
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-
|
|
14
|
-
import './index-4bffa04c.js';
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
10
|
+
import { a as useRequestRerender, u as useRerenderListener } from './re-render-54bb3e32.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-0124b1a9.js';
|
|
12
|
+
import { l as luxon } from './luxon-1e38d7f1.js';
|
|
13
|
+
import { a as getPaypalMeta, u as useReferralTable, t as tryMethod } from './useReferralTable-3024490c.js';
|
|
15
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
15
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
17
16
|
|
|
18
17
|
const mockReferralData = (count = 4) => {
|
|
19
18
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -533,7 +532,7 @@ const ReferralTableRewardsCell = class {
|
|
|
533
532
|
}, {
|
|
534
533
|
status: state,
|
|
535
534
|
});
|
|
536
|
-
return (h$1("sl-details", { class: sheet.classes.Details, disabled: this.hideDetails }, h$1("style", { type: "text/css" }, styleString), h$1("div", { slot: "summary", class: sheet.classes.DetailsContainer }, h$1(TextSpanView, { type: "p" }, h$1("span", { class: sheet.classes.BoldText }, reward.prettyValue)), h$1("div", { class: sheet.classes.BadgeContainer }, state === "PENDING" && reward.dateScheduledFor ? (h$1("sl-badge", { class: slBadgeType === "primary"
|
|
535
|
+
return (h$1("sl-details", { class: sheet.classes.Details, disabled: this.hideDetails }, h$1("style", { type: "text/css" }, styleString), h$1("div", { slot: "summary", class: sheet.classes.DetailsContainer }, h$1(TextSpanView, { type: "p" }, h$1("span", { part: "sqm-reward-cell-bold-text", class: sheet.classes.BoldText }, reward.prettyValue)), h$1("div", { class: sheet.classes.BadgeContainer }, state === "PENDING" && reward.dateScheduledFor ? (h$1("sl-badge", { class: slBadgeType === "primary"
|
|
537
536
|
? sheet.classes.RedeemBadge
|
|
538
537
|
: sheet.classes.StatusBadge, type: slBadgeType, pill: true }, intl.formatMessage({
|
|
539
538
|
id: "pendingForText",
|
|
@@ -545,17 +544,17 @@ const ReferralTableRewardsCell = class {
|
|
|
545
544
|
? sheet.classes.RedeemBadge
|
|
546
545
|
: sheet.classes.StatusBadge, type: slBadgeType, pill: true }, badgeText)), reward.dateExpires && state === "AVAILABLE" && (h$1("sl-badge", { class: slBadgeType === "primary"
|
|
547
546
|
? sheet.classes.RedeemBadge
|
|
548
|
-
: sheet.classes.StatusBadge, type: "info", pill: true }, this.expiringText, ` ${getTimeDiff(reward.dateExpires)}`)))), h$1("div", null, reward.dateGiven && (h$1("div", null, h$1(TextSpanView, { type: "p" }, this.rewardReceivedText, " ", h$1("span", { class: sheet.classes.BoldText }, luxon.DateTime.fromMillis(reward.dateGiven)
|
|
547
|
+
: sheet.classes.StatusBadge, type: "info", pill: true }, this.expiringText, ` ${getTimeDiff(reward.dateExpires)}`)))), h$1("div", null, reward.dateGiven && (h$1("div", null, h$1(TextSpanView, { type: "p" }, this.rewardReceivedText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, luxon.DateTime.fromMillis(reward.dateGiven)
|
|
549
548
|
.setLocale(luxonLocale(this.locale))
|
|
550
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "EXPIRED" && reward.dateExpires && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText }, luxon.DateTime.fromMillis(reward.dateExpires)
|
|
549
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "EXPIRED" && reward.dateExpires && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, luxon.DateTime.fromMillis(reward.dateExpires)
|
|
551
550
|
.setLocale(luxonLocale(this.locale))
|
|
552
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "CANCELLED" && reward.dateCancelled && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText }, luxon.DateTime.fromMillis(reward.dateCancelled)
|
|
551
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "CANCELLED" && reward.dateCancelled && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, luxon.DateTime.fromMillis(reward.dateCancelled)
|
|
553
552
|
.setLocale(luxonLocale(this.locale))
|
|
554
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "PENDING" && reward.dateScheduledFor && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText }, luxon.DateTime.fromMillis(reward.dateScheduledFor)
|
|
553
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), state === "PENDING" && reward.dateScheduledFor && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, luxon.DateTime.fromMillis(reward.dateScheduledFor)
|
|
555
554
|
.setLocale(luxonLocale(this.locale))
|
|
556
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), " ", state === "AVAILABLE" && reward.dateExpires && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText }, luxon.DateTime.fromMillis(reward.dateExpires)
|
|
555
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), " ", state === "AVAILABLE" && reward.dateExpires && (h$1("div", null, h$1(TextSpanView, { type: "p" }, statusText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, luxon.DateTime.fromMillis(reward.dateExpires)
|
|
557
556
|
.setLocale(luxonLocale(this.locale))
|
|
558
|
-
.toLocaleString(luxon.DateTime.DATE_MED))))), reward.fuelTankCode && (h$1("div", null, this.fuelTankText, " ", h$1("span", { class: sheet.classes.BoldText }, reward.fuelTankCode))))));
|
|
557
|
+
.toLocaleString(luxon.DateTime.DATE_MED))))), reward.fuelTankCode && (h$1("div", null, this.fuelTankText, " ", h$1("span", { class: sheet.classes.BoldText, part: "sqm-reward-cell-bold-text" }, reward.fuelTankCode))))));
|
|
559
558
|
});
|
|
560
559
|
}
|
|
561
560
|
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import { i as isDemo } from './index.module-787e5d35.js';
|
|
5
|
+
import './jsonpointer-388a7082.js';
|
|
6
|
+
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
+
import './mixins-f60a614c.js';
|
|
8
|
+
import './JSS-67b5cff8.js';
|
|
9
|
+
import { E as EmailRegistrationView } from './email-registration-view-0ed79e24.js';
|
|
10
|
+
import { u as usePasswordlessRegistration } from './usePasswordlessRegistration-2381025b.js';
|
|
11
|
+
|
|
12
|
+
const ReferredRegistration = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
registerInstance(this, hostRef);
|
|
15
|
+
this.ignored = true;
|
|
16
|
+
/**
|
|
17
|
+
* Redirect participants to this page after they successfully register.
|
|
18
|
+
*
|
|
19
|
+
* @uiName Registration Redirect
|
|
20
|
+
* @uiWidget pageSelect
|
|
21
|
+
*/
|
|
22
|
+
this.nextPage = "/";
|
|
23
|
+
/**
|
|
24
|
+
* @uiName Email Field Label
|
|
25
|
+
*/
|
|
26
|
+
this.emailLabel = "Email";
|
|
27
|
+
/**
|
|
28
|
+
* @uiName First Name Field Label
|
|
29
|
+
*/
|
|
30
|
+
this.firstNameLabel = "First Name";
|
|
31
|
+
/**
|
|
32
|
+
* @uiName Last Name Field Label
|
|
33
|
+
*/
|
|
34
|
+
this.lastNameLabel = "Last Name";
|
|
35
|
+
/**
|
|
36
|
+
* @uiName Register Button Text
|
|
37
|
+
*/
|
|
38
|
+
this.registerLabel = "Start Referring";
|
|
39
|
+
/**
|
|
40
|
+
* @uiName Include name fields
|
|
41
|
+
*/
|
|
42
|
+
this.includeName = false;
|
|
43
|
+
h(this);
|
|
44
|
+
}
|
|
45
|
+
disconnectedCallback() { }
|
|
46
|
+
render() {
|
|
47
|
+
const { states, callbacks } = isDemo()
|
|
48
|
+
? useRegistrationDemo(this)
|
|
49
|
+
: usePasswordlessRegistration();
|
|
50
|
+
const content = {
|
|
51
|
+
emailLabel: this.emailLabel,
|
|
52
|
+
registerLabel: this.registerLabel,
|
|
53
|
+
firstNameLabel: this.firstNameLabel,
|
|
54
|
+
lastNameLabel: this.lastNameLabel,
|
|
55
|
+
includeName: this.includeName,
|
|
56
|
+
// slots
|
|
57
|
+
topSlot: h$1("slot", { name: "top-slot" }),
|
|
58
|
+
bottomSlot: h$1("slot", { name: "bottom-slot" }),
|
|
59
|
+
};
|
|
60
|
+
return (h$1(EmailRegistrationView, { states: states, callbacks: callbacks, content: content }));
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
function useRegistrationDemo(props) {
|
|
64
|
+
return cjs({
|
|
65
|
+
states: {
|
|
66
|
+
error: "",
|
|
67
|
+
loading: false,
|
|
68
|
+
forgotPasswordPath: "/forgotPassword",
|
|
69
|
+
registerPath: "/register",
|
|
70
|
+
},
|
|
71
|
+
callbacks: {
|
|
72
|
+
submit: async (_event) => {
|
|
73
|
+
console.log("submit");
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export { ReferredRegistration as sqm_referred_registration };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
3
|
import './JSS-67b5cff8.js';
|
|
4
|
-
import { T as TextSpanView } from './sqm-text-span-view-
|
|
4
|
+
import { T as TextSpanView } from './sqm-text-span-view-2f7d6d14.js';
|
|
5
5
|
|
|
6
6
|
const RewardTableCustomerNoteCell = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -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 { m as h } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import './use-callback-051c06c6.js';
|
|
4
|
+
import './index.module-787e5d35.js';
|
|
5
|
+
import { a as useRequestRerender } from './re-render-54bb3e32.js';
|
|
6
6
|
|
|
7
7
|
const RewardTableCustomerNoteColumn = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,17 +1,16 @@
|
|
|
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 { W, O, x, h as hn, i as isDemo } from './index.module-
|
|
2
|
+
import { b as browser, f as useReducer, u as useEffect, m as h$1, k as useMemo } from './stencil-hooks.module-b48b45ec.js';
|
|
3
|
+
import { i as intl } from './global-0f137e54.js';
|
|
4
|
+
import './use-callback-051c06c6.js';
|
|
5
|
+
import { d as dist, W, O, x, h as hn, i as isDemo } from './index.module-787e5d35.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
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
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-
|
|
14
|
-
import { d as dist } from './index-4bffa04c.js';
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-266126f9.js';
|
|
10
|
+
import { u as useRerenderListener, a as useRequestRerender } from './re-render-54bb3e32.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-0124b1a9.js';
|
|
12
|
+
import { l as luxon } from './luxon-1e38d7f1.js';
|
|
13
|
+
import { g as generateUserError, m as mockRewardData } from './useReferralTable-3024490c.js';
|
|
15
14
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
16
15
|
|
|
17
16
|
const debug = browser("sq:useRewardsTable");
|