@saasquatch/mint-components 1.7.0-7 → 1.7.0-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/AsYouType-6788393a.js +3874 -0
- package/dist/cjs/{GenericTableView-6b0d1f93.js → GenericTableView-fa0cb936.js} +1 -1
- package/dist/cjs/{JSS-a75f3a9a.js → JSS-c73206b7.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-260da162.js → ShadowViewAddon-970dff24.js} +172 -194
- package/dist/cjs/{global-a7614907.js → global-97364373.js} +4 -4
- package/dist/cjs/{index.module-1c799b1f.js → index.module-d3a28293.js} +6887 -6843
- package/dist/cjs/loader.cjs.js +5 -6
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -6
- package/dist/cjs/{re-render-c02c16c0.js → re-render-7b0c34bb.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-07420209.js → sqm-asset-card-view-7e16757a.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +6 -7
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +383 -4308
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -6
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +7 -8
- package/dist/cjs/sqm-hamburger-menu.cjs.entry.js +160 -0
- package/dist/cjs/sqm-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-d5d46a36.js → sqm-hero-view-f4264d5e.js} +3 -3
- package/dist/cjs/sqm-hero.cjs.entry.js +6 -5
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -9
- package/dist/cjs/{sqm-navigation-sidebar-item-view-85e51ba6.js → sqm-navigation-sidebar-item-view-46a53c67.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +197 -6
- package/dist/cjs/sqm-password-field.cjs.entry.js +23 -20
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-container-view-a3e86fc2.js → sqm-portal-container-view-4a8432e9.js} +1 -3
- package/dist/cjs/{sqm-portal-email-verification-view-c60833cc.js → sqm-portal-email-verification-view-56d07e94.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-d5478077.js → sqm-portal-footer-view-cbd4cd48.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +16 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-97932f7a.js → sqm-portal-forgot-password-view-aaa8dd17.js} +2 -2
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +38 -28
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +10 -8
- package/dist/cjs/{sqm-portal-profile-view-a8ee44c2.js → sqm-portal-profile-view-9792a786.js} +4 -4
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +26 -37
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +14 -12
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +441 -0
- package/dist/cjs/{sqm-portal-reset-password-view-042073ca.js → sqm-portal-reset-password-view-035245e6.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
- package/dist/cjs/{sqm-portal-section-view-765aae4d.js → sqm-portal-section-view-71a57cd9.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cb3c9c2f.js → sqm-portal-verify-email-view-7014ca89.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +36 -56
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +12 -13
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -4
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +32 -30
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +205 -250
- package/dist/cjs/sqm-tab.cjs.entry.js +7 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -7
- package/dist/cjs/{sqm-text-span-view-ab4ad6ef.js → sqm-text-span-view-b0c90c27.js} +1 -1
- package/dist/cjs/sqm-text-span.cjs.entry.js +3 -4
- package/dist/cjs/{stencil-hooks.module-87a1f4f7.js → stencil-hooks.module-6fe43579.js} +1 -0
- package/dist/cjs/{use-callback-e754042f.js → use-callback-5d15897d.js} +1 -1
- package/dist/cjs/{useChildElements-dc4c3132.js → useChildElements-24fbca82.js} +7 -5
- package/dist/cjs/{useReferralTable-f52c7f8e.js → useReferralTable-8f7a049c.js} +9 -9
- package/dist/cjs/useRegistrationFormState-3f88db90.js +14 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +8 -13
- package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +1 -144
- package/dist/collection/components/sqm-big-stat/useBigStat.js +1 -3
- package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +2 -10
- package/dist/collection/components/sqm-brand/sqm-brand.js +13 -32
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -16
- package/dist/collection/components/sqm-checkbox-field/CheckboxField.stories.js +12 -5
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +3 -2
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +15 -9
- package/dist/collection/components/sqm-checkbox-field/useCheckboxField.js +12 -5
- package/dist/collection/components/sqm-divided-layout/DividedLayout.stories.js +6 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +2 -4
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +40 -2
- package/dist/collection/components/sqm-dropdown-field/DropdownField.stories.js +13 -6
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +6 -2
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +11 -4
- package/dist/collection/components/sqm-dropdown-field/useDropdownField.js +3 -3
- package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +1 -1
- package/dist/collection/components/sqm-form-message/sqm-form-message.js +1 -0
- package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +1 -0
- package/dist/collection/components/sqm-hamburger-menu/HamburgerMenu.stories.js +7 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu-view.js +139 -0
- package/dist/collection/components/sqm-hamburger-menu/sqm-hamburger-menu.js +45 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +102 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +9 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +0 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -22
- package/dist/collection/components/sqm-image/sqm-image-view.js +0 -1
- package/dist/collection/components/sqm-image/sqm-image.js +1 -21
- package/dist/collection/components/sqm-input-field/InputField.stories.js +12 -5
- package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +6 -2
- package/dist/collection/components/sqm-input-field/sqm-input-field.js +10 -4
- package/dist/collection/components/sqm-input-field/useInputField.js +3 -3
- package/dist/collection/components/sqm-name-fields/NameFields.stories.js +8 -4
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +10 -3
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
- package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -3
- package/dist/collection/components/sqm-navigation-sidebar/NavigationSidebar.stories.js +6 -5
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +146 -7
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +36 -5
- package/dist/collection/components/sqm-navigation-sidebar/useNavigationSidebar.js +17 -0
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +7 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +9 -3
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +8 -4
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -12
- package/dist/collection/components/sqm-password-field/usePasswordField.js +4 -4
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +29 -23
- package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +7 -10
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +0 -2
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +3 -46
- package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +15 -7
- package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +14 -17
- package/dist/collection/components/sqm-portal-footer/PortalFooter.stories.js +2 -2
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +38 -6
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +68 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +16 -16
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +3 -7
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +29 -2
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +58 -54
- package/dist/collection/components/sqm-portal-login/usePortalLogin.js +13 -16
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +10 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +26 -36
- package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +1 -1
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +12 -11
- package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +5 -0
- package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +5 -6
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +49 -45
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +41 -25
- package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +105 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +80 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +595 -0
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +207 -0
- package/dist/collection/components/sqm-portal-registration-form/useRegistrationFormState.js +8 -0
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +39 -33
- package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +23 -29
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +17 -9
- package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +20 -41
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +1 -1
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +1 -1
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card-view.js +4 -20
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +0 -130
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +18 -15
- package/dist/collection/components/sqm-route/sqm-route.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +2 -2
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +9 -22
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -125
- package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +2 -6
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -49
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +2 -2
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +1 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +0 -1
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +3 -3
- package/dist/collection/components/sqm-text/sqm-text.js +0 -7
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry.js +0 -23
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +1 -1
- package/dist/collection/components/sqm-user-name/sqm-user-name.js +8 -8
- package/dist/collection/global/styles.js +1 -1
- package/dist/collection/global/styles.ts +1 -1
- package/dist/collection/stories/NewPortal.stories.js +6 -5
- package/dist/collection/tables/useChildElements.js +5 -3
- package/dist/esm/AsYouType-46f67d0d.js +3872 -0
- package/dist/esm/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm/{JSS-418cab16.js → JSS-506b9295.js} +17 -1
- package/dist/esm/{ShadowViewAddon-b2386d47.js → ShadowViewAddon-f0daae38.js} +172 -194
- package/dist/esm/{global-2d97b8c1.js → global-5f5e66ae.js} +4 -4
- package/dist/esm/{index.module-2b4f1755.js → index.module-877f3231.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/{re-render-2c1d8030.js → re-render-9d31cb93.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +6 -7
- package/dist/esm/sqm-big-stat_35.entry.js +383 -4308
- package/dist/esm/sqm-empty_5.entry.js +4 -6
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +7 -8
- package/dist/esm/sqm-hamburger-menu.entry.js +156 -0
- package/dist/esm/sqm-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +3 -3
- package/dist/esm/sqm-hero.entry.js +6 -5
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -9
- package/dist/esm/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/sqm-navigation-sidebar.entry.js +199 -8
- package/dist/esm/sqm-password-field.entry.js +23 -20
- package/dist/esm/sqm-popup-container.entry.js +6 -7
- package/dist/esm/{sqm-portal-container-view-5d6f1411.js → sqm-portal-container-view-8f1bcc77.js} +1 -3
- package/dist/esm/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +16 -9
- package/dist/esm/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.js} +2 -2
- package/dist/esm/sqm-portal-forgot-password.entry.js +38 -28
- package/dist/esm/sqm-portal-logout.entry.js +10 -8
- package/dist/esm/{sqm-portal-profile-view-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +4 -4
- package/dist/esm/sqm-portal-profile.entry.js +26 -37
- package/dist/esm/sqm-portal-protected-route.entry.js +14 -12
- package/dist/esm/sqm-portal-registration-form.entry.js +437 -0
- package/dist/esm/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
- package/dist/esm/{sqm-portal-section-view-c8d1c727.js → sqm-portal-section-view-d64cd5de.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +36 -56
- package/dist/esm/sqm-referral-table_11.entry.js +12 -13
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -4
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +32 -30
- package/dist/esm/sqm-stencilbook.entry.js +205 -250
- package/dist/esm/sqm-tab.entry.js +7 -0
- package/dist/esm/sqm-tabs.entry.js +8 -7
- package/dist/esm/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-697e2ff0.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/{useChildElements-0eab9c95.js → useChildElements-591435be.js} +7 -5
- package/dist/esm/{useReferralTable-3513622d.js → useReferralTable-f991c78a.js} +9 -9
- package/dist/esm/useRegistrationFormState-04a77cee.js +11 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
- package/dist/esm-es5/{GenericTableView-80119630.js → GenericTableView-5dd51546.js} +1 -1
- package/dist/esm-es5/{JSS-418cab16.js → JSS-506b9295.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-f0daae38.js +1 -0
- package/dist/esm-es5/{global-2d97b8c1.js → global-5f5e66ae.js} +2 -2
- package/dist/esm-es5/index.module-877f3231.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{luxon-578505e2.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-2c1d8030.js → re-render-9d31cb93.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-68f80b85.js → sqm-asset-card-view-de0f3463.js} +1 -1
- package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_35.entry.js +1 -1
- 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-hamburger-menu.entry.js +1 -0
- package/dist/esm-es5/sqm-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-1f148798.js → sqm-hero-view-ed7fa8f3.js} +1 -1
- package/dist/esm-es5/sqm-hero.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b22b07a2.js → sqm-navigation-sidebar-item-view-393c5475.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm-es5/sqm-password-field.entry.js +1 -1
- package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-container-view-8f1bcc77.js +1 -0
- package/dist/esm-es5/{sqm-portal-email-verification-view-3dad1010.js → sqm-portal-email-verification-view-96f98975.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-c35314a2.js → sqm-portal-footer-view-744654ef.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-f7239087.js → sqm-portal-forgot-password-view-38910bc9.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-3d621db8.js → sqm-portal-profile-view-f5904a10.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -0
- package/dist/esm-es5/{sqm-portal-reset-password-view-e0436989.js → sqm-portal-reset-password-view-55411ca5.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-section-view-d64cd5de.js +1 -0
- package/dist/esm-es5/{sqm-portal-verify-email-view-c489166b.js → sqm-portal-verify-email-view-7ba350f9.js} +1 -1
- package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab.entry.js +1 -1
- package/dist/esm-es5/sqm-tabs.entry.js +1 -1
- package/dist/esm-es5/{sqm-text-span-view-020db63f.js → sqm-text-span-view-20c0f018.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-e39af977.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-591435be.js +1 -0
- package/dist/esm-es5/useReferralTable-f991c78a.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-04a77cee.js +1 -0
- package/dist/mint-components/global/styles.ts +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-00732eb1.entry.js +1 -0
- package/dist/mint-components/p-0222e8b1.system.js +1 -0
- package/dist/mint-components/p-03b1dda6.js +1 -0
- package/dist/mint-components/p-0571ac6b.system.entry.js +1 -0
- package/dist/mint-components/p-0878d563.system.entry.js +1 -0
- package/dist/mint-components/p-095d7d5e.entry.js +1 -0
- package/dist/mint-components/p-09a4bd9b.system.entry.js +1 -0
- package/dist/mint-components/{p-ec634002.system.entry.js → p-0a27f867.system.entry.js} +1 -1
- package/dist/mint-components/{p-b8452e47.entry.js → p-0b85f581.entry.js} +1 -1
- package/dist/mint-components/{p-be4cfea0.system.js → p-0bf5d514.system.js} +1 -1
- package/dist/mint-components/p-0f1fc54b.entry.js +1 -0
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/{p-fb5163d7.js → p-14aacddf.js} +1 -1
- package/dist/mint-components/{p-0935fef5.system.js → p-1c87be0c.system.js} +1 -1
- package/dist/mint-components/{p-a1b9ca51.system.js → p-1cc7a8e6.system.js} +1 -1
- package/dist/mint-components/p-1e541014.system.entry.js +1 -0
- package/dist/mint-components/{p-ab2cbd56.js → p-1fbf8d0b.js} +1 -1
- package/dist/mint-components/{p-aa0ccc8d.js → p-2506531b.js} +1 -1
- package/dist/mint-components/p-2a33de60.entry.js +13 -0
- package/dist/mint-components/p-2c4c978e.system.entry.js +1 -0
- package/dist/mint-components/{p-903a6d4d.js → p-2dc6e74c.js} +1 -1
- package/dist/mint-components/{p-5fca1bb9.system.js → p-330680dd.system.js} +1 -1
- package/dist/mint-components/p-3ac7063d.entry.js +1 -0
- package/dist/mint-components/p-3af0caba.entry.js +159 -0
- package/dist/mint-components/p-3b7d870e.entry.js +1 -0
- package/dist/mint-components/p-3bb4fd18.system.js +8 -0
- package/dist/mint-components/p-3bb76558.system.js +1 -0
- package/dist/mint-components/{p-c8c83a9e.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/{p-967445d6.system.js → p-3f13dae9.system.js} +1 -1
- package/dist/mint-components/p-41860440.system.entry.js +1 -0
- package/dist/mint-components/{p-541460a6.js → p-4494b612.js} +2 -2
- package/dist/mint-components/p-456571a6.entry.js +9 -0
- package/dist/mint-components/p-46a2d411.system.js +1 -0
- package/dist/mint-components/p-4708ece8.system.js +1 -0
- package/dist/mint-components/{p-38889f3c.system.js → p-48631971.system.js} +1 -1
- package/dist/mint-components/p-4a165275.entry.js +99 -0
- package/dist/mint-components/p-4f0a49e2.system.entry.js +1 -0
- package/dist/mint-components/{p-894cf728.system.js → p-51fc3d02.system.js} +1 -1
- package/dist/mint-components/{p-30b3592f.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/p-5934c4ab.entry.js +1 -0
- package/dist/mint-components/{p-e8f5f4e0.js → p-5a1ed9bb.js} +1 -1
- package/dist/mint-components/{p-937bf427.system.js → p-621a2912.system.js} +1 -1
- package/dist/mint-components/p-628437e6.entry.js +1 -0
- package/dist/mint-components/{p-97483814.system.entry.js → p-647256a7.system.entry.js} +1 -1
- package/dist/mint-components/{p-4519c6d9.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
- package/dist/mint-components/p-6b468f72.system.entry.js +1 -0
- package/dist/mint-components/p-6cf00931.system.entry.js +1 -0
- package/dist/mint-components/p-6cf891f8.system.entry.js +1 -0
- package/dist/mint-components/p-7341c340.entry.js +1 -0
- package/dist/mint-components/p-740afefb.entry.js +1 -0
- package/dist/mint-components/p-76767c7d.system.entry.js +1 -0
- package/dist/mint-components/p-767aedc8.entry.js +1 -0
- package/dist/mint-components/{p-72b3562a.system.js → p-774c9bb9.system.js} +1 -1
- package/dist/mint-components/p-7fa5ce30.system.js +1 -0
- package/dist/mint-components/{p-25846611.js → p-80934ab7.js} +2 -2
- package/dist/mint-components/{p-6081728e.system.js → p-8128c64d.system.js} +1 -1
- package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
- package/dist/mint-components/{p-6e0c7f7c.system.js → p-85528bea.system.js} +1 -1
- package/dist/mint-components/p-85a21d7b.entry.js +1 -0
- package/dist/mint-components/p-85e934c8.js +1 -0
- package/dist/mint-components/{p-46416f3e.js → p-864be7c2.js} +1 -1
- package/dist/mint-components/p-88cc585a.system.entry.js +1 -0
- package/dist/mint-components/{p-48a1e759.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-9124a1e9.system.entry.js +1 -0
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/p-92e8439a.system.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9c1841c6.entry.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/{p-066a4b23.system.js → p-9db19ba0.system.js} +2 -2
- package/dist/mint-components/p-9fd08e41.js +1 -0
- package/dist/mint-components/p-a91c1995.entry.js +1 -0
- package/dist/mint-components/p-af10beae.entry.js +33 -0
- package/dist/mint-components/p-b3436fd3.system.entry.js +1 -0
- package/dist/mint-components/p-b3610b44.entry.js +1 -0
- package/dist/mint-components/p-b9b4142b.js +268 -0
- package/dist/mint-components/p-be126e55.system.entry.js +1 -0
- package/dist/mint-components/{p-8763472e.js → p-bf4cd488.js} +1 -1
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/p-c4b5c3b0.entry.js +1 -0
- package/dist/mint-components/p-c52e21cf.entry.js +1 -0
- package/dist/mint-components/p-c53322f8.system.entry.js +1 -0
- package/dist/mint-components/p-c586b1bb.entry.js +1 -0
- package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
- package/dist/mint-components/{p-edb569b8.js → p-cecf6365.js} +1 -1
- package/dist/mint-components/{p-190d0446.system.js → p-d1242e79.system.js} +1 -1
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-dc7b06ef.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-d5645202.entry.js +1 -0
- package/dist/mint-components/p-d873d405.system.entry.js +1 -0
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/{p-6fd0198e.js → p-ddadc8e3.js} +1 -1
- package/dist/mint-components/p-df0899d3.entry.js +1 -0
- package/dist/mint-components/p-e3290be6.js +1 -0
- package/dist/mint-components/{p-54694cd4.system.js → p-e6b17831.system.js} +1 -1
- package/dist/mint-components/p-e71c3590.system.entry.js +1 -0
- package/dist/mint-components/{p-916a8f50.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-ea7ba030.system.entry.js +1 -0
- package/dist/mint-components/p-ec7e6d40.entry.js +1 -0
- package/dist/mint-components/p-eccd7d60.system.entry.js +1 -0
- package/dist/mint-components/p-ef147f86.system.entry.js +1 -0
- package/dist/mint-components/p-ef39ca69.system.entry.js +1 -0
- package/dist/mint-components/{p-9f08dc58.js → p-f30000d4.js} +1 -1
- package/dist/mint-components/p-f3a65df7.js +1 -0
- package/dist/mint-components/p-f6aa512e.system.js +1 -0
- package/dist/mint-components/p-fd14c63e.js +1 -0
- package/dist/mint-components/p-fdb3c23e.system.entry.js +1 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/mint-components/{p-380b25a3.js → p-ff39746d.js} +1 -1
- package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +0 -5
- package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +0 -25
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -6
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field-view.d.ts +2 -2
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +7 -2
- package/dist/types/components/sqm-checkbox-field/useCheckboxField.d.ts +4 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +9 -1
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field-view.d.ts +2 -2
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +7 -1
- package/dist/types/components/sqm-dropdown-field/useDropdownField.d.ts +2 -1
- package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +1 -1
- package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +1 -0
- package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +1 -0
- package/dist/types/components/sqm-hamburger-menu/HamburgerMenu.stories.d.ts +5 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu-view.d.ts +6 -0
- package/dist/types/components/sqm-hamburger-menu/sqm-hamburger-menu.d.ts +11 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +25 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +3 -2
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +0 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -7
- package/dist/types/components/sqm-image/sqm-image-view.d.ts +0 -1
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -6
- package/dist/types/components/sqm-input-field/sqm-input-field-view.d.ts +2 -2
- package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +6 -2
- package/dist/types/components/sqm-input-field/useInputField.d.ts +2 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -2
- package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/useNameFields.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +2 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +3 -3
- package/dist/types/components/sqm-navigation-sidebar/useNavigationSidebar.d.ts +4 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +5 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +9 -5
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +8 -7
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +0 -2
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +3 -13
- package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +5 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +1 -1
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -2
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +16 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +6 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +18 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +5 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +6 -16
- package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +1 -1
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +8 -4
- package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +3 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +19 -19
- package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +2 -1
- package/dist/types/components/sqm-portal-registration-form/PortalRegistrationForm.stories.d.ts +10 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +37 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +118 -0
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +27 -0
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +19 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +13 -13
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +7 -5
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +1 -1
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +1 -1
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -6
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -28
- package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -1
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +0 -5
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -28
- package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +0 -2
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -10
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +1 -3
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +2 -2
- package/dist/types/components/sqm-text/sqm-text.d.ts +0 -7
- package/dist/types/components/sqm-timeline/sqm-timeline-entry-view.d.ts +0 -1
- package/dist/types/components/sqm-timeline/sqm-timeline-entry.d.ts +0 -5
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +1 -1
- package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +4 -4
- package/dist/types/components.d.ts +556 -1002
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -3
- package/CHANGELOG.md +0 -473
- package/dist/cjs/extends-08099afd.js +0 -21
- package/dist/cjs/sqm-navigation-sidebar-view-0ee28f65.js +0 -36
- package/dist/cjs/sqm-qa-referral-card.cjs.entry.js +0 -89
- package/dist/cjs/sqm-qa-tabs.cjs.entry.js +0 -100
- package/dist/cjs/sqm-qa.cjs.entry.js +0 -117
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1064
- package/dist/collection/components/sqm-qa-referral-card/ReferralCard.stories.js +0 -79
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card-view.js +0 -56
- package/dist/collection/components/sqm-qa-referral-card/sqm-referral-card.js +0 -70
- package/dist/collection/components/sqm-qa-tabs/Tabs.stories.js +0 -491
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs-view.js +0 -31
- package/dist/collection/components/sqm-qa-tabs/sqm-tabs.js +0 -59
- package/dist/collection/components/sqm-qa-tabs/useTabs.js +0 -46
- package/dist/esm/extends-c31f1eff.js +0 -19
- package/dist/esm/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -34
- package/dist/esm/sqm-qa-referral-card.entry.js +0 -85
- package/dist/esm/sqm-qa-tabs.entry.js +0 -96
- package/dist/esm/sqm-qa.entry.js +0 -113
- package/dist/esm-es5/ShadowViewAddon-b2386d47.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-2b4f1755.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-view-9cb9a5f4.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-5d6f1411.js +0 -1
- package/dist/esm-es5/sqm-portal-section-view-c8d1c727.js +0 -1
- package/dist/esm-es5/sqm-qa-referral-card.entry.js +0 -1
- package/dist/esm-es5/sqm-qa-tabs.entry.js +0 -1
- package/dist/esm-es5/sqm-qa.entry.js +0 -1
- package/dist/esm-es5/use-callback-697e2ff0.js +0 -1
- package/dist/esm-es5/useChildElements-0eab9c95.js +0 -1
- package/dist/esm-es5/useReferralTable-3513622d.js +0 -1
- package/dist/mint-components/p-03d5b192.entry.js +0 -159
- package/dist/mint-components/p-0ec3b3e5.system.js +0 -1
- package/dist/mint-components/p-127e25e6.system.entry.js +0 -1
- package/dist/mint-components/p-13f034ac.system.js +0 -1
- package/dist/mint-components/p-15b1a2b2.system.entry.js +0 -1
- package/dist/mint-components/p-16b6aea4.js +0 -1
- package/dist/mint-components/p-174767c7.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-1e13c65a.system.entry.js +0 -1
- package/dist/mint-components/p-242d76ee.system.entry.js +0 -1
- package/dist/mint-components/p-24f8c2f6.entry.js +0 -1
- package/dist/mint-components/p-2800ad44.system.js +0 -8
- package/dist/mint-components/p-3149462a.system.entry.js +0 -1
- package/dist/mint-components/p-353a6419.system.js +0 -1
- package/dist/mint-components/p-36578b9f.system.entry.js +0 -1
- package/dist/mint-components/p-3894495a.js +0 -1
- package/dist/mint-components/p-39c637da.system.entry.js +0 -1
- package/dist/mint-components/p-408f983a.system.js +0 -1
- package/dist/mint-components/p-4647ef97.entry.js +0 -1
- package/dist/mint-components/p-46ab109e.system.entry.js +0 -1
- package/dist/mint-components/p-4d4fbaec.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-50ef8db6.system.entry.js +0 -1
- package/dist/mint-components/p-54bad89f.system.entry.js +0 -1
- package/dist/mint-components/p-555c9e1d.system.entry.js +0 -1
- package/dist/mint-components/p-59d481ea.entry.js +0 -1
- package/dist/mint-components/p-5c454d18.entry.js +0 -1
- package/dist/mint-components/p-5dd4dcc7.system.entry.js +0 -1
- package/dist/mint-components/p-6073e2f7.entry.js +0 -1
- package/dist/mint-components/p-60e2423f.entry.js +0 -1
- package/dist/mint-components/p-63617b4b.system.entry.js +0 -1
- package/dist/mint-components/p-6505fca3.system.entry.js +0 -1
- package/dist/mint-components/p-673a731f.entry.js +0 -1
- package/dist/mint-components/p-684967e6.entry.js +0 -1
- package/dist/mint-components/p-6882941e.system.entry.js +0 -1
- package/dist/mint-components/p-6e2ca2a0.js +0 -1
- package/dist/mint-components/p-6fc2fea4.entry.js +0 -1
- package/dist/mint-components/p-7473b40b.system.entry.js +0 -1
- package/dist/mint-components/p-77e5a1d4.entry.js +0 -1
- package/dist/mint-components/p-7d2d6a2b.system.js +0 -1
- package/dist/mint-components/p-7fd6f6ef.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-86fcb500.system.entry.js +0 -1
- package/dist/mint-components/p-889dbba5.entry.js +0 -1
- package/dist/mint-components/p-8d445a96.entry.js +0 -1
- package/dist/mint-components/p-96b0537b.system.js +0 -1
- package/dist/mint-components/p-9744ae44.system.js +0 -1
- package/dist/mint-components/p-991d3c0c.system.entry.js +0 -1
- package/dist/mint-components/p-9f54769f.system.entry.js +0 -1
- package/dist/mint-components/p-9f5e7313.entry.js +0 -33
- package/dist/mint-components/p-a73784bb.entry.js +0 -1
- package/dist/mint-components/p-ab8f86d3.js +0 -1
- package/dist/mint-components/p-ac80106e.entry.js +0 -1
- package/dist/mint-components/p-b3fa7c87.entry.js +0 -1
- package/dist/mint-components/p-bbb584e6.system.entry.js +0 -1
- package/dist/mint-components/p-be45347d.entry.js +0 -1
- package/dist/mint-components/p-bed4977e.entry.js +0 -1
- package/dist/mint-components/p-bf29e206.system.entry.js +0 -1
- package/dist/mint-components/p-c469be65.entry.js +0 -9
- package/dist/mint-components/p-c5573b7c.js +0 -1
- package/dist/mint-components/p-c81305b3.js +0 -268
- package/dist/mint-components/p-ccbacc32.entry.js +0 -1
- package/dist/mint-components/p-cee807de.system.entry.js +0 -1
- package/dist/mint-components/p-cf7d0aee.js +0 -1
- package/dist/mint-components/p-d298e4c5.system.entry.js +0 -1
- package/dist/mint-components/p-d30d1664.system.entry.js +0 -1
- package/dist/mint-components/p-d9488d28.entry.js +0 -1
- package/dist/mint-components/p-dc564561.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e4f4bfbb.entry.js +0 -1
- package/dist/mint-components/p-eb2f96a0.system.js +0 -1
- package/dist/mint-components/p-ec5b69bd.system.entry.js +0 -1
- package/dist/mint-components/p-ee461c80.js +0 -1
- package/dist/mint-components/p-f33e65c8.entry.js +0 -1
- package/dist/mint-components/p-f55d96ad.entry.js +0 -99
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -255
- package/dist/types/components/sqm-qa-referral-card/ReferralCard.stories.d.ts +0 -14
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-referral-card/sqm-referral-card.d.ts +0 -20
- package/dist/types/components/sqm-qa-tabs/Tabs.stories.d.ts +0 -15
- package/dist/types/components/sqm-qa-tabs/sqm-tabs-view.d.ts +0 -9
- package/dist/types/components/sqm-qa-tabs/sqm-tabs.d.ts +0 -23
- package/dist/types/components/sqm-qa-tabs/useTabs.d.ts +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
5
|
-
const global = require('./global-
|
|
6
|
-
const index_module = require('./index.module-
|
|
4
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
5
|
+
const global = require('./global-97364373.js');
|
|
6
|
+
const index_module = require('./index.module-d3a28293.js');
|
|
7
7
|
const cjs = require('./cjs-1066ec21.js');
|
|
8
8
|
const mixins = require('./mixins-338ca5f1.js');
|
|
9
|
-
const JSS = require('./JSS-
|
|
10
|
-
const useChildElements = require('./useChildElements-
|
|
11
|
-
const luxon = require('./luxon-
|
|
9
|
+
const JSS = require('./JSS-c73206b7.js');
|
|
10
|
+
const useChildElements = require('./useChildElements-24fbca82.js');
|
|
11
|
+
const luxon = require('./luxon-479fc825.js');
|
|
12
12
|
const utils = require('./utils-8ef4fe4a.js');
|
|
13
|
-
const sqmTextSpanView = require('./sqm-text-span-view-
|
|
14
|
-
const sqmPortalContainerView = require('./sqm-portal-container-view-
|
|
15
|
-
const sqmPortalSectionView = require('./sqm-portal-section-view-
|
|
13
|
+
const sqmTextSpanView = require('./sqm-text-span-view-b0c90c27.js');
|
|
14
|
+
const sqmPortalContainerView = require('./sqm-portal-container-view-4a8432e9.js');
|
|
15
|
+
const sqmPortalSectionView = require('./sqm-portal-section-view-71a57cd9.js');
|
|
16
16
|
|
|
17
17
|
const medium = {
|
|
18
18
|
facebook: { color: "#1877f2", text: "#fff", icon: "facebook" },
|
|
@@ -189,37 +189,24 @@ function LeaderboardView(props) {
|
|
|
189
189
|
index.h("td", { class: "Score" }, ((_l = data.viewerRank) === null || _l === void 0 ? void 0 : _l.textValue) || "0"))))));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
const style$2 = {
|
|
193
|
+
HostBlock: mixins.HostBlock,
|
|
194
|
+
inputStyle: {
|
|
195
|
+
"&::part(base)": { background: "white", opacity: "1", cursor: "pointer" },
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
const sheet$2 = JSS.createStyleSheet(style$2);
|
|
199
|
+
const styleString$2 = sheet$2.toString();
|
|
192
200
|
function ShareLinkView(props) {
|
|
193
|
-
const style = {
|
|
194
|
-
HostBlock: mixins.HostBlock,
|
|
195
|
-
inputStyle: {
|
|
196
|
-
"&::part(input)": {
|
|
197
|
-
color: props.textColor,
|
|
198
|
-
},
|
|
199
|
-
"& sl-icon-button::part(base)": {
|
|
200
|
-
color: props.textColor,
|
|
201
|
-
},
|
|
202
|
-
"&::part(base)": {
|
|
203
|
-
background: props.backgroundColor || "white",
|
|
204
|
-
borderRadius: props.borderRadius,
|
|
205
|
-
borderColor: props.borderColor,
|
|
206
|
-
opacity: "1",
|
|
207
|
-
cursor: "pointer",
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
};
|
|
211
|
-
const sheet = JSS.createStyleSheet(style);
|
|
212
|
-
const styleString = sheet.toString();
|
|
213
|
-
console.log(props.borderColor);
|
|
214
201
|
return (index.h("div", null,
|
|
215
|
-
index.h("style", { type: "text/css" }, styleString),
|
|
202
|
+
index.h("style", { type: "text/css" }, styleString$2),
|
|
216
203
|
index.h("sl-tooltip", { trigger: "manual", content: props.tooltiptext, placement: "top-end", disabled: props.disabled, open: props.open, skidding: -20 },
|
|
217
|
-
index.h("sl-input", {
|
|
204
|
+
index.h("sl-input", { class: sheet$2.classes.inputStyle, exportparts: "label: input-label", value: props.shareString, readonly: true },
|
|
218
205
|
index.h("sl-icon-button", { onClick: () => { var _a; return (_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props); }, slot: "suffix", name: "files", disabled: props.disabled })))));
|
|
219
206
|
}
|
|
220
207
|
|
|
221
208
|
function BigStatView(props) {
|
|
222
|
-
const { statvalue,
|
|
209
|
+
const { statvalue, flexReverse, alignment } = props;
|
|
223
210
|
// Dependent on props, not feasiable to move out
|
|
224
211
|
const style = {
|
|
225
212
|
Container: {
|
|
@@ -234,20 +221,15 @@ function BigStatView(props) {
|
|
|
234
221
|
: "center"}`,
|
|
235
222
|
},
|
|
236
223
|
Stat: {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
color: statColor,
|
|
224
|
+
"font-size": "var(--sl-font-size-x-large)",
|
|
225
|
+
"text-align": alignment,
|
|
240
226
|
},
|
|
241
227
|
Description: {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
? statDescriptionColor
|
|
248
|
-
: "var(--sl-color-gray-600)",
|
|
249
|
-
textTransform: "uppercase",
|
|
250
|
-
textAlign: alignment,
|
|
228
|
+
"font-size": "var(--sl-font-size-small)",
|
|
229
|
+
"font-weight": "var(--sl-font-weight-normal)",
|
|
230
|
+
color: "var(--sl-color-gray-600)",
|
|
231
|
+
"text-transform": "uppercase",
|
|
232
|
+
"text-align": alignment,
|
|
251
233
|
},
|
|
252
234
|
};
|
|
253
235
|
const sheet = JSS.createStyleSheet(style);
|
|
@@ -258,13 +240,9 @@ function BigStatView(props) {
|
|
|
258
240
|
index.h("div", { part: "stat-description", class: sheet.classes.Description }, props.labelSlot)));
|
|
259
241
|
}
|
|
260
242
|
|
|
261
|
-
const style$
|
|
243
|
+
const style$3 = {
|
|
262
244
|
HostBlock: mixins.HostBlock,
|
|
263
|
-
":host": {
|
|
264
|
-
"min-height": "100vh",
|
|
265
|
-
},
|
|
266
245
|
Frame: {
|
|
267
|
-
"min-height": "100vh",
|
|
268
246
|
display: "flex",
|
|
269
247
|
"flex-direction": "column",
|
|
270
248
|
"box-sizing": "border-box",
|
|
@@ -286,7 +264,7 @@ const style$2 = {
|
|
|
286
264
|
"box-sizing": "border-box",
|
|
287
265
|
display: "flex",
|
|
288
266
|
"justify-content": "space-between",
|
|
289
|
-
padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
|
|
267
|
+
// padding: "var(--sl-spacing-small) var(--sl-spacing-large)",
|
|
290
268
|
"align-items": "center",
|
|
291
269
|
"background-color": "var(--sqm-header-background)",
|
|
292
270
|
"@media screen and (max-width: 499px)": {
|
|
@@ -296,17 +274,17 @@ const style$2 = {
|
|
|
296
274
|
},
|
|
297
275
|
},
|
|
298
276
|
};
|
|
299
|
-
const sheet$
|
|
300
|
-
const styleString$
|
|
277
|
+
const sheet$3 = JSS.createStyleSheet(style$3);
|
|
278
|
+
const styleString$3 = sheet$3.toString();
|
|
301
279
|
function PortalFrameView(props, children) {
|
|
302
|
-
const { data } = props;
|
|
303
|
-
return (index.h("div", { class: sheet$
|
|
304
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
305
|
-
index.h("div", { class: sheet$
|
|
280
|
+
const { data, notFullScreen } = props;
|
|
281
|
+
return (index.h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet$3.classes.Frame },
|
|
282
|
+
index.h("style", { type: "text/css" }, styleString$3),
|
|
283
|
+
index.h("div", { class: sheet$3.classes.HeaderWrapper },
|
|
306
284
|
data.header,
|
|
307
285
|
index.h("slot", { name: "sqm-navigation-menu" })),
|
|
308
286
|
children,
|
|
309
|
-
index.h("div", { class: sheet$
|
|
287
|
+
index.h("div", { class: sheet$3.classes.FooterWrapper }, data.footer)));
|
|
310
288
|
}
|
|
311
289
|
|
|
312
290
|
const EditProfileView = (props) => {
|
|
@@ -379,11 +357,11 @@ const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
|
379
357
|
`;
|
|
380
358
|
function useShareLink(props) {
|
|
381
359
|
var _a, _b;
|
|
382
|
-
const { programId = index_module.
|
|
383
|
-
const user = index_module.
|
|
384
|
-
const engagementMedium = index_module.
|
|
385
|
-
const { data } = index_module.
|
|
386
|
-
const [sendLoadEvent] = index_module
|
|
360
|
+
const { programId = index_module.O() } = props;
|
|
361
|
+
const user = index_module.N();
|
|
362
|
+
const engagementMedium = index_module.U();
|
|
363
|
+
const { data } = index_module.dn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
364
|
+
const [sendLoadEvent] = index_module.Pe(WIDGET_ENGAGEMENT_EVENT);
|
|
387
365
|
const shareString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.shareLink) !== null && _b !== void 0 ? _b :
|
|
388
366
|
// Shown during loading
|
|
389
367
|
"...";
|
|
@@ -468,17 +446,17 @@ function GenericShare(res) {
|
|
|
468
446
|
function useShareButton(props) {
|
|
469
447
|
var _a, _b;
|
|
470
448
|
const { sharetitle, sharetext, medium } = props;
|
|
471
|
-
const programId = props.programId ? props.programId : index_module.
|
|
472
|
-
const user = index_module.
|
|
449
|
+
const programId = props.programId ? props.programId : index_module.O();
|
|
450
|
+
const user = index_module.N();
|
|
473
451
|
const variables = {
|
|
474
|
-
engagementMedium: index_module.
|
|
452
|
+
engagementMedium: index_module.U(),
|
|
475
453
|
programId: programId,
|
|
476
454
|
shareMedium: medium.toUpperCase(),
|
|
477
455
|
};
|
|
478
456
|
// only queries if a programId is available
|
|
479
|
-
const res = index_module.
|
|
457
|
+
const res = index_module.dn(MessageLinkQuery$1, variables, !(user === null || user === void 0 ? void 0 : user.jwt) || !programId);
|
|
480
458
|
const directLink = (_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.viewer) === null || _b === void 0 ? void 0 : _b.shareLink;
|
|
481
|
-
const environment = index_module.
|
|
459
|
+
const environment = index_module.getEnvironmentSDK();
|
|
482
460
|
const hide = (medium.toLocaleUpperCase() === "SMS" &&
|
|
483
461
|
window.orientation === undefined) ||
|
|
484
462
|
(medium.toLocaleUpperCase() === "DIRECT" && !window.navigator.share);
|
|
@@ -794,7 +772,7 @@ function pathToRegexp(path, keys, options) {
|
|
|
794
772
|
const debug = stencilHooks_module.browser("sq:useBigStat");
|
|
795
773
|
const LOADING = "...";
|
|
796
774
|
const debugQuery = (query, variables, getStat) => {
|
|
797
|
-
const res = index_module.
|
|
775
|
+
const res = index_module.dn(query, variables);
|
|
798
776
|
if (!(res === null || res === void 0 ? void 0 : res.data) && !res.loading) {
|
|
799
777
|
console.error("issue getting stat:", res);
|
|
800
778
|
}
|
|
@@ -1352,11 +1330,11 @@ const StatPaths = [
|
|
|
1352
1330
|
const StatPatterns = StatPaths.map((pattern) => pathToRegexp(pattern.route));
|
|
1353
1331
|
function useBigStat(props) {
|
|
1354
1332
|
var _a;
|
|
1355
|
-
const { statType, flexReverse, alignment,
|
|
1333
|
+
const { statType, flexReverse, alignment, programId = index_module.O(), } = props;
|
|
1356
1334
|
// triggers a re-render if the label is manually changed
|
|
1357
1335
|
useChildElements.useChildElements();
|
|
1358
|
-
const locale = index_module.
|
|
1359
|
-
const userIdent = index_module.
|
|
1336
|
+
const locale = index_module.x();
|
|
1337
|
+
const userIdent = index_module.N();
|
|
1360
1338
|
const re = stencilHooks_module.useMemo(() => StatPatterns.find((re) => re.exec(statType)), [statType]);
|
|
1361
1339
|
if (!(re === null || re === void 0 ? void 0 : re.exec(statType))) {
|
|
1362
1340
|
return {
|
|
@@ -1365,7 +1343,6 @@ function useBigStat(props) {
|
|
|
1365
1343
|
statvalue: "!!!",
|
|
1366
1344
|
flexReverse,
|
|
1367
1345
|
alignment,
|
|
1368
|
-
statColor,
|
|
1369
1346
|
loading: false,
|
|
1370
1347
|
},
|
|
1371
1348
|
label: "BAD PROP TYPE",
|
|
@@ -1396,7 +1373,6 @@ function useBigStat(props) {
|
|
|
1396
1373
|
loading: stat === null || stat === void 0 ? void 0 : stat.loading,
|
|
1397
1374
|
flexReverse,
|
|
1398
1375
|
alignment,
|
|
1399
|
-
statColor,
|
|
1400
1376
|
},
|
|
1401
1377
|
label,
|
|
1402
1378
|
};
|
|
@@ -1415,10 +1391,6 @@ function useDemoBigStat(props) {
|
|
|
1415
1391
|
loading: false,
|
|
1416
1392
|
flexReverse: false,
|
|
1417
1393
|
alignment: "center",
|
|
1418
|
-
statColor: "var(--sl-color-gray-800)",
|
|
1419
|
-
statDescriptionColor: "var(--sl-color-gray-600)",
|
|
1420
|
-
statFontSize: "x-large",
|
|
1421
|
-
statDescriptionFontSize: "small",
|
|
1422
1394
|
},
|
|
1423
1395
|
label: "BAD PROP TYPE",
|
|
1424
1396
|
};
|
|
@@ -1430,12 +1402,8 @@ function useDemoBigStat(props) {
|
|
|
1430
1402
|
props: cjs.cjs({
|
|
1431
1403
|
statvalue: "12345",
|
|
1432
1404
|
value: 0,
|
|
1433
|
-
flexReverse:
|
|
1434
|
-
alignment:
|
|
1435
|
-
statColor: props.statColor,
|
|
1436
|
-
statDescriptionColor: props.statDescriptionColor,
|
|
1437
|
-
statFontSize: props.statFontSize,
|
|
1438
|
-
statDescriptionFontSize: props.statDescriptionFontSize,
|
|
1405
|
+
flexReverse: false,
|
|
1406
|
+
alignment: "center",
|
|
1439
1407
|
}, props.demoData || {}, { arrayMerge: (_, a) => a }),
|
|
1440
1408
|
label: label !== null && label !== void 0 ? label : "Demo Label",
|
|
1441
1409
|
};
|
|
@@ -1455,18 +1423,14 @@ function StatContainerView(props, children) {
|
|
|
1455
1423
|
gap: divideSpace(),
|
|
1456
1424
|
// First set of styles applies when shadow DOM is disabled, second set applies when shadow DOM is enabled
|
|
1457
1425
|
"& > *": {
|
|
1458
|
-
"border-right":
|
|
1459
|
-
? `1px solid ${props.borderColor ? props.borderColor : "#EAEAEA"}`
|
|
1460
|
-
: "none",
|
|
1426
|
+
"border-right": "1px solid #EAEAEA",
|
|
1461
1427
|
"padding-right": divideSpace(),
|
|
1462
1428
|
},
|
|
1463
1429
|
"& > :last-child": {
|
|
1464
1430
|
"border-right": "none",
|
|
1465
1431
|
},
|
|
1466
1432
|
"& > ::slotted(*)": {
|
|
1467
|
-
"border-right":
|
|
1468
|
-
? `1px solid ${props.borderColor ? props.borderColor : "#EAEAEA"}`
|
|
1469
|
-
: "none",
|
|
1433
|
+
"border-right": "1px solid #EAEAEA",
|
|
1470
1434
|
"padding-right": divideSpace(),
|
|
1471
1435
|
height: "100%",
|
|
1472
1436
|
},
|
|
@@ -1562,7 +1526,7 @@ function PortalChangePasswordView(props) {
|
|
|
1562
1526
|
index.h("style", { type: "text/css" }, styleString))));
|
|
1563
1527
|
}
|
|
1564
1528
|
|
|
1565
|
-
const style$
|
|
1529
|
+
const style$4 = {
|
|
1566
1530
|
Wrapper: mixins.AuthWrapper,
|
|
1567
1531
|
Column: mixins.AuthColumn,
|
|
1568
1532
|
ForgotButtonContainer: {
|
|
@@ -1583,28 +1547,28 @@ const vanillaStyle$1 = `
|
|
|
1583
1547
|
display: none;
|
|
1584
1548
|
}
|
|
1585
1549
|
`;
|
|
1586
|
-
const sheet$
|
|
1587
|
-
const styleString$
|
|
1550
|
+
const sheet$4 = JSS.createStyleSheet(style$4);
|
|
1551
|
+
const styleString$4 = sheet$4.toString();
|
|
1588
1552
|
function PortalLoginView(props) {
|
|
1589
1553
|
const { states, callbacks, content } = props;
|
|
1590
|
-
return (index.h("div", { class: sheet$
|
|
1554
|
+
return (index.h("div", { class: sheet$4.classes.Wrapper },
|
|
1591
1555
|
index.h("style", { type: "text/css" },
|
|
1592
1556
|
vanillaStyle$1,
|
|
1593
|
-
styleString$
|
|
1557
|
+
styleString$4),
|
|
1594
1558
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1595
|
-
index.h("sl-form", { class: sheet$
|
|
1559
|
+
index.h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit },
|
|
1596
1560
|
props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1597
1561
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1598
1562
|
index.h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
|
|
1599
1563
|
index.h("div", null,
|
|
1600
1564
|
index.h("sl-input", { exportparts: "label: input-label", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
|
|
1601
|
-
index.h("div", { class: sheet$
|
|
1602
|
-
index.h("div", { class: sheet$
|
|
1565
|
+
index.h("div", { class: sheet$4.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
|
|
1566
|
+
index.h("div", { class: sheet$4.classes.ButtonsContainer },
|
|
1603
1567
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
|
|
1604
1568
|
content.secondaryButton))));
|
|
1605
1569
|
}
|
|
1606
1570
|
|
|
1607
|
-
const style$
|
|
1571
|
+
const style$5 = {
|
|
1608
1572
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
1609
1573
|
Column: mixins.AuthColumn,
|
|
1610
1574
|
HostBlock: mixins.HostBlock,
|
|
@@ -1630,20 +1594,20 @@ sqm-portal-register {
|
|
|
1630
1594
|
display: none;
|
|
1631
1595
|
}
|
|
1632
1596
|
`;
|
|
1633
|
-
const sheet$
|
|
1634
|
-
const styleString$
|
|
1597
|
+
const sheet$5 = JSS.createStyleSheet(style$5);
|
|
1598
|
+
const styleString$5 = sheet$5.toString();
|
|
1635
1599
|
function PortalRegisterView(props) {
|
|
1636
1600
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1637
1601
|
const { states, refs, callbacks, content } = props;
|
|
1638
1602
|
if (states.error) {
|
|
1639
1603
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
1640
1604
|
}
|
|
1641
|
-
return (index.h("div", { class: sheet$
|
|
1605
|
+
return (index.h("div", { class: sheet$5.classes.Wrapper },
|
|
1642
1606
|
index.h("style", { type: "text/css" },
|
|
1643
1607
|
vanillaStyle$2,
|
|
1644
|
-
styleString$
|
|
1608
|
+
styleString$5),
|
|
1645
1609
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
1646
|
-
index.h("sl-form", { class: sheet$
|
|
1610
|
+
index.h("sl-form", { class: sheet$5.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1647
1611
|
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
1648
1612
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
1649
1613
|
content.formData,
|
|
@@ -1655,27 +1619,26 @@ function PortalRegisterView(props) {
|
|
|
1655
1619
|
if (!value.includes("@")) {
|
|
1656
1620
|
return "Must be a valid email address";
|
|
1657
1621
|
}
|
|
1658
|
-
} }, (((_b = (_a = states.
|
|
1659
|
-
class: sheet$
|
|
1660
|
-
helpText: ((_d = (_c = states.
|
|
1622
|
+
} }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
|
|
1623
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1624
|
+
helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
|
|
1661
1625
|
"Cannot be empty",
|
|
1662
1626
|
}
|
|
1663
1627
|
: [])))),
|
|
1664
|
-
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "
|
|
1628
|
+
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": states.disablePasswordValidation })),
|
|
1665
1629
|
content.passwordField,
|
|
1666
|
-
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.
|
|
1667
|
-
class: sheet$
|
|
1668
|
-
helpText: ((_h = (_g = states.
|
|
1669
|
-
"Cannot be empty",
|
|
1630
|
+
!states.hideInputs && states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading, required: true }, (((_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.validationErrors) === null || _f === void 0 ? void 0 : _f.confirmPassword) ? {
|
|
1631
|
+
class: sheet$5.classes.ErrorStyle,
|
|
1632
|
+
helpText: ((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.confirmPassword) || "Cannot be empty",
|
|
1670
1633
|
}
|
|
1671
1634
|
: [])))),
|
|
1672
1635
|
content.terms,
|
|
1673
|
-
index.h("div", { class: sheet$
|
|
1636
|
+
index.h("div", { class: sheet$5.classes.ButtonsContainer },
|
|
1674
1637
|
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
1675
1638
|
content.secondaryButton))));
|
|
1676
1639
|
}
|
|
1677
1640
|
|
|
1678
|
-
const style$
|
|
1641
|
+
const style$6 = {
|
|
1679
1642
|
Description: {
|
|
1680
1643
|
"& input[type=checkbox]": {
|
|
1681
1644
|
display: "none",
|
|
@@ -1714,13 +1677,13 @@ const style$5 = {
|
|
|
1714
1677
|
},
|
|
1715
1678
|
},
|
|
1716
1679
|
};
|
|
1717
|
-
const sheet$
|
|
1718
|
-
const styleString$
|
|
1680
|
+
const sheet$6 = JSS.createStyleSheet(style$6);
|
|
1681
|
+
const styleString$6 = sheet$6.toString();
|
|
1719
1682
|
function Details(props) {
|
|
1720
1683
|
const rid = Math.random().toString(36).slice(2);
|
|
1721
1684
|
return (index.h("div", { style: { opacity: props.opacity } },
|
|
1722
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1723
|
-
index.h("span", { class: sheet$
|
|
1685
|
+
index.h("style", { type: "text/css" }, styleString$6),
|
|
1686
|
+
index.h("span", { class: sheet$6.classes.Description },
|
|
1724
1687
|
index.h("input", { type: "checkbox", id: "details-" + rid }),
|
|
1725
1688
|
index.h("label", { class: "details", htmlFor: "details-" + rid },
|
|
1726
1689
|
index.h("sl-icon", { name: "chevron-down" })),
|
|
@@ -1742,7 +1705,7 @@ const GreyGift = () => {
|
|
|
1742
1705
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
|
|
1743
1706
|
};
|
|
1744
1707
|
|
|
1745
|
-
const style$
|
|
1708
|
+
const style$7 = {
|
|
1746
1709
|
ProgressBar: {
|
|
1747
1710
|
"& .progress-bar": {
|
|
1748
1711
|
height: "0",
|
|
@@ -1854,14 +1817,14 @@ const style$6 = {
|
|
|
1854
1817
|
},
|
|
1855
1818
|
},
|
|
1856
1819
|
};
|
|
1857
|
-
const sheet$
|
|
1858
|
-
const styleString$
|
|
1820
|
+
const sheet$7 = JSS.createStyleSheet(style$7, { classNamePrefix: "sqm-prog-bar" });
|
|
1821
|
+
const styleString$7 = sheet$7.toString();
|
|
1859
1822
|
function ProgressBarView(props) {
|
|
1860
1823
|
const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
|
|
1861
1824
|
let aggregate = buildProgressBar(repeatable, steps, props);
|
|
1862
1825
|
const { columns, items } = aggregate;
|
|
1863
|
-
return (index.h("div", { class: sheet$
|
|
1864
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
1826
|
+
return (index.h("div", { class: sheet$7.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
|
|
1827
|
+
index.h("style", { type: "text/css" }, styleString$7),
|
|
1865
1828
|
index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
|
|
1866
1829
|
(Boolean(finite) && progress > 2 * goal)
|
|
1867
1830
|
? "progress-bar repeatable-steps"
|
|
@@ -2152,7 +2115,7 @@ const arrow_left_right = () => {
|
|
|
2152
2115
|
index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.265 2.789a.346.346 0 000-.489L8.066.101a.346.346 0 10-.489.489l1.61 1.609H2.073a.691.691 0 00-.69.691v1.728a.346.346 0 00.69 0V2.89h7.114L7.577 4.5a.346.346 0 10.49.488l2.198-2.2zM.101 9.21a.346.346 0 000 .489l2.2 2.199a.346.346 0 00.488-.489l-1.61-1.609h7.114c.382 0 .691-.31.691-.691V7.382a.346.346 0 00-.691 0V9.11H1.18L2.789 7.5a.346.346 0 10-.489-.488l-2.199 2.2z", fill: "currentColor" })));
|
|
2153
2116
|
};
|
|
2154
2117
|
|
|
2155
|
-
const style$
|
|
2118
|
+
const style$8 = {
|
|
2156
2119
|
TaskCard: {
|
|
2157
2120
|
display: "inline-block",
|
|
2158
2121
|
width: "100%",
|
|
@@ -2306,8 +2269,8 @@ const style$7 = {
|
|
|
2306
2269
|
},
|
|
2307
2270
|
},
|
|
2308
2271
|
};
|
|
2309
|
-
const sheet$
|
|
2310
|
-
const styleString$
|
|
2272
|
+
const sheet$8 = JSS.createStyleSheet(style$8);
|
|
2273
|
+
const styleString$8 = sheet$8.toString();
|
|
2311
2274
|
function TaskCardView(props) {
|
|
2312
2275
|
var _a, _b;
|
|
2313
2276
|
const { callbacks, states, content } = props;
|
|
@@ -2340,14 +2303,13 @@ function TaskCardView(props) {
|
|
|
2340
2303
|
:host{
|
|
2341
2304
|
display: block;
|
|
2342
2305
|
margin-bottom: var(--sl-spacing-large);
|
|
2343
|
-
|
|
2344
2306
|
}
|
|
2345
2307
|
`;
|
|
2346
|
-
return (index.h("div", { class: sheet$
|
|
2308
|
+
return (index.h("div", { class: sheet$8.classes.TaskCard },
|
|
2347
2309
|
index.h("style", { type: "text/css" },
|
|
2348
|
-
styleString$
|
|
2310
|
+
styleString$8,
|
|
2349
2311
|
vanillaStyle),
|
|
2350
|
-
!states.loading && taskNotStarted && (index.h("div", { class: sheet$
|
|
2312
|
+
!states.loading && taskNotStarted && (index.h("div", { class: sheet$8.classes.NotStarted },
|
|
2351
2313
|
index.h("span", { class: "icon" },
|
|
2352
2314
|
index.h("sl-icon", { name: "info-circle-fill" })),
|
|
2353
2315
|
global.intl.formatMessage({
|
|
@@ -2358,7 +2320,7 @@ function TaskCardView(props) {
|
|
|
2358
2320
|
.setLocale(utils.luxonLocale(states.locale))
|
|
2359
2321
|
.toLocaleString(luxon.luxon.DateTime.DATETIME_MED),
|
|
2360
2322
|
}))),
|
|
2361
|
-
!states.loading && taskEnded && (index.h("div", { class: sheet$
|
|
2323
|
+
!states.loading && taskEnded && (index.h("div", { class: sheet$8.classes.Ended },
|
|
2362
2324
|
index.h("span", { class: "icon" },
|
|
2363
2325
|
index.h("sl-icon", { name: "exclamation-triangle-fill" })),
|
|
2364
2326
|
global.intl.formatMessage({
|
|
@@ -2378,7 +2340,7 @@ function TaskCardView(props) {
|
|
|
2378
2340
|
? "main complete"
|
|
2379
2341
|
: "main" },
|
|
2380
2342
|
index.h("div", { class: "container", "data-subdue": taskComplete || taskUnavailable },
|
|
2381
|
-
index.h("div", { class: sheet$
|
|
2343
|
+
index.h("div", { class: sheet$8.classes.Header, style: { opacity: taskComplete || taskUnavailable ? "0.45" : "1" } }, states.loading ? (index.h("sl-skeleton", { style: { width: "22%", margin: "0" } })) : (index.h("div", null,
|
|
2382
2344
|
showComplete && (index.h("span", { class: taskUnavailable ? "icon neutral" : "icon" }, taskComplete ? checkmark_filled$1 : checkmark_circle$1)),
|
|
2383
2345
|
index.h("span", { class: "value" }, content.rewardAmount),
|
|
2384
2346
|
index.h("span", { class: "text" }, content.rewardUnit)))),
|
|
@@ -2394,7 +2356,7 @@ function TaskCardView(props) {
|
|
|
2394
2356
|
} }, content.cardTitle)),
|
|
2395
2357
|
states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.description && (index.h(Details, Object.assign({}, props, { opacity: taskComplete || taskUnavailable ? "0.45" : "1" })))),
|
|
2396
2358
|
content.showProgressBar && states.loading ? (index.h("sl-skeleton", { style: { margin: "var(--sl-spacing-medium) 0" } })) : (content.showProgressBar && (index.h(ProgressBarView, Object.assign({}, props.content, props.states, { opacity: taskComplete || taskUnavailable ? "0.45" : "1", complete: taskComplete, expired: taskUnavailable })))),
|
|
2397
|
-
index.h("div", { class: sheet$
|
|
2359
|
+
index.h("div", { class: sheet$8.classes.Footer, "data-subdue": taskComplete || taskUnavailable }, states.loading ? (index.h("sl-skeleton", { style: { width: "25%", marginLeft: "auto" } })) : (index.h("div", { style: { display: "contents" } },
|
|
2398
2360
|
index.h("span", { class: "text" },
|
|
2399
2361
|
content.repeatable && (index.h("div", null,
|
|
2400
2362
|
index.h("span", { class: repetitions > 0
|
|
@@ -2460,7 +2422,7 @@ function ReferralIframeView(props) {
|
|
|
2460
2422
|
index.h("iframe", { class: sheet.classes.IFrame, src: `${content.iframeSrc}?rsCode=${data.shareCode}` })));
|
|
2461
2423
|
}
|
|
2462
2424
|
|
|
2463
|
-
const style$
|
|
2425
|
+
const style$9 = {
|
|
2464
2426
|
ErrorStyle: mixins.ErrorStyles,
|
|
2465
2427
|
FieldsContainer: {
|
|
2466
2428
|
"& sl-input": {
|
|
@@ -2480,28 +2442,35 @@ sl-input::part(label){
|
|
|
2480
2442
|
font-weight: var(--sl-font-weight-semibold);
|
|
2481
2443
|
}
|
|
2482
2444
|
`;
|
|
2483
|
-
const sheet$
|
|
2484
|
-
const styleString$
|
|
2445
|
+
const sheet$9 = JSS.createStyleSheet(style$9);
|
|
2446
|
+
const styleString$9 = sheet$9.toString();
|
|
2485
2447
|
function NameFieldsView(props) {
|
|
2448
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
2486
2449
|
const { states } = props;
|
|
2487
|
-
const validationErrors = states === null || states === void 0 ? void 0 : states.validationErrors;
|
|
2488
|
-
return (index.h("div", { class: sheet$
|
|
2450
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2451
|
+
return (index.h("div", { class: sheet$9.classes.FieldsContainer },
|
|
2489
2452
|
index.h("style", { type: "text/css" },
|
|
2490
2453
|
vanillaStyle$3,
|
|
2491
|
-
styleString$
|
|
2492
|
-
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true }, ((
|
|
2493
|
-
|
|
2454
|
+
styleString$9),
|
|
2455
|
+
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: true, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
|
|
2456
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
|
|
2457
|
+
}
|
|
2458
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
|
|
2459
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2494
2460
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
|
|
2495
2461
|
}
|
|
2496
2462
|
: []))),
|
|
2497
|
-
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true }, ((
|
|
2498
|
-
|
|
2463
|
+
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: "/lastName", type: "text", label: states.content.lastNameLabel, required: true, disabled: ((_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.loading) || ((_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.disabled) }, (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.initialData) === null || _l === void 0 ? void 0 : _l.lastName) ? {
|
|
2464
|
+
value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
|
|
2465
|
+
}
|
|
2466
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
|
|
2467
|
+
class: sheet$9.classes.ErrorStyle,
|
|
2499
2468
|
helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
|
|
2500
2469
|
}
|
|
2501
2470
|
: [])))));
|
|
2502
2471
|
}
|
|
2503
2472
|
|
|
2504
|
-
const style$
|
|
2473
|
+
const style$a = {
|
|
2505
2474
|
ErrorStyle: {
|
|
2506
2475
|
"&::part(control)": {
|
|
2507
2476
|
background: "var(--sl-color-danger-10)",
|
|
@@ -2540,21 +2509,22 @@ sl-checkbox::part(base){
|
|
|
2540
2509
|
}
|
|
2541
2510
|
`;
|
|
2542
2511
|
JSS.jss.setup(JSS.create());
|
|
2543
|
-
const sheet$
|
|
2544
|
-
const styleString$
|
|
2512
|
+
const sheet$a = JSS.jss.createStyleSheet(style$a);
|
|
2513
|
+
const styleString$a = sheet$a.toString();
|
|
2545
2514
|
function CheckboxFieldView(props) {
|
|
2515
|
+
var _a, _b, _c;
|
|
2546
2516
|
const { states, content, callbacks } = props;
|
|
2547
|
-
const validationErrors = states === null || states === void 0 ? void 0 : states.validationErrors;
|
|
2548
|
-
return (index.h("div", { class: sheet$
|
|
2517
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2518
|
+
return (index.h("div", { class: sheet$a.classes.FieldContainer },
|
|
2549
2519
|
index.h("style", { type: "text/css" },
|
|
2550
2520
|
vanillaStyle$4,
|
|
2551
|
-
styleString$
|
|
2521
|
+
styleString$a),
|
|
2552
2522
|
index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
|
|
2553
2523
|
e.target.value = e.target.checked;
|
|
2554
2524
|
callbacks.setChecked(e.target.value);
|
|
2555
|
-
} }, (!content.checkboxOptional ? { required: true } : []), (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2525
|
+
} }, (!content.checkboxOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName])
|
|
2556
2526
|
? {
|
|
2557
|
-
class: sheet$
|
|
2527
|
+
class: sheet$a.classes.ErrorStyle,
|
|
2558
2528
|
}
|
|
2559
2529
|
: [])),
|
|
2560
2530
|
global.intl.formatMessage({
|
|
@@ -2563,13 +2533,13 @@ function CheckboxFieldView(props) {
|
|
|
2563
2533
|
}, {
|
|
2564
2534
|
labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
|
|
2565
2535
|
}),
|
|
2566
|
-
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$
|
|
2536
|
+
!states.checked && (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2567
2537
|
id: `errorMessage-${content.checkboxName}`,
|
|
2568
2538
|
defaultMessage: content.errorMessage,
|
|
2569
2539
|
}))))));
|
|
2570
2540
|
}
|
|
2571
2541
|
|
|
2572
|
-
const style$
|
|
2542
|
+
const style$b = {
|
|
2573
2543
|
ErrorStyle: {
|
|
2574
2544
|
"--sl-input-border-color": "var(--sl-color-danger-500)",
|
|
2575
2545
|
"--sl-input-background-color": "var(--sl-color-danger-10)",
|
|
@@ -2597,26 +2567,30 @@ sl-select::part(label){
|
|
|
2597
2567
|
}
|
|
2598
2568
|
`;
|
|
2599
2569
|
JSS.jss.setup(JSS.create());
|
|
2600
|
-
const sheet$
|
|
2601
|
-
const styleString$
|
|
2570
|
+
const sheet$b = JSS.jss.createStyleSheet(style$b);
|
|
2571
|
+
const styleString$b = sheet$b.toString();
|
|
2602
2572
|
function DropdownFieldView(props) {
|
|
2573
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2603
2574
|
const { states, content } = props;
|
|
2604
|
-
const validationErrors = states === null || states === void 0 ? void 0 : states.validationErrors;
|
|
2605
|
-
return (index.h("div", { class: sheet$
|
|
2575
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2576
|
+
return (index.h("div", { class: sheet$b.classes.FieldContainer },
|
|
2606
2577
|
index.h("style", { type: "text/css" },
|
|
2607
2578
|
vanillaStyle$5,
|
|
2608
|
-
styleString$
|
|
2609
|
-
index.h("sl-select", Object.assign({ exportparts: "label: input-label", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), ((
|
|
2610
|
-
|
|
2579
|
+
styleString$b),
|
|
2580
|
+
index.h("sl-select", Object.assign({ exportparts: "label: input-label", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
|
|
2581
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
|
|
2582
|
+
}
|
|
2583
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
|
|
2584
|
+
class: sheet$b.classes.ErrorStyle,
|
|
2611
2585
|
}
|
|
2612
2586
|
: [])), content.selectOptions),
|
|
2613
|
-
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$
|
|
2587
|
+
(validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$b.classes.ErrorMessageStyle }, global.intl.formatMessage({
|
|
2614
2588
|
id: `errorMessage-${content.dropdownName}`,
|
|
2615
2589
|
defaultMessage: content.errorMessage,
|
|
2616
2590
|
})))));
|
|
2617
2591
|
}
|
|
2618
2592
|
|
|
2619
|
-
const style$
|
|
2593
|
+
const style$c = {
|
|
2620
2594
|
ErrorStyle: mixins.ErrorStyles,
|
|
2621
2595
|
FieldContainer: {
|
|
2622
2596
|
"margin-bottom": "var(--sl-spacing-large)",
|
|
@@ -2630,17 +2604,21 @@ const vanillaStyle$6 = `
|
|
|
2630
2604
|
}
|
|
2631
2605
|
`;
|
|
2632
2606
|
JSS.jss.setup(JSS.create());
|
|
2633
|
-
const sheet$
|
|
2634
|
-
const styleString$
|
|
2607
|
+
const sheet$c = JSS.jss.createStyleSheet(style$c);
|
|
2608
|
+
const styleString$c = sheet$c.toString();
|
|
2635
2609
|
function InputFieldView(props) {
|
|
2610
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
2636
2611
|
const { states, content } = props;
|
|
2637
|
-
const validationErrors = states === null || states === void 0 ? void 0 : states.validationErrors;
|
|
2638
|
-
return (index.h("div", { class: sheet$
|
|
2612
|
+
const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
|
|
2613
|
+
return (index.h("div", { class: sheet$c.classes.FieldContainer },
|
|
2639
2614
|
index.h("style", { type: "text/css" },
|
|
2640
2615
|
vanillaStyle$6,
|
|
2641
|
-
styleString$
|
|
2642
|
-
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), ((
|
|
2643
|
-
|
|
2616
|
+
styleString$c),
|
|
2617
|
+
index.h("sl-input", Object.assign({ exportparts: "label: input-label", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
|
|
2618
|
+
value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
|
|
2619
|
+
}
|
|
2620
|
+
: {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
|
|
2621
|
+
class: sheet$c.classes.ErrorStyle,
|
|
2644
2622
|
helpText: global.intl.formatMessage({
|
|
2645
2623
|
id: `errorMessage-${content.fieldName}`,
|
|
2646
2624
|
defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
|
|
@@ -2735,7 +2713,7 @@ function ProgressBar({ stageCount, currentStage, }) {
|
|
|
2735
2713
|
return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
|
|
2736
2714
|
}
|
|
2737
2715
|
|
|
2738
|
-
const style$
|
|
2716
|
+
const style$d = {
|
|
2739
2717
|
HostBlock: mixins.HostBlock,
|
|
2740
2718
|
Container: {
|
|
2741
2719
|
minWidth: "300px",
|
|
@@ -3086,8 +3064,8 @@ const style$c = {
|
|
|
3086
3064
|
},
|
|
3087
3065
|
};
|
|
3088
3066
|
// JSS config
|
|
3089
|
-
const sheet$
|
|
3090
|
-
const styleString$
|
|
3067
|
+
const sheet$d = JSS.createStyleSheet(style$d);
|
|
3068
|
+
const styleString$d = sheet$d.toString();
|
|
3091
3069
|
const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
|
|
3092
3070
|
function RewardExchangeView(props) {
|
|
3093
3071
|
const { states, data, callbacks, refs } = props;
|
|
@@ -3110,7 +3088,7 @@ function RewardExchangeView(props) {
|
|
|
3110
3088
|
sourceUnit: item.sourceUnit,
|
|
3111
3089
|
})));
|
|
3112
3090
|
}
|
|
3113
|
-
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$
|
|
3091
|
+
return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$d.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
|
|
3114
3092
|
var _a, _b, _c, _d, _e;
|
|
3115
3093
|
return callbacks.setExchangeState({
|
|
3116
3094
|
amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
|
|
@@ -3118,7 +3096,7 @@ function RewardExchangeView(props) {
|
|
|
3118
3096
|
});
|
|
3119
3097
|
} }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
|
|
3120
3098
|
var _a, _b;
|
|
3121
|
-
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$
|
|
3099
|
+
return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$d.classes.SelectItem },
|
|
3122
3100
|
step.prettyDestinationValue,
|
|
3123
3101
|
index.h("br", null),
|
|
3124
3102
|
index.h("div", { class: "step-cost", slot: "suffix" },
|
|
@@ -3137,8 +3115,8 @@ function RewardExchangeView(props) {
|
|
|
3137
3115
|
var _a;
|
|
3138
3116
|
return [
|
|
3139
3117
|
index.h("div", null,
|
|
3140
|
-
index.h("div", { class: sheet$
|
|
3141
|
-
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$
|
|
3118
|
+
index.h("div", { class: sheet$d.classes.Title }, states.content.text.rewardTitle),
|
|
3119
|
+
states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$d.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
3142
3120
|
var _a, _b, _c, _d, _e;
|
|
3143
3121
|
const style = {
|
|
3144
3122
|
boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
|
|
@@ -3147,7 +3125,7 @@ function RewardExchangeView(props) {
|
|
|
3147
3125
|
borderRadius: "4px",
|
|
3148
3126
|
};
|
|
3149
3127
|
return (index.h("div", { key: item.key, style: style },
|
|
3150
|
-
index.h("sl-card", { class: sheet$
|
|
3128
|
+
index.h("sl-card", { class: sheet$d.classes.Card, style: {
|
|
3151
3129
|
cursor: item.unavailableReasonCode
|
|
3152
3130
|
? "not-allowed"
|
|
3153
3131
|
: "pointer",
|
|
@@ -3164,14 +3142,14 @@ function RewardExchangeView(props) {
|
|
|
3164
3142
|
? "rgba(0, 0, 0, 0.05)"
|
|
3165
3143
|
: "rgba(0, 0, 0, 0)",
|
|
3166
3144
|
} },
|
|
3167
|
-
index.h("div", { class: sheet$
|
|
3145
|
+
index.h("div", { class: sheet$d.classes.Image, style: {
|
|
3168
3146
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3169
3147
|
} },
|
|
3170
3148
|
index.h("img", { class: item.unavailableReasonCode
|
|
3171
3149
|
? "image subdued"
|
|
3172
3150
|
: "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
|
|
3173
3151
|
index.getAssetPath("./assets/Reward-image.png") })),
|
|
3174
|
-
index.h("div", { class: sheet$
|
|
3152
|
+
index.h("div", { class: sheet$d.classes.TextArea, style: {
|
|
3175
3153
|
opacity: item.unavailableReasonCode ? "0.5" : "1",
|
|
3176
3154
|
} },
|
|
3177
3155
|
index.h("div", { class: "title", style: {
|
|
@@ -3204,7 +3182,7 @@ function RewardExchangeView(props) {
|
|
|
3204
3182
|
item.prettySourceMinValue,
|
|
3205
3183
|
}))))))));
|
|
3206
3184
|
}))),
|
|
3207
|
-
index.h("div", { class: sheet$
|
|
3185
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3208
3186
|
index.h("sl-button", { class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
|
|
3209
3187
|
];
|
|
3210
3188
|
}
|
|
@@ -3215,7 +3193,7 @@ function RewardExchangeView(props) {
|
|
|
3215
3193
|
? false
|
|
3216
3194
|
: input && !states.amount;
|
|
3217
3195
|
return (index.h("div", null,
|
|
3218
|
-
index.h("div", { class: sheet$
|
|
3196
|
+
index.h("div", { class: sheet$d.classes.ChooseAmount },
|
|
3219
3197
|
index.h("div", { class: "wrapper" },
|
|
3220
3198
|
index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
|
|
3221
3199
|
index.getAssetPath("./assets/Reward-image.png") }),
|
|
@@ -3224,7 +3202,7 @@ function RewardExchangeView(props) {
|
|
|
3224
3202
|
((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
|
|
3225
3203
|
((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
|
|
3226
3204
|
index.h("div", { class: "space" }))),
|
|
3227
|
-
index.h("div", { class: sheet$
|
|
3205
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3228
3206
|
index.h("sl-button", { class: "cancel", size: "large", type: "text", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
|
|
3229
3207
|
index.h("sl-button", { class: "continue", size: "large", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
|
|
3230
3208
|
}
|
|
@@ -3232,8 +3210,8 @@ function RewardExchangeView(props) {
|
|
|
3232
3210
|
const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || selectedItem.prettySourceValue;
|
|
3233
3211
|
const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
|
|
3234
3212
|
return (index.h("div", null,
|
|
3235
|
-
index.h("div", { class: sheet$
|
|
3236
|
-
index.h("div", { class: sheet$
|
|
3213
|
+
index.h("div", { class: sheet$d.classes.Confirmation },
|
|
3214
|
+
index.h("div", { class: sheet$d.classes.Title }, states.content.text.redeemTitle),
|
|
3237
3215
|
index.h("div", { class: "wrapper" },
|
|
3238
3216
|
index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
|
|
3239
3217
|
index.h("div", { class: "reward-item-container" },
|
|
@@ -3248,13 +3226,13 @@ function RewardExchangeView(props) {
|
|
|
3248
3226
|
index.h("div", { class: "wrapper top-border padding" },
|
|
3249
3227
|
index.h("div", { class: "field" }, states.content.text.costTitle),
|
|
3250
3228
|
index.h("div", { class: "value" }, cost)),
|
|
3251
|
-
index.h("div", { class: sheet$
|
|
3229
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3252
3230
|
index.h("sl-button", { class: "cancel", type: "text", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
|
|
3253
3231
|
index.h("sl-button", { class: "continue", size: "large", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
|
|
3254
3232
|
}
|
|
3255
3233
|
function success() {
|
|
3256
3234
|
var _a, _b, _c, _d, _e, _f;
|
|
3257
|
-
return (index.h("div", { class: sheet$
|
|
3235
|
+
return (index.h("div", { class: sheet$d.classes.Success },
|
|
3258
3236
|
index.h(Gift$1, null),
|
|
3259
3237
|
index.h(Confetti, null),
|
|
3260
3238
|
index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
|
|
@@ -3269,7 +3247,7 @@ function RewardExchangeView(props) {
|
|
|
3269
3247
|
(data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
|
|
3270
3248
|
states.content.text.promoCode,
|
|
3271
3249
|
index.h(ShareLinkView, { shareString: data.fuelTankCode, tooltiptext: (_f = states === null || states === void 0 ? void 0 : states.content) === null || _f === void 0 ? void 0 : _f.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
|
|
3272
|
-
index.h("div", { class: sheet$
|
|
3250
|
+
index.h("div", { class: sheet$d.classes.Button },
|
|
3273
3251
|
index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
|
|
3274
3252
|
}
|
|
3275
3253
|
const stages = {
|
|
@@ -3281,7 +3259,7 @@ function RewardExchangeView(props) {
|
|
|
3281
3259
|
const currentStage = stages[states.redeemStage];
|
|
3282
3260
|
function stageMap() {
|
|
3283
3261
|
const stageNumber = stageList.indexOf(states.redeemStage);
|
|
3284
|
-
return (index.h("div", { class: sheet$
|
|
3262
|
+
return (index.h("div", { class: sheet$d.classes.ProgressBar },
|
|
3285
3263
|
index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
|
|
3286
3264
|
if (stageList.indexOf(stage) <= stageNumber) {
|
|
3287
3265
|
return index.h("span", { class: "text" }, stageProgressList[stage]);
|
|
@@ -3293,10 +3271,10 @@ function RewardExchangeView(props) {
|
|
|
3293
3271
|
index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
|
|
3294
3272
|
}
|
|
3295
3273
|
function loading() {
|
|
3296
|
-
return (index.h("div", { class: sheet$
|
|
3274
|
+
return (index.h("div", { class: sheet$d.classes.Grid }, [...Array(states.content.text.skeletonCardNum)].map(() => {
|
|
3297
3275
|
return (index.h("div", null,
|
|
3298
|
-
index.h("sl-card", { class: sheet$
|
|
3299
|
-
index.h("div", { class: sheet$
|
|
3276
|
+
index.h("sl-card", { class: sheet$d.classes.Card },
|
|
3277
|
+
index.h("div", { class: sheet$d.classes.CardLayout },
|
|
3300
3278
|
index.h("div", null,
|
|
3301
3279
|
index.h("sl-skeleton", { style: {
|
|
3302
3280
|
width: "100px",
|
|
@@ -3328,12 +3306,12 @@ function RewardExchangeView(props) {
|
|
|
3328
3306
|
if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
|
|
3329
3307
|
return;
|
|
3330
3308
|
refs.canvasRef.current = canvas;
|
|
3331
|
-
}, id: "my-canvas", class: sheet$
|
|
3309
|
+
}, id: "my-canvas", class: sheet$d.classes.Confetti }));
|
|
3332
3310
|
}
|
|
3333
3311
|
if (states.noExchangeOptions)
|
|
3334
3312
|
return states.content.text.empty;
|
|
3335
|
-
return (index.h("div", { class: sheet$
|
|
3336
|
-
index.h("style", { type: "text/css" }, styleString$
|
|
3313
|
+
return (index.h("div", { class: sheet$d.classes.Container },
|
|
3314
|
+
index.h("style", { type: "text/css" }, styleString$d),
|
|
3337
3315
|
index.h("div", null,
|
|
3338
3316
|
stageMap(),
|
|
3339
3317
|
states.exchangeError && errorMessage(),
|