@saasquatch/mint-components 1.12.1-7 → 1.12.1-9
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-7ef786c3.js → GenericTableView-69534180.js} +3 -3
- package/dist/cjs/JSS-9a3cf556.js +8 -0
- package/dist/cjs/{ShadowViewAddon-fae7ab2c.js → ShadowViewAddon-03efae45.js} +259 -232
- package/dist/cjs/{email-registration-view-4eeee3e4.js → email-registration-view-ec79ef26.js} +3 -3
- package/dist/cjs/{global-d9abaf4d.js → global-02e50f09.js} +3 -3
- package/dist/cjs/{index-3cf5ef3d.js → index-b0129cd6.js} +0 -16
- package/dist/cjs/{index.module-ccf9bd9c.js → index.module-df530553.js} +19 -57
- package/dist/{esm/JSS-67b5cff8.js → cjs/jss-preset-default.esm-451bc403.js} +5 -4
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-14ae1f8a.js → luxon-05098e19.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/{mixins-f7e0377a.js → mixins-fe9d4112.js} +1 -0
- package/dist/cjs/{mockRewardData-a384d9f5.js → mockRewardData-4258e067.js} +1 -1
- package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
- package/dist/cjs/{re-render-1e63c82b.js → re-render-1976e05e.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-a3abee0b.js → sqm-asset-card-view-16494e3a.js} +2 -2
- package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -5
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +68 -67
- package/dist/cjs/{sqm-big-stat_37.cjs.entry.js → sqm-big-stat_38.cjs.entry.js} +119 -114
- package/dist/cjs/sqm-checkbox-field-view-49196804.js +66 -0
- package/dist/cjs/{sqm-close-button-view-0cdada3a.js → sqm-close-button-view-b96a4fb9.js} +3 -3
- package/dist/cjs/sqm-close-button.cjs.entry.js +7 -6
- package/dist/cjs/sqm-context-router.cjs.entry.js +4 -4
- package/dist/cjs/sqm-empty_4.cjs.entry.js +8 -11
- package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -7
- package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
- package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +9 -8
- package/dist/cjs/{sqm-invoice-table-view-a13d1c7f.js → sqm-invoice-table-view-7cd560da.js} +3 -3
- package/dist/cjs/{sqm-leaderboard-rank-view-133f8d95.js → sqm-leaderboard-rank-view-5a3d4a88.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-logout-current-user-view-64ca6abe.js → sqm-logout-current-user-view-47153187.js} +2 -2
- package/dist/cjs/sqm-logout-current-user.cjs.entry.js +8 -7
- package/dist/cjs/sqm-marketing-emails-checkbox.cjs.entry.js +54 -0
- package/dist/cjs/{sqm-navigation-sidebar-item-view-38519acf.js → sqm-navigation-sidebar-item-view-761d17e3.js} +5 -5
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-navigation-sidebar-view-37209a17.js → sqm-navigation-sidebar-view-921704fb.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +7 -6
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/sqm-portal-change-marketing.cjs.entry.js +205 -0
- package/dist/cjs/{sqm-portal-container-view-9a36f5ed.js → sqm-portal-container-view-7648fd3f.js} +2 -2
- package/dist/cjs/{sqm-portal-email-verification-view-6e1e80e7.js → sqm-portal-email-verification-view-137ae9cf.js} +5 -5
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +14 -13
- package/dist/cjs/{sqm-portal-forgot-password-view-97903679.js → sqm-portal-forgot-password-view-f43b703a.js} +4 -4
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +11 -10
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +4 -4
- package/dist/cjs/{sqm-portal-profile-view-f4489585.js → sqm-portal-profile-view-9401d663.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -11
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +7 -7
- package/dist/cjs/sqm-portal-registration-form-view-890746ac.js +85 -0
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +220 -20
- package/dist/cjs/{sqm-portal-reset-password-view-0ed5419e.js → sqm-portal-reset-password-view-ac811594.js} +4 -4
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +13 -12
- package/dist/cjs/{sqm-portal-verify-email-view-cd2c3086.js → sqm-portal-verify-email-view-d93a4291.js} +4 -4
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +13 -12
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +14 -15
- package/dist/cjs/sqm-referred-registration.cjs.entry.js +9 -8
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +5 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +18 -17
- package/dist/cjs/sqm-route.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +422 -747
- package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
- package/dist/cjs/sqm-tabs.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-text-span-view-a22f50aa.js → sqm-text-span-view-f318b5ac.js} +2 -2
- package/dist/cjs/sqm-text-span.cjs.entry.js +5 -4
- package/dist/cjs/{stencil-hooks.module-ece1ee46.js → stencil-hooks.module-72742a0b.js} +1 -1
- package/dist/cjs/useCheckboxField-97471065.js +27 -0
- package/dist/cjs/{useChildElements-438cf387.js → useChildElements-e0d44916.js} +3 -3
- package/dist/cjs/{useInstantAccessRegistration-7d91867a.js → useInstantAccessRegistration-bbe746d1.js} +4 -4
- package/dist/cjs/{useReferralTable-6b4920f9.js → useReferralTable-a76adb0d.js} +11 -11
- package/dist/cjs/{useRegistrationFormState-5911d016.js → useRegistrationFormState-876ed65d.js} +3 -3
- package/dist/cjs/{utilities-27e9535b.js → utilities-cec9dd36.js} +2 -2
- package/dist/collection/collection-manifest.json +3 -13
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +6 -15
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +5 -5
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-empty/sqm-empty.js +2 -10
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.js +11 -0
- package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +130 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.js +31 -0
- package/dist/collection/components/sqm-portal-change-marketing/sqm-portal-change-marketing.js +190 -0
- package/dist/collection/components/sqm-portal-change-marketing/usePortalChangeMarketing.js +105 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +4 -0
- package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +4 -28
- package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +1 -9
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +3 -80
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +3 -6
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +5 -1
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +14 -16
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +3 -30
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +2 -1
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +0 -20
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
- package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +2 -6
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +3 -1
- package/dist/collection/components/sqm-share-button/useShareButton.js +18 -29
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-share-link/useShareLink.js +4 -11
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -12
- package/dist/collection/components/views/copy-text-view.js +3 -18
- package/dist/collection/global/mixins.js +1 -0
- package/dist/collection/stories/Widget.stories.js +0 -5
- package/dist/esm/{GenericTableView-6aa9fac9.js → GenericTableView-07d98ad0.js} +3 -3
- package/dist/esm/JSS-1c144d47.js +6 -0
- package/dist/esm/{ShadowViewAddon-f91cd444.js → ShadowViewAddon-0d8b1430.js} +254 -228
- package/dist/esm/{email-registration-view-6870d230.js → email-registration-view-799eb599.js} +3 -3
- package/dist/esm/{global-3611a2b7.js → global-62554cef.js} +3 -3
- package/dist/esm/{index-60f16d0a.js → index-17b4da69.js} +1 -15
- package/dist/esm/{index.module-f3d96fbb.js → index.module-48f73e70.js} +4 -41
- package/dist/{cjs/JSS-8503a151.js → esm/jss-preset-default.esm-f910d30d.js} +1 -8
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-9b1f9912.js → luxon-7600be8d.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/{mixins-83f90fa1.js → mixins-f60a614c.js} +1 -0
- package/dist/esm/{mockRewardData-8b3afd15.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm/raisins-plop-target.entry.js +1 -1
- package/dist/esm/{re-render-3b630de2.js → re-render-cb4d43dc.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-1ce99353.js} +2 -2
- package/dist/esm/sqm-asset-card.entry.js +6 -5
- package/dist/esm/sqm-banking-info-form_16.entry.js +68 -67
- package/dist/esm/{sqm-big-stat_37.entry.js → sqm-big-stat_38.entry.js} +115 -111
- package/dist/esm/sqm-checkbox-field-view-308a6a1f.js +64 -0
- package/dist/esm/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-e00f01fa.js} +3 -3
- package/dist/esm/sqm-close-button.entry.js +7 -6
- package/dist/esm/sqm-context-router.entry.js +4 -4
- package/dist/esm/sqm-empty_4.entry.js +8 -11
- package/dist/esm/sqm-form-message.entry.js +2 -2
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -7
- package/dist/esm/sqm-header-logo.entry.js +2 -2
- package/dist/esm/sqm-instant-access-registration.entry.js +9 -8
- package/dist/esm/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-3ee84dc1.js} +3 -3
- package/dist/esm/{sqm-leaderboard-rank-view-7cd0de83.js → sqm-leaderboard-rank-view-10657658.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-4f05c768.js} +2 -2
- package/dist/esm/sqm-logout-current-user.entry.js +8 -7
- package/dist/esm/sqm-marketing-emails-checkbox.entry.js +50 -0
- package/dist/esm/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-02ad070b.js} +5 -5
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +8 -7
- package/dist/esm/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-0312e073.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +6 -6
- package/dist/esm/sqm-password-field.entry.js +7 -6
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/sqm-portal-change-marketing.entry.js +201 -0
- package/dist/esm/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-05f4bbe1.js} +2 -2
- package/dist/esm/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-f255ec8a.js} +5 -5
- package/dist/esm/sqm-portal-email-verification.entry.js +14 -13
- package/dist/esm/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-1fb6c140.js} +4 -4
- package/dist/esm/sqm-portal-forgot-password.entry.js +11 -10
- package/dist/esm/sqm-portal-logout.entry.js +4 -4
- package/dist/esm/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-5a60747a.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +12 -11
- package/dist/esm/sqm-portal-protected-route.entry.js +7 -7
- package/dist/esm/sqm-portal-registration-form-view-f967552a.js +83 -0
- package/dist/esm/sqm-portal-registration-form.entry.js +219 -19
- package/dist/esm/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-17d19b2d.js} +4 -4
- package/dist/esm/sqm-portal-reset-password.entry.js +13 -12
- package/dist/esm/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-d9f26e51.js} +4 -4
- package/dist/esm/sqm-portal-verify-email.entry.js +13 -12
- package/dist/esm/sqm-referral-table_11.entry.js +14 -15
- package/dist/esm/sqm-referred-registration.entry.js +9 -8
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +5 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +18 -17
- package/dist/esm/sqm-route.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +408 -733
- package/dist/esm/sqm-tab.entry.js +4 -4
- package/dist/esm/sqm-tabs.entry.js +6 -6
- package/dist/esm/{sqm-text-span-view-d1b54710.js → sqm-text-span-view-02ce93d8.js} +2 -2
- package/dist/esm/sqm-text-span.entry.js +5 -4
- package/dist/esm/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm/useCheckboxField-4cf3ab7f.js +25 -0
- package/dist/esm/{useChildElements-d1d3fedd.js → useChildElements-a6b895dd.js} +3 -3
- package/dist/esm/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-46a98499.js} +4 -4
- package/dist/esm/{useReferralTable-fbcfc2a7.js → useReferralTable-6e8350db.js} +11 -11
- package/dist/esm/{useRegistrationFormState-33f9cb24.js → useRegistrationFormState-de6b208e.js} +3 -3
- package/dist/esm/{utilities-33996ce7.js → utilities-e8022681.js} +2 -2
- package/dist/esm-es5/{GenericTableView-6aa9fac9.js → GenericTableView-07d98ad0.js} +1 -1
- package/dist/esm-es5/JSS-1c144d47.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-0d8b1430.js +1 -0
- package/dist/esm-es5/{email-registration-view-6870d230.js → email-registration-view-799eb599.js} +1 -1
- package/dist/esm-es5/{global-3611a2b7.js → global-62554cef.js} +2 -2
- package/dist/esm-es5/{index-60f16d0a.js → index-17b4da69.js} +1 -1
- package/dist/esm-es5/index.module-48f73e70.js +1 -0
- package/dist/esm-es5/{JSS-67b5cff8.js → jss-preset-default.esm-f910d30d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-9b1f9912.js → luxon-7600be8d.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{mixins-83f90fa1.js → mixins-f60a614c.js} +1 -1
- package/dist/esm-es5/{mockRewardData-8b3afd15.js → mockRewardData-0eb6e778.js} +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-3b630de2.js → re-render-cb4d43dc.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-2157b61f.js → sqm-asset-card-view-1ce99353.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -0
- package/dist/esm-es5/sqm-checkbox-field-view-308a6a1f.js +1 -0
- package/dist/esm-es5/{sqm-close-button-view-0c0bfff8.js → sqm-close-button-view-e00f01fa.js} +1 -1
- package/dist/esm-es5/sqm-close-button.entry.js +1 -1
- package/dist/esm-es5/sqm-context-router.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.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-instant-access-registration.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-b8240dc6.js → sqm-invoice-table-view-3ee84dc1.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-10657658.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-logout-current-user-view-02e9f508.js → sqm-logout-current-user-view-4f05c768.js} +1 -1
- package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
- package/dist/esm-es5/sqm-marketing-emails-checkbox.entry.js +1 -0
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-a4e4edb6.js → sqm-navigation-sidebar-item-view-02ad070b.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-ce55d74d.js → sqm-navigation-sidebar-view-0312e073.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-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-change-marketing.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-container-view-c3be4b88.js → sqm-portal-container-view-05f4bbe1.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-d500dd01.js → sqm-portal-email-verification-view-f255ec8a.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-4f6c89a7.js → sqm-portal-forgot-password-view-1fb6c140.js} +1 -1
- package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-2997f902.js → sqm-portal-profile-view-5a60747a.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-f967552a.js +1 -0
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-e29f1842.js → sqm-portal-reset-password-view-17d19b2d.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-d5dcf5c5.js → sqm-portal-verify-email-view-d9f26e51.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-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-route.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-d1b54710.js → sqm-text-span-view-02ce93d8.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e20edc0b.js → stencil-hooks.module-ac12ca1c.js} +1 -1
- package/dist/esm-es5/useCheckboxField-4cf3ab7f.js +1 -0
- package/dist/esm-es5/useChildElements-a6b895dd.js +1 -0
- package/dist/esm-es5/{useInstantAccessRegistration-c5d80a2e.js → useInstantAccessRegistration-46a98499.js} +1 -1
- package/dist/esm-es5/{useReferralTable-fbcfc2a7.js → useReferralTable-6e8350db.js} +1 -1
- package/dist/esm-es5/useRegistrationFormState-de6b208e.js +1 -0
- package/dist/esm-es5/{utilities-33996ce7.js → utilities-e8022681.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-863340dc.entry.js → p-0068067d.entry.js} +1 -1
- package/dist/mint-components/{p-9e4e3d5f.system.js → p-01583213.system.js} +1 -1
- package/dist/mint-components/{p-91521e9d.js → p-02be1a88.js} +1 -1
- package/dist/mint-components/p-0a898ab1.js +1 -0
- package/dist/mint-components/p-0c486d59.system.entry.js +1 -0
- package/dist/mint-components/p-0e7aff90.entry.js +1 -0
- package/dist/mint-components/p-0f010c01.system.js +1 -0
- package/dist/mint-components/p-0f60a773.system.entry.js +1 -0
- package/dist/mint-components/p-10f50982.entry.js +1 -0
- package/dist/mint-components/p-115edc43.system.entry.js +1 -0
- package/dist/mint-components/p-11d71aca.system.entry.js +1 -0
- package/dist/mint-components/{p-88197cfd.js → p-140d7013.js} +1 -1
- package/dist/mint-components/p-175075e7.system.js +1 -0
- package/dist/mint-components/{p-8799b28f.entry.js → p-178d2d2e.entry.js} +1 -1
- package/dist/mint-components/p-1804b66f.entry.js +1 -0
- package/dist/mint-components/p-1a41a421.entry.js +1 -0
- package/dist/mint-components/p-1b150b6a.system.js +1 -0
- package/dist/mint-components/{p-5fb1bcb5.entry.js → p-1c731efb.entry.js} +6 -6
- package/dist/mint-components/{p-15b2063c.system.js → p-1eb21821.system.js} +1 -1
- package/dist/mint-components/p-215d9dce.system.entry.js +1 -0
- package/dist/mint-components/p-2246106b.js +1 -0
- package/dist/mint-components/{p-3dc9a448.entry.js → p-23112de2.entry.js} +1 -1
- package/dist/mint-components/{p-12d27b9b.js → p-251e7567.js} +1 -1
- package/dist/mint-components/{p-0e89ac7f.system.entry.js → p-275b2841.system.entry.js} +1 -1
- package/dist/mint-components/p-278956a2.entry.js +1 -0
- package/dist/mint-components/p-28853a6a.entry.js +1 -0
- package/dist/mint-components/p-29023a9c.entry.js +1 -0
- package/dist/mint-components/p-2a0fa0ad.js +1 -0
- package/dist/mint-components/{p-ef7b966e.system.js → p-2a2d4343.system.js} +1 -1
- package/dist/mint-components/{p-58bcece7.system.js → p-2a414b2e.system.js} +1 -1
- package/dist/mint-components/{p-5b6cf6cd.system.js → p-2aa7713d.system.js} +1 -1
- package/dist/mint-components/p-2acb78d3.entry.js +1 -0
- package/dist/mint-components/{p-a631db44.system.js → p-2b1aaa73.system.js} +1 -1
- package/dist/mint-components/p-2dea7656.system.js +1 -0
- package/dist/mint-components/p-347dd097.system.entry.js +1 -0
- package/dist/mint-components/{p-2dff4fb2.js → p-36e74ad7.js} +1 -1
- package/dist/mint-components/{p-3ae32130.system.js → p-370a1a73.system.js} +1 -1
- package/dist/mint-components/p-373e65b0.system.entry.js +1 -0
- package/dist/mint-components/{p-e864a155.entry.js → p-3b08cc52.entry.js} +1 -1
- package/dist/mint-components/p-3c62b21e.entry.js +1 -0
- package/dist/mint-components/p-3d6c5d14.system.entry.js +1 -0
- package/dist/mint-components/p-4086b633.js +1 -0
- package/dist/mint-components/p-41e50df2.system.entry.js +1 -0
- package/dist/mint-components/p-481dedf2.system.js +1 -0
- package/dist/mint-components/{p-5057380a.system.js → p-4a9499c7.system.js} +1 -1
- package/dist/mint-components/p-4ac09619.entry.js +1 -0
- package/dist/mint-components/p-4dcdf9b6.js +1 -0
- package/dist/mint-components/p-4e7a12df.system.entry.js +1 -0
- package/dist/mint-components/p-50d1a9b2.system.entry.js +1 -0
- package/dist/mint-components/p-512089bb.js +1 -0
- package/dist/mint-components/p-513f79fb.entry.js +13 -0
- package/dist/mint-components/p-527ec925.entry.js +1 -0
- package/dist/mint-components/{p-71d6b762.js → p-538aab3a.js} +1 -1
- package/dist/mint-components/p-54918603.entry.js +13 -0
- package/dist/mint-components/p-55108921.entry.js +1 -0
- package/dist/mint-components/p-568880c6.entry.js +11 -0
- package/dist/mint-components/{p-3c00282b.entry.js → p-59111d6c.entry.js} +1 -1
- package/dist/mint-components/p-597ad57b.system.js +1 -0
- package/dist/mint-components/p-5da7c982.system.js +1 -0
- package/dist/mint-components/{p-c1ede4f5.system.js → p-5e095969.system.js} +1 -1
- package/dist/mint-components/{p-d59c19ba.entry.js → p-60fd880a.entry.js} +2 -2
- package/dist/mint-components/{p-b3499953.entry.js → p-639d3dd3.entry.js} +1 -1
- package/dist/mint-components/p-64c3217a.js +1 -0
- package/dist/mint-components/{p-5309ebf3.js → p-66060832.js} +1 -1
- package/dist/mint-components/p-687d6357.system.js +1 -0
- package/dist/mint-components/p-6a026560.entry.js +1 -0
- package/dist/mint-components/{p-0aa76ad0.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
- package/dist/mint-components/{p-1ab3f305.system.js → p-6b5e355c.system.js} +1 -1
- package/dist/mint-components/{p-a67e8ef4.system.js → p-6f980faf.system.js} +1 -1
- package/dist/mint-components/p-711bb8da.entry.js +1 -0
- package/dist/mint-components/{p-4b55e96b.entry.js → p-7557ed77.entry.js} +16 -16
- package/dist/mint-components/p-75cef010.system.js +1 -0
- package/dist/mint-components/{p-3c04f8d1.system.js → p-771a2ee3.system.js} +1 -1
- package/dist/mint-components/{p-adc14a77.system.entry.js → p-7726e4ea.system.entry.js} +1 -1
- package/dist/mint-components/p-7a815193.system.entry.js +1 -0
- package/dist/mint-components/p-7df4e6bf.system.js +1 -0
- package/dist/mint-components/p-7eabcffc.js +1 -0
- package/dist/mint-components/p-833fe52b.js +1 -0
- package/dist/mint-components/p-873f57ea.system.entry.js +1 -0
- package/dist/mint-components/{p-ec379cf4.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-ff19bf56.system.js → p-8de27ef5.system.js} +1 -1
- package/dist/mint-components/p-8f53ea77.system.entry.js +1 -0
- package/dist/mint-components/p-8f87de4b.system.entry.js +1 -0
- package/dist/mint-components/{p-c33ccfb7.entry.js → p-92110eef.entry.js} +1 -1
- package/dist/mint-components/p-921225ad.system.entry.js +1 -0
- package/dist/mint-components/{p-22110634.js → p-968bad36.js} +1 -1
- package/dist/mint-components/p-98cebfec.system.js +1 -0
- package/dist/mint-components/p-9aa177d6.system.entry.js +1 -0
- package/dist/mint-components/{p-697d6e54.system.js → p-9ae5c6c1.system.js} +1 -1
- package/dist/mint-components/{p-7e3ada1b.system.js → p-9b46f9c3.system.js} +1 -1
- package/dist/mint-components/p-9b4a99c4.js +1 -0
- package/dist/mint-components/p-9b860442.entry.js +33 -0
- package/dist/mint-components/p-9bb9a767.system.js +1 -0
- package/dist/mint-components/p-9cbfc500.entry.js +1 -0
- package/dist/mint-components/p-a16c619c.js +1 -0
- package/dist/mint-components/p-a1948fb7.system.entry.js +1 -0
- package/dist/mint-components/p-a3ffc863.system.entry.js +1 -0
- package/dist/mint-components/{p-b402df18.js → p-a5b16d30.js} +1 -1
- package/dist/mint-components/p-a6b36268.system.js +1 -0
- package/dist/mint-components/p-a76a7e46.system.entry.js +1 -0
- package/dist/mint-components/{p-e56447fd.js → p-ac1bf045.js} +1 -1
- package/dist/mint-components/p-af5cc6f4.entry.js +18 -0
- package/dist/mint-components/p-b07a88fd.js +1 -0
- package/dist/mint-components/p-b0c53c97.system.entry.js +1 -0
- package/dist/mint-components/{p-683cfd07.js → p-b348d95c.js} +1 -1
- package/dist/mint-components/{p-e0c608e4.system.js → p-b54defaf.system.js} +1 -1
- package/dist/mint-components/p-b5b9f737.entry.js +1 -0
- package/dist/mint-components/p-b6c2318d.js +1 -0
- package/dist/mint-components/{p-3dbcd42a.system.entry.js → p-b7324c0e.system.entry.js} +1 -1
- package/dist/mint-components/p-b86003f6.entry.js +1 -0
- package/dist/mint-components/{p-5c714029.js → p-b9cff63f.js} +1 -1
- package/dist/mint-components/{p-0b6200b3.js → p-b9fe0c38.js} +1 -1
- package/dist/mint-components/p-bd6d9d54.system.entry.js +1 -0
- package/dist/mint-components/{p-682450a8.js → p-bda832b2.js} +1 -1
- package/dist/mint-components/p-c0b254f6.js +391 -0
- package/dist/mint-components/{p-b11f43ee.js → p-c136a447.js} +1 -1
- package/dist/mint-components/{p-8f705bea.system.entry.js → p-c1a47137.system.entry.js} +1 -1
- package/dist/mint-components/{p-d47569d0.js → p-c4719154.js} +1 -1
- package/dist/mint-components/p-c7624256.system.entry.js +1 -0
- package/dist/mint-components/{p-1a673057.system.js → p-c8d580ea.system.js} +1 -1
- package/dist/mint-components/p-c98cd85a.system.entry.js +1 -0
- package/dist/mint-components/p-ce65982f.entry.js +9 -0
- package/dist/mint-components/{p-d477a07b.system.js → p-ce9e7c98.system.js} +1 -1
- package/dist/mint-components/{p-bc305236.system.entry.js → p-cefffd56.system.entry.js} +1 -1
- package/dist/mint-components/p-d9c53d4b.system.entry.js +1 -0
- package/dist/mint-components/p-deb712ef.system.js +1 -0
- package/dist/mint-components/p-df69e89b.entry.js +1 -0
- package/dist/mint-components/p-e13fb786.system.entry.js +1 -0
- package/dist/mint-components/p-e169497d.entry.js +1 -0
- package/dist/mint-components/p-e27a2d0f.js +1 -0
- package/dist/mint-components/{p-222fa722.system.js → p-e546347e.system.js} +1 -1
- package/dist/mint-components/{p-cef45012.js → p-ecc9ed0b.js} +1 -1
- package/dist/mint-components/p-eff03905.system.entry.js +1 -0
- package/dist/mint-components/{p-7bc9308c.system.entry.js → p-f0806232.system.entry.js} +1 -1
- package/dist/mint-components/p-f0cc9ed1.system.entry.js +1 -0
- package/dist/mint-components/p-f2bb6bd1.system.js +1 -0
- package/dist/mint-components/{p-9d078f60.js → p-f3053c61.js} +1 -1
- package/dist/mint-components/{p-cd1d497f.system.js → p-f6934a55.system.js} +1 -1
- package/dist/mint-components/{p-aa5446c1.js → p-f817537a.js} +1 -1
- package/dist/mint-components/{p-9fff2218.js → p-f8574e9f.js} +1 -1
- package/dist/mint-components/p-f9b15dba.entry.js +1 -0
- package/dist/mint-components/{p-75956e50.entry.js → p-fbdf0738.entry.js} +1 -1
- package/dist/mint-components/p-fc58dc2f.system.entry.js +1 -0
- package/dist/mint-components/{p-b619a5e0.js → p-fd2c5407.js} +1 -1
- package/dist/mint-components/{p-989fdd2e.system.js → p-ff17b3a4.system.js} +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +4 -4
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
- package/dist/types/components/{sqm-pagination/Pagination.stories.d.ts → sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories.d.ts} +3 -0
- package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +28 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing-view.d.ts +26 -0
- package/dist/types/components/sqm-portal-change-marketing/sqm-portal-change-marketing.d.ts +35 -0
- package/dist/types/components/sqm-portal-change-marketing/usePortalChangeMarketing.d.ts +3 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/PortalLogin.stories.d.ts +0 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -8
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -2
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +1 -7
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +0 -1
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +0 -1
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +0 -1
- package/dist/types/components/views/copy-text-view.d.ts +0 -3
- package/dist/types/components.d.ts +105 -544
- package/dist/types/global/mixins.d.ts +2 -0
- package/dist/types/stories/Widget.stories.d.ts +0 -6
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/copy-text-view-43e8349f.js +0 -231
- package/dist/cjs/sqm-base-registration-form-view-e4a74dee.js +0 -68
- package/dist/cjs/sqm-google-sign-in.cjs.entry.js +0 -45
- package/dist/cjs/sqm-name-fields-view-57c734bf.js +0 -55
- package/dist/cjs/sqm-name-fields.cjs.entry.js +0 -59
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +0 -392
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +0 -314
- package/dist/cjs/sqm-portal-registration-form-view-0502824e.js +0 -87
- package/dist/cjs/usePortalRegistrationForm-16151c0c.js +0 -214
- package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +0 -36
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +0 -63
- package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +0 -78
- package/dist/collection/components/sqm-pagination/Pagination.stories.js +0 -12
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +0 -32
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -112
- package/dist/collection/components/sqm-pagination/usePagination.js +0 -29
- package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +0 -78
- package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +0 -880
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +0 -70
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +0 -60
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +0 -317
- package/dist/collection/components/sqm-referral-code/useReferralCode.js +0 -63
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +0 -65
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +0 -69
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +0 -219
- package/dist/collection/components/sqm-referral-codes/useReferralCodes.js +0 -131
- package/dist/esm/copy-text-view-61eebf5d.js +0 -225
- package/dist/esm/sqm-base-registration-form-view-dd481f19.js +0 -66
- package/dist/esm/sqm-google-sign-in.entry.js +0 -41
- package/dist/esm/sqm-name-fields-view-ec19e9e8.js +0 -53
- package/dist/esm/sqm-name-fields.entry.js +0 -55
- package/dist/esm/sqm-pagination_3.entry.js +0 -386
- package/dist/esm/sqm-portal-google-registration-form.entry.js +0 -310
- package/dist/esm/sqm-portal-registration-form-view-22ea3db3.js +0 -85
- package/dist/esm/usePortalRegistrationForm-8b093aa2.js +0 -212
- package/dist/esm-es5/ShadowViewAddon-f91cd444.js +0 -1
- package/dist/esm-es5/copy-text-view-61eebf5d.js +0 -1
- package/dist/esm-es5/index.module-f3d96fbb.js +0 -1
- package/dist/esm-es5/sqm-base-registration-form-view-dd481f19.js +0 -1
- package/dist/esm-es5/sqm-big-stat_37.entry.js +0 -1
- package/dist/esm-es5/sqm-google-sign-in.entry.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-7cd0de83.js +0 -1
- package/dist/esm-es5/sqm-name-fields-view-ec19e9e8.js +0 -1
- package/dist/esm-es5/sqm-name-fields.entry.js +0 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +0 -1
- package/dist/esm-es5/sqm-portal-registration-form-view-22ea3db3.js +0 -1
- package/dist/esm-es5/useChildElements-d1d3fedd.js +0 -1
- package/dist/esm-es5/usePortalRegistrationForm-8b093aa2.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-33f9cb24.js +0 -1
- package/dist/mint-components/p-070fa30d.entry.js +0 -1
- package/dist/mint-components/p-0725d1a7.system.entry.js +0 -1
- package/dist/mint-components/p-0954e95d.entry.js +0 -33
- package/dist/mint-components/p-0c4c5874.js +0 -1
- package/dist/mint-components/p-0fd20804.system.entry.js +0 -1
- package/dist/mint-components/p-0fe8fbe1.system.entry.js +0 -1
- package/dist/mint-components/p-10b4282b.entry.js +0 -9
- package/dist/mint-components/p-13fe7290.js +0 -1
- package/dist/mint-components/p-14dc52dc.system.entry.js +0 -1
- package/dist/mint-components/p-1739dfb8.entry.js +0 -1
- package/dist/mint-components/p-18ecdc82.js +0 -13
- package/dist/mint-components/p-1d58a8ff.entry.js +0 -1
- package/dist/mint-components/p-2295cf05.system.js +0 -1
- package/dist/mint-components/p-273ad080.system.entry.js +0 -1
- package/dist/mint-components/p-27407a2c.js +0 -1
- package/dist/mint-components/p-27ba7f25.system.entry.js +0 -1
- package/dist/mint-components/p-27f281f4.system.js +0 -1
- package/dist/mint-components/p-36e7a6f9.entry.js +0 -1
- package/dist/mint-components/p-38b8050c.system.entry.js +0 -1
- package/dist/mint-components/p-38bd81d1.system.js +0 -1
- package/dist/mint-components/p-3b923175.system.entry.js +0 -1
- package/dist/mint-components/p-3d4978ca.system.entry.js +0 -1
- package/dist/mint-components/p-44c4a54f.system.entry.js +0 -1
- package/dist/mint-components/p-455a3f54.system.entry.js +0 -1
- package/dist/mint-components/p-478e8baa.system.js +0 -1
- package/dist/mint-components/p-500a2bff.entry.js +0 -13
- package/dist/mint-components/p-53238aee.js +0 -1
- package/dist/mint-components/p-5d09a6a3.entry.js +0 -1
- package/dist/mint-components/p-5e61bdfd.entry.js +0 -1
- package/dist/mint-components/p-6465b781.js +0 -1
- package/dist/mint-components/p-6673a331.system.js +0 -1
- package/dist/mint-components/p-6a95e6b7.js +0 -52
- package/dist/mint-components/p-6ac9d2cf.entry.js +0 -1
- package/dist/mint-components/p-7027b14d.js +0 -1
- package/dist/mint-components/p-70eafbbd.system.entry.js +0 -1
- package/dist/mint-components/p-7141d536.system.entry.js +0 -1
- package/dist/mint-components/p-74d5d3d1.entry.js +0 -1
- package/dist/mint-components/p-7d2d59ec.system.entry.js +0 -1
- package/dist/mint-components/p-7ef0cb0a.system.js +0 -1
- package/dist/mint-components/p-7facf5cd.system.entry.js +0 -1
- package/dist/mint-components/p-823f61da.entry.js +0 -1
- package/dist/mint-components/p-8329e1fa.system.js +0 -1
- package/dist/mint-components/p-8525931d.system.entry.js +0 -1
- package/dist/mint-components/p-8a0a87e7.system.entry.js +0 -1
- package/dist/mint-components/p-8fb2af73.system.js +0 -1
- package/dist/mint-components/p-920b48ad.system.entry.js +0 -1
- package/dist/mint-components/p-93124bdb.entry.js +0 -1
- package/dist/mint-components/p-944918d9.entry.js +0 -1
- package/dist/mint-components/p-966eed0f.system.js +0 -1
- package/dist/mint-components/p-9716a83b.js +0 -1
- package/dist/mint-components/p-9c7a031a.js +0 -1
- package/dist/mint-components/p-9d954277.system.entry.js +0 -1
- package/dist/mint-components/p-9dd86f9c.system.js +0 -1
- package/dist/mint-components/p-a1cb66c0.system.js +0 -1
- package/dist/mint-components/p-a2a3d9dc.entry.js +0 -1
- package/dist/mint-components/p-a7ac4fff.system.entry.js +0 -1
- package/dist/mint-components/p-a8bf33fc.js +0 -1
- package/dist/mint-components/p-a9166b6a.entry.js +0 -1
- package/dist/mint-components/p-aeea67a3.entry.js +0 -1
- package/dist/mint-components/p-b043693d.system.entry.js +0 -1
- package/dist/mint-components/p-b33381a7.js +0 -1
- package/dist/mint-components/p-b5a2df3f.system.js +0 -1
- package/dist/mint-components/p-b667d890.system.entry.js +0 -1
- package/dist/mint-components/p-b6a4ce83.entry.js +0 -1
- package/dist/mint-components/p-b6f41077.entry.js +0 -1
- package/dist/mint-components/p-b7bd7ff0.js +0 -1
- package/dist/mint-components/p-b7edef12.system.entry.js +0 -1
- package/dist/mint-components/p-bd5706ba.entry.js +0 -1
- package/dist/mint-components/p-bebe70b4.js +0 -391
- package/dist/mint-components/p-c2bc302f.system.entry.js +0 -1
- package/dist/mint-components/p-c4c922fc.system.entry.js +0 -1
- package/dist/mint-components/p-c56b47e5.system.js +0 -1
- package/dist/mint-components/p-c5dd12cf.entry.js +0 -1
- package/dist/mint-components/p-cd39acd0.system.entry.js +0 -1
- package/dist/mint-components/p-d23d5113.js +0 -1
- package/dist/mint-components/p-d4c0d53f.js +0 -1
- package/dist/mint-components/p-d9dd65fd.entry.js +0 -1
- package/dist/mint-components/p-dacefee2.entry.js +0 -1
- package/dist/mint-components/p-df387a02.system.entry.js +0 -1
- package/dist/mint-components/p-e10be944.entry.js +0 -1
- package/dist/mint-components/p-e605fe66.entry.js +0 -11
- package/dist/mint-components/p-e64c49dd.system.js +0 -1
- package/dist/mint-components/p-eac81420.entry.js +0 -1
- package/dist/mint-components/p-ec867cad.system.entry.js +0 -1
- package/dist/mint-components/p-ec9c8ced.system.js +0 -1
- package/dist/mint-components/p-f4b8a8d5.system.entry.js +0 -1
- package/dist/mint-components/p-f7175fc2.system.entry.js +0 -1
- package/dist/mint-components/p-f81cc2cd.entry.js +0 -1
- package/dist/mint-components/p-f8450975.system.entry.js +0 -1
- package/dist/mint-components/p-f8b41805.system.js +0 -1
- package/dist/mint-components/p-fde23de1.entry.js +0 -13
- package/dist/types/components/sqm-base-registration/BaseRegistrationForm.stories.d.ts +0 -6
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +0 -19
- package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +0 -12
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +0 -15
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -22
- package/dist/types/components/sqm-pagination/usePagination.d.ts +0 -16
- package/dist/types/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.d.ts +0 -8
- package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +0 -155
- package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +0 -14
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +0 -18
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +0 -70
- package/dist/types/components/sqm-referral-code/useReferralCode.d.ts +0 -3
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +0 -12
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +0 -16
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +0 -39
- package/dist/types/components/sqm-referral-codes/useReferralCodes.d.ts +0 -52
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { i as isDemo,
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
+
import { n as h, f as useEffect, k as useState, i as d, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-62554cef.js';
|
|
4
|
+
import { i as isDemo, _, d as dist, Q, H, e as $e, y as yn, B, L, g as gn, $ as $n, p as Ue, q as qe, x as xe, u as useCallback, r as ze, S as Sn } from './index.module-48f73e70.js';
|
|
5
5
|
import { j as jsonpointer } from './jsonpointer-388a7082.js';
|
|
6
6
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
7
|
+
import './mixins-f60a614c.js';
|
|
8
|
+
import './jss-preset-default.esm-f910d30d.js';
|
|
9
|
+
import { c as createStyleSheet } from './JSS-1c144d47.js';
|
|
10
|
+
import { a as useRequestRerender } from './re-render-cb4d43dc.js';
|
|
11
|
+
import { u as useChildElements } from './useChildElements-a6b895dd.js';
|
|
12
|
+
import './luxon-7600be8d.js';
|
|
7
13
|
import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
|
|
8
|
-
import
|
|
9
|
-
import { C as CopyTextView } from './copy-text-view-61eebf5d.js';
|
|
10
|
-
import './mixins-83f90fa1.js';
|
|
11
|
-
import { a as useRequestRerender } from './re-render-3b630de2.js';
|
|
12
|
-
import { u as useChildElements } from './useChildElements-d1d3fedd.js';
|
|
13
|
-
import './luxon-9b1f9912.js';
|
|
14
|
-
import './sqm-text-span-view-d1b54710.js';
|
|
14
|
+
import './sqm-text-span-view-02ce93d8.js';
|
|
15
15
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
16
|
-
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-
|
|
16
|
+
import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-de6b208e.js';
|
|
17
|
+
import { i as isEmpty } from './utilities-e8022681.js';
|
|
17
18
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
18
|
-
import { i as
|
|
19
|
-
import
|
|
20
|
-
import './sqm-
|
|
19
|
+
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-0d8b1430.js';
|
|
20
|
+
import './sqm-portal-container-view-05f4bbe1.js';
|
|
21
|
+
import { C as CheckboxFieldView } from './sqm-checkbox-field-view-308a6a1f.js';
|
|
22
|
+
import { u as useCheckboxField } from './useCheckboxField-4cf3ab7f.js';
|
|
21
23
|
|
|
22
24
|
const BigStat = class {
|
|
23
25
|
constructor(hostRef) {
|
|
@@ -36,7 +38,7 @@ const BigStat = class {
|
|
|
36
38
|
render() {
|
|
37
39
|
var _a;
|
|
38
40
|
const { props, label } = isDemo() ? useDemoBigStat(this) : useBigStat(this);
|
|
39
|
-
const host =
|
|
41
|
+
const host = _();
|
|
40
42
|
const hasLabel = !!((_a = host.innerHTML) === null || _a === void 0 ? void 0 : _a.trim());
|
|
41
43
|
const labelSlot = h$1("slot", { name: "label" }, hasLabel ? h$1("slot", null) : label);
|
|
42
44
|
return h$1(BigStatView, Object.assign({}, props, { labelSlot: labelSlot }));
|
|
@@ -157,7 +159,7 @@ const styleString = sheet.toString();
|
|
|
157
159
|
function RequiredPropsError({ missingProps, heading = "There was a problem loading this section", subheading = "There was a technical problem that prevented this section from loading. Please contact us with the link to this page.", description = "Error occured while loading <{tagName}>. Values for the following attributes are missing:", }, children) {
|
|
158
160
|
if (!missingProps)
|
|
159
161
|
return false;
|
|
160
|
-
const host =
|
|
162
|
+
const host = _();
|
|
161
163
|
const [detailsOpen, setDetailsOpen] = useState(false);
|
|
162
164
|
return (h$1("sl-alert", { type: "danger", open: true },
|
|
163
165
|
h$1("style", { type: "text/css" }, styleString),
|
|
@@ -185,27 +187,6 @@ function RequiredPropsError({ missingProps, heading = "There was a problem loadi
|
|
|
185
187
|
h$1("div", { class: sheet.classes.Children }, children)));
|
|
186
188
|
}
|
|
187
189
|
|
|
188
|
-
function useCheckboxField(props) {
|
|
189
|
-
var _a;
|
|
190
|
-
const registrationFormState = d(REGISTRATION_FORM_STATE_CONTEXT);
|
|
191
|
-
const [checked, setChecked] = useState(false);
|
|
192
|
-
useEffect(() => {
|
|
193
|
-
var _a, _b;
|
|
194
|
-
if ((_a = registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.initialData) === null || _a === void 0 ? void 0 : _a[props.checkboxName]) {
|
|
195
|
-
setChecked(!!((_b = registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.initialData) === null || _b === void 0 ? void 0 : _b[props.checkboxName]));
|
|
196
|
-
}
|
|
197
|
-
}, [(_a = registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.initialData) === null || _a === void 0 ? void 0 : _a[props.checkboxName]]);
|
|
198
|
-
return {
|
|
199
|
-
states: {
|
|
200
|
-
registrationFormState,
|
|
201
|
-
checked,
|
|
202
|
-
},
|
|
203
|
-
callbacks: {
|
|
204
|
-
setChecked,
|
|
205
|
-
},
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
190
|
const CheckboxField = class {
|
|
210
191
|
constructor(hostRef) {
|
|
211
192
|
registerInstance(this, hostRef);
|
|
@@ -299,11 +280,11 @@ const WIDGET_ENGAGEMENT_EVENT = dist.gql `
|
|
|
299
280
|
`;
|
|
300
281
|
function useCouponCode(props) {
|
|
301
282
|
var _a, _b, _c;
|
|
302
|
-
const user =
|
|
303
|
-
const programId =
|
|
304
|
-
const engagementMedium =
|
|
305
|
-
const [sendLoadEvent] =
|
|
306
|
-
const { data, loading, refetch, errors } =
|
|
283
|
+
const user = Q();
|
|
284
|
+
const programId = H();
|
|
285
|
+
const engagementMedium = B();
|
|
286
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT);
|
|
287
|
+
const { data, loading, refetch, errors } = yn(FuelTankRewardsQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
307
288
|
const getStatus = (reward) => {
|
|
308
289
|
if (!reward || !reward.statuses)
|
|
309
290
|
return "ERROR";
|
|
@@ -693,13 +674,13 @@ const defaultFormState = {
|
|
|
693
674
|
error: "",
|
|
694
675
|
};
|
|
695
676
|
function useEditProfile(props) {
|
|
696
|
-
const userIdent =
|
|
677
|
+
const userIdent = Q();
|
|
697
678
|
const [showEdit, setShowEdit] = useState(false);
|
|
698
679
|
const [error, setError] = useState("");
|
|
699
680
|
const [userData, setUserData] = useState(undefined);
|
|
700
681
|
const [formState, setFormState] = useState(defaultFormState);
|
|
701
|
-
const userDataResponse =
|
|
702
|
-
const [upsertUser, upsertUserResponse] =
|
|
682
|
+
const userDataResponse = yn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
683
|
+
const [upsertUser, upsertUserResponse] = $e(UPSERT_USER);
|
|
703
684
|
useEffect(() => {
|
|
704
685
|
if ((upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading) || !showEdit)
|
|
705
686
|
return;
|
|
@@ -1338,11 +1319,11 @@ const GET_RANK_WITHOUT_NAMES = dist.gql `
|
|
|
1338
1319
|
`;
|
|
1339
1320
|
function useLeaderboard(props) {
|
|
1340
1321
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1341
|
-
const programIdContext =
|
|
1322
|
+
const programIdContext = H();
|
|
1342
1323
|
// Default to context, overriden by props
|
|
1343
1324
|
const programId = (_a = props.programId) !== null && _a !== void 0 ? _a : programIdContext;
|
|
1344
|
-
const user =
|
|
1345
|
-
const locale =
|
|
1325
|
+
const user = Q();
|
|
1326
|
+
const locale = L();
|
|
1346
1327
|
const variables = programId
|
|
1347
1328
|
? {
|
|
1348
1329
|
type: props.leaderboardType,
|
|
@@ -1361,8 +1342,8 @@ function useLeaderboard(props) {
|
|
|
1361
1342
|
if (props.maxRows > 0) {
|
|
1362
1343
|
variables["limit"] = props.maxRows;
|
|
1363
1344
|
}
|
|
1364
|
-
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } =
|
|
1365
|
-
const { data: rankData } =
|
|
1345
|
+
const { data: leaderboardData, loading: loadingLeaderboard, errors: leaderboardErrors, } = yn(props.hideNames ? GET_LEADERBOARD_WITHOUT_NAMES : GET_LEADERBOARD, variables, !(user === null || user === void 0 ? void 0 : user.jwt), { batch: false });
|
|
1346
|
+
const { data: rankData } = yn(props.hideNames ? GET_RANK_WITHOUT_NAMES : GET_RANK, variables, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
1366
1347
|
const leaderboardRows = (_b = leaderboardData === null || leaderboardData === void 0 ? void 0 : leaderboardData.userLeaderboard) === null || _b === void 0 ? void 0 : _b.rows;
|
|
1367
1348
|
const flattenedLeaderboard = getFlattenedLeaderboard(leaderboardRows);
|
|
1368
1349
|
const sortedLeaderboard = flattenedLeaderboard === null || flattenedLeaderboard === void 0 ? void 0 : flattenedLeaderboard.sort(function (a, b) {
|
|
@@ -1600,6 +1581,51 @@ const LinkButton = class {
|
|
|
1600
1581
|
}
|
|
1601
1582
|
};
|
|
1602
1583
|
|
|
1584
|
+
function useNameFields(props) {
|
|
1585
|
+
const registrationFormState = d(REGISTRATION_FORM_STATE_CONTEXT);
|
|
1586
|
+
return {
|
|
1587
|
+
states: {
|
|
1588
|
+
registrationFormState,
|
|
1589
|
+
content: {
|
|
1590
|
+
lastNameLabel: props.lastNameLabel,
|
|
1591
|
+
firstNameLabel: props.firstNameLabel,
|
|
1592
|
+
},
|
|
1593
|
+
},
|
|
1594
|
+
};
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
const NameFields = class {
|
|
1598
|
+
constructor(hostRef) {
|
|
1599
|
+
registerInstance(this, hostRef);
|
|
1600
|
+
this.ignored = true;
|
|
1601
|
+
/**
|
|
1602
|
+
* @uiName First name label
|
|
1603
|
+
*/
|
|
1604
|
+
this.firstNameLabel = "First Name";
|
|
1605
|
+
/**
|
|
1606
|
+
* @uiName Last name label
|
|
1607
|
+
*/
|
|
1608
|
+
this.lastNameLabel = "Last Name";
|
|
1609
|
+
h(this);
|
|
1610
|
+
}
|
|
1611
|
+
disconnectedCallback() { }
|
|
1612
|
+
render() {
|
|
1613
|
+
const { states } = isDemo() ? useNameFieldsDemo(this) : useNameFields(this);
|
|
1614
|
+
return h$1(NameFieldsView, { states: states });
|
|
1615
|
+
}
|
|
1616
|
+
};
|
|
1617
|
+
function useNameFieldsDemo(props) {
|
|
1618
|
+
return cjs({
|
|
1619
|
+
states: {
|
|
1620
|
+
validationErrors: [],
|
|
1621
|
+
content: {
|
|
1622
|
+
firstNameLabel: props.firstNameLabel,
|
|
1623
|
+
lastNameLabel: props.lastNameLabel,
|
|
1624
|
+
},
|
|
1625
|
+
},
|
|
1626
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1603
1629
|
function NavigationMenuView(props) {
|
|
1604
1630
|
const { states } = props;
|
|
1605
1631
|
const { styles } = states;
|
|
@@ -1615,12 +1641,12 @@ function NavigationMenuView(props) {
|
|
|
1615
1641
|
}
|
|
1616
1642
|
|
|
1617
1643
|
function handleMenu(e) {
|
|
1618
|
-
|
|
1644
|
+
$n.push(e.detail.item.value);
|
|
1619
1645
|
}
|
|
1620
1646
|
function useNavigationMenu(props) {
|
|
1621
1647
|
const ref = useRef();
|
|
1622
|
-
const [, rerender] =
|
|
1623
|
-
const user =
|
|
1648
|
+
const [, rerender] = gn();
|
|
1649
|
+
const user = Q();
|
|
1624
1650
|
useEffect(() => {
|
|
1625
1651
|
var _a;
|
|
1626
1652
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => handleMenu(e));
|
|
@@ -1674,11 +1700,11 @@ NavigationMenu.style = sqmNavigationMenuCss;
|
|
|
1674
1700
|
|
|
1675
1701
|
function usePortalChangePassword(props) {
|
|
1676
1702
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1677
|
-
const [request, { loading, errors, data }] =
|
|
1703
|
+
const [request, { loading, errors, data }] = Ue();
|
|
1678
1704
|
const [open, setOpen] = useState(false);
|
|
1679
1705
|
const [error, setError] = useState("");
|
|
1680
1706
|
const [success, setSuccess] = useState(false);
|
|
1681
|
-
const user =
|
|
1707
|
+
const user = Q();
|
|
1682
1708
|
const submit = async (event) => {
|
|
1683
1709
|
var _a, _b;
|
|
1684
1710
|
setSuccess(false);
|
|
@@ -1920,7 +1946,7 @@ const PortalFooter = class {
|
|
|
1920
1946
|
};
|
|
1921
1947
|
|
|
1922
1948
|
function usePortalFrame(footerContent, headerContent) {
|
|
1923
|
-
const [, rerender] =
|
|
1949
|
+
const [, rerender] = gn();
|
|
1924
1950
|
return {
|
|
1925
1951
|
data: {
|
|
1926
1952
|
footer: footerContent,
|
|
@@ -1970,9 +1996,9 @@ function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
|
1970
1996
|
|
|
1971
1997
|
function usePortalLogin(props) {
|
|
1972
1998
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1973
|
-
const [request, { loading, errors, data }] =
|
|
1999
|
+
const [request, { loading, errors, data }] = qe();
|
|
1974
2000
|
const [error, setError] = useState("");
|
|
1975
|
-
const urlParams = new URLSearchParams(
|
|
2001
|
+
const urlParams = new URLSearchParams($n.location.search);
|
|
1976
2002
|
const nextPageOverride = urlParams.get("nextPage");
|
|
1977
2003
|
const submit = async (event) => {
|
|
1978
2004
|
var _a, _b;
|
|
@@ -1991,7 +2017,7 @@ function usePortalLogin(props) {
|
|
|
1991
2017
|
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
1992
2018
|
urlParams.delete("nextPage");
|
|
1993
2019
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
1994
|
-
|
|
2020
|
+
$n.push(url.href);
|
|
1995
2021
|
}
|
|
1996
2022
|
};
|
|
1997
2023
|
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) ||
|
|
@@ -2062,14 +2088,6 @@ const PortalLogin = class {
|
|
|
2062
2088
|
* Displayed when the login fails due to a network error. The participant can try refreshing the page.
|
|
2063
2089
|
*/
|
|
2064
2090
|
this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
|
|
2065
|
-
/**
|
|
2066
|
-
* @uiName Register CTA
|
|
2067
|
-
*/
|
|
2068
|
-
this.registerCTA = "Don't have an account?";
|
|
2069
|
-
/**
|
|
2070
|
-
* @undocumented
|
|
2071
|
-
*/
|
|
2072
|
-
this.showGoogleLogin = false;
|
|
2073
2091
|
h(this);
|
|
2074
2092
|
}
|
|
2075
2093
|
disconnectedCallback() { }
|
|
@@ -2077,19 +2095,9 @@ const PortalLogin = class {
|
|
|
2077
2095
|
const { states, callbacks } = isDemo()
|
|
2078
2096
|
? useLoginDemo(this)
|
|
2079
2097
|
: usePortalLogin(this);
|
|
2080
|
-
const styles = {
|
|
2081
|
-
RegisterButton: {
|
|
2082
|
-
"&::part(label)": {
|
|
2083
|
-
padding: "0",
|
|
2084
|
-
},
|
|
2085
|
-
},
|
|
2086
|
-
};
|
|
2087
|
-
const sheet = createStyleSheet(styles);
|
|
2088
|
-
const styleString = sheet.toString();
|
|
2089
2098
|
const content = {
|
|
2090
|
-
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () =>
|
|
2091
|
-
|
|
2092
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), this.showGoogleLogin ? (h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => xn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel))) : (h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => xn.push(states.registerPath) }, this.registerLabel)))),
|
|
2099
|
+
forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => $n.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
|
|
2100
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.registerPath) }, this.registerLabel))),
|
|
2093
2101
|
emailLabel: this.emailLabel,
|
|
2094
2102
|
passwordLabel: this.passwordLabel,
|
|
2095
2103
|
submitLabel: this.submitLabel,
|
|
@@ -2105,16 +2113,12 @@ function useLoginDemo(props) {
|
|
|
2105
2113
|
loading: false,
|
|
2106
2114
|
forgotPasswordPath: "/forgotPassword",
|
|
2107
2115
|
registerPath: "/register",
|
|
2108
|
-
showLoginForm: "manual",
|
|
2109
2116
|
},
|
|
2110
2117
|
callbacks: {
|
|
2111
2118
|
submit: async (_event) => {
|
|
2112
2119
|
console.log("submit");
|
|
2113
2120
|
},
|
|
2114
2121
|
},
|
|
2115
|
-
content: {
|
|
2116
|
-
googleButton: null,
|
|
2117
|
-
},
|
|
2118
2122
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
2119
2123
|
}
|
|
2120
2124
|
|
|
@@ -2122,7 +2126,7 @@ function usePortalRegister(props) {
|
|
|
2122
2126
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2123
2127
|
const formRef = useRef(null);
|
|
2124
2128
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
2125
|
-
const [request, { loading, errors, data }] =
|
|
2129
|
+
const [request, { loading, errors, data }] = xe();
|
|
2126
2130
|
useEffect(() => {
|
|
2127
2131
|
if (!formRef.current)
|
|
2128
2132
|
return;
|
|
@@ -2195,7 +2199,7 @@ function usePortalRegister(props) {
|
|
|
2195
2199
|
validationErrors: {},
|
|
2196
2200
|
});
|
|
2197
2201
|
if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
|
|
2198
|
-
|
|
2202
|
+
$n.push(props.nextPage);
|
|
2199
2203
|
}
|
|
2200
2204
|
}
|
|
2201
2205
|
catch (error) {
|
|
@@ -2369,7 +2373,7 @@ const PortalRegister = class {
|
|
|
2369
2373
|
: usePortalRegister(this);
|
|
2370
2374
|
const content = {
|
|
2371
2375
|
formData: h$1("slot", { name: "formData" }),
|
|
2372
|
-
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () =>
|
|
2376
|
+
secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => $n.push(states.loginPath) }, this.loginLabel))),
|
|
2373
2377
|
terms: h$1("slot", { name: "terms" }),
|
|
2374
2378
|
emailLabel: this.emailLabel,
|
|
2375
2379
|
passwordLabel: this.passwordLabel,
|
|
@@ -2540,11 +2544,11 @@ const ProgramExplainerStep = class {
|
|
|
2540
2544
|
const debug = browser("sq:useProgramMenu");
|
|
2541
2545
|
const UPDATE_PROGRAM_EVENT = "sq:update-program-id";
|
|
2542
2546
|
function useProgramMenu(props) {
|
|
2543
|
-
const programId =
|
|
2544
|
-
const host =
|
|
2547
|
+
const programId = H();
|
|
2548
|
+
const host = _();
|
|
2545
2549
|
debug({ programId, props });
|
|
2546
2550
|
const ref = useRef();
|
|
2547
|
-
const [, rerender] =
|
|
2551
|
+
const [, rerender] = gn();
|
|
2548
2552
|
useEffect(() => {
|
|
2549
2553
|
var _a;
|
|
2550
2554
|
(_a = ref.current) === null || _a === void 0 ? void 0 : _a.addEventListener("sl-select", (e) => {
|
|
@@ -2722,9 +2726,9 @@ const GET_USER_DETAILS = dist.gql `
|
|
|
2722
2726
|
`;
|
|
2723
2727
|
function useReferralIframe(props) {
|
|
2724
2728
|
var _a;
|
|
2725
|
-
const programId =
|
|
2726
|
-
const user =
|
|
2727
|
-
const { data } =
|
|
2729
|
+
const programId = H();
|
|
2730
|
+
const user = Q();
|
|
2731
|
+
const { data } = yn(GET_USER_DETAILS, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
2728
2732
|
return {
|
|
2729
2733
|
states: {
|
|
2730
2734
|
content: props,
|
|
@@ -3449,9 +3453,9 @@ function useRewardExchangeList(props) {
|
|
|
3449
3453
|
});
|
|
3450
3454
|
const [open, setOpen] = useState(false);
|
|
3451
3455
|
const { selectedItem, selectedStep, redeemStage, amount, exchangeError } = exchangeState;
|
|
3452
|
-
const user =
|
|
3453
|
-
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] =
|
|
3454
|
-
const { data, loading, refetch, errors: queryError, } =
|
|
3456
|
+
const user = Q();
|
|
3457
|
+
const [exchange, { data: exchangeResponse, loading: exchangeLoading, errors },] = $e(EXCHANGE);
|
|
3458
|
+
const { data, loading, refetch, errors: queryError, } = yn(GET_EXCHANGE_LIST, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
3455
3459
|
useEffect(() => {
|
|
3456
3460
|
var _a, _b;
|
|
3457
3461
|
if ((_b = (_a = exchangeResponse === null || exchangeResponse === void 0 ? void 0 : exchangeResponse.exchangeReward) === null || _a === void 0 ? void 0 : _a.reward) === null || _b === void 0 ? void 0 : _b.id) {
|
|
@@ -3470,7 +3474,7 @@ function useRewardExchangeList(props) {
|
|
|
3470
3474
|
canvas.confetti || confetti.create(canvas, { resize: true });
|
|
3471
3475
|
canvas.confetti();
|
|
3472
3476
|
}, [canvasRef.current]);
|
|
3473
|
-
const { refresh } =
|
|
3477
|
+
const { refresh } = ze();
|
|
3474
3478
|
async function exchangeReward() {
|
|
3475
3479
|
if (!selectedItem)
|
|
3476
3480
|
return;
|
|
@@ -3778,8 +3782,8 @@ function matchPath(pattern, page) {
|
|
|
3778
3782
|
return regexp.exec(page);
|
|
3779
3783
|
}
|
|
3780
3784
|
function useRouter() {
|
|
3781
|
-
const location =
|
|
3782
|
-
const host =
|
|
3785
|
+
const location = Sn();
|
|
3786
|
+
const host = _();
|
|
3783
3787
|
const [slot, setSlot] = useState(undefined);
|
|
3784
3788
|
const [container, setContainer] = useState(undefined);
|
|
3785
3789
|
const page = location.pathname;
|
|
@@ -4040,11 +4044,11 @@ const WIDGET_ENGAGEMENT_EVENT$1 = dist.gql `
|
|
|
4040
4044
|
`;
|
|
4041
4045
|
function useShareCode(props) {
|
|
4042
4046
|
var _a, _b;
|
|
4043
|
-
const { programId =
|
|
4044
|
-
const user =
|
|
4045
|
-
const engagementMedium =
|
|
4046
|
-
const { data } =
|
|
4047
|
-
const [sendLoadEvent] =
|
|
4047
|
+
const { programId = H() } = props;
|
|
4048
|
+
const user = Q();
|
|
4049
|
+
const engagementMedium = B();
|
|
4050
|
+
const { data } = yn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4051
|
+
const [sendLoadEvent] = $e(WIDGET_ENGAGEMENT_EVENT$1);
|
|
4048
4052
|
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
4049
4053
|
// Shown during loading
|
|
4050
4054
|
"...";
|
|
@@ -4243,10 +4247,10 @@ const SEND_EVENT = dist.gql `
|
|
|
4243
4247
|
}
|
|
4244
4248
|
`;
|
|
4245
4249
|
function useTaskCard(props) {
|
|
4246
|
-
const user =
|
|
4247
|
-
const locale =
|
|
4248
|
-
const [sendUserEvent, { data, loading: loadingEvent }] =
|
|
4249
|
-
const { refresh } =
|
|
4250
|
+
const user = Q();
|
|
4251
|
+
const locale = L();
|
|
4252
|
+
const [sendUserEvent, { data, loading: loadingEvent }] = $e(SEND_EVENT);
|
|
4253
|
+
const { refresh } = ze();
|
|
4250
4254
|
useEffect(() => {
|
|
4251
4255
|
if (data) {
|
|
4252
4256
|
refresh();
|
|
@@ -4567,8 +4571,8 @@ const GET_USER_NAME = dist.gql `
|
|
|
4567
4571
|
`;
|
|
4568
4572
|
function useUserName(props) {
|
|
4569
4573
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4570
|
-
const user =
|
|
4571
|
-
const res =
|
|
4574
|
+
const user = Q();
|
|
4575
|
+
const res = yn(GET_USER_NAME, {}, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
4572
4576
|
const loading = res.loading;
|
|
4573
4577
|
const username = ((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.firstName) || ((_d = (_c = res.data) === null || _c === void 0 ? void 0 : _c.viewer) === null || _d === void 0 ? void 0 : _d.lastName)
|
|
4574
4578
|
? `${(_f = (_e = res.data) === null || _e === void 0 ? void 0 : _e.viewer) === null || _f === void 0 ? void 0 : _f.firstName} ${(_h = (_g = res.data) === null || _g === void 0 ? void 0 : _g.viewer) === null || _h === void 0 ? void 0 : _h.lastName}`
|
|
@@ -4609,4 +4613,4 @@ function useUserNameDemo(props) {
|
|
|
4609
4613
|
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
4610
4614
|
}
|
|
4611
4615
|
|
|
4612
|
-
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
4616
|
+
export { BigStat as sqm_big_stat, BrandComponent as sqm_brand, CardFeed as sqm_card_feed, CheckboxField as sqm_checkbox_field, CouponCode as sqm_coupon_code, DividedLayout as sqm_divided_layout, DropdownField as sqm_dropdown_field, EditProfile as sqm_edit_profile, Hero as sqm_hero, HeroImage as sqm_hero_image, SqmHookStoryContainer as sqm_hook_story_container, Image as sqm_image, InputField as sqm_input_field, Leaderboard as sqm_leaderboard, LinkButton as sqm_link_button, NameFields as sqm_name_fields, NavigationMenu as sqm_navigation_menu, PortalChangePassword as sqm_portal_change_password, PortalFooter as sqm_portal_footer, PortalFrame as sqm_portal_frame, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, ProgramExplainer as sqm_program_explainer, ProgramExplainerStep as sqm_program_explainer_step, ProgramMenu as sqm_program_menu, ReferralCard as sqm_referral_card, SqmReferralIframe as sqm_referral_iframe, SqmRewardExchangeList as sqm_reward_exchange_list, SqmRouter as sqm_router, Scroll as sqm_scroll, ShareButton as sqm_share_button, ShareCode as sqm_share_code, ShareLink as sqm_share_link, StatContainer as sqm_stat_container, TaskCard as sqm_task_card, Timeline as sqm_timeline, TimelineReward as sqm_timeline_entry, UserName as sqm_user_name };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { h } from './index-17b4da69.js';
|
|
2
|
+
import { i as intl } from './global-62554cef.js';
|
|
3
|
+
import { j as jss, a as create } from './jss-preset-default.esm-f910d30d.js';
|
|
4
|
+
|
|
5
|
+
const style = {
|
|
6
|
+
ErrorStyle: {
|
|
7
|
+
"&::part(control)": {
|
|
8
|
+
background: "var(--sl-color-danger-10)",
|
|
9
|
+
borderColor: "var(--sl-color-danger-500)",
|
|
10
|
+
outline: "var(--sl-color-danger-500)",
|
|
11
|
+
},
|
|
12
|
+
"&:host": {
|
|
13
|
+
"--focus-ring": "0 0 0 var(--sl-focus-ring-width) red !important",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
ErrorMessageStyle: {
|
|
17
|
+
margin: 0,
|
|
18
|
+
marginTop: "5px",
|
|
19
|
+
color: "var(--sl-color-danger-500)",
|
|
20
|
+
fontSize: "var(--sl-input-help-text-font-size-medium)",
|
|
21
|
+
fontFamily: "var(--sl-font-sans)",
|
|
22
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
23
|
+
},
|
|
24
|
+
FieldContainer: {
|
|
25
|
+
"margin-bottom": "var(--sl-spacing-large)",
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
const vanillaStyle = `
|
|
29
|
+
:host {
|
|
30
|
+
margin: 0 auto;
|
|
31
|
+
width: 100%;
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
sl-checkbox::part(label){
|
|
35
|
+
font-size: var(--sl-input-label-font-size-small);
|
|
36
|
+
font-weight: var(--sl-font-weight-normal);
|
|
37
|
+
line-height: 20px;
|
|
38
|
+
}
|
|
39
|
+
sl-checkbox::part(base){
|
|
40
|
+
align-items: start;
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
43
|
+
jss.setup(create());
|
|
44
|
+
const sheet = jss.createStyleSheet(style);
|
|
45
|
+
const styleString = sheet.toString();
|
|
46
|
+
function CheckboxFieldView(props) {
|
|
47
|
+
var _b, _c;
|
|
48
|
+
const { states, content, callbacks } = props;
|
|
49
|
+
return (h("div", { class: sheet.classes.FieldContainer, part: "sqm-base" },
|
|
50
|
+
h("style", { type: "text/css" },
|
|
51
|
+
vanillaStyle,
|
|
52
|
+
styleString),
|
|
53
|
+
h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
54
|
+
e.target.value = e.target.checked;
|
|
55
|
+
callbacks.setChecked(e.target.value);
|
|
56
|
+
} }, (!content.checkboxOptional ? { required: false } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled), required: false }), intl.formatMessage({
|
|
57
|
+
id: content.checkboxName + "-message",
|
|
58
|
+
defaultMessage: content.checkboxLabel,
|
|
59
|
+
}, {
|
|
60
|
+
labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
61
|
+
}))));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { CheckboxFieldView as C };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { h } from './index-17b4da69.js';
|
|
2
|
+
import { H as HostBlock } from './mixins-f60a614c.js';
|
|
3
|
+
import { c as createStyleSheet } from './JSS-1c144d47.js';
|
|
4
4
|
|
|
5
5
|
const style = {
|
|
6
6
|
HostBlock: HostBlock,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1 } from './index-
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
3
|
-
import {
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
1
|
+
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { a as getEnvironmentSDK } from './index.module-48f73e70.js';
|
|
4
|
+
import './mixins-f60a614c.js';
|
|
5
|
+
import './jss-preset-default.esm-f910d30d.js';
|
|
6
|
+
import './JSS-1c144d47.js';
|
|
7
|
+
import { C as CloseButtonView } from './sqm-close-button-view-e00f01fa.js';
|
|
7
8
|
|
|
8
9
|
const CloseButton = class {
|
|
9
10
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
+
import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { _ } from './index.module-48f73e70.js';
|
|
4
4
|
import { g as getProps } from './utils-334c1e34.js';
|
|
5
5
|
import { p as pathToRegexp } from './index-ffa26b43.js';
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ function matchPath(pattern, page) {
|
|
|
12
12
|
return regexp.exec(page);
|
|
13
13
|
}
|
|
14
14
|
function useContextRouter(props) {
|
|
15
|
-
const host =
|
|
15
|
+
const host = _();
|
|
16
16
|
const [slot, setSlot] = useState(undefined);
|
|
17
17
|
const [container, setContainer] = useState(undefined);
|
|
18
18
|
const context = props.contextName;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as Host } from './index-
|
|
2
|
-
import { n as h$1 } from './stencil-hooks.module-
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import './index.module-
|
|
1
|
+
import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
|
|
2
|
+
import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { i as intl } from './global-62554cef.js';
|
|
4
|
+
import './index.module-48f73e70.js';
|
|
5
|
+
import './jss-preset-default.esm-f910d30d.js';
|
|
6
|
+
import './JSS-1c144d47.js';
|
|
5
7
|
import { g as getProps } from './utils-334c1e34.js';
|
|
6
|
-
import './
|
|
7
|
-
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-c3be4b88.js';
|
|
8
|
+
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-05f4bbe1.js';
|
|
8
9
|
|
|
9
10
|
function EmptyStateView(props) {
|
|
10
11
|
const { emptyStateHeader, emptyStateImage, emptyStateText, supportText, missingFeature = "", } = props;
|
|
@@ -32,11 +33,6 @@ function EmptyStateView(props) {
|
|
|
32
33
|
const Empty = class {
|
|
33
34
|
constructor(hostRef) {
|
|
34
35
|
registerInstance(this, hostRef);
|
|
35
|
-
/**
|
|
36
|
-
* @uiWidget ImageUpload
|
|
37
|
-
* @format url
|
|
38
|
-
* @uiName Image */
|
|
39
|
-
this.emptyStateImage = "https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png";
|
|
40
36
|
}
|
|
41
37
|
render() {
|
|
42
38
|
return (h(Host, { slot: "empty" }, h(EmptyStateView, { emptyStateImage: this.emptyStateImage, emptyStateHeader: this.emptyStateHeader, emptyStateText: this.emptyStateText, supportText: this.supportText })));
|
|
@@ -82,6 +78,7 @@ const PortalContainer = class {
|
|
|
82
78
|
/**
|
|
83
79
|
* @uiName Background color
|
|
84
80
|
* @uiWidget color
|
|
81
|
+
* @uiGroup Card style
|
|
85
82
|
* @uiType string
|
|
86
83
|
*/
|
|
87
84
|
this.backgroundColor = "#ffffff00";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1 } from './index-
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
1
|
+
import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
3
|
|
|
4
4
|
const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Warning::part(base){background-color:var(--sl-color-warning-100);border-color:var(--sl-color-warning-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
|
|
5
5
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { o as m, f as useEffect, n as h } from './stencil-hooks.module-
|
|
3
|
-
import {
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
+
import { o as m, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
|
+
import { J, E as Ee, z, P as Pe } from './index.module-48f73e70.js';
|
|
4
4
|
|
|
5
5
|
async function useGraphQLClientProvider({ domain }) {
|
|
6
|
-
const token =
|
|
6
|
+
const token = J();
|
|
7
7
|
const appDomain = domain;
|
|
8
|
-
const tenantAlias =
|
|
8
|
+
const tenantAlias = z();
|
|
9
9
|
// Memoization is shared. One client per domain, tenant and token (or null)
|
|
10
|
-
const managedIdentityClient =
|
|
11
|
-
const [, setGraphQLClient] = m(
|
|
10
|
+
const managedIdentityClient = Ee(appDomain, tenantAlias, token);
|
|
11
|
+
const [, setGraphQLClient] = m(Pe, managedIdentityClient);
|
|
12
12
|
useEffect(() => {
|
|
13
13
|
setGraphQLClient(managedIdentityClient);
|
|
14
14
|
}, [managedIdentityClient]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h as h$1, c as Host } from './index-
|
|
2
|
-
import { n as h } from './stencil-hooks.module-
|
|
1
|
+
import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
|
|
2
|
+
import { n as h } from './stencil-hooks.module-ac12ca1c.js';
|
|
3
3
|
|
|
4
4
|
const HeroImage = class {
|
|
5
5
|
constructor(hostRef) {
|