@saasquatch/mint-components 1.6.2-4 → 1.6.2-40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-9271483b.js} +3 -3
- package/dist/cjs/{JSS-97fd087e.js → JSS-8503a151.js} +35 -19
- package/dist/cjs/{ShadowViewAddon-d2c9b323.js → ShadowViewAddon-d7a909ff.js} +52 -47
- package/dist/cjs/{global-58e5d657.js → global-9ec22360.js} +6 -16
- package/dist/cjs/{index.module-7eab8006.js → index.module-d3a28293.js} +6884 -6841
- 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/raisins-plop-target.cjs.entry.js +2 -5
- package/dist/cjs/{re-render-111a3ebb.js → re-render-3d59f3a4.js} +5 -5
- package/dist/cjs/{sqm-asset-card-view-3da8cac1.js → sqm-asset-card-view-59c39ed2.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +7 -8
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +244 -217
- package/dist/cjs/sqm-empty_5.cjs.entry.js +4 -5
- 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-header-logo.cjs.entry.js +30 -0
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-ba78dcaf.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-6020bdf9.js → sqm-navigation-sidebar-item-view-dc711c36.js} +3 -3
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +7 -8
- package/dist/cjs/{sqm-navigation-sidebar-view-969adcdc.js → sqm-navigation-sidebar-view-2ffde416.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -4
- package/dist/cjs/sqm-password-field.cjs.entry.js +17 -20
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -7
- package/dist/cjs/{sqm-portal-container-view-840db620.js → sqm-portal-container-view-2ddcaa12.js} +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-eebe6329.js → sqm-portal-email-verification-view-82fda25b.js} +3 -3
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +27 -29
- package/dist/cjs/{sqm-portal-footer-view-531c12fe.js → sqm-portal-footer-view-666f0d29.js} +3 -3
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +17 -9
- package/dist/cjs/{sqm-portal-forgot-password-view-fed1f563.js → sqm-portal-forgot-password-view-ccaf2bd4.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-d0818828.js → sqm-portal-profile-view-0c8b7810.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 +165 -86
- package/dist/cjs/{sqm-portal-reset-password-view-f8dc0b79.js → sqm-portal-reset-password-view-4d23de69.js} +2 -2
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +53 -60
- package/dist/cjs/{sqm-portal-section-view-854a3e9c.js → sqm-portal-section-view-1e5bbcb1.js} +1 -1
- package/dist/cjs/{sqm-portal-verify-email-view-cc59877c.js → sqm-portal-verify-email-view-96adafc0.js} +2 -2
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +37 -55
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +15 -16
- 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 +26 -21
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +174 -142
- 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-2c7d94b5.js → sqm-text-span-view-b318af73.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-edf43c93.js +32 -0
- package/dist/cjs/{useReferralTable-a04fa0e5.js → useReferralTable-f898754d.js} +10 -10
- package/dist/cjs/useRegistrationFormState-6fd1a229.js +14 -0
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/{sqm-rewards-table/columns/sqm-rewards-table-plop-target.js → raisins-plop-target/raisins-plop-target.js} +1 -6
- package/dist/collection/components/sqm-asset-card/AssetCard.stories.js +2 -2
- package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +1 -1
- package/dist/collection/components/sqm-brand/sqm-brand.js +12 -3
- package/dist/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- 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/sqm-divided-layout.js +3 -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-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.js +2 -2
- package/dist/collection/components/sqm-image/sqm-image.js +1 -1
- 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 +6 -6
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +7 -4
- package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -3
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -3
- 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 -6
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +4 -3
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +15 -13
- package/dist/collection/components/sqm-password-field/usePasswordField.js +1 -4
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +3 -1
- 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.js +2 -2
- 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 +43 -7
- 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 -6
- 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 +1 -0
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +12 -13
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +209 -50
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +88 -41
- 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 +21 -40
- 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 +2 -2
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +2 -1
- package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +4 -4
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -8
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +1 -1
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +15 -9
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -1
- package/dist/collection/components/sqm-route/sqm-route.js +3 -2
- package/dist/collection/components/sqm-router/sqm-router.js +2 -1
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -1
- package/dist/collection/components/sqm-share-code/useShareCode.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -1
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
- package/dist/collection/components/sqm-tab/sqm-tab.js +7 -0
- package/dist/collection/components/sqm-table-cell/sqm-table-cell.js +14 -2
- package/dist/collection/components/sqm-table-row/sqm-table-row.js +11 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -3
- package/dist/collection/components/sqm-tabs/useTabs.js +3 -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-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 +3 -13
- package/dist/collection/global/styles.ts +3 -13
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +3 -3
- package/dist/esm/{JSS-f00f9536.js → JSS-67b5cff8.js} +17 -1
- package/dist/esm/{ShadowViewAddon-34b985aa.js → ShadowViewAddon-a8d9d7f4.js} +52 -47
- package/dist/esm/{global-79d68d1f.js → global-3e7a1427.js} +6 -16
- package/dist/esm/{index.module-8e654eb1.js → index.module-877f3231.js} +6865 -6822
- package/dist/esm/loader.js +5 -6
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -6
- package/dist/esm/raisins-plop-target.entry.js +6 -9
- package/dist/esm/{re-render-cd65b629.js → re-render-6f3dcb69.js} +5 -5
- package/dist/esm/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +7 -8
- package/dist/esm/sqm-big-stat_35.entry.js +244 -217
- package/dist/esm/sqm-empty_5.entry.js +4 -5
- 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-header-logo.entry.js +26 -0
- package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.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-52b5e3b9.js → sqm-navigation-sidebar-item-view-36ee71d9.js} +3 -3
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +7 -8
- package/dist/esm/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar.entry.js +3 -4
- package/dist/esm/sqm-password-field.entry.js +17 -20
- package/dist/esm/sqm-popup-container.entry.js +6 -7
- package/dist/esm/{sqm-portal-container-view-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +3 -3
- package/dist/esm/sqm-portal-email-verification.entry.js +27 -29
- package/dist/esm/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +3 -3
- package/dist/esm/sqm-portal-footer.entry.js +17 -9
- package/dist/esm/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.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-785773e9.js → sqm-portal-profile-view-9d0832f5.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 +165 -86
- package/dist/esm/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +2 -2
- package/dist/esm/sqm-portal-reset-password.entry.js +53 -60
- package/dist/esm/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.js} +2 -2
- package/dist/esm/sqm-portal-verify-email.entry.js +37 -55
- package/dist/esm/sqm-referral-table_11.entry.js +15 -16
- 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 +26 -21
- package/dist/esm/sqm-stencilbook.entry.js +174 -142
- 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-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm/sqm-text-span.entry.js +3 -4
- package/dist/esm/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm/{use-callback-69ec5c5c.js → use-callback-684c8bb7.js} +1 -1
- package/dist/esm/useChildElements-ec1deff1.js +30 -0
- package/dist/esm/{useReferralTable-6c14c78f.js → useReferralTable-e06d8d37.js} +10 -10
- package/dist/esm/useRegistrationFormState-1490be1c.js +11 -0
- package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-ce26115f.js} +1 -1
- package/dist/esm-es5/{JSS-f00f9536.js → JSS-67b5cff8.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-a8d9d7f4.js +1 -0
- package/dist/esm-es5/{global-79d68d1f.js → global-3e7a1427.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-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
- package/dist/esm-es5/{re-render-cd65b629.js → re-render-6f3dcb69.js} +1 -1
- package/dist/esm-es5/{sqm-asset-card-view-08e68656.js → sqm-asset-card-view-b0f8ef8e.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-header-logo.entry.js +1 -0
- package/dist/esm-es5/{sqm-hero-view-93fac447.js → sqm-hero-view-b8ce1900.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-36ee71d9.js +1 -0
- package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-view-06d444ca.js → sqm-navigation-sidebar-view-aa1313e7.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-ca454627.js → sqm-portal-container-view-228f2b65.js} +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-7dafea6c.js → sqm-portal-email-verification-view-5cea9df2.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-a857dd94.js → sqm-portal-footer-view-636ff6bb.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-forgot-password-view-86d13eef.js → sqm-portal-forgot-password-view-29c2e39b.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-785773e9.js → sqm-portal-profile-view-9d0832f5.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
- package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-reset-password-view-213b3af6.js → sqm-portal-reset-password-view-06f6ffac.js} +1 -1
- package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-section-view-6c249c74.js → sqm-portal-section-view-a991e019.js} +1 -1
- package/dist/esm-es5/{sqm-portal-verify-email-view-c32dfd7e.js → sqm-portal-verify-email-view-833644ac.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-0ba1484d.js → sqm-text-span-view-8b194920.js} +1 -1
- package/dist/esm-es5/sqm-text-span.entry.js +1 -1
- package/dist/esm-es5/{stencil-hooks.module-66fea7dc.js → stencil-hooks.module-eefa3570.js} +1 -1
- package/dist/esm-es5/use-callback-684c8bb7.js +1 -0
- package/dist/esm-es5/useChildElements-ec1deff1.js +1 -0
- package/dist/esm-es5/useReferralTable-e06d8d37.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-1490be1c.js +1 -0
- package/dist/mint-components/global/styles.ts +3 -13
- 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-5aedc3a5.system.js → p-018ab72e.system.js} +2 -2
- package/dist/mint-components/p-02cc2ae0.entry.js +1 -0
- package/dist/mint-components/{p-ec689579.js → p-043501b1.js} +1 -1
- package/dist/mint-components/p-0a27f867.system.entry.js +1 -0
- package/dist/mint-components/p-0de3798e.system.entry.js +1 -0
- package/dist/mint-components/{p-c32cc965.entry.js → p-0e530ca5.entry.js} +12 -12
- package/dist/mint-components/p-0e6dd3c3.entry.js +1 -0
- package/dist/mint-components/{p-3abbc5b3.system.js → p-0e6f1340.system.js} +1 -1
- package/dist/mint-components/p-0ea25bc2.system.entry.js +1 -0
- package/dist/mint-components/p-0eafd192.js +1 -0
- package/dist/mint-components/{p-b7e6ce3c.system.js → p-0f20108e.system.js} +1 -1
- package/dist/mint-components/{p-50cb9888.js → p-13cfd4bd.js} +1 -1
- package/dist/mint-components/p-1777aab5.system.entry.js +1 -0
- package/dist/mint-components/{p-e907c45c.system.js → p-177f1699.system.js} +1 -1
- package/dist/mint-components/p-19f572c9.entry.js +1 -0
- package/dist/mint-components/p-1a673057.system.js +8 -0
- package/dist/mint-components/p-1d4e2d70.entry.js +1 -0
- package/dist/mint-components/p-1e666517.system.js +1 -0
- package/dist/mint-components/p-239a3202.js +1 -0
- package/dist/mint-components/{p-210cd41b.js → p-24d6c3fd.js} +1 -1
- package/dist/mint-components/p-26e0a9a1.js +1 -0
- package/dist/mint-components/p-27cd896e.entry.js +1 -0
- package/dist/mint-components/{p-b0668789.system.js → p-27da3d2f.system.js} +1 -1
- package/dist/mint-components/{p-4778fb68.js → p-2895613d.js} +1 -1
- package/dist/mint-components/p-2a2dcc94.system.entry.js +1 -0
- package/dist/mint-components/p-31852747.system.entry.js +1 -0
- package/dist/mint-components/{p-433f243c.system.entry.js → p-3c6f3be9.system.entry.js} +1 -1
- package/dist/mint-components/p-3cd4d8bb.system.entry.js +1 -0
- package/dist/mint-components/{p-20f0c0cc.system.js → p-3eb37132.system.js} +1 -1
- package/dist/mint-components/p-3f15986b.entry.js +1 -0
- package/dist/mint-components/p-43df1499.system.entry.js +1 -0
- package/dist/mint-components/{p-2cac212f.system.js → p-486f5810.system.js} +1 -1
- package/dist/mint-components/p-4b83d7ea.js +1 -0
- package/dist/mint-components/p-528ce342.system.entry.js +1 -0
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/p-568fee15.entry.js +1 -0
- package/dist/mint-components/p-5711de63.system.js +1 -0
- package/dist/mint-components/p-58c173ff.entry.js +1 -0
- package/dist/mint-components/p-5c89fdcf.entry.js +1 -0
- package/dist/mint-components/{p-a53d815e.system.js → p-5d4d81bf.system.js} +1 -1
- package/dist/mint-components/p-5dcd31b1.system.js +1 -0
- package/dist/mint-components/p-5fd41dab.js +1 -0
- package/dist/mint-components/{p-a94d07d9.system.js → p-5fdd7c33.system.js} +1 -1
- package/dist/mint-components/p-634c11a9.system.entry.js +1 -0
- package/dist/mint-components/p-63a82133.system.entry.js +1 -0
- package/dist/mint-components/p-67e1388f.system.entry.js +1 -0
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/p-6afbdcf9.entry.js +1 -0
- package/dist/mint-components/{p-986f10d2.system.js → p-6b8b7dc0.system.js} +1 -1
- package/dist/mint-components/{p-b22b94ac.js → p-6dd27a5e.js} +1 -1
- package/dist/mint-components/p-6f7f2785.system.entry.js +1 -0
- package/dist/mint-components/p-756dc511.entry.js +1 -0
- package/dist/mint-components/{p-1c24a18c.js → p-78dcf8ff.js} +1 -1
- package/dist/mint-components/p-7f245284.entry.js +9 -0
- package/dist/mint-components/p-848cd7ea.system.entry.js +1 -0
- package/dist/mint-components/p-8762216a.system.js +1 -0
- package/dist/mint-components/p-88636d99.system.entry.js +1 -0
- package/dist/mint-components/p-88a076c3.system.entry.js +1 -0
- package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8cb184bb.system.entry.js +1 -0
- package/dist/mint-components/p-919b93f1.js +1 -0
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/p-93d76d7e.entry.js +1 -0
- package/dist/mint-components/{p-da02c4e6.system.js → p-94d0d79c.system.js} +1 -1
- package/dist/mint-components/p-978f49d4.entry.js +13 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/{p-ad04fd37.js → p-a05d3b2a.js} +1 -1
- package/dist/mint-components/{p-275cf42f.js → p-a4505a80.js} +1 -1
- package/dist/mint-components/{p-3c8becd3.js → p-a46c0d32.js} +1 -1
- package/dist/mint-components/{p-201076d0.system.js → p-a52da2f8.system.js} +1 -1
- package/dist/mint-components/{p-dc2120a9.entry.js → p-a5c3ea10.entry.js} +2 -2
- package/dist/mint-components/p-a7021805.entry.js +1 -0
- package/dist/mint-components/p-aff79391.system.entry.js +1 -0
- package/dist/mint-components/{p-6b5fbbdb.js → p-b21814ac.js} +1 -1
- package/dist/mint-components/p-b2e6f2e3.system.js +1 -0
- package/dist/mint-components/p-b690dfc3.entry.js +1 -0
- package/dist/mint-components/p-bad3afd4.entry.js +99 -0
- package/dist/mint-components/{p-e2bf9132.system.js → p-bef0a1f4.system.js} +1 -1
- package/dist/mint-components/p-c2046070.system.entry.js +1 -0
- package/dist/mint-components/p-c2c92ece.entry.js +1 -0
- package/dist/mint-components/p-c5b1e781.system.entry.js +1 -0
- package/dist/mint-components/{p-7ba78151.js → p-c785501a.js} +1 -1
- package/dist/mint-components/p-c869970e.system.entry.js +1 -0
- package/dist/mint-components/{p-5f2d84e2.js → p-c8dc66a7.js} +2 -2
- package/dist/mint-components/p-cdec6312.system.entry.js +1 -0
- package/dist/mint-components/p-cef45012.js +1 -0
- package/dist/mint-components/p-d1341773.entry.js +1 -0
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/{p-d8f4703a.js → p-d9a21b16.js} +2 -2
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-de745531.system.entry.js +1 -0
- package/dist/mint-components/p-e35a0890.js +1 -0
- package/dist/mint-components/{p-192617e7.system.js → p-e58c257b.system.js} +1 -1
- package/dist/mint-components/p-e6b1a530.system.js +1 -0
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/p-e84ac911.system.entry.js +1 -0
- package/dist/mint-components/p-eaa9a926.entry.js +1 -0
- package/dist/mint-components/p-ed7a788f.system.entry.js +1 -0
- package/dist/mint-components/p-edba9e57.system.js +1 -0
- package/dist/mint-components/{p-19b0e2b5.system.js → p-ef18a3bd.system.js} +1 -1
- package/dist/mint-components/p-ef84ea76.system.entry.js +1 -0
- package/dist/mint-components/p-f6ffeb8e.entry.js +1 -0
- package/dist/mint-components/p-f77faf82.entry.js +1 -0
- package/dist/mint-components/p-f8e32f0d.entry.js +33 -0
- package/dist/mint-components/p-f912105b.system.entry.js +1 -0
- package/dist/mint-components/p-fb9c8388.entry.js +1 -0
- package/dist/mint-components/p-fbefca83.js +268 -0
- package/dist/mint-components/p-fe74b75b.system.entry.js +1 -0
- package/dist/mint-components/p-ff68c6ab.entry.js +1 -0
- package/dist/types/components/raisins-plop-target/raisins-plop-target.d.ts +9 -0
- 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.d.ts +2 -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-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.d.ts +2 -2
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -1
- 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 +0 -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 +0 -1
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -3
- 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 +0 -1
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +7 -5
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +3 -1
- 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.d.ts +2 -2
- 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 +12 -3
- 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/sqm-portal-registration-form-view.d.ts +6 -3
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +56 -20
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +1 -1
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +2 -6
- 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 +2 -2
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +2 -1
- 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 +3 -3
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +3 -3
- package/dist/types/components/sqm-route/sqm-route.d.ts +3 -1
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -1
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -1
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +2 -0
- package/dist/types/components/sqm-table-cell/sqm-table-cell.d.ts +6 -0
- package/dist/types/components/sqm-table-row/sqm-table-row.d.ts +7 -0
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -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-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 +431 -787
- 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 +5 -4
- package/dist/cjs/extends-08099afd.js +0 -21
- 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 -112
- package/dist/cjs/useChildElements-3a4087c1.js +0 -23
- package/dist/cjs/useRegistrationFormState-aa366992.js +0 -23
- package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
- package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
- package/dist/collection/assets/saasquatch-logo.png +0 -0
- package/dist/collection/components/sqm-portal-register/useValidationState.js +0 -8
- package/dist/collection/components/sqm-qa/sqm-qa.js +0 -1038
- 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-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 -108
- package/dist/esm/useChildElements-5a1262d5.js +0 -21
- package/dist/esm/useRegistrationFormState-1378c47e.js +0 -18
- package/dist/esm-es5/ShadowViewAddon-34b985aa.js +0 -1
- package/dist/esm-es5/extends-c31f1eff.js +0 -1
- package/dist/esm-es5/index.module-8e654eb1.js +0 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item-view-52b5e3b9.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-69ec5c5c.js +0 -1
- package/dist/esm-es5/useChildElements-5a1262d5.js +0 -1
- package/dist/esm-es5/useReferralTable-6c14c78f.js +0 -1
- package/dist/esm-es5/useRegistrationFormState-1378c47e.js +0 -1
- package/dist/mint-components/p-0049fc60.entry.js +0 -1
- package/dist/mint-components/p-03d611e6.system.entry.js +0 -1
- package/dist/mint-components/p-0c6077a8.system.entry.js +0 -1
- package/dist/mint-components/p-1260d387.entry.js +0 -1
- package/dist/mint-components/p-12b08957.js +0 -1
- package/dist/mint-components/p-1670c8d5.system.entry.js +0 -1
- package/dist/mint-components/p-16beb451.system.entry.js +0 -1
- package/dist/mint-components/p-1c17892a.system.js +0 -1
- package/dist/mint-components/p-250e8ca9.system.entry.js +0 -1
- package/dist/mint-components/p-27557cc8.entry.js +0 -1
- package/dist/mint-components/p-27a8ee57.system.entry.js +0 -1
- package/dist/mint-components/p-28002477.system.js +0 -1
- package/dist/mint-components/p-29f82c6d.system.entry.js +0 -1
- package/dist/mint-components/p-2db3e574.entry.js +0 -1
- package/dist/mint-components/p-36ff7a62.entry.js +0 -1
- package/dist/mint-components/p-4392ba94.js +0 -1
- package/dist/mint-components/p-458416a0.system.js +0 -1
- package/dist/mint-components/p-4587520e.entry.js +0 -1
- package/dist/mint-components/p-45d161fe.entry.js +0 -1
- package/dist/mint-components/p-46ed891a.entry.js +0 -1
- package/dist/mint-components/p-47aa639f.system.entry.js +0 -1
- package/dist/mint-components/p-494c99f7.js +0 -1
- package/dist/mint-components/p-4b34c8b6.system.js +0 -1
- package/dist/mint-components/p-4c2cec5c.system.entry.js +0 -1
- package/dist/mint-components/p-4c93df52.entry.js +0 -1
- package/dist/mint-components/p-4cdef37c.system.entry.js +0 -1
- package/dist/mint-components/p-4e89da81.js +0 -1
- package/dist/mint-components/p-4f4c7f69.system.entry.js +0 -1
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-55411493.js +0 -268
- package/dist/mint-components/p-586eec52.js +0 -1
- package/dist/mint-components/p-5928afc0.js +0 -1
- package/dist/mint-components/p-6d0a42f8.system.entry.js +0 -1
- package/dist/mint-components/p-72435015.entry.js +0 -99
- package/dist/mint-components/p-72dd2010.system.entry.js +0 -1
- package/dist/mint-components/p-7ca29279.system.entry.js +0 -1
- package/dist/mint-components/p-81f34787.js +0 -1
- package/dist/mint-components/p-89841802.system.entry.js +0 -1
- package/dist/mint-components/p-89d8133d.entry.js +0 -1
- package/dist/mint-components/p-986000f9.system.entry.js +0 -1
- package/dist/mint-components/p-9c58002f.entry.js +0 -1
- package/dist/mint-components/p-a3f87461.entry.js +0 -1
- package/dist/mint-components/p-a6291305.system.entry.js +0 -1
- package/dist/mint-components/p-af290d9f.entry.js +0 -1
- package/dist/mint-components/p-b2ad0a75.system.entry.js +0 -1
- package/dist/mint-components/p-b670cff3.system.js +0 -1
- package/dist/mint-components/p-b7b610d9.entry.js +0 -1
- package/dist/mint-components/p-bc796bc0.system.js +0 -1
- package/dist/mint-components/p-bdf8f103.js +0 -1
- package/dist/mint-components/p-c0221050.entry.js +0 -13
- package/dist/mint-components/p-c14b8c38.entry.js +0 -1
- package/dist/mint-components/p-c2b5997d.entry.js +0 -1
- package/dist/mint-components/p-c7514dbd.system.entry.js +0 -1
- package/dist/mint-components/p-c78782b3.system.js +0 -1
- package/dist/mint-components/p-c7eaa296.system.entry.js +0 -1
- package/dist/mint-components/p-c88cb982.entry.js +0 -1
- package/dist/mint-components/p-c9977e50.system.entry.js +0 -1
- package/dist/mint-components/p-ca2819e8.system.js +0 -1
- package/dist/mint-components/p-cbe1f72a.system.entry.js +0 -1
- package/dist/mint-components/p-cc6f7cb5.entry.js +0 -1
- package/dist/mint-components/p-cd4ae408.system.entry.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-cfce9e5c.entry.js +0 -1
- package/dist/mint-components/p-d0f1cc06.entry.js +0 -9
- package/dist/mint-components/p-d1aef95c.entry.js +0 -1
- package/dist/mint-components/p-d3c61681.system.js +0 -1
- package/dist/mint-components/p-d5be4f5e.entry.js +0 -33
- package/dist/mint-components/p-d5d32d0d.system.js +0 -8
- package/dist/mint-components/p-d8876d3f.js +0 -1
- package/dist/mint-components/p-d8c1aa2f.entry.js +0 -1
- package/dist/mint-components/p-dd2506bd.system.entry.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-df9c90db.system.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-e5591fd2.entry.js +0 -1
- package/dist/mint-components/p-e647c594.entry.js +0 -1
- package/dist/mint-components/p-f79a103c.system.entry.js +0 -1
- package/dist/mint-components/p-fb8715c9.system.entry.js +0 -1
- package/dist/mint-components/p-fcb6bc22.entry.js +0 -1
- package/dist/mint-components/p-fd2e16a3.system.entry.js +0 -1
- package/dist/types/components/sqm-portal-register/useValidationState.d.ts +0 -18
- package/dist/types/components/sqm-qa/sqm-qa.d.ts +0 -250
- 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
- package/dist/types/components/sqm-rewards-table/columns/sqm-rewards-table-plop-target.d.ts +0 -11
- package/docs/grapesjs.js +0 -54
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import jsonpointer from "jsonpointer";
|
|
2
|
-
import {
|
|
3
|
-
import { useRequestPasswordResetEmailMutation } from "@saasquatch/component-boilerplate";
|
|
2
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
3
|
+
import { navigation, useRequestPasswordResetEmailMutation, } from "@saasquatch/component-boilerplate";
|
|
4
4
|
export function usePortalForgotPassword(props) {
|
|
5
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6
6
|
const [success, setSuccess] = useState(false);
|
|
7
7
|
const [error, setError] = useState("");
|
|
8
8
|
const [request, { loading, data, errors }] = useRequestPasswordResetEmailMutation();
|
|
9
|
-
const urlParams = new URLSearchParams(
|
|
9
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
10
10
|
const nextPage = urlParams.get("nextPage");
|
|
11
11
|
const submit = async (event) => {
|
|
12
|
+
var _a;
|
|
12
13
|
setError("");
|
|
13
14
|
setSuccess(false);
|
|
14
15
|
let formData = event.detail.formData;
|
|
@@ -18,26 +19,25 @@ export function usePortalForgotPassword(props) {
|
|
|
18
19
|
const urlParams = nextPage ? { nextPage } : null;
|
|
19
20
|
const redirectPath = props.redirectPath;
|
|
20
21
|
const variables = { email: formData.email, urlParams, redirectPath };
|
|
21
|
-
await request(variables);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
setSuccess(true);
|
|
22
|
+
const result = await request(variables);
|
|
23
|
+
if (result instanceof Error) {
|
|
24
|
+
if (result.message)
|
|
25
|
+
setError("Network request failed.");
|
|
26
|
+
return;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
if (errors === null || errors === void 0 ? void 0 : errors.message) {
|
|
31
|
-
setError("Network request failed.");
|
|
28
|
+
if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
|
|
29
|
+
setSuccess(true);
|
|
32
30
|
}
|
|
33
|
-
}
|
|
31
|
+
};
|
|
34
32
|
return {
|
|
35
33
|
states: {
|
|
36
34
|
loading,
|
|
37
|
-
error: ((
|
|
35
|
+
error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
38
36
|
error,
|
|
39
37
|
success,
|
|
40
38
|
loginPath: props.loginPath,
|
|
39
|
+
headerText: props.headerText,
|
|
40
|
+
loginText: props.loginText,
|
|
41
41
|
},
|
|
42
42
|
callbacks: {
|
|
43
43
|
submit,
|
|
@@ -3,11 +3,7 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
import { HostBlock } from "../../global/mixins";
|
|
4
4
|
const style = {
|
|
5
5
|
HostBlock: HostBlock,
|
|
6
|
-
":host": {
|
|
7
|
-
"min-height": "100vh",
|
|
8
|
-
},
|
|
9
6
|
Frame: {
|
|
10
|
-
"min-height": "100vh",
|
|
11
7
|
display: "flex",
|
|
12
8
|
"flex-direction": "column",
|
|
13
9
|
"box-sizing": "border-box",
|
|
@@ -42,8 +38,9 @@ const style = {
|
|
|
42
38
|
const sheet = createStyleSheet(style);
|
|
43
39
|
const styleString = sheet.toString();
|
|
44
40
|
export function PortalFrameView(props, children) {
|
|
45
|
-
const { data } = props;
|
|
46
|
-
|
|
41
|
+
const { data, notFullScreen } = props;
|
|
42
|
+
console.log(notFullScreen);
|
|
43
|
+
return (h("div", { style: { minHeight: notFullScreen ? "100%" : "100vh" }, class: sheet.classes.Frame },
|
|
47
44
|
h("style", { type: "text/css" }, styleString),
|
|
48
45
|
h("div", { class: sheet.classes.HeaderWrapper },
|
|
49
46
|
data.header,
|
|
@@ -5,11 +5,16 @@ import { PortalFrameView } from "./sqm-portal-frame-view";
|
|
|
5
5
|
import { usePortalFrame } from "./usePortalFrame";
|
|
6
6
|
import deepmerge from "deepmerge";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Frame
|
|
9
|
+
* @slots [{"name":"header","title":"Header Content"},{"name":"footer","title":"Footer Content"},{"name":"","title":"Body Content"}]
|
|
9
10
|
*/
|
|
10
11
|
export class PortalFrame {
|
|
11
12
|
constructor() {
|
|
12
13
|
this.ignored = true;
|
|
14
|
+
/**
|
|
15
|
+
* @undocumented
|
|
16
|
+
*/
|
|
17
|
+
this.notFullScreen = false;
|
|
13
18
|
withHooks(this);
|
|
14
19
|
}
|
|
15
20
|
disconnectedCallback() { }
|
|
@@ -25,12 +30,33 @@ export class PortalFrame {
|
|
|
25
30
|
static get is() { return "sqm-portal-frame"; }
|
|
26
31
|
static get encapsulation() { return "shadow"; }
|
|
27
32
|
static get properties() { return {
|
|
33
|
+
"notFullScreen": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"mutable": false,
|
|
36
|
+
"complexType": {
|
|
37
|
+
"original": "boolean",
|
|
38
|
+
"resolved": "boolean",
|
|
39
|
+
"references": {}
|
|
40
|
+
},
|
|
41
|
+
"required": false,
|
|
42
|
+
"optional": true,
|
|
43
|
+
"docs": {
|
|
44
|
+
"tags": [{
|
|
45
|
+
"text": undefined,
|
|
46
|
+
"name": "undocumented"
|
|
47
|
+
}],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"attribute": "not-full-screen",
|
|
51
|
+
"reflect": false,
|
|
52
|
+
"defaultValue": "false"
|
|
53
|
+
},
|
|
28
54
|
"demoData": {
|
|
29
55
|
"type": "unknown",
|
|
30
56
|
"mutable": false,
|
|
31
57
|
"complexType": {
|
|
32
58
|
"original": "DemoData<PortalFrameViewProps>",
|
|
33
|
-
"resolved": "{ data?: { footer: VNode; header: VNode; }; }",
|
|
59
|
+
"resolved": "{ data?: { footer: VNode; header: VNode; }; notFullScreen?: boolean; }",
|
|
34
60
|
"references": {
|
|
35
61
|
"DemoData": {
|
|
36
62
|
"location": "import",
|
|
@@ -62,6 +88,7 @@ export class PortalFrame {
|
|
|
62
88
|
}
|
|
63
89
|
function usePortalFrameDemo(footerContent, headerContent, props) {
|
|
64
90
|
return deepmerge({
|
|
91
|
+
notFullScreen: true,
|
|
65
92
|
data: {
|
|
66
93
|
footer: footerContent ? (footerContent) : (h("span", null, "example@example.com")),
|
|
67
94
|
header: headerContent ? (headerContent) : (h("div", { style: { display: "flex", flexDirection: "column" } },
|
|
@@ -5,63 +5,55 @@ import deepmerge from "deepmerge";
|
|
|
5
5
|
import { PortalLoginView } from "./sqm-portal-login-view";
|
|
6
6
|
import { usePortalLogin } from "./usePortalLogin";
|
|
7
7
|
/**
|
|
8
|
-
* @uiName
|
|
8
|
+
* @uiName Microsite Login
|
|
9
9
|
*/
|
|
10
10
|
export class PortalLogin {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.ignored = true;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Redirect participants to this page after they successfully login.
|
|
15
15
|
*
|
|
16
|
-
* @uiName
|
|
16
|
+
* @uiName Login Redirect
|
|
17
|
+
* @uiWidget pageSelect
|
|
17
18
|
*/
|
|
18
19
|
this.nextPage = "/";
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* @uiName Email Label
|
|
21
|
+
* @uiName Email Field Label
|
|
23
22
|
*/
|
|
24
23
|
this.emailLabel = "Email";
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* @uiName Password Label
|
|
25
|
+
* @uiName Password Field Label
|
|
29
26
|
*/
|
|
30
27
|
this.passwordLabel = "Password";
|
|
31
28
|
/**
|
|
32
|
-
* Label for submit button
|
|
33
|
-
*
|
|
34
29
|
* @uiName Submit Button Text
|
|
35
30
|
*/
|
|
36
31
|
this.submitLabel = "Sign In";
|
|
37
32
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
33
|
+
* Redirect participants to this page to reset their password
|
|
34
|
+
* @uiName Forgot Password Redirect
|
|
35
|
+
* @uiWidget pageSelect
|
|
36
|
+
*/
|
|
37
|
+
this.forgotPasswordPath = "/forgotPassword";
|
|
38
|
+
/**
|
|
40
39
|
* @uiName Forgot Password Text
|
|
41
40
|
*/
|
|
42
41
|
this.forgotPasswordLabel = "Forgot Password?";
|
|
43
42
|
/**
|
|
44
|
-
* Label for register button
|
|
45
|
-
*
|
|
46
43
|
* @uiName Register Button Text
|
|
47
44
|
*/
|
|
48
45
|
this.registerLabel = "Register";
|
|
49
46
|
/**
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Register redirect path
|
|
55
|
-
*
|
|
56
|
-
* @uiName Register Path
|
|
47
|
+
* Redirect participants to this page to start registration.
|
|
48
|
+
* @uiName Register Button Redirect
|
|
49
|
+
* @uiWidget pageSelect
|
|
57
50
|
*/
|
|
58
51
|
this.registerPath = "/register";
|
|
59
52
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @uiName Forgot Password Path
|
|
53
|
+
* @uiName Heading Label
|
|
54
|
+
* @uiWidget textArea
|
|
63
55
|
*/
|
|
64
|
-
this.
|
|
56
|
+
this.pageLabel = "Sign in to your account";
|
|
65
57
|
withHooks(this);
|
|
66
58
|
}
|
|
67
59
|
disconnectedCallback() { }
|
|
@@ -96,10 +88,13 @@ export class PortalLogin {
|
|
|
96
88
|
"optional": false,
|
|
97
89
|
"docs": {
|
|
98
90
|
"tags": [{
|
|
99
|
-
"text": "
|
|
91
|
+
"text": "Login Redirect",
|
|
100
92
|
"name": "uiName"
|
|
93
|
+
}, {
|
|
94
|
+
"text": "pageSelect",
|
|
95
|
+
"name": "uiWidget"
|
|
101
96
|
}],
|
|
102
|
-
"text": "
|
|
97
|
+
"text": "Redirect participants to this page after they successfully login."
|
|
103
98
|
},
|
|
104
99
|
"attribute": "next-page",
|
|
105
100
|
"reflect": false,
|
|
@@ -117,10 +112,10 @@ export class PortalLogin {
|
|
|
117
112
|
"optional": false,
|
|
118
113
|
"docs": {
|
|
119
114
|
"tags": [{
|
|
120
|
-
"text": "Email Label",
|
|
115
|
+
"text": "Email Field Label",
|
|
121
116
|
"name": "uiName"
|
|
122
117
|
}],
|
|
123
|
-
"text": "
|
|
118
|
+
"text": ""
|
|
124
119
|
},
|
|
125
120
|
"attribute": "email-label",
|
|
126
121
|
"reflect": false,
|
|
@@ -138,10 +133,10 @@ export class PortalLogin {
|
|
|
138
133
|
"optional": false,
|
|
139
134
|
"docs": {
|
|
140
135
|
"tags": [{
|
|
141
|
-
"text": "Password Label",
|
|
136
|
+
"text": "Password Field Label",
|
|
142
137
|
"name": "uiName"
|
|
143
138
|
}],
|
|
144
|
-
"text": "
|
|
139
|
+
"text": ""
|
|
145
140
|
},
|
|
146
141
|
"attribute": "password-label",
|
|
147
142
|
"reflect": false,
|
|
@@ -162,13 +157,13 @@ export class PortalLogin {
|
|
|
162
157
|
"text": "Submit Button Text",
|
|
163
158
|
"name": "uiName"
|
|
164
159
|
}],
|
|
165
|
-
"text": "
|
|
160
|
+
"text": ""
|
|
166
161
|
},
|
|
167
162
|
"attribute": "submit-label",
|
|
168
163
|
"reflect": false,
|
|
169
164
|
"defaultValue": "\"Sign In\""
|
|
170
165
|
},
|
|
171
|
-
"
|
|
166
|
+
"forgotPasswordPath": {
|
|
172
167
|
"type": "string",
|
|
173
168
|
"mutable": false,
|
|
174
169
|
"complexType": {
|
|
@@ -180,16 +175,19 @@ export class PortalLogin {
|
|
|
180
175
|
"optional": false,
|
|
181
176
|
"docs": {
|
|
182
177
|
"tags": [{
|
|
183
|
-
"text": "Forgot Password
|
|
178
|
+
"text": "Forgot Password Redirect",
|
|
184
179
|
"name": "uiName"
|
|
180
|
+
}, {
|
|
181
|
+
"text": "pageSelect",
|
|
182
|
+
"name": "uiWidget"
|
|
185
183
|
}],
|
|
186
|
-
"text": "
|
|
184
|
+
"text": "Redirect participants to this page to reset their password"
|
|
187
185
|
},
|
|
188
|
-
"attribute": "forgot-password-
|
|
186
|
+
"attribute": "forgot-password-path",
|
|
189
187
|
"reflect": false,
|
|
190
|
-
"defaultValue": "\"
|
|
188
|
+
"defaultValue": "\"/forgotPassword\""
|
|
191
189
|
},
|
|
192
|
-
"
|
|
190
|
+
"forgotPasswordLabel": {
|
|
193
191
|
"type": "string",
|
|
194
192
|
"mutable": false,
|
|
195
193
|
"complexType": {
|
|
@@ -201,16 +199,16 @@ export class PortalLogin {
|
|
|
201
199
|
"optional": false,
|
|
202
200
|
"docs": {
|
|
203
201
|
"tags": [{
|
|
204
|
-
"text": "
|
|
202
|
+
"text": "Forgot Password Text",
|
|
205
203
|
"name": "uiName"
|
|
206
204
|
}],
|
|
207
|
-
"text": "
|
|
205
|
+
"text": ""
|
|
208
206
|
},
|
|
209
|
-
"attribute": "
|
|
207
|
+
"attribute": "forgot-password-label",
|
|
210
208
|
"reflect": false,
|
|
211
|
-
"defaultValue": "\"
|
|
209
|
+
"defaultValue": "\"Forgot Password?\""
|
|
212
210
|
},
|
|
213
|
-
"
|
|
211
|
+
"registerLabel": {
|
|
214
212
|
"type": "string",
|
|
215
213
|
"mutable": false,
|
|
216
214
|
"complexType": {
|
|
@@ -222,14 +220,14 @@ export class PortalLogin {
|
|
|
222
220
|
"optional": false,
|
|
223
221
|
"docs": {
|
|
224
222
|
"tags": [{
|
|
225
|
-
"text": "
|
|
223
|
+
"text": "Register Button Text",
|
|
226
224
|
"name": "uiName"
|
|
227
225
|
}],
|
|
228
226
|
"text": ""
|
|
229
227
|
},
|
|
230
|
-
"attribute": "
|
|
228
|
+
"attribute": "register-label",
|
|
231
229
|
"reflect": false,
|
|
232
|
-
"defaultValue": "\"
|
|
230
|
+
"defaultValue": "\"Register\""
|
|
233
231
|
},
|
|
234
232
|
"registerPath": {
|
|
235
233
|
"type": "string",
|
|
@@ -243,16 +241,19 @@ export class PortalLogin {
|
|
|
243
241
|
"optional": false,
|
|
244
242
|
"docs": {
|
|
245
243
|
"tags": [{
|
|
246
|
-
"text": "Register
|
|
244
|
+
"text": "Register Button Redirect",
|
|
247
245
|
"name": "uiName"
|
|
246
|
+
}, {
|
|
247
|
+
"text": "pageSelect",
|
|
248
|
+
"name": "uiWidget"
|
|
248
249
|
}],
|
|
249
|
-
"text": "
|
|
250
|
+
"text": "Redirect participants to this page to start registration."
|
|
250
251
|
},
|
|
251
252
|
"attribute": "register-path",
|
|
252
253
|
"reflect": false,
|
|
253
254
|
"defaultValue": "\"/register\""
|
|
254
255
|
},
|
|
255
|
-
"
|
|
256
|
+
"pageLabel": {
|
|
256
257
|
"type": "string",
|
|
257
258
|
"mutable": false,
|
|
258
259
|
"complexType": {
|
|
@@ -264,14 +265,17 @@ export class PortalLogin {
|
|
|
264
265
|
"optional": false,
|
|
265
266
|
"docs": {
|
|
266
267
|
"tags": [{
|
|
267
|
-
"text": "
|
|
268
|
+
"text": "Heading Label",
|
|
268
269
|
"name": "uiName"
|
|
270
|
+
}, {
|
|
271
|
+
"text": "textArea",
|
|
272
|
+
"name": "uiWidget"
|
|
269
273
|
}],
|
|
270
|
-
"text": "
|
|
274
|
+
"text": ""
|
|
271
275
|
},
|
|
272
|
-
"attribute": "
|
|
276
|
+
"attribute": "page-label",
|
|
273
277
|
"reflect": false,
|
|
274
|
-
"defaultValue": "\"
|
|
278
|
+
"defaultValue": "\"Sign in to your account\""
|
|
275
279
|
},
|
|
276
280
|
"demoData": {
|
|
277
281
|
"type": "unknown",
|
|
@@ -1,37 +1,34 @@
|
|
|
1
1
|
import jsonpointer from "jsonpointer";
|
|
2
|
-
import {
|
|
2
|
+
import { useState } from "@saasquatch/universal-hooks";
|
|
3
3
|
import { navigation, useAuthenticateWithEmailAndPasswordMutation, } from "@saasquatch/component-boilerplate";
|
|
4
4
|
import { sanitizeUrlPath } from "../../utils/utils";
|
|
5
5
|
export function usePortalLogin(props) {
|
|
6
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
7
|
const [request, { loading, errors, data }] = useAuthenticateWithEmailAndPasswordMutation();
|
|
8
8
|
const [error, setError] = useState("");
|
|
9
|
-
const urlParams = new URLSearchParams(
|
|
9
|
+
const urlParams = new URLSearchParams(navigation.location.search);
|
|
10
10
|
const nextPageOverride = urlParams.get("nextPage");
|
|
11
11
|
const submit = async (event) => {
|
|
12
|
+
var _a, _b;
|
|
12
13
|
setError("");
|
|
13
14
|
let formData = event.detail.formData;
|
|
14
15
|
formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
|
|
15
16
|
jsonpointer.set(formData, key, value);
|
|
16
17
|
});
|
|
17
18
|
const variables = { email: formData.email, password: formData.password };
|
|
18
|
-
await request(variables);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
const result = await request(variables);
|
|
20
|
+
if (result instanceof Error) {
|
|
21
|
+
if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
|
|
22
|
+
setError("Network request failed.");
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
|
|
23
26
|
urlParams.delete("nextPage");
|
|
24
27
|
const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
25
28
|
navigation.push(url.href);
|
|
26
29
|
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
var _a;
|
|
30
|
-
if ((errors === null || errors === void 0 ? void 0 : errors.message) || ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"])) {
|
|
31
|
-
setError("Network request failed.");
|
|
32
|
-
}
|
|
33
|
-
}, [errors]);
|
|
34
|
-
const errorMessage = ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
|
|
30
|
+
};
|
|
31
|
+
const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
|
|
35
32
|
error;
|
|
36
33
|
return {
|
|
37
34
|
states: {
|
|
@@ -3,13 +3,16 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { Component, Prop, State } from "@stencil/core";
|
|
4
4
|
import { usePortalLogout } from "./usePortalLogout";
|
|
5
5
|
/**
|
|
6
|
-
* @uiName
|
|
6
|
+
* @uiName Microsite Logout
|
|
7
7
|
*/
|
|
8
8
|
export class PortalLogout {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.ignored = true;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Redirect participants to this page when they log out.
|
|
13
|
+
*
|
|
14
|
+
* @uiName Logout Redirect Path
|
|
15
|
+
* @uiWidget pageSelect
|
|
13
16
|
*/
|
|
14
17
|
this.nextPage = "/";
|
|
15
18
|
withHooks(this);
|
|
@@ -33,10 +36,13 @@ export class PortalLogout {
|
|
|
33
36
|
"optional": false,
|
|
34
37
|
"docs": {
|
|
35
38
|
"tags": [{
|
|
36
|
-
"text": "
|
|
39
|
+
"text": "Logout Redirect Path",
|
|
37
40
|
"name": "uiName"
|
|
41
|
+
}, {
|
|
42
|
+
"text": "pageSelect",
|
|
43
|
+
"name": "uiWidget"
|
|
38
44
|
}],
|
|
39
|
-
"text": ""
|
|
45
|
+
"text": "Redirect participants to this page when they log out."
|
|
40
46
|
},
|
|
41
47
|
"attribute": "next-page",
|
|
42
48
|
"reflect": false,
|
|
@@ -6,33 +6,25 @@ import { getProps } from "../../utils/utils";
|
|
|
6
6
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
|
-
* @uiName
|
|
9
|
+
* @uiName Microsite Participant Profile
|
|
10
10
|
*/
|
|
11
11
|
export class PortalProfile {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.ignored = true;
|
|
14
14
|
/**
|
|
15
|
-
* First name input field label
|
|
16
|
-
*
|
|
17
15
|
* @uiName First Name Label
|
|
18
16
|
*/
|
|
19
17
|
this.firstnametext = "First Name";
|
|
20
18
|
/**
|
|
21
|
-
* Last
|
|
22
|
-
*
|
|
23
|
-
* @uiName Last Name Label
|
|
19
|
+
* @uiName Last Name Field Label
|
|
24
20
|
*/
|
|
25
21
|
this.lastnametext = "Last Name";
|
|
26
22
|
/**
|
|
27
|
-
* Email
|
|
28
|
-
*
|
|
29
|
-
* @uiName Email Label
|
|
23
|
+
* @uiName Email Field Label
|
|
30
24
|
*/
|
|
31
25
|
this.emailtext = "Email";
|
|
32
26
|
/**
|
|
33
|
-
* Country
|
|
34
|
-
*
|
|
35
|
-
* @uiName Country Label
|
|
27
|
+
* @uiName Country Field Label
|
|
36
28
|
*/
|
|
37
29
|
this.countrytext = "Country";
|
|
38
30
|
/**
|
|
@@ -48,11 +40,9 @@ export class PortalProfile {
|
|
|
48
40
|
*/
|
|
49
41
|
this.submitChangeButtonText = "Submit Changes";
|
|
50
42
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @uiName Show Country Field
|
|
43
|
+
* @uiName Hide Country Field
|
|
54
44
|
*/
|
|
55
|
-
this.
|
|
45
|
+
this.hideCountry = false;
|
|
56
46
|
withHooks(this);
|
|
57
47
|
}
|
|
58
48
|
disconnectedCallback() { }
|
|
@@ -80,7 +70,7 @@ export class PortalProfile {
|
|
|
80
70
|
"text": "First Name Label",
|
|
81
71
|
"name": "uiName"
|
|
82
72
|
}],
|
|
83
|
-
"text": "
|
|
73
|
+
"text": ""
|
|
84
74
|
},
|
|
85
75
|
"attribute": "firstnametext",
|
|
86
76
|
"reflect": false,
|
|
@@ -98,10 +88,10 @@ export class PortalProfile {
|
|
|
98
88
|
"optional": false,
|
|
99
89
|
"docs": {
|
|
100
90
|
"tags": [{
|
|
101
|
-
"text": "Last Name Label",
|
|
91
|
+
"text": "Last Name Field Label",
|
|
102
92
|
"name": "uiName"
|
|
103
93
|
}],
|
|
104
|
-
"text": "
|
|
94
|
+
"text": ""
|
|
105
95
|
},
|
|
106
96
|
"attribute": "lastnametext",
|
|
107
97
|
"reflect": false,
|
|
@@ -119,10 +109,10 @@ export class PortalProfile {
|
|
|
119
109
|
"optional": false,
|
|
120
110
|
"docs": {
|
|
121
111
|
"tags": [{
|
|
122
|
-
"text": "Email Label",
|
|
112
|
+
"text": "Email Field Label",
|
|
123
113
|
"name": "uiName"
|
|
124
114
|
}],
|
|
125
|
-
"text": "
|
|
115
|
+
"text": ""
|
|
126
116
|
},
|
|
127
117
|
"attribute": "emailtext",
|
|
128
118
|
"reflect": false,
|
|
@@ -140,10 +130,10 @@ export class PortalProfile {
|
|
|
140
130
|
"optional": false,
|
|
141
131
|
"docs": {
|
|
142
132
|
"tags": [{
|
|
143
|
-
"text": "Country Label",
|
|
133
|
+
"text": "Country Field Label",
|
|
144
134
|
"name": "uiName"
|
|
145
135
|
}],
|
|
146
|
-
"text": "
|
|
136
|
+
"text": ""
|
|
147
137
|
},
|
|
148
138
|
"attribute": "countrytext",
|
|
149
139
|
"reflect": false,
|
|
@@ -212,7 +202,7 @@ export class PortalProfile {
|
|
|
212
202
|
"reflect": false,
|
|
213
203
|
"defaultValue": "\"Submit Changes\""
|
|
214
204
|
},
|
|
215
|
-
"
|
|
205
|
+
"hideCountry": {
|
|
216
206
|
"type": "boolean",
|
|
217
207
|
"mutable": false,
|
|
218
208
|
"complexType": {
|
|
@@ -224,14 +214,14 @@ export class PortalProfile {
|
|
|
224
214
|
"optional": false,
|
|
225
215
|
"docs": {
|
|
226
216
|
"tags": [{
|
|
227
|
-
"text": "
|
|
217
|
+
"text": "Hide Country Field",
|
|
228
218
|
"name": "uiName"
|
|
229
219
|
}],
|
|
230
|
-
"text": "
|
|
220
|
+
"text": ""
|
|
231
221
|
},
|
|
232
|
-
"attribute": "
|
|
222
|
+
"attribute": "hide-country",
|
|
233
223
|
"reflect": false,
|
|
234
|
-
"defaultValue": "
|
|
224
|
+
"defaultValue": "false"
|
|
235
225
|
},
|
|
236
226
|
"demoData": {
|
|
237
227
|
"type": "unknown",
|
|
@@ -274,7 +264,7 @@ function usePortalProfileDemo(props) {
|
|
|
274
264
|
success: false,
|
|
275
265
|
loading: false,
|
|
276
266
|
submitDisabled: false,
|
|
277
|
-
showCountry:
|
|
267
|
+
showCountry: !props.hideCountry,
|
|
278
268
|
user: {
|
|
279
269
|
id: "01",
|
|
280
270
|
accountId: "111100000",
|
|
@@ -284,13 +274,13 @@ function usePortalProfileDemo(props) {
|
|
|
284
274
|
countryCode: "CA",
|
|
285
275
|
},
|
|
286
276
|
text: {
|
|
287
|
-
firstnametext:
|
|
288
|
-
lastnametext:
|
|
289
|
-
emailtext:
|
|
290
|
-
countrytext:
|
|
291
|
-
editProfileHeader:
|
|
292
|
-
editProfileSubHeader:
|
|
293
|
-
submitChangeButtonText:
|
|
277
|
+
firstnametext: props.firstnametext,
|
|
278
|
+
lastnametext: props.lastnametext,
|
|
279
|
+
emailtext: props.emailtext,
|
|
280
|
+
countrytext: props.countrytext,
|
|
281
|
+
editProfileHeader: props.editProfileHeader,
|
|
282
|
+
editProfileSubHeader: props.editProfileSubHeader,
|
|
283
|
+
submitChangeButtonText: props.submitChangeButtonText,
|
|
294
284
|
},
|
|
295
285
|
formState: {
|
|
296
286
|
country: "Canada",
|
|
@@ -125,7 +125,7 @@ export function usePortalProfile(props) {
|
|
|
125
125
|
success,
|
|
126
126
|
loading: (userDataResponse === null || userDataResponse === void 0 ? void 0 : userDataResponse.loading) || upsertUserResponse.loading,
|
|
127
127
|
submitDisabled: false,
|
|
128
|
-
showCountry: props.
|
|
128
|
+
showCountry: !props.hideCountry,
|
|
129
129
|
formState,
|
|
130
130
|
user: userData,
|
|
131
131
|
text: {
|