@saasquatch/mint-components 1.6.2-1 → 1.6.2-10
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/{esm/useValidationState-f9d1a9bf.js → cjs/AsYouType-6788393a.js} +2 -10
- package/dist/cjs/{GenericTableView-4921be4b.js → GenericTableView-47869553.js} +2 -2
- package/dist/cjs/{ShadowViewAddon-aa0e441d.js → ShadowViewAddon-0ce4871c.js} +28 -21
- package/dist/cjs/{global-021e3c7a.js → global-4e52f274.js} +5 -15
- package/dist/cjs/{index.module-6650575b.js → index.module-7972acac.js} +6658 -6307
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{luxon-59ca7d19.js → luxon-479fc825.js} +1 -1
- package/dist/cjs/mint-components.cjs.js +5 -5
- package/dist/cjs/raisins-plop-target.cjs.entry.js +2 -5
- package/dist/cjs/{re-render-421592aa.js → re-render-99b2655c.js} +5 -5
- package/dist/cjs/sqm-asset-card.cjs.entry.js +5 -5
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +119 -125
- package/dist/cjs/sqm-empty_5.cjs.entry.js +1 -1
- package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-hero-view-46223e34.js → sqm-hero-view-bc763ed2.js} +2 -2
- package/dist/cjs/sqm-hero.cjs.entry.js +5 -3
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +8 -8
- package/dist/cjs/{sqm-navigation-sidebar-item-view-958c8908.js → sqm-navigation-sidebar-item-view-b3ca14b4.js} +2 -2
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +6 -6
- package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/sqm-password-field.cjs.entry.js +16 -10
- package/dist/cjs/sqm-popup-container.cjs.entry.js +6 -6
- package/dist/cjs/{sqm-portal-email-verification-view-b685b780.js → sqm-portal-email-verification-view-f2a35e7c.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +11 -10
- package/dist/cjs/{sqm-portal-footer-view-9f7f3834.js → sqm-portal-footer-view-8eadb31d.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +14 -5
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +21 -10
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +9 -7
- package/dist/cjs/{sqm-portal-profile-view-a6b0c4a7.js → sqm-portal-profile-view-730252e8.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +13 -21
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +13 -10
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +93 -42
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +17 -17
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +32 -51
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +13 -13
- package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +25 -19
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +105 -102
- package/dist/cjs/sqm-tab.cjs.entry.js +8 -0
- package/dist/cjs/sqm-tabs.cjs.entry.js +8 -6
- package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
- 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-42a97f2a.js +32 -0
- package/dist/cjs/{useReferralTable-7909aa6b.js → useReferralTable-a985ce58.js} +10 -10
- package/dist/cjs/useRegistrationFormState-b7598d69.js +23 -0
- package/dist/collection/collection-manifest.json +1 -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-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +8 -5
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +1 -0
- package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +5 -1
- 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-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/sqm-input-field.js +4 -1
- package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +9 -2
- package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +5 -2
- package/dist/collection/components/sqm-name-fields/useNameFields.js +3 -0
- 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 +4 -1
- package/dist/collection/components/sqm-password-field/PasswordField.stories.js +3 -0
- package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +7 -4
- package/dist/collection/components/sqm-password-field/sqm-password-field.js +5 -1
- package/dist/collection/components/sqm-password-field/usePasswordField.js +5 -2
- 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 +7 -3
- 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 +9 -5
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +37 -1
- package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +60 -9
- package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +2 -0
- package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +2 -1
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +44 -54
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +6 -4
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +13 -21
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +10 -9
- package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +24 -31
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +16 -9
- package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +52 -32
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +52 -11
- 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 +21 -21
- package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +9 -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-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 +2 -1
- 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-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 +1 -1
- package/dist/collection/global/styles.js +2 -12
- package/dist/collection/global/styles.ts +2 -12
- package/dist/collection/tables/GenericTableView.js +2 -2
- package/dist/collection/tables/useChildElements.js +13 -4
- package/dist/{cjs/useValidationState-6a7e4f59.js → esm/AsYouType-46f67d0d.js} +1 -15
- package/dist/esm/{GenericTableView-59c5d47c.js → GenericTableView-10cac7d6.js} +2 -2
- package/dist/esm/{ShadowViewAddon-dba590a6.js → ShadowViewAddon-846aecda.js} +28 -21
- package/dist/esm/{global-d07f1376.js → global-44835899.js} +5 -15
- package/dist/esm/{index.module-f64d9e4c.js → index.module-132e274f.js} +6636 -6285
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{luxon-38ca2169.js → luxon-5a398612.js} +1 -1
- package/dist/esm/mint-components.js +5 -5
- package/dist/esm/raisins-plop-target.entry.js +6 -9
- package/dist/esm/{re-render-a805b533.js → re-render-81cd3caa.js} +5 -5
- package/dist/esm/sqm-asset-card.entry.js +5 -5
- package/dist/esm/sqm-big-stat_35.entry.js +113 -119
- package/dist/esm/sqm-empty_5.entry.js +1 -1
- package/dist/esm/sqm-form-message.entry.js +1 -1
- package/dist/esm/sqm-graphql-client-provider.entry.js +6 -6
- package/dist/esm/{sqm-hero-view-93fac447.js → sqm-hero-view-9fb2be89.js} +2 -2
- package/dist/esm/sqm-hero.entry.js +5 -3
- package/dist/esm/sqm-leaderboard-rank.entry.js +8 -8
- package/dist/esm/{sqm-navigation-sidebar-item-view-2ed13955.js → sqm-navigation-sidebar-item-view-364af025.js} +2 -2
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +6 -6
- package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
- package/dist/esm/sqm-password-field.entry.js +16 -10
- package/dist/esm/sqm-popup-container.entry.js +6 -6
- package/dist/esm/{sqm-portal-email-verification-view-527c54bd.js → sqm-portal-email-verification-view-5ac21bb4.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +11 -10
- package/dist/esm/{sqm-portal-footer-view-5af8c8de.js → sqm-portal-footer-view-f3a6eaed.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +14 -5
- package/dist/esm/sqm-portal-forgot-password.entry.js +21 -10
- package/dist/esm/sqm-portal-logout.entry.js +9 -7
- package/dist/esm/{sqm-portal-profile-view-878b75ff.js → sqm-portal-profile-view-630f05c8.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +13 -21
- package/dist/esm/sqm-portal-protected-route.entry.js +13 -10
- package/dist/esm/sqm-portal-registration-form.entry.js +91 -40
- package/dist/esm/sqm-portal-reset-password.entry.js +19 -19
- package/dist/esm/sqm-portal-verify-email.entry.js +32 -51
- package/dist/esm/sqm-referral-table_11.entry.js +13 -13
- package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
- package/dist/esm/sqm-rewards-table_9.entry.js +25 -19
- package/dist/esm/sqm-stencilbook.entry.js +105 -102
- package/dist/esm/sqm-tab.entry.js +8 -0
- package/dist/esm/sqm-tabs.entry.js +8 -6
- package/dist/esm/sqm-text-span.entry.js +1 -1
- 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-9431f3e2.js +30 -0
- package/dist/esm/{useReferralTable-ff2e6347.js → useReferralTable-0516b6d5.js} +10 -10
- package/dist/esm/useRegistrationFormState-ebb08075.js +18 -0
- package/dist/esm-es5/AsYouType-46f67d0d.js +1 -0
- package/dist/esm-es5/{GenericTableView-59c5d47c.js → GenericTableView-10cac7d6.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-846aecda.js +1 -0
- package/dist/esm-es5/{global-d07f1376.js → global-44835899.js} +2 -2
- package/dist/esm-es5/index.module-132e274f.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-a805b533.js → re-render-81cd3caa.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-hero-view-93fac447.js → sqm-hero-view-9fb2be89.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-2ed13955.js → sqm-navigation-sidebar-item-view-364af025.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-email-verification-view-527c54bd.js → sqm-portal-email-verification-view-5ac21bb4.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-5af8c8de.js → sqm-portal-footer-view-f3a6eaed.js} +1 -1
- package/dist/esm-es5/sqm-portal-footer.entry.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-878b75ff.js → sqm-portal-profile-view-630f05c8.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.entry.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.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-9431f3e2.js +1 -0
- package/dist/esm-es5/useReferralTable-0516b6d5.js +1 -0
- package/dist/esm-es5/useRegistrationFormState-ebb08075.js +1 -0
- package/dist/mint-components/global/styles.ts +2 -12
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-16beb451.system.entry.js → p-00d4636f.system.entry.js} +1 -1
- package/dist/mint-components/{p-b22b94ac.js → p-0148c516.js} +1 -1
- package/dist/mint-components/p-06f56536.js +1 -0
- package/dist/mint-components/{p-82e5167e.system.entry.js → p-07d424a2.system.entry.js} +1 -1
- package/dist/mint-components/p-088d3b4a.system.entry.js +1 -0
- package/dist/mint-components/p-0b1d703d.entry.js +1 -0
- package/dist/mint-components/p-0d482ad4.js +1 -0
- package/dist/mint-components/p-0d49d56d.js +1 -0
- package/dist/mint-components/{p-e907c45c.system.js → p-0e441a14.system.js} +1 -1
- package/dist/mint-components/{p-7ce9b6f0.entry.js → p-0f4c1e0e.entry.js} +3 -3
- package/dist/mint-components/p-121cdc60.js +1 -0
- package/dist/mint-components/{p-fd05df17.system.js → p-136325c0.system.js} +1 -1
- package/dist/mint-components/p-162fca19.js +1 -0
- package/dist/mint-components/p-1c21b5d1.js +1 -0
- package/dist/mint-components/{p-f6aaa05d.js → p-1c40d459.js} +4 -4
- package/dist/mint-components/p-1cc3dfe5.system.js +1 -0
- package/dist/mint-components/{p-eded5687.system.entry.js → p-1f6fdeda.system.entry.js} +1 -1
- package/dist/mint-components/{p-89d8133d.entry.js → p-222e5418.entry.js} +1 -1
- package/dist/mint-components/p-2383eadd.system.entry.js +1 -0
- package/dist/mint-components/p-242bd74b.entry.js +9 -0
- package/dist/mint-components/{p-788e20c2.system.js → p-292857fd.system.js} +1 -1
- package/dist/mint-components/p-2dce26fa.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-698756dd.system.entry.js → p-3d0dc005.system.entry.js} +1 -1
- package/dist/mint-components/p-3f43b39c.entry.js +1 -0
- package/dist/mint-components/p-436779be.js +1 -0
- package/dist/mint-components/{p-e2bf9132.system.js → p-446a0805.system.js} +1 -1
- package/dist/mint-components/{p-66d4a1de.system.js → p-4935076f.system.js} +1 -1
- package/dist/mint-components/p-4ce8e325.system.entry.js +1 -0
- package/dist/mint-components/{p-27a8ee57.system.entry.js → p-50553269.system.entry.js} +1 -1
- package/dist/mint-components/{p-52aeaa53.entry.js → p-50afa774.entry.js} +1 -1
- package/dist/mint-components/p-51102b8f.entry.js +13 -0
- package/dist/mint-components/{p-68f8fc59.system.js → p-519dc03b.system.js} +1 -1
- package/dist/mint-components/{p-50cb9888.js → p-52a2beaf.js} +1 -1
- package/dist/mint-components/{p-78c7b4b7.js → p-538904bd.js} +1 -1
- package/dist/mint-components/{p-26ae2b6b.system.js → p-53aef3ba.system.js} +2 -2
- package/dist/mint-components/p-574ba520.system.js +1 -0
- package/dist/mint-components/{p-e09f76b7.system.js → p-5d292177.system.js} +1 -1
- package/dist/mint-components/{p-b18c9d88.entry.js → p-63101d0c.entry.js} +1 -1
- package/dist/mint-components/{p-9bac73dc.system.js → p-684aadb5.system.js} +1 -1
- package/dist/mint-components/{p-59167300.entry.js → p-703f4552.entry.js} +12 -12
- package/dist/mint-components/p-73681688.system.entry.js +1 -0
- package/dist/mint-components/p-7c3e3cb4.entry.js +1 -0
- package/dist/mint-components/{p-c8b5a819.js → p-7dea8d9a.js} +1 -1
- package/dist/mint-components/{p-b60e43ec.system.entry.js → p-7f4b0ba0.system.entry.js} +1 -1
- package/dist/mint-components/p-83d4885d.entry.js +99 -0
- package/dist/mint-components/{p-d7d007fb.system.entry.js → p-88a2e66e.system.entry.js} +1 -1
- package/dist/mint-components/p-89fc4544.system.js +1 -0
- package/dist/mint-components/{p-dd627dd0.entry.js → p-8a2c78e0.entry.js} +1 -1
- package/dist/mint-components/p-8b7a19d3.system.entry.js +1 -0
- package/dist/mint-components/p-8c4bcbc6.entry.js +1 -0
- package/dist/mint-components/{p-5a5c9039.system.entry.js → p-8d6a2a61.system.entry.js} +1 -1
- package/dist/mint-components/p-90dfce36.entry.js +1 -0
- package/dist/mint-components/p-92110eef.entry.js +1 -0
- package/dist/mint-components/p-99397ef5.system.js +1 -0
- package/dist/mint-components/p-9d362d44.system.js +1 -0
- package/dist/mint-components/p-9f596d8d.system.entry.js +1 -0
- package/dist/mint-components/{p-a3f87461.entry.js → p-a1acdbb4.entry.js} +1 -1
- package/dist/mint-components/p-a395bae0.entry.js +1 -0
- package/dist/mint-components/{p-a6291305.system.entry.js → p-a4335cb5.system.entry.js} +1 -1
- package/dist/mint-components/{p-45c2d208.system.entry.js → p-af3b56d3.system.entry.js} +1 -1
- package/dist/mint-components/{p-dce5643a.js → p-afcf252c.js} +2 -2
- package/dist/mint-components/p-b2e7ca31.system.entry.js +1 -0
- package/dist/mint-components/{p-82536ec7.entry.js → p-b3d7d353.entry.js} +1 -1
- package/dist/mint-components/{p-a8c7d22f.entry.js → p-b52109dd.entry.js} +1 -1
- package/dist/mint-components/p-b593a42e.system.entry.js +1 -0
- package/dist/mint-components/p-bb9dadd3.system.entry.js +1 -0
- package/dist/mint-components/p-bc2cf095.entry.js +1 -0
- package/dist/mint-components/{p-09582767.system.entry.js → p-bed78bee.system.entry.js} +1 -1
- package/dist/mint-components/p-c01e754d.system.entry.js +1 -0
- package/dist/mint-components/p-c4e22786.system.js +1 -0
- package/dist/mint-components/{p-ae5b1a9a.js → p-c627c865.js} +2 -2
- package/dist/mint-components/{p-cc6f7cb5.entry.js → p-ca08cf71.entry.js} +1 -1
- package/dist/mint-components/p-cac0e237.entry.js +1 -0
- package/dist/mint-components/{p-c88cb982.entry.js → p-ce6f7e0e.entry.js} +1 -1
- package/dist/mint-components/{p-d1aef95c.entry.js → p-ceeeb344.entry.js} +1 -1
- package/dist/mint-components/{p-29f82c6d.system.entry.js → p-ceefa54a.system.entry.js} +1 -1
- package/dist/mint-components/{p-0b94ee0c.entry.js → p-d08b59df.entry.js} +2 -2
- package/dist/mint-components/p-d21ccfa1.entry.js +1 -0
- package/dist/mint-components/p-d307abaa.entry.js +1 -0
- package/dist/mint-components/{p-8a0cf4be.system.js → p-d4ee07e6.system.js} +2 -2
- package/dist/mint-components/p-d5c94703.entry.js +1 -0
- package/dist/mint-components/{p-e7bf8047.js → p-d64a0bc1.js} +1 -1
- package/dist/mint-components/p-dbfb865e.js +1 -0
- package/dist/mint-components/p-dc37fe51.system.js +1 -0
- package/dist/mint-components/{p-e81e451e.system.entry.js → p-df2b4e11.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7797ffe.system.js → p-e0fa9595.system.js} +1 -1
- package/dist/mint-components/{p-1644c8e4.js → p-e733843b.js} +1 -1
- package/dist/mint-components/{p-f09e5077.system.entry.js → p-e8d07dfa.system.entry.js} +1 -1
- package/dist/mint-components/p-f3eaabf8.system.entry.js +1 -0
- package/dist/mint-components/{p-04342637.entry.js → p-f54b436e.entry.js} +1 -1
- package/dist/mint-components/{p-95543e61.system.entry.js → p-f5e601b0.system.entry.js} +1 -1
- package/dist/mint-components/p-f8863064.system.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.d.ts +5 -2
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +1 -0
- package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +5 -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-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.d.ts +4 -1
- package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +2 -0
- 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 -0
- 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 +4 -1
- package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +2 -0
- package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +6 -1
- 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 +3 -2
- 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 +4 -3
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +10 -1
- package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +14 -5
- package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +2 -0
- package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +2 -1
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +13 -26
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +4 -2
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +5 -13
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +7 -3
- package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +13 -14
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +2 -0
- package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form.d.ts +19 -14
- package/dist/types/components/sqm-portal-registration-form/usePortalRegistrationForm.d.ts +2 -0
- package/dist/types/components/sqm-portal-registration-form/useRegistrationFormState.d.ts +17 -0
- package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +10 -10
- package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +5 -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-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 +2 -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 +1 -1
- package/dist/types/components.d.ts +214 -719
- 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/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-161f4899.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-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/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-c26c601d.js +0 -21
- package/dist/esm-es5/ShadowViewAddon-dba590a6.js +0 -1
- package/dist/esm-es5/index.module-f64d9e4c.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-c26c601d.js +0 -1
- package/dist/esm-es5/useReferralTable-ff2e6347.js +0 -1
- package/dist/esm-es5/useValidationState-f9d1a9bf.js +0 -1
- package/dist/mint-components/p-02388c5b.system.entry.js +0 -1
- package/dist/mint-components/p-05bc51fd.system.entry.js +0 -1
- package/dist/mint-components/p-0626cb73.js +0 -1
- package/dist/mint-components/p-14911a74.js +0 -1
- package/dist/mint-components/p-18bb324a.js +0 -1
- package/dist/mint-components/p-1e132e9b.entry.js +0 -1
- package/dist/mint-components/p-2a056bc0.entry.js +0 -1
- package/dist/mint-components/p-2b25d0d6.js +0 -1
- package/dist/mint-components/p-34bc2c5a.system.entry.js +0 -1
- package/dist/mint-components/p-35741c5c.system.js +0 -1
- package/dist/mint-components/p-3a621348.system.js +0 -1
- package/dist/mint-components/p-3a62e293.js +0 -1
- package/dist/mint-components/p-3a967b5d.system.entry.js +0 -1
- package/dist/mint-components/p-3da83662.system.entry.js +0 -1
- package/dist/mint-components/p-4198e94e.entry.js +0 -1
- package/dist/mint-components/p-43cdfe9b.system.entry.js +0 -1
- package/dist/mint-components/p-46ed891a.entry.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-4d31c11c.entry.js +0 -99
- package/dist/mint-components/p-505d8965.system.entry.js +0 -1
- package/dist/mint-components/p-571835e1.system.entry.js +0 -1
- package/dist/mint-components/p-6611741a.entry.js +0 -1
- package/dist/mint-components/p-6c661f42.system.js +0 -1
- package/dist/mint-components/p-6ea95c5e.system.entry.js +0 -1
- package/dist/mint-components/p-7102315f.entry.js +0 -1
- package/dist/mint-components/p-8217d5a2.entry.js +0 -1
- package/dist/mint-components/p-85339263.entry.js +0 -1
- package/dist/mint-components/p-8be5d9f4.system.entry.js +0 -1
- package/dist/mint-components/p-8d17170f.system.js +0 -1
- package/dist/mint-components/p-963c56e6.system.entry.js +0 -1
- package/dist/mint-components/p-99389e40.entry.js +0 -9
- package/dist/mint-components/p-a0197667.entry.js +0 -1
- package/dist/mint-components/p-ba306ce6.system.entry.js +0 -1
- package/dist/mint-components/p-c2b5997d.entry.js +0 -1
- package/dist/mint-components/p-c38b22d6.entry.js +0 -1
- package/dist/mint-components/p-c3d728b0.system.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-cc330970.entry.js +0 -1
- package/dist/mint-components/p-cdabe7a8.js +0 -1
- package/dist/mint-components/p-dec7a657.entry.js +0 -1
- package/dist/mint-components/p-e0140005.system.entry.js +0 -1
- package/dist/mint-components/p-e6c1a0a6.entry.js +0 -1
- package/dist/mint-components/p-e742d610.entry.js +0 -1
- package/dist/mint-components/p-f2e52e81.system.js +0 -1
- package/dist/mint-components/p-f7c85612.js +0 -1
- 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
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./global-
|
|
8
|
-
require('./use-callback-
|
|
9
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./global-4e52f274.js');
|
|
8
|
+
require('./use-callback-5d15897d.js');
|
|
9
|
+
const index_module = require('./index.module-7972acac.js');
|
|
10
10
|
require('./extends-08099afd.js');
|
|
11
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
12
12
|
require('./JSS-97fd087e.js');
|
|
13
13
|
const utils = require('./utils-6847bc06.js');
|
|
14
14
|
require('./sqm-text-span-view-2c7d94b5.js');
|
|
15
15
|
require('./sqm-portal-container-view-840db620.js');
|
|
16
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
16
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-730252e8.js');
|
|
17
17
|
|
|
18
18
|
const GET_USER = index_module.dist.gql `
|
|
19
19
|
query {
|
|
@@ -59,12 +59,12 @@ const defaultFormState = {
|
|
|
59
59
|
error: "",
|
|
60
60
|
};
|
|
61
61
|
function usePortalProfile(props) {
|
|
62
|
-
const userIdent = index_module.
|
|
62
|
+
const userIdent = index_module._();
|
|
63
63
|
const [success, setSuccess] = stencilHooks_module.useState(false);
|
|
64
64
|
const [userData, setUserData] = stencilHooks_module.useState(undefined);
|
|
65
65
|
const [formState, setFormState] = stencilHooks_module.useState(defaultFormState);
|
|
66
|
-
const userDataResponse = index_module.
|
|
67
|
-
const [upsertUser, upsertUserResponse] = index_module.
|
|
66
|
+
const userDataResponse = index_module.dn(GET_USER, {}, !(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt));
|
|
67
|
+
const [upsertUser, upsertUserResponse] = index_module.Ie(UPSERT_USER);
|
|
68
68
|
stencilHooks_module.useEffect(() => {
|
|
69
69
|
if (upsertUserResponse === null || upsertUserResponse === void 0 ? void 0 : upsertUserResponse.loading)
|
|
70
70
|
return;
|
|
@@ -167,27 +167,19 @@ const PortalProfile = class {
|
|
|
167
167
|
index.registerInstance(this, hostRef);
|
|
168
168
|
this.ignored = true;
|
|
169
169
|
/**
|
|
170
|
-
* First name input field label
|
|
171
|
-
*
|
|
172
170
|
* @uiName First Name Label
|
|
173
171
|
*/
|
|
174
172
|
this.firstnametext = "First Name";
|
|
175
173
|
/**
|
|
176
|
-
* Last
|
|
177
|
-
*
|
|
178
|
-
* @uiName Last Name Label
|
|
174
|
+
* @uiName Last Name Field Label
|
|
179
175
|
*/
|
|
180
176
|
this.lastnametext = "Last Name";
|
|
181
177
|
/**
|
|
182
|
-
* Email
|
|
183
|
-
*
|
|
184
|
-
* @uiName Email Label
|
|
178
|
+
* @uiName Email Field Label
|
|
185
179
|
*/
|
|
186
180
|
this.emailtext = "Email";
|
|
187
181
|
/**
|
|
188
|
-
* Country
|
|
189
|
-
*
|
|
190
|
-
* @uiName Country Label
|
|
182
|
+
* @uiName Country Field Label
|
|
191
183
|
*/
|
|
192
184
|
this.countrytext = "Country";
|
|
193
185
|
/**
|
|
@@ -203,7 +195,7 @@ const PortalProfile = class {
|
|
|
203
195
|
*/
|
|
204
196
|
this.submitChangeButtonText = "Submit Changes";
|
|
205
197
|
/**
|
|
206
|
-
* Show or hide the country field
|
|
198
|
+
* Show or hide the country field.
|
|
207
199
|
*
|
|
208
200
|
* @uiName Show Country Field
|
|
209
201
|
*/
|
|
@@ -212,7 +204,7 @@ const PortalProfile = class {
|
|
|
212
204
|
}
|
|
213
205
|
disconnectedCallback() { }
|
|
214
206
|
render() {
|
|
215
|
-
const props = index_module.
|
|
207
|
+
const props = index_module.isDemo()
|
|
216
208
|
? usePortalProfileDemo(utils.getProps(this))
|
|
217
209
|
: usePortalProfile(utils.getProps(this));
|
|
218
210
|
return index.h(sqmPortalProfileView.PortalProfileView, Object.assign({}, props));
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./use-callback-5d15897d.js');
|
|
8
|
+
const index_module = require('./index.module-7972acac.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
|
|
11
11
|
function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
|
|
12
12
|
var _a;
|
|
13
|
-
const userIdent = index_module.
|
|
13
|
+
const userIdent = index_module._();
|
|
14
14
|
const authenticated = !!(userIdent === null || userIdent === void 0 ? void 0 : userIdent.jwt);
|
|
15
15
|
const emailVerified = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified;
|
|
16
|
-
const { pathname, search } = index_module.
|
|
16
|
+
const { pathname, search } = index_module.gn();
|
|
17
17
|
const nextPageParam = new URLSearchParams();
|
|
18
18
|
nextPageParam.append("nextPage", `${pathname}${search}`);
|
|
19
19
|
stencilHooks_module.useEffect(() => {
|
|
20
20
|
if (!authenticated) {
|
|
21
|
-
return index_module.
|
|
21
|
+
return index_module.vn.push({
|
|
22
22
|
pathname: redirectTo,
|
|
23
23
|
search: "?" + nextPageParam.toString(),
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
if (requireEmailVerification && !emailVerified) {
|
|
27
|
-
return index_module.
|
|
27
|
+
return index_module.vn.push({
|
|
28
28
|
pathname: redirectToUnverified || redirectTo,
|
|
29
29
|
search: "?" + nextPageParam.toString(),
|
|
30
30
|
});
|
|
@@ -38,23 +38,26 @@ const PortalProtectedRoute = class {
|
|
|
38
38
|
index.registerInstance(this, hostRef);
|
|
39
39
|
this.ignored = true;
|
|
40
40
|
/**
|
|
41
|
+
* Redirect participants to this path they are not logged in.
|
|
42
|
+
*
|
|
41
43
|
* @uiName Redirect Path
|
|
42
44
|
*/
|
|
43
45
|
this.redirectTo = "/";
|
|
44
46
|
/**
|
|
45
47
|
* @uiName Require Email Verification
|
|
46
|
-
* @default
|
|
47
48
|
*/
|
|
48
49
|
this.requireEmailVerification = false;
|
|
49
50
|
/**
|
|
50
|
-
*
|
|
51
|
+
* Redirect participants to this path when email verification is required but they have not verified their email.
|
|
52
|
+
*
|
|
53
|
+
* @uiName Unverified Participant Redirect Path
|
|
51
54
|
*/
|
|
52
55
|
this.redirectToUnverified = "/emailVerification";
|
|
53
56
|
stencilHooks_module.h$1(this);
|
|
54
57
|
}
|
|
55
58
|
disconnectedCallback() { }
|
|
56
59
|
render() {
|
|
57
|
-
const hasUser = index_module.
|
|
60
|
+
const hasUser = index_module.isDemo()
|
|
58
61
|
? usePortalProtectedRouteDemo()
|
|
59
62
|
: usePortalProtectedRoute(this);
|
|
60
63
|
return (index.h(index.Host, { style: { display: hasUser ? "contents" : "none" } }, index.h("slot", null)));
|
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
const useCallback = require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
const useCallback = require('./use-callback-5d15897d.js');
|
|
8
|
+
const index_module = require('./index.module-7972acac.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
11
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
12
12
|
const mixins = require('./mixins-fe9d4112.js');
|
|
13
13
|
const JSS = require('./JSS-97fd087e.js');
|
|
14
14
|
const sqmTextSpanView = require('./sqm-text-span-view-2c7d94b5.js');
|
|
15
|
-
const
|
|
15
|
+
const AsYouType = require('./AsYouType-6788393a.js');
|
|
16
|
+
const useRegistrationFormState = require('./useRegistrationFormState-b7598d69.js');
|
|
16
17
|
|
|
17
18
|
const style = {
|
|
18
19
|
Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
|
|
@@ -43,7 +44,7 @@ sqm-portal-register {
|
|
|
43
44
|
const sheet = JSS.createStyleSheet(style);
|
|
44
45
|
const styleString = sheet.toString();
|
|
45
46
|
function PortalRegistrationFormView(props) {
|
|
46
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
47
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
47
48
|
const { states, refs, callbacks, content } = props;
|
|
48
49
|
if (states.error) {
|
|
49
50
|
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
|
|
@@ -54,10 +55,11 @@ function PortalRegistrationFormView(props) {
|
|
|
54
55
|
styleString),
|
|
55
56
|
index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
|
|
56
57
|
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
57
|
-
states.
|
|
58
|
-
index.h("div", { part: "erroralert-text" },
|
|
58
|
+
((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.disabled) ? (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
59
|
+
index.h("div", { part: "erroralert-text" }, states.registrationFormState.disabledMessage))) : (states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
60
|
+
index.h("div", { part: "erroralert-text" }, props.states.error)))),
|
|
59
61
|
content.formData,
|
|
60
|
-
!states.hideInputs && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
|
|
62
|
+
!states.hideInputs && (index.h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
|
|
61
63
|
if (!value) {
|
|
62
64
|
return "Cannot be empty";
|
|
63
65
|
}
|
|
@@ -65,31 +67,67 @@ function PortalRegistrationFormView(props) {
|
|
|
65
67
|
if (!value.includes("@")) {
|
|
66
68
|
return "Must be a valid email address";
|
|
67
69
|
}
|
|
68
|
-
} }, (((
|
|
70
|
+
} }, (((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.initialData) === null || _d === void 0 ? void 0 : _d.email) ? {
|
|
71
|
+
value: (_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.initialData) === null || _f === void 0 ? void 0 : _f.email,
|
|
72
|
+
}
|
|
73
|
+
: {}), (((_h = (_g = states.validationState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.email) ? {
|
|
69
74
|
class: sheet.classes.ErrorStyle,
|
|
70
|
-
helpText: ((
|
|
75
|
+
helpText: ((_k = (_j = states.validationState) === null || _j === void 0 ? void 0 : _j.validationErrors) === null || _k === void 0 ? void 0 : _k.email) ||
|
|
71
76
|
"Cannot be empty",
|
|
72
77
|
}
|
|
73
78
|
: [])))),
|
|
74
79
|
!states.hideInputs && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "enable-validation": states.enablePasswordValidation })),
|
|
75
80
|
content.passwordField,
|
|
76
|
-
!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 }, (((
|
|
81
|
+
!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 }, (((_m = (_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.initialData) === null || _m === void 0 ? void 0 : _m.confirmPassword) ? {
|
|
82
|
+
value: (_p = (_o = states.registrationFormState) === null || _o === void 0 ? void 0 : _o.initialData) === null || _p === void 0 ? void 0 : _p.confirmPassword,
|
|
83
|
+
}
|
|
84
|
+
: {}), (((_r = (_q = states.validationState) === null || _q === void 0 ? void 0 : _q.validationErrors) === null || _r === void 0 ? void 0 : _r.confirmPassword) ? {
|
|
77
85
|
class: sheet.classes.ErrorStyle,
|
|
78
|
-
helpText: ((
|
|
86
|
+
helpText: ((_t = (_s = states.validationState) === null || _s === void 0 ? void 0 : _s.validationErrors) === null || _t === void 0 ? void 0 : _t.confirmPassword) ||
|
|
79
87
|
"Cannot be empty",
|
|
80
88
|
}
|
|
81
89
|
: [])))),
|
|
82
90
|
content.terms,
|
|
83
91
|
index.h("div", { class: sheet.classes.ButtonsContainer },
|
|
84
|
-
index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
92
|
+
index.h("sl-button", { submit: true, loading: states.loading, disabled: (_u = states.registrationFormState) === null || _u === void 0 ? void 0 : _u.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
|
|
85
93
|
content.secondaryButton))));
|
|
86
94
|
}
|
|
87
95
|
|
|
96
|
+
const RegistrationFormQuery = index_module.dist.gql `
|
|
97
|
+
query RegistrationFormQuery($key: String!) {
|
|
98
|
+
form(key: $key) {
|
|
99
|
+
key
|
|
100
|
+
type
|
|
101
|
+
initialData {
|
|
102
|
+
initialData
|
|
103
|
+
isEnabled
|
|
104
|
+
isEnabledErrorMessage
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
`;
|
|
88
109
|
function usePortalRegistrationForm(props) {
|
|
89
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
110
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
90
111
|
const formRef = stencilHooks_module.useRef(null);
|
|
91
|
-
const {
|
|
92
|
-
const
|
|
112
|
+
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState.useRegistrationFormState({});
|
|
113
|
+
const { validationState, setValidationState } = useRegistrationFormState.useValidationState({});
|
|
114
|
+
const [request, { loading, errors, data, formError }] = index_module.Re();
|
|
115
|
+
const queryResponse = index_module.dn(RegistrationFormQuery, { key: props.formKey });
|
|
116
|
+
const formLoading = loading || queryResponse.loading;
|
|
117
|
+
stencilHooks_module.useEffect(() => {
|
|
118
|
+
var _a, _b, _c;
|
|
119
|
+
const initialData = (_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData.initialData;
|
|
120
|
+
const disabled = ((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false;
|
|
121
|
+
const disabledMessage = ((_c = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _c === void 0 ? void 0 : _c.form.initialData.isEnabledErrorMessage) ||
|
|
122
|
+
"The registration form is currently disabled.";
|
|
123
|
+
const formState = {
|
|
124
|
+
loading: formLoading,
|
|
125
|
+
disabled,
|
|
126
|
+
disabledMessage,
|
|
127
|
+
initialData,
|
|
128
|
+
};
|
|
129
|
+
setRegistrationFormState(formState);
|
|
130
|
+
}, [(_a = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _a === void 0 ? void 0 : _a.form.initialData, formLoading]);
|
|
93
131
|
const submit = async (event) => {
|
|
94
132
|
let formControls = event.target.getFormControls();
|
|
95
133
|
let formData = {};
|
|
@@ -99,6 +137,7 @@ function usePortalRegistrationForm(props) {
|
|
|
99
137
|
return;
|
|
100
138
|
const key = control.name;
|
|
101
139
|
const value = control.value;
|
|
140
|
+
// control.value = initialData[key] || control.value;
|
|
102
141
|
jsonpointer.jsonpointer.set(formData, key, value);
|
|
103
142
|
// required validation
|
|
104
143
|
if (control.required && !value) {
|
|
@@ -128,13 +167,15 @@ function usePortalRegistrationForm(props) {
|
|
|
128
167
|
delete formData.email;
|
|
129
168
|
delete formData.password;
|
|
130
169
|
delete formData.confirmPassword;
|
|
131
|
-
formData = { ...formData };
|
|
132
170
|
const redirectPath = props.redirectPath;
|
|
133
171
|
const variables = {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
172
|
+
key: props.formKey,
|
|
173
|
+
formData: {
|
|
174
|
+
email,
|
|
175
|
+
password,
|
|
176
|
+
redirectPath,
|
|
177
|
+
...formData,
|
|
178
|
+
},
|
|
138
179
|
};
|
|
139
180
|
try {
|
|
140
181
|
await request(variables);
|
|
@@ -148,7 +189,7 @@ function usePortalRegistrationForm(props) {
|
|
|
148
189
|
const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
|
|
149
190
|
if (name !== "tel")
|
|
150
191
|
return;
|
|
151
|
-
const asYouType = new
|
|
192
|
+
const asYouType = new AsYouType.AsYouType("US");
|
|
152
193
|
e.target.value = asYouType.input(e.target.value);
|
|
153
194
|
}, []);
|
|
154
195
|
stencilHooks_module.useEffect(() => {
|
|
@@ -158,7 +199,7 @@ function usePortalRegistrationForm(props) {
|
|
|
158
199
|
managedIdentityResponse.result.results.length &&
|
|
159
200
|
managedIdentityResponse.result.results[0].success &&
|
|
160
201
|
managedIdentityResponse.result.results[0].data.token) {
|
|
161
|
-
index_module.
|
|
202
|
+
index_module.vn.push(props.nextPage);
|
|
162
203
|
}
|
|
163
204
|
}, [data === null || data === void 0 ? void 0 : data.submitForm]);
|
|
164
205
|
stencilHooks_module.useEffect(() => {
|
|
@@ -171,21 +212,27 @@ function usePortalRegistrationForm(props) {
|
|
|
171
212
|
};
|
|
172
213
|
}, [formRef.current]);
|
|
173
214
|
let errorMessage = "";
|
|
174
|
-
if ((
|
|
215
|
+
if (((_b = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _b === void 0 ? void 0 : _b.form.initialData.isEnabled) === false) {
|
|
216
|
+
errorMessage =
|
|
217
|
+
((_c = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.data) === null || _c === void 0 ? void 0 : _c.form.initialData.isEnabledErrorMessage) ||
|
|
218
|
+
"The registration form is disabled";
|
|
219
|
+
}
|
|
220
|
+
else if ((_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d["error"]) {
|
|
175
221
|
errorMessage = "Network request failed";
|
|
176
222
|
}
|
|
177
|
-
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((
|
|
223
|
+
else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors.length)) {
|
|
178
224
|
errorMessage = "Network request failed";
|
|
179
225
|
}
|
|
180
226
|
else {
|
|
181
227
|
errorMessage =
|
|
182
|
-
formError || ((_f = (
|
|
228
|
+
formError || ((_j = (_h = (_g = (_f = queryResponse === null || queryResponse === void 0 ? void 0 : queryResponse.errors) === null || _f === void 0 ? void 0 : _f.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || ((_o = (_m = (_l = (_k = errors === null || errors === void 0 ? void 0 : errors.response) === null || _k === void 0 ? void 0 : _k.errors) === null || _l === void 0 ? void 0 : _l[0]) === null || _m === void 0 ? void 0 : _m.extensions) === null || _o === void 0 ? void 0 : _o.message) || ((_r = (_q = (_p = errors === null || errors === void 0 ? void 0 : errors.response) === null || _p === void 0 ? void 0 : _p.errors) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.message) || (validationState === null || validationState === void 0 ? void 0 : validationState.error);
|
|
183
229
|
}
|
|
184
230
|
return {
|
|
185
231
|
states: {
|
|
186
|
-
loading,
|
|
232
|
+
loading: loading || queryResponse.loading,
|
|
187
233
|
error: errorMessage,
|
|
188
234
|
validationState,
|
|
235
|
+
registrationFormState,
|
|
189
236
|
confirmPassword: props.confirmPassword,
|
|
190
237
|
hideInputs: props.hideInputs,
|
|
191
238
|
loginPath: props.loginPath,
|
|
@@ -205,23 +252,23 @@ const PortalRegistrationForm = class {
|
|
|
205
252
|
index.registerInstance(this, hostRef);
|
|
206
253
|
this.ignored = true;
|
|
207
254
|
/**
|
|
208
|
-
* Page navigated to after registration
|
|
255
|
+
* Page participants are navigated to after registration.
|
|
209
256
|
*
|
|
210
|
-
* @uiName
|
|
257
|
+
* @uiName Registration Redirect Path
|
|
211
258
|
*/
|
|
212
259
|
this.nextPage = "/";
|
|
213
260
|
/**
|
|
214
|
-
* The page that
|
|
261
|
+
* The page that participants are redirected to from the verification email.
|
|
215
262
|
*
|
|
216
|
-
* @uiName Email Redirection
|
|
263
|
+
* @uiName Email Redirection Path
|
|
217
264
|
*/
|
|
218
265
|
this.redirectPath = "/verifyEmail";
|
|
219
266
|
/**
|
|
220
|
-
* @uiName Email Label
|
|
267
|
+
* @uiName Email Field Label
|
|
221
268
|
*/
|
|
222
269
|
this.emailLabel = "Email";
|
|
223
270
|
/**
|
|
224
|
-
* @uiName Password Label
|
|
271
|
+
* @uiName Password Field Label
|
|
225
272
|
*/
|
|
226
273
|
this.passwordLabel = "Password";
|
|
227
274
|
/**
|
|
@@ -237,10 +284,9 @@ const PortalRegistrationForm = class {
|
|
|
237
284
|
*/
|
|
238
285
|
this.confirmPasswordLabel = "Confirm Password";
|
|
239
286
|
/**
|
|
240
|
-
* Show or hide the confirm password input
|
|
287
|
+
* Show or hide the confirm password input.
|
|
241
288
|
*
|
|
242
289
|
* @uiName Show Confirm Password Field
|
|
243
|
-
* @default
|
|
244
290
|
*/
|
|
245
291
|
this.confirmPassword = false;
|
|
246
292
|
/**
|
|
@@ -248,32 +294,37 @@ const PortalRegistrationForm = class {
|
|
|
248
294
|
*/
|
|
249
295
|
this.enablePasswordValidation = true;
|
|
250
296
|
/**
|
|
251
|
-
* Hide default input fields to use custom fields
|
|
297
|
+
* Hide default input fields to use custom fields.
|
|
252
298
|
*
|
|
253
299
|
* @uiName Hide Default Inputs
|
|
254
|
-
* @default
|
|
255
300
|
*/
|
|
256
301
|
this.hideInputs = false;
|
|
257
302
|
/**
|
|
258
|
-
* @uiName
|
|
303
|
+
* @uiName Header Text
|
|
259
304
|
*/
|
|
260
305
|
this.pageLabel = "Register";
|
|
261
306
|
/**
|
|
262
|
-
* Login button redirection path
|
|
307
|
+
* Login button redirection path.
|
|
263
308
|
*
|
|
264
|
-
* @uiName Login Path
|
|
309
|
+
* @uiName Login Redirect Path
|
|
265
310
|
*/
|
|
266
311
|
this.loginPath = "/login";
|
|
312
|
+
/**
|
|
313
|
+
* Microsite Registration Form Key
|
|
314
|
+
*
|
|
315
|
+
* @uiName Form Key
|
|
316
|
+
*/
|
|
317
|
+
this.formKey = "microsite-registration-form";
|
|
267
318
|
stencilHooks_module.h$1(this);
|
|
268
319
|
}
|
|
269
320
|
disconnectedCallback() { }
|
|
270
321
|
render() {
|
|
271
|
-
const { states, callbacks, refs } = index_module.
|
|
322
|
+
const { states, callbacks, refs } = index_module.isDemo()
|
|
272
323
|
? useRegisterDemo(this)
|
|
273
324
|
: usePortalRegistrationForm(this);
|
|
274
325
|
const content = {
|
|
275
326
|
formData: index.h("slot", { name: "formData" }),
|
|
276
|
-
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.
|
|
327
|
+
secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("sl-button", { type: "text", disabled: states.loading, onClick: () => index_module.vn.push(states.loginPath) }, this.loginLabel))),
|
|
277
328
|
terms: index.h("slot", { name: "terms" }),
|
|
278
329
|
emailLabel: this.emailLabel,
|
|
279
330
|
passwordLabel: this.passwordLabel,
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
|
-
const stencilHooks_module = require('./stencil-hooks.module-
|
|
7
|
-
require('./use-callback-
|
|
8
|
-
const index_module = require('./index.module-
|
|
6
|
+
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
+
require('./use-callback-5d15897d.js');
|
|
8
|
+
const index_module = require('./index.module-7972acac.js');
|
|
9
9
|
require('./extends-08099afd.js');
|
|
10
10
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
11
11
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -19,8 +19,8 @@ function usePortalResetPassword(props) {
|
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
20
20
|
const [reset, setReset] = stencilHooks_module.useState(false);
|
|
21
21
|
const [error, setError] = stencilHooks_module.useState("");
|
|
22
|
-
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module.
|
|
23
|
-
const [resetPassword, resetPasswordState] = index_module.
|
|
22
|
+
const [verifyPasswordResetCode, verifyPasswordResetCodeState] = index_module._e();
|
|
23
|
+
const [resetPassword, resetPasswordState] = index_module.Ne();
|
|
24
24
|
const urlParams = new URLSearchParams(window.location.search);
|
|
25
25
|
const oobCode = urlParams.get("oobCode");
|
|
26
26
|
urlParams.delete("oobCode");
|
|
@@ -41,10 +41,10 @@ function usePortalResetPassword(props) {
|
|
|
41
41
|
const gotoNextPage = () => {
|
|
42
42
|
urlParams.delete("nextPage");
|
|
43
43
|
const url = utils.sanitizeUrlPath(nextPageOverride || props.nextPage);
|
|
44
|
-
index_module.
|
|
44
|
+
index_module.vn.push(url.href);
|
|
45
45
|
};
|
|
46
46
|
const failed = () => {
|
|
47
|
-
index_module.
|
|
47
|
+
index_module.vn.push({
|
|
48
48
|
pathname: props.failedPage,
|
|
49
49
|
search: urlParams.toString() && "?" + urlParams.toString(),
|
|
50
50
|
});
|
|
@@ -100,22 +100,21 @@ const PortalResetPassword = class {
|
|
|
100
100
|
index.registerInstance(this, hostRef);
|
|
101
101
|
this.ignored = true;
|
|
102
102
|
/**
|
|
103
|
-
* The page that
|
|
103
|
+
* The page that participants are redirected to when the password reset succeeds.
|
|
104
104
|
*
|
|
105
|
-
* @uiName
|
|
105
|
+
* @uiName Reset Successful Redirect Path
|
|
106
106
|
*/
|
|
107
107
|
this.nextPage = "/";
|
|
108
108
|
/**
|
|
109
|
-
* The page that
|
|
109
|
+
* The page that participants are redirected to if the reset fails due to outdated password reset attempt.
|
|
110
110
|
*
|
|
111
|
-
* @uiName Failed
|
|
111
|
+
* @uiName Reset Failed Redirect Path
|
|
112
112
|
*/
|
|
113
113
|
this.failedPage = "/";
|
|
114
114
|
/**
|
|
115
|
-
* Show or hide confirm password field
|
|
115
|
+
* Show or hide confirm password field.
|
|
116
116
|
*
|
|
117
117
|
* @uiName Show Confirm Password
|
|
118
|
-
* @default
|
|
119
118
|
*/
|
|
120
119
|
this.confirmPassword = false;
|
|
121
120
|
/**
|
|
@@ -123,9 +122,10 @@ const PortalResetPassword = class {
|
|
|
123
122
|
*/
|
|
124
123
|
this.resetPasswordHeader = "Reset your password";
|
|
125
124
|
/**
|
|
126
|
-
* Displayed after a successful password reset
|
|
125
|
+
* Displayed after a successful password reset.
|
|
127
126
|
*
|
|
128
127
|
* @uiName Successful Password Reset Text
|
|
128
|
+
* @uiWidget textArea
|
|
129
129
|
*/
|
|
130
130
|
this.passwordResetHeader = "Password reset";
|
|
131
131
|
/**
|
|
@@ -133,13 +133,13 @@ const PortalResetPassword = class {
|
|
|
133
133
|
*/
|
|
134
134
|
this.resetPasswordButtonText = "Reset Password";
|
|
135
135
|
/**
|
|
136
|
-
* Button text displayed after a successful password reset
|
|
136
|
+
* Button text displayed after a successful password reset.
|
|
137
137
|
*
|
|
138
138
|
* @uiName Continue Button Text
|
|
139
139
|
*/
|
|
140
140
|
this.continueButtonText = "Continue";
|
|
141
141
|
/**
|
|
142
|
-
* @uiName
|
|
142
|
+
* @uiName Password Comfirmation Label
|
|
143
143
|
*/
|
|
144
144
|
this.confirmPasswordFieldLabel = "Confirm Password";
|
|
145
145
|
/**
|
|
@@ -150,7 +150,7 @@ const PortalResetPassword = class {
|
|
|
150
150
|
}
|
|
151
151
|
disconnectedCallback() { }
|
|
152
152
|
render() {
|
|
153
|
-
const { states, callbacks } = index_module.
|
|
153
|
+
const { states, callbacks } = index_module.isDemo()
|
|
154
154
|
? usePortalResetPasswordDemo(this)
|
|
155
155
|
: usePortalResetPassword(this);
|
|
156
156
|
return index.h(sqmPortalResetPasswordView.PortalResetPasswordView, { states: states, callbacks: callbacks });
|