@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
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
require('./index.module-
|
|
9
|
-
const reRender = require('./re-render-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
+
require('./use-callback-86e9ac75.js');
|
|
8
|
+
require('./index.module-bd6e817a.js');
|
|
9
|
+
const reRender = require('./re-render-1d12dfdd.js');
|
|
10
10
|
|
|
11
11
|
const TabView = ({}, children) => {
|
|
12
12
|
return index.h(index.Host, null, children);
|
|
@@ -15,7 +15,7 @@ const TabView = ({}, children) => {
|
|
|
15
15
|
const Tab = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
17
|
index.registerInstance(this, hostRef);
|
|
18
|
-
stencilHooks_module.h(this);
|
|
18
|
+
stencilHooks_module.h$1(this);
|
|
19
19
|
}
|
|
20
20
|
disconnectedCallback() { }
|
|
21
21
|
render() {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
const reRender = require('./re-render-
|
|
10
|
-
const useChildElements = require('./useChildElements-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
|
+
require('./use-callback-86e9ac75.js');
|
|
8
|
+
const index_module = require('./index.module-bd6e817a.js');
|
|
9
|
+
const reRender = require('./re-render-1d12dfdd.js');
|
|
10
|
+
const useChildElements = require('./useChildElements-0a6ccd0f.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
|
|
13
13
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -88,7 +88,7 @@ function useTabs() {
|
|
|
88
88
|
const Tabs = class {
|
|
89
89
|
constructor(hostRef) {
|
|
90
90
|
index.registerInstance(this, hostRef);
|
|
91
|
-
stencilHooks_module.h(this);
|
|
91
|
+
stencilHooks_module.h$1(this);
|
|
92
92
|
}
|
|
93
93
|
disconnectedCallback() { }
|
|
94
94
|
render() {
|
|
@@ -52,7 +52,7 @@ const vanillaStyle = `
|
|
|
52
52
|
}
|
|
53
53
|
`;
|
|
54
54
|
function TextSpanView(props, children) {
|
|
55
|
-
return (index.h("span", { class: sheet.classes[props.type] },
|
|
55
|
+
return (index.h("span", { class: sheet.classes[props.type], part: "sqm-text-span" },
|
|
56
56
|
index.h("style", { type: "text/css" },
|
|
57
57
|
vanillaStyle,
|
|
58
58
|
styleString),
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
7
7
|
require('./JSS-8503a151.js');
|
|
8
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
8
|
+
const sqmTextSpanView = require('./sqm-text-span-view-3c734dbb.js');
|
|
9
9
|
|
|
10
10
|
const Text = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.ignored = true;
|
|
14
|
-
stencilHooks_module.h(this);
|
|
14
|
+
stencilHooks_module.h$1(this);
|
|
15
15
|
}
|
|
16
16
|
disconnectedCallback() { }
|
|
17
17
|
componentWillLoad() { }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
|
+
const JSS = require('./JSS-8503a151.js');
|
|
5
|
+
|
|
6
|
+
const style = {
|
|
7
|
+
Container: {},
|
|
8
|
+
};
|
|
9
|
+
const vanillaStyle = `
|
|
10
|
+
:host{
|
|
11
|
+
display: inline;
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
const sheet = JSS.createStyleSheet(style);
|
|
15
|
+
const styleString = sheet.toString();
|
|
16
|
+
function UserIdentifierView(props) {
|
|
17
|
+
const { userIdentificationText, switchUserLink, switchUserText } = props;
|
|
18
|
+
return (index.h("span", { class: sheet.classes.Container },
|
|
19
|
+
index.h("style", { type: "text/css" },
|
|
20
|
+
styleString,
|
|
21
|
+
vanillaStyle),
|
|
22
|
+
userIdentificationText,
|
|
23
|
+
" (",
|
|
24
|
+
index.h("a", { href: switchUserLink }, switchUserText),
|
|
25
|
+
")"));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
exports.UserIdentifierView = UserIdentifierView;
|
|
@@ -3,53 +3,26 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
|
|
6
|
+
require('./JSS-8503a151.js');
|
|
7
7
|
const utils = require('./utils-6847bc06.js');
|
|
8
|
-
|
|
9
|
-
function ImageView(props) {
|
|
10
|
-
// Dependent on props, not feasiable to move out
|
|
11
|
-
const style = {
|
|
12
|
-
Container: {
|
|
13
|
-
display: "flex",
|
|
14
|
-
width: "100%",
|
|
15
|
-
justifyContent: props.alignment || "center",
|
|
16
|
-
background: props.backgroundColor || "",
|
|
17
|
-
},
|
|
18
|
-
Image: {
|
|
19
|
-
minHeight: props.minHeight || "100%",
|
|
20
|
-
width: "100%",
|
|
21
|
-
maxWidth: "max-content",
|
|
22
|
-
objectFit: "cover",
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
const sheet = JSS.createStyleSheet(style);
|
|
26
|
-
const styleString = sheet.toString();
|
|
27
|
-
const vanillaStyle = `
|
|
28
|
-
:host{
|
|
29
|
-
display: block;
|
|
30
|
-
}
|
|
31
|
-
`;
|
|
32
|
-
return (index.h("div", null,
|
|
33
|
-
index.h("style", { type: "text/css" },
|
|
34
|
-
styleString,
|
|
35
|
-
vanillaStyle),
|
|
36
|
-
index.h("div", { class: sheet.classes.Container },
|
|
37
|
-
index.h("img", { src: props.imageUrl, class: sheet.classes.Image }))));
|
|
38
|
-
}
|
|
8
|
+
const sqmUserIdentifierView = require('./sqm-user-identifier-view-69b42b84.js');
|
|
39
9
|
|
|
40
10
|
const Image = class {
|
|
41
11
|
constructor(hostRef) {
|
|
42
12
|
index.registerInstance(this, hostRef);
|
|
43
13
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* @
|
|
46
|
-
|
|
47
|
-
|
|
14
|
+
* @required
|
|
15
|
+
* @uiName User Identification Text
|
|
16
|
+
*/
|
|
17
|
+
this.userIdentificationText = "{email}";
|
|
18
|
+
/**
|
|
19
|
+
* @required
|
|
20
|
+
* @uiName Switch User Text
|
|
48
21
|
*/
|
|
49
|
-
this.
|
|
22
|
+
this.switchUserText = "not you?";
|
|
50
23
|
}
|
|
51
24
|
render() {
|
|
52
|
-
return index.h(
|
|
25
|
+
return index.h(sqmUserIdentifierView.UserIdentifierView, Object.assign({}, utils.getProps(this)));
|
|
53
26
|
}
|
|
54
27
|
};
|
|
55
28
|
|
|
@@ -1114,14 +1114,17 @@ function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.le
|
|
|
1114
1114
|
function s$2(){return index.getRenderingRef()}function l$1(){var e=s$2();return index.getElement(e)}function d$2(e,t){void 0===t&&(t={});var n=l$1();return h$1(n,e,t)}function m$2(e,t){var n=l$1();return y$1(n,e,t)}var p$1=browser("stencil-hook");function h$2(t){var r,u=index.getElement(t),c=(r=!1,new State(function(){p$1("Queue update on element",u),r||(r=!0,Promise.resolve().then(function(){p$1("Forced update on element",u),r=!1,index.forceUpdate(u);}));},u)),a=t.disconnectedCallback;if(!a)throw new Error("Stencil hooks requires `disconnectedCallback` to be defined (even if it's empty). This is because of how the Stencil compiler works internally");t.disconnectedCallback=function(){c.teardown(),v(a);};var i=t.connectedCallback;t.connectedCallback=function(){c.update(),v(i);};var f=t.render.bind(t);t.render=function(){var e=c.run(f);return c.runEffects(),e};}function v(e){"function"==typeof e&&e();}
|
|
1115
1115
|
|
|
1116
1116
|
exports.browser = browser;
|
|
1117
|
+
exports.c = c;
|
|
1117
1118
|
exports.commonjsGlobal = commonjsGlobal;
|
|
1118
1119
|
exports.createCommonjsModule = createCommonjsModule;
|
|
1119
1120
|
exports.d = d$2;
|
|
1120
1121
|
exports.getAugmentedNamespace = getAugmentedNamespace;
|
|
1121
1122
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
1122
|
-
exports.h = h$
|
|
1123
|
+
exports.h = h$1;
|
|
1124
|
+
exports.h$1 = h$2;
|
|
1123
1125
|
exports.l = l$1;
|
|
1124
1126
|
exports.m = m$2;
|
|
1127
|
+
exports.s = s$1;
|
|
1125
1128
|
exports.useEffect = useEffect;
|
|
1126
1129
|
exports.useMemo = useMemo;
|
|
1127
1130
|
exports.useReducer = useReducer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
4
|
+
const index_module = require('./index.module-bd6e817a.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
7
|
const host = index_module.R();
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
4
|
+
const index_module = require('./index.module-bd6e817a.js');
|
|
5
|
+
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
6
|
+
|
|
7
|
+
function usePasswordlessRegistration() {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
9
|
+
const cookie = new URLSearchParams(window.location.search);
|
|
10
|
+
const cookies = cookie === null || cookie === void 0 ? void 0 : cookie.get("_saasquatch");
|
|
11
|
+
console.log({ cookie });
|
|
12
|
+
const [request, { loading, errors, data }] = index_module.sn();
|
|
13
|
+
const [error, setError] = stencilHooks_module.useState("");
|
|
14
|
+
const submit = async (event) => {
|
|
15
|
+
var _a;
|
|
16
|
+
setError("");
|
|
17
|
+
let formData = event.detail.formData;
|
|
18
|
+
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
19
|
+
jsonpointer.jsonpointer.set(formData, key, value);
|
|
20
|
+
});
|
|
21
|
+
const variables = {
|
|
22
|
+
firstName: formData.firstName,
|
|
23
|
+
lastName: formData.lastName,
|
|
24
|
+
email: formData.email,
|
|
25
|
+
...(cookies ? { cookies } : {}),
|
|
26
|
+
};
|
|
27
|
+
const result = await request(variables);
|
|
28
|
+
if (result instanceof Error) {
|
|
29
|
+
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"]))
|
|
30
|
+
setError("Network request failed.");
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
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) ||
|
|
35
|
+
error;
|
|
36
|
+
return {
|
|
37
|
+
states: {
|
|
38
|
+
loading,
|
|
39
|
+
error: errorMessage,
|
|
40
|
+
},
|
|
41
|
+
callbacks: {
|
|
42
|
+
submit,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.usePasswordlessRegistration = usePasswordlessRegistration;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
8
|
-
const luxon = require('./luxon-
|
|
9
|
-
const index = require('./index-e4027f09.js');
|
|
3
|
+
const index = require('./index-b0129cd6.js');
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
5
|
+
const index_module = require('./index.module-bd6e817a.js');
|
|
6
|
+
const reRender = require('./re-render-1d12dfdd.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-0a6ccd0f.js');
|
|
8
|
+
const luxon = require('./luxon-53e983a6.js');
|
|
10
9
|
|
|
11
10
|
const mockRewardData = (count = 4) => {
|
|
12
11
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -157,7 +156,7 @@ const getMockData = () => {
|
|
|
157
156
|
|
|
158
157
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
159
158
|
const CSS_NAMESPACE = "sqm-referral-table";
|
|
160
|
-
const GET_REFERRER_DATA =
|
|
159
|
+
const GET_REFERRER_DATA = index_module.dist.gql `
|
|
161
160
|
query getReferrals(
|
|
162
161
|
$programId: ID
|
|
163
162
|
$rewardFilter: RewardFilterInput
|
|
@@ -222,7 +221,7 @@ const GET_REFERRER_DATA = index.dist.gql `
|
|
|
222
221
|
}
|
|
223
222
|
}
|
|
224
223
|
`;
|
|
225
|
-
const GET_REFERRAL_DATA =
|
|
224
|
+
const GET_REFERRAL_DATA = index_module.dist.gql `
|
|
226
225
|
query getReferrals(
|
|
227
226
|
$limit: Int!
|
|
228
227
|
$offset: Int!
|
|
@@ -408,12 +407,12 @@ function useReferralTable(props, emptyElement, loadingElement) {
|
|
|
408
407
|
// show the referrer row before any other rows
|
|
409
408
|
let referrerRow;
|
|
410
409
|
if (showReferrerRow && states.currentPage === 0) {
|
|
411
|
-
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index
|
|
410
|
+
const referrerPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderReferrerCell(referrerData, locale, index.h)));
|
|
412
411
|
referrerRow = await Promise.all(referrerPromise);
|
|
413
412
|
}
|
|
414
413
|
// get the column cells (renderCell is asynchronous)
|
|
415
414
|
const cellsPromise = data === null || data === void 0 ? void 0 : data.map(async (r) => {
|
|
416
|
-
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, locale, index
|
|
415
|
+
const cellPromise = columnComponents === null || columnComponents === void 0 ? void 0 : columnComponents.map(async (c) => tryMethod(c, () => c.renderCell(r, locale, index.h)));
|
|
417
416
|
const cells = (await Promise.all(cellPromise));
|
|
418
417
|
return cells;
|
|
419
418
|
});
|
|
@@ -501,7 +500,7 @@ async function tryMethod(c, callback) {
|
|
|
501
500
|
debug("label promise failed", e);
|
|
502
501
|
}
|
|
503
502
|
debug("label promise failed", e);
|
|
504
|
-
return index
|
|
503
|
+
return index.h("span", null);
|
|
505
504
|
}
|
|
506
505
|
try {
|
|
507
506
|
return await renderPromise;
|
|
@@ -511,8 +510,8 @@ async function tryMethod(c, callback) {
|
|
|
511
510
|
// This should not happen so we fail fast
|
|
512
511
|
debug("Error rendering label", e);
|
|
513
512
|
const userError = generateUserError(e);
|
|
514
|
-
return (index
|
|
515
|
-
index
|
|
513
|
+
return (index.h("details", null,
|
|
514
|
+
index.h("summary", null, "Error"),
|
|
516
515
|
userError));
|
|
517
516
|
}
|
|
518
517
|
}
|
package/dist/cjs/{useRegistrationFormState-5f21a453.js → useRegistrationFormState-ed30c0e6.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
4
|
-
const index_module = require('./index.module-
|
|
3
|
+
const stencilHooks_module = require('./stencil-hooks.module-e4bf7f2d.js');
|
|
4
|
+
const index_module = require('./index.module-bd6e817a.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"./components/sqm-input-field/sqm-input-field.js",
|
|
25
25
|
"./components/sqm-leaderboard/sqm-leaderboard.js",
|
|
26
26
|
"./components/sqm-leaderboard-rank/sqm-leaderboard-rank.js",
|
|
27
|
+
"./components/sqm-link-button/sqm-link-button.js",
|
|
27
28
|
"./components/sqm-name-fields/sqm-name-fields.js",
|
|
28
29
|
"./components/sqm-navigation-menu/sqm-navigation-menu.js",
|
|
29
30
|
"./components/sqm-navigation-sidebar/sqm-navigation-sidebar.js",
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"./components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js",
|
|
60
61
|
"./components/sqm-referral-table/columns/sqm-referral-table-status-column.js",
|
|
61
62
|
"./components/sqm-referral-table/columns/sqm-referral-table-user-column.js",
|
|
63
|
+
"./components/sqm-referred-registration/sqm-referred-registration.js",
|
|
62
64
|
"./components/sqm-rewards-table/sqm-rewards-table.js",
|
|
63
65
|
"./components/sqm-rewards-table/cells/sqm-rewards-table-customer-note-cell.js",
|
|
64
66
|
"./components/sqm-rewards-table/cells/sqm-rewards-table-date-cell.js",
|
|
@@ -35,10 +35,10 @@ const sheet = createStyleSheet(style);
|
|
|
35
35
|
const styleString = sheet.toString();
|
|
36
36
|
export const AssetCardView = (props) => {
|
|
37
37
|
const { text: { titleText }, imgUrl, } = props;
|
|
38
|
-
return (h("div", { class: sheet.classes.CardContainer },
|
|
38
|
+
return (h("div", { class: sheet.classes.CardContainer, part: "sqm-asset-card-container" },
|
|
39
39
|
h("style", { type: "text/css" }, styleString),
|
|
40
40
|
h("div", { class: sheet.classes.TextContainer },
|
|
41
|
-
h("p", { class: sheet.classes.Title }, titleText),
|
|
41
|
+
h("p", { class: sheet.classes.Title, part: "sqm-asset-card-title" }, titleText),
|
|
42
42
|
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "#000000", class: `bi bi-download ${sheet.classes.Icon}`, viewBox: "0 0 16 16" },
|
|
43
43
|
h("path", { d: "M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z" }),
|
|
44
44
|
h("path", { d: "M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z" }))),
|
|
@@ -47,7 +47,7 @@ export function CheckboxFieldView(props) {
|
|
|
47
47
|
var _a, _b, _c;
|
|
48
48
|
const { states, content, callbacks } = props;
|
|
49
49
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
50
|
-
return (h("div", { class: sheet.classes.FieldContainer },
|
|
50
|
+
return (h("div", { class: sheet.classes.FieldContainer, part: "sqm-checkbox-container" },
|
|
51
51
|
h("style", { type: "text/css" },
|
|
52
52
|
vanillaStyle,
|
|
53
53
|
styleString),
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { CopyTextView } from "../views/copy-text-view";
|
|
2
3
|
export default {
|
|
3
4
|
title: "Components/Coupon Code",
|
|
4
5
|
parameters: {
|
|
5
6
|
// scenario,
|
|
6
7
|
},
|
|
7
8
|
};
|
|
9
|
+
const defaultProps = {
|
|
10
|
+
tooltiptext: "Copied to Clipboard",
|
|
11
|
+
copyString: "test",
|
|
12
|
+
open: false,
|
|
13
|
+
copyButtonLabel: "Copy Coupon",
|
|
14
|
+
};
|
|
8
15
|
export const CouponCode = () => {
|
|
9
16
|
return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
10
17
|
};
|
|
@@ -17,6 +24,9 @@ export const TextAlignCenter = () => {
|
|
|
17
24
|
export const CopyButton = () => {
|
|
18
25
|
return h("sqm-coupon-code", { isCopyIcon: false });
|
|
19
26
|
};
|
|
27
|
+
export const CopyButtonInside = () => {
|
|
28
|
+
return (h(CopyTextView, Object.assign({}, defaultProps, { buttonOutside: false, isCopyIcon: false })));
|
|
29
|
+
};
|
|
20
30
|
export const CustomTooltipDuration = () => {
|
|
21
31
|
return (h("sqm-coupon-code", { tooltiplifespan: 5000, tooltiptext: "CUSTOM TOOLTIP TEXT" }));
|
|
22
32
|
};
|
|
@@ -36,6 +36,18 @@ export class CouponCode {
|
|
|
36
36
|
* @uiName Copy icon
|
|
37
37
|
*/
|
|
38
38
|
this.isCopyIcon = true;
|
|
39
|
+
/**
|
|
40
|
+
* Set copy button label
|
|
41
|
+
*
|
|
42
|
+
* @uiName Copy button label
|
|
43
|
+
*/
|
|
44
|
+
this.copyButtonLabel = "Copy Coupon";
|
|
45
|
+
/**
|
|
46
|
+
* Set the copy button outside the field
|
|
47
|
+
*
|
|
48
|
+
* @uiName Copy button outside
|
|
49
|
+
*/
|
|
50
|
+
this.buttonOutside = true;
|
|
39
51
|
withHooks(this);
|
|
40
52
|
}
|
|
41
53
|
disconnectedCallback() { }
|
|
@@ -156,12 +168,54 @@ export class CouponCode {
|
|
|
156
168
|
"reflect": false,
|
|
157
169
|
"defaultValue": "true"
|
|
158
170
|
},
|
|
171
|
+
"copyButtonLabel": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"mutable": false,
|
|
174
|
+
"complexType": {
|
|
175
|
+
"original": "string",
|
|
176
|
+
"resolved": "string",
|
|
177
|
+
"references": {}
|
|
178
|
+
},
|
|
179
|
+
"required": false,
|
|
180
|
+
"optional": false,
|
|
181
|
+
"docs": {
|
|
182
|
+
"tags": [{
|
|
183
|
+
"text": "Copy button label",
|
|
184
|
+
"name": "uiName"
|
|
185
|
+
}],
|
|
186
|
+
"text": "Set copy button label"
|
|
187
|
+
},
|
|
188
|
+
"attribute": "copy-button-label",
|
|
189
|
+
"reflect": false,
|
|
190
|
+
"defaultValue": "\"Copy Coupon\""
|
|
191
|
+
},
|
|
192
|
+
"buttonOutside": {
|
|
193
|
+
"type": "boolean",
|
|
194
|
+
"mutable": false,
|
|
195
|
+
"complexType": {
|
|
196
|
+
"original": "boolean",
|
|
197
|
+
"resolved": "boolean",
|
|
198
|
+
"references": {}
|
|
199
|
+
},
|
|
200
|
+
"required": false,
|
|
201
|
+
"optional": false,
|
|
202
|
+
"docs": {
|
|
203
|
+
"tags": [{
|
|
204
|
+
"text": "Copy button outside",
|
|
205
|
+
"name": "uiName"
|
|
206
|
+
}],
|
|
207
|
+
"text": "Set the copy button outside the field"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "is-button-outside",
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "true"
|
|
212
|
+
},
|
|
159
213
|
"demoData": {
|
|
160
214
|
"type": "unknown",
|
|
161
215
|
"mutable": false,
|
|
162
216
|
"complexType": {
|
|
163
217
|
"original": "DemoData<CopyTextViewProps>",
|
|
164
|
-
"resolved": "{ copyString?: string;
|
|
218
|
+
"resolved": "{ copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; isCopyIcon?: boolean; textAlign?: \"left\" | \"center\"; buttonOutside?: boolean; onClick?: () => void; }",
|
|
165
219
|
"references": {
|
|
166
220
|
"DemoData": {
|
|
167
221
|
"location": "import",
|
|
@@ -196,6 +250,8 @@ function useDemoCouponCode(props) {
|
|
|
196
250
|
tooltiptext: props.tooltiptext,
|
|
197
251
|
isCopyIcon: props.isCopyIcon,
|
|
198
252
|
textAlign: props.textAlign,
|
|
253
|
+
buttonOutside: props.buttonOutside,
|
|
254
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
199
255
|
open,
|
|
200
256
|
onClick: () => {
|
|
201
257
|
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
@@ -42,7 +42,7 @@ export function DividedLayoutView(props, children) {
|
|
|
42
42
|
`;
|
|
43
43
|
const sheet = createStyleSheet(style);
|
|
44
44
|
const styleString = sheet.toString();
|
|
45
|
-
return (h("div", { class: sheet.classes.LayoutContainer },
|
|
45
|
+
return (h("div", { class: sheet.classes.LayoutContainer, part: "sqm-layout-container" },
|
|
46
46
|
h("style", { type: "text/css" },
|
|
47
47
|
vanillaStyle,
|
|
48
48
|
styleString),
|
|
@@ -36,7 +36,7 @@ export function DropdownFieldView(props) {
|
|
|
36
36
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
37
37
|
const { states, content } = props;
|
|
38
38
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
39
|
-
return (h("div", { class: sheet.classes.FieldContainer },
|
|
39
|
+
return (h("div", { class: sheet.classes.FieldContainer, part: "sqm-dropdown-field-container" },
|
|
40
40
|
h("style", { type: "text/css" },
|
|
41
41
|
vanillaStyle,
|
|
42
42
|
styleString),
|
|
@@ -5,8 +5,8 @@ const EditProfileView = (props) => {
|
|
|
5
5
|
const { text } = states;
|
|
6
6
|
const { errors } = states.formState;
|
|
7
7
|
if (states.showEdit) {
|
|
8
|
-
return (h("div", { class: `CardWrapper ${!states.showEdit && "ShowEdit"}
|
|
9
|
-
h("h2", { style: {
|
|
8
|
+
return (h("div", { class: `CardWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-edit-profile-container" },
|
|
9
|
+
h("h2", { part: "sqm-edit-profile-header", style: {
|
|
10
10
|
fontSize: "var(--sl-font-size-x-large)",
|
|
11
11
|
margin: "0px",
|
|
12
12
|
textAlign: "center",
|
|
@@ -34,9 +34,9 @@ const EditProfileView = (props) => {
|
|
|
34
34
|
callbacks.onSubmit(e);
|
|
35
35
|
}, submit: true, exportparts: "base: primarybutton-base" }, text.updatetext)))));
|
|
36
36
|
}
|
|
37
|
-
return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}
|
|
37
|
+
return (h("div", { class: `CardWrapper FormWrapper ${!states.showEdit && "ShowEdit"}`, part: "sqm-edit-profile-container" },
|
|
38
38
|
h("div", { class: "FormSection" },
|
|
39
|
-
h("h2", { style: {
|
|
39
|
+
h("h2", { part: "sqm-edit-profile-header", style: {
|
|
40
40
|
fontSize: "var(--sl-font-size-x-large)",
|
|
41
41
|
marginBottom: "0px",
|
|
42
42
|
textAlign: "center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export function EmptyStateView(props) {
|
|
3
3
|
const { emptyStateHeader, emptyStateImage, emptyStateText } = props;
|
|
4
|
-
return (h("sqm-portal-container", { padding: "large", gap: "medium" },
|
|
4
|
+
return (h("sqm-portal-container", { padding: "large", gap: "medium", part: "sqm-empty-container" },
|
|
5
5
|
h("sqm-image", { "image-url": emptyStateImage }),
|
|
6
6
|
h("sqm-titled-section", { "label-margin": "xxx-small", "text-align": "center" },
|
|
7
7
|
h("sqm-text", { slot: "label" },
|
|
@@ -21,7 +21,7 @@ export class HeroImage {
|
|
|
21
21
|
disconnectedCallback() { }
|
|
22
22
|
render() {
|
|
23
23
|
return (h(Host, null,
|
|
24
|
-
h("a", { href: this.nextPage },
|
|
24
|
+
h("a", { href: this.nextPage, part: "sqm-header-logo-link" },
|
|
25
25
|
h("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "sqm-header-logo"; }
|
|
@@ -119,11 +119,11 @@ export function HeroView(props) {
|
|
|
119
119
|
|
|
120
120
|
`;
|
|
121
121
|
// NOTE: Spacing on the columns is controlled on the slots itself. For example using inline styling
|
|
122
|
-
return (h("div", { class: sheet.classes.Container },
|
|
122
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-hero-container" },
|
|
123
123
|
h("style", { type: "text/css" },
|
|
124
124
|
vanillaStyle,
|
|
125
125
|
styleString),
|
|
126
|
-
states.columns == 2 ? (h("div", { class: sheet.classes.TwoColumnContainer },
|
|
127
|
-
h("div", { class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.primaryColumn),
|
|
128
|
-
h("div", { class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.secondaryColumn))) : (h("div", { class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
126
|
+
states.columns == 2 ? (h("div", { class: sheet.classes.TwoColumnContainer, part: "sqm-hero-two-col-container" },
|
|
127
|
+
h("div", { part: "sqm-hero-primary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.primaryColumn),
|
|
128
|
+
h("div", { part: "sqm-hero-secondary-col", class: `${sheet.classes.ColumnWrapper} ${sheet.classes.ColumnPadding}` }, content.secondaryColumn))) : (h("div", { part: "sqm-hero-primary-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
|
|
129
129
|
}
|
|
@@ -107,7 +107,7 @@ export function HeroImageView(props, children) {
|
|
|
107
107
|
:host{
|
|
108
108
|
display: block;
|
|
109
109
|
}`;
|
|
110
|
-
return (h("div", { class: sheet.classes.Container },
|
|
110
|
+
return (h("div", { class: sheet.classes.Container, part: "sqm-hero-image-container" },
|
|
111
111
|
h("style", { type: "text/css" },
|
|
112
112
|
vanillaStyle,
|
|
113
113
|
styleString),
|
|
@@ -115,7 +115,7 @@ export function HeroImageView(props, children) {
|
|
|
115
115
|
props.layout === "columns" && ColumnView()));
|
|
116
116
|
function OverlayView() {
|
|
117
117
|
return (h("div", { class: sheet.classes.Background },
|
|
118
|
-
h("div", { class: sheet.classes.Overlay },
|
|
118
|
+
h("div", { class: sheet.classes.Overlay, part: "sqm-hero-image-overlay-container" },
|
|
119
119
|
props.header && (h("div", { class: sheet.classes.Header }, props.header)),
|
|
120
120
|
props.description && (h("div", { class: sheet.classes.Description }, props.description)),
|
|
121
121
|
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
@@ -127,11 +127,11 @@ export function HeroImageView(props, children) {
|
|
|
127
127
|
return (h("div", null,
|
|
128
128
|
h("div", { class: sheet.classes.Column },
|
|
129
129
|
h("div", { class: "image-area" },
|
|
130
|
-
h("img", { class: sheet.classes.Image, src: props.imageUrl })),
|
|
131
|
-
h("div", { class: "text-area" },
|
|
132
|
-
props.header && (h("div", { class: sheet.classes.Header }, props.header)),
|
|
133
|
-
props.description && (h("div", { class: sheet.classes.Description }, props.description)),
|
|
134
|
-
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
130
|
+
h("img", { class: sheet.classes.Image, src: props.imageUrl, part: "sqm-hero-image" })),
|
|
131
|
+
h("div", { class: "text-area", part: "sqm-hero-image-text-area" },
|
|
132
|
+
props.header && (h("div", { class: sheet.classes.Header, part: "sqm-hero-image-header" }, props.header)),
|
|
133
|
+
props.description && (h("div", { class: sheet.classes.Description, part: "sqm-hero-image-description" }, props.description)),
|
|
134
|
+
props.buttonText && (h("sl-button", { exportparts: "base: sqm-hero-image-btn", class: sheet.classes.Button, type: "primary", onClick: () => props.buttonNewTab
|
|
135
135
|
? window.open(props.buttonLink)
|
|
136
136
|
: window.open(props.buttonLink, "_parent") }, props.buttonText))))));
|
|
137
137
|
}
|
|
@@ -27,6 +27,6 @@ export function ImageView(props) {
|
|
|
27
27
|
h("style", { type: "text/css" },
|
|
28
28
|
styleString,
|
|
29
29
|
vanillaStyle),
|
|
30
|
-
h("div", { class: sheet.classes.Container },
|
|
30
|
+
h("div", { class: sheet.classes.Container, part: "sqm-image-container" },
|
|
31
31
|
h("img", { part: "sqm-image", src: props.imageUrl, class: sheet.classes.Image }))));
|
|
32
32
|
}
|
|
@@ -23,7 +23,7 @@ export function InputFieldView(props) {
|
|
|
23
23
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
24
24
|
const { states, content } = props;
|
|
25
25
|
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
26
|
-
return (h("div", { class: sheet.classes.FieldContainer },
|
|
26
|
+
return (h("div", { class: sheet.classes.FieldContainer, part: "sqm-input-field-container" },
|
|
27
27
|
h("style", { type: "text/css" },
|
|
28
28
|
vanillaStyle,
|
|
29
29
|
styleString),
|