@saasquatch/mint-components 1.6.2-23 → 1.6.2-26
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/{ShadowViewAddon-fa9574a8.js → ShadowViewAddon-404b3238.js} +3 -3
- package/dist/cjs/{global-b645d18a.js → global-f7e17f60.js} +1 -1
- package/dist/cjs/{index.module-93c78ac7.js → index.module-a31dd9f8.js} +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/{re-render-afeabe91.js → re-render-0d25254a.js} +1 -1
- package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_35.cjs.entry.js +19 -16
- package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-navigation-sidebar-item-view-2eda59bf.js → sqm-navigation-sidebar-item-view-a6b848bd.js} +1 -1
- package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
- package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
- package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-email-verification-view-b280d0b0.js → sqm-portal-email-verification-view-d16d6d7a.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-portal-footer-view-6b0660cf.js → sqm-portal-footer-view-ca457e24.js} +1 -1
- package/dist/cjs/sqm-portal-footer.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
- package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-profile-view-e615e2b2.js → sqm-portal-profile-view-2e4dbcb1.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +3 -3
- package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
- package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +38 -11
- package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +8 -8
- package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
- package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +11 -11
- package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
- package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
- package/dist/cjs/{useChildElements-c0cc8f5d.js → useChildElements-14db6fa1.js} +1 -1
- package/dist/cjs/{useReferralTable-db1b33db.js → useReferralTable-07e8e22d.js} +3 -3
- package/dist/cjs/{useRegistrationFormState-bee054d6.js → useRegistrationFormState-847432c6.js} +1 -1
- package/dist/collection/components/sqm-brand/sqm-brand.js +11 -8
- package/dist/collection/components/sqm-portal-register/usePortalRegister.js +1 -1
- package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js +36 -9
- package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +7 -7
- package/dist/esm/{ShadowViewAddon-9da264db.js → ShadowViewAddon-1418ee3c.js} +3 -3
- package/dist/esm/{global-c2d5e2fa.js → global-b69a5b58.js} +1 -1
- package/dist/esm/{index.module-25496635.js → index.module-182f968a.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/{re-render-8ece93cd.js → re-render-59c0b883.js} +1 -1
- package/dist/esm/sqm-asset-card.entry.js +1 -1
- package/dist/esm/sqm-big-stat_35.entry.js +19 -16
- package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/{sqm-navigation-sidebar-item-view-24d5f092.js → sqm-navigation-sidebar-item-view-27cca5b2.js} +1 -1
- package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
- package/dist/esm/sqm-password-field.entry.js +2 -2
- package/dist/esm/sqm-popup-container.entry.js +1 -1
- package/dist/esm/{sqm-portal-email-verification-view-4fa01d0a.js → sqm-portal-email-verification-view-272536b7.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
- package/dist/esm/{sqm-portal-footer-view-b68f250d.js → sqm-portal-footer-view-a7e5648c.js} +1 -1
- package/dist/esm/sqm-portal-footer.entry.js +3 -3
- package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
- package/dist/esm/sqm-portal-logout.entry.js +1 -1
- package/dist/esm/{sqm-portal-profile-view-ec58906b.js → sqm-portal-profile-view-19f4749f.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +3 -3
- package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
- package/dist/esm/sqm-portal-registration-form.entry.js +38 -11
- package/dist/esm/sqm-portal-reset-password.entry.js +8 -8
- package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +5 -5
- package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
- package/dist/esm/sqm-stencilbook.entry.js +11 -11
- package/dist/esm/sqm-tab.entry.js +2 -2
- package/dist/esm/sqm-tabs.entry.js +3 -3
- package/dist/esm/{useChildElements-d86f03c6.js → useChildElements-8653e694.js} +1 -1
- package/dist/esm/{useReferralTable-7aeb954d.js → useReferralTable-a9c7979d.js} +3 -3
- package/dist/esm/{useRegistrationFormState-3cdf2939.js → useRegistrationFormState-8a0cc819.js} +1 -1
- package/dist/esm-es5/{ShadowViewAddon-9da264db.js → ShadowViewAddon-1418ee3c.js} +1 -1
- package/dist/esm-es5/{global-c2d5e2fa.js → global-b69a5b58.js} +1 -1
- package/dist/esm-es5/{index.module-25496635.js → index.module-182f968a.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/{re-render-8ece93cd.js → re-render-59c0b883.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-graphql-client-provider.entry.js +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/{sqm-navigation-sidebar-item-view-24d5f092.js → sqm-navigation-sidebar-item-view-27cca5b2.js} +1 -1
- package/dist/esm-es5/sqm-navigation-sidebar-item.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-4fa01d0a.js → sqm-portal-email-verification-view-272536b7.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-footer-view-b68f250d.js → sqm-portal-footer-view-a7e5648c.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-ec58906b.js → sqm-portal-profile-view-19f4749f.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-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/useChildElements-8653e694.js +1 -0
- package/dist/esm-es5/{useReferralTable-7aeb954d.js → useReferralTable-a9c7979d.js} +1 -1
- package/dist/esm-es5/{useRegistrationFormState-3cdf2939.js → useRegistrationFormState-8a0cc819.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-4cc59fed.system.entry.js → p-012573a1.system.entry.js} +1 -1
- package/dist/mint-components/{p-9a87d5ae.system.entry.js → p-0261d2ed.system.entry.js} +1 -1
- package/dist/mint-components/p-02f3ad17.system.entry.js +1 -0
- package/dist/mint-components/{p-9fa6c616.entry.js → p-09002dfe.entry.js} +1 -1
- package/dist/mint-components/{p-a1434ef0.js → p-09141d07.js} +1 -1
- package/dist/mint-components/{p-b33e0421.system.js → p-099ba4ca.system.js} +1 -1
- package/dist/mint-components/{p-175ef60c.js → p-0b1a7bf1.js} +1 -1
- package/dist/mint-components/p-0dd3ff0f.entry.js +1 -0
- package/dist/mint-components/{p-95b461dd.system.entry.js → p-1065549d.system.entry.js} +1 -1
- package/dist/mint-components/{p-41962e08.js → p-1337ede2.js} +1 -1
- package/dist/mint-components/{p-0425104d.js → p-14595a4e.js} +2 -2
- package/dist/mint-components/{p-23ce9541.system.entry.js → p-173b6552.system.entry.js} +1 -1
- package/dist/mint-components/{p-20268b64.system.js → p-1ee7b07a.system.js} +1 -1
- package/dist/mint-components/p-2f648a87.js +1 -0
- package/dist/mint-components/p-34e477b8.system.entry.js +1 -0
- package/dist/mint-components/{p-89c64db7.entry.js → p-3dc67b6f.entry.js} +1 -1
- package/dist/mint-components/p-3f4534e3.system.js +1 -0
- package/dist/mint-components/p-4c272cf3.entry.js +1 -0
- package/dist/mint-components/{p-94578d79.system.js → p-4d5c8feb.system.js} +1 -1
- package/dist/mint-components/{p-e58df0ff.system.entry.js → p-4f7f47e5.system.entry.js} +1 -1
- package/dist/mint-components/{p-674c9b4b.system.entry.js → p-50a3ecaa.system.entry.js} +1 -1
- package/dist/mint-components/{p-d20361b8.system.js → p-5801fbcf.system.js} +1 -1
- package/dist/mint-components/{p-783b8440.entry.js → p-5991ba79.entry.js} +1 -1
- package/dist/mint-components/{p-5effdc5e.system.entry.js → p-59f4577b.system.entry.js} +1 -1
- package/dist/mint-components/{p-19deed13.js → p-5b26dc20.js} +1 -1
- package/dist/mint-components/{p-7e6c6d95.system.js → p-5b3853bb.system.js} +1 -1
- package/dist/mint-components/{p-54db9721.js → p-6817e0ca.js} +1 -1
- package/dist/mint-components/p-698514ae.entry.js +13 -0
- package/dist/mint-components/{p-ab5a8bf0.system.entry.js → p-6a169374.system.entry.js} +1 -1
- package/dist/mint-components/p-6d7ae3ff.entry.js +1 -0
- package/dist/mint-components/{p-e4d76dfb.system.entry.js → p-7179623e.system.entry.js} +1 -1
- package/dist/mint-components/{p-e0de4ac3.entry.js → p-72862fdc.entry.js} +1 -1
- package/dist/mint-components/{p-369d00f3.system.entry.js → p-775b832b.system.entry.js} +1 -1
- package/dist/mint-components/{p-9db0c9fc.system.entry.js → p-7a4788f9.system.entry.js} +1 -1
- package/dist/mint-components/{p-1cb7125b.entry.js → p-825d6659.entry.js} +1 -1
- package/dist/mint-components/{p-7ab63827.entry.js → p-86a6d9f8.entry.js} +1 -1
- package/dist/mint-components/{p-e5380001.system.entry.js → p-8811a593.system.entry.js} +1 -1
- package/dist/mint-components/p-8b04fbb7.system.entry.js +1 -0
- package/dist/mint-components/{p-01016d01.entry.js → p-8fd523b4.entry.js} +1 -1
- package/dist/mint-components/{p-0f3c6e11.entry.js → p-94251e6f.entry.js} +1 -1
- package/dist/mint-components/{p-976604c2.entry.js → p-9715bce7.entry.js} +1 -1
- package/dist/mint-components/{p-5b51f97d.system.entry.js → p-98a2c8f0.system.entry.js} +1 -1
- package/dist/mint-components/{p-4d4e5ac4.system.entry.js → p-9e0cbd37.system.entry.js} +1 -1
- package/dist/mint-components/{p-7850a5e5.system.js → p-9e307610.system.js} +1 -1
- package/dist/mint-components/{p-49c7d8f5.system.entry.js → p-9ffa8fee.system.entry.js} +1 -1
- package/dist/mint-components/{p-f2150df4.entry.js → p-a2a85a79.entry.js} +5 -5
- package/dist/mint-components/{p-3aa067f0.entry.js → p-a4997b7a.entry.js} +2 -2
- package/dist/mint-components/{p-2c805081.system.js → p-a5907175.system.js} +1 -1
- package/dist/mint-components/{p-fdcd2b8f.system.js → p-a6b89597.system.js} +1 -1
- package/dist/mint-components/{p-ca319b4f.js → p-b18f3139.js} +1 -1
- package/dist/mint-components/{p-dcf30408.entry.js → p-b2163b7c.entry.js} +1 -1
- package/dist/mint-components/{p-4a5d61fe.entry.js → p-b64e5343.entry.js} +2 -2
- package/dist/mint-components/{p-914511f3.js → p-bc34b458.js} +1 -1
- package/dist/mint-components/{p-97c5e680.system.entry.js → p-c052898b.system.entry.js} +1 -1
- package/dist/mint-components/{p-28b0cd34.entry.js → p-c1a390de.entry.js} +1 -1
- package/dist/mint-components/{p-61b954e7.entry.js → p-c5a01002.entry.js} +1 -1
- package/dist/mint-components/{p-68824c97.system.js → p-cc0d252d.system.js} +1 -1
- package/dist/mint-components/{p-0c98df9a.system.entry.js → p-cea6cb5a.system.entry.js} +1 -1
- package/dist/mint-components/{p-16e4ee0a.entry.js → p-d0174742.entry.js} +2 -2
- package/dist/mint-components/{p-4352909d.js → p-d1326cc1.js} +1 -1
- package/dist/mint-components/{p-bd3c2e67.system.js → p-d87215d0.system.js} +1 -1
- package/dist/mint-components/{p-11a4a003.system.js → p-deca84d6.system.js} +1 -1
- package/dist/mint-components/p-f972328d.entry.js +1 -0
- package/dist/mint-components/{p-40a8ea40.entry.js → p-f9807400.entry.js} +1 -1
- package/dist/mint-components/{p-7aa067b0.system.entry.js → p-fb5ed550.system.entry.js} +1 -1
- package/dist/mint-components/p-fe150793.js +1 -0
- package/dist/mint-components/{p-29c42c90.system.entry.js → p-ff5a92c7.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +2 -2
- package/dist/esm-es5/useChildElements-d86f03c6.js +0 -1
- package/dist/mint-components/p-1287215d.js +0 -1
- package/dist/mint-components/p-33fe169e.js +0 -1
- package/dist/mint-components/p-4560faa8.entry.js +0 -1
- package/dist/mint-components/p-4a2238b1.system.entry.js +0 -1
- package/dist/mint-components/p-6a529e0e.entry.js +0 -1
- package/dist/mint-components/p-76f151b2.entry.js +0 -1
- package/dist/mint-components/p-a400c8c6.entry.js +0 -13
- package/dist/mint-components/p-aefc2633.system.entry.js +0 -1
- package/dist/mint-components/p-bf17dc65.system.js +0 -1
- package/dist/mint-components/p-e67fc6a5.entry.js +0 -1
- package/dist/mint-components/p-f828edc5.system.entry.js +0 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
@@ -155,16 +155,16 @@ function usePortalResetPasswordDemo(props) {
|
|
|
155
155
|
error: "",
|
|
156
156
|
loading: false,
|
|
157
157
|
reset: false,
|
|
158
|
-
confirmPassword:
|
|
158
|
+
confirmPassword: props.confirmPassword,
|
|
159
159
|
oobCodeValidating: false,
|
|
160
160
|
oobCodeValid: true,
|
|
161
161
|
content: {
|
|
162
|
-
passwordResetHeader:
|
|
163
|
-
resetPasswordHeader:
|
|
164
|
-
continueButtonText:
|
|
165
|
-
resetPasswordButtonText:
|
|
166
|
-
confirmPasswordFieldLabel:
|
|
167
|
-
passwordFieldLabel:
|
|
162
|
+
passwordResetHeader: props.passwordResetHeader,
|
|
163
|
+
resetPasswordHeader: props.resetPasswordHeader,
|
|
164
|
+
continueButtonText: props.continueButtonText,
|
|
165
|
+
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
166
|
+
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
167
|
+
passwordFieldLabel: props.passwordFieldLabel,
|
|
168
168
|
},
|
|
169
169
|
},
|
|
170
170
|
callbacks: {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
8
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./mixins-fe9d4112.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-f7e17f60.js');
|
|
8
8
|
require('./use-callback-5d15897d.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-9271483b.js');
|
|
14
|
-
const reRender = require('./re-render-
|
|
15
|
-
const useChildElements = require('./useChildElements-
|
|
14
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
15
|
+
const useChildElements = require('./useChildElements-14db6fa1.js');
|
|
16
16
|
const luxon = require('./luxon-479fc825.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-07e8e22d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
const sqmTextSpanView = require('./sqm-text-span-view-b318af73.js');
|
|
20
20
|
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
require('./index.module-
|
|
9
|
-
const reRender = require('./re-render-
|
|
8
|
+
require('./index.module-a31dd9f8.js');
|
|
9
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
10
10
|
|
|
11
11
|
const RewardTableCustomerNoteColumn = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-f7e17f60.js');
|
|
8
8
|
require('./use-callback-5d15897d.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-9271483b.js');
|
|
14
|
-
const reRender = require('./re-render-
|
|
15
|
-
const useChildElements = require('./useChildElements-
|
|
14
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
15
|
+
const useChildElements = require('./useChildElements-14db6fa1.js');
|
|
16
16
|
const luxon = require('./luxon-479fc825.js');
|
|
17
|
-
const useReferralTable = require('./useReferralTable-
|
|
17
|
+
const useReferralTable = require('./useReferralTable-07e8e22d.js');
|
|
18
18
|
const utils = require('./utils-6847bc06.js');
|
|
19
19
|
|
|
20
20
|
const mockRewardData = (count = 4) => {
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-f7e17f60.js');
|
|
8
8
|
require('./use-callback-5d15897d.js');
|
|
9
|
-
const index_module = require('./index.module-
|
|
9
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
10
10
|
require('./cjs-1066ec21.js');
|
|
11
11
|
require('./mixins-fe9d4112.js');
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
const GenericTableView = require('./GenericTableView-9271483b.js');
|
|
14
|
-
require('./useChildElements-
|
|
14
|
+
require('./useChildElements-14db6fa1.js');
|
|
15
15
|
const luxon = require('./luxon-479fc825.js');
|
|
16
16
|
require('./utils-6847bc06.js');
|
|
17
17
|
require('./sqm-text-span-view-b318af73.js');
|
|
@@ -19,15 +19,15 @@ const sqmAssetCardView = require('./sqm-asset-card-view-59c39ed2.js');
|
|
|
19
19
|
const sqmHeroView = require('./sqm-hero-view-ba78dcaf.js');
|
|
20
20
|
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
|
|
21
21
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-2ffde416.js');
|
|
22
|
-
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-
|
|
23
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
24
|
-
const sqmPortalFooterView = require('./sqm-portal-footer-view-
|
|
22
|
+
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-a6b848bd.js');
|
|
23
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-d16d6d7a.js');
|
|
24
|
+
const sqmPortalFooterView = require('./sqm-portal-footer-view-ca457e24.js');
|
|
25
25
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-ccaf2bd4.js');
|
|
26
26
|
const sqmPortalContainerView = require('./sqm-portal-container-view-2ddcaa12.js');
|
|
27
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
27
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-2e4dbcb1.js');
|
|
28
28
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-4d23de69.js');
|
|
29
29
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-96adafc0.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-404b3238.js');
|
|
31
31
|
const sqmPortalSectionView = require('./sqm-portal-section-view-1e5bbcb1.js');
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -2564,7 +2564,7 @@ const FullStackFrame = () => {
|
|
|
2564
2564
|
"Current path:",
|
|
2565
2565
|
" ",
|
|
2566
2566
|
index.h("code", null,
|
|
2567
|
-
index.h("strong", null, (_a = index_module.
|
|
2567
|
+
index.h("strong", null, (_a = index_module.ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2568
2568
|
index.h("button", { onClick: index_module.fn.back }, "Go Back")));
|
|
2569
2569
|
};
|
|
2570
2570
|
const FullStackFrameLoggedOut = () => {
|
|
@@ -2589,7 +2589,7 @@ const FullStackFrameLoggedOut = () => {
|
|
|
2589
2589
|
"Current path:",
|
|
2590
2590
|
" ",
|
|
2591
2591
|
index.h("code", null,
|
|
2592
|
-
index.h("strong", null, (_a = index_module.
|
|
2592
|
+
index.h("strong", null, (_a = index_module.ln()) === null || _a === void 0 ? void 0 : _a.pathname))),
|
|
2593
2593
|
index.h("button", { onClick: index_module.fn.back }, "Go Back")));
|
|
2594
2594
|
};
|
|
2595
2595
|
|
|
@@ -9594,7 +9594,7 @@ const ReferralIframeReadme = "# sqm-referral-iframe\n\n\n\n<!-- Auto Generated B
|
|
|
9594
9594
|
|
|
9595
9595
|
const ForgotPasswordReadme = "# sqm-portal-forgot-password\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| -------------- | --------------- | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; loginPath: string; }; content?: { secondaryButton: any; messageSlot: any; emailLabel?: string; submitLabel?: string; }; }` | `undefined` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `headerText` | `header-text` | | `string` | `\"Enter your email below to receive a password reset link.\"` |\n| `loginPath` | `login-path` | | `string` | `\"/login\"` |\n| `loginText` | `login-text` | Sign In Link Text | `string` | `\"Sign In\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page after they verify their email. | `string` | `\"/resetPassword\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Request Password Reset\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-forgot-password --> sqm-form-message\n style sqm-portal-forgot-password fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9596
9596
|
|
|
9597
|
-
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ----------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | Show or hide the confirm password input. | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `hideInputs` | `hide-inputs` | Hide default input fields to use custom fields. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Login button redirection path. | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Page participants are navigated to after registration. | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9597
|
+
const RegisterReadme = "# sqm-portal-register\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |\n| `confirmPassword` | `confirm-password` | | `boolean` | `false` |\n| `confirmPasswordLabel` | `confirm-password-label` | | `string` | `\"Confirm Password\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; confirmPassword: boolean; hideInputs: boolean; registrationFormState: RegistrationFormState; disablePasswordValidation?: boolean; loginPath: string; }; refs?: { formRef: any; }; content?: { formData?: VNode; terms?: VNode; passwordField?: VNode; secondaryButton?: VNode; emailLabel?: string; passwordLabel?: string; submitLabel?: string; pageLabel?: string; confirmPasswordLabel: string; }; }` | `undefined` |\n| `disablePasswordValidation` | `disable-password-validation` | | `boolean` | `false` |\n| `emailLabel` | `email-label` | | `string` | `\"Email\"` |\n| `hideInputs` | `hide-inputs` | Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes \"email\" and \"password\" for this form to succeed. | `boolean` | `false` |\n| `loginLabel` | `login-label` | | `string` | `\"Sign in\"` |\n| `loginPath` | `login-path` | Redirect participants to this page after clicking the login button. | `string` | `\"/login\"` |\n| `nextPage` | `next-page` | Redirect participants to this page from their verification email | `string` | `\"/\"` |\n| `pageLabel` | `page-label` | | `string` | `\"Register\"` |\n| `passwordLabel` | `password-label` | | `string` | `\"Password\"` |\n| `redirectPath` | `redirect-path` | The page that participants are redirected to from the verification email. | `string` | `\"/verifyEmail\"` |\n| `submitLabel` | `submit-label` | | `string` | `\"Register\"` |\n\n\n## Dependencies\n\n### Used by\n\n - [sqm-stencilbook](../sqm-stencilbook)\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n- [sqm-password-field](../sqm-password-field)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-register --> sqm-form-message\n sqm-portal-register --> sqm-password-field\n sqm-stencilbook --> sqm-portal-register\n style sqm-portal-register fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9598
9598
|
|
|
9599
9599
|
const EditProfileReadme = "# sqm-portal-profile\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ------------------------ | --------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |\n| `countrytext` | `countrytext` | | `string` | `\"Country\"` |\n| `demoData` | -- | | `{ states?: { success: boolean; loading: boolean; submitDisabled: boolean; showCountry: boolean; formState: { country: string; firstName: string; lastName: string; errors: any; error: string; }; user: { id: string; accountId: string; firstName: string; lastName: string; email: string; countryCode: string; }; text: { firstnametext: string; lastnametext: string; emailtext: string; countrytext: string; editProfileHeader: string; editProfileSubHeader: string; submitChangeButtonText: string; }; }; }` | `undefined` |\n| `editProfileHeader` | `edit-profile-header` | | `string` | `\"Edit your profile\"` |\n| `editProfileSubHeader` | `edit-profile-sub-header` | | `string` | `\"Personal Information\"` |\n| `emailtext` | `emailtext` | | `string` | `\"Email\"` |\n| `firstnametext` | `firstnametext` | | `string` | `\"First Name\"` |\n| `hideCountry` | `hide-country` | | `boolean` | `false` |\n| `lastnametext` | `lastnametext` | | `string` | `\"Last Name\"` |\n| `submitChangeButtonText` | `submit-change-button-text` | | `string` | `\"Submit Changes\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-profile --> sqm-form-message\n style sqm-portal-profile fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
|
|
9600
9600
|
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
require('./index.module-
|
|
9
|
-
const reRender = require('./re-render-
|
|
8
|
+
require('./index.module-a31dd9f8.js');
|
|
9
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
10
10
|
|
|
11
11
|
const TabView = ({}, children) => {
|
|
12
12
|
return index.h(index.Host, null, children);
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-b0129cd6.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
7
7
|
require('./use-callback-5d15897d.js');
|
|
8
|
-
const index_module = require('./index.module-
|
|
9
|
-
const reRender = require('./re-render-
|
|
10
|
-
const useChildElements = require('./useChildElements-
|
|
8
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
9
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
10
|
+
const useChildElements = require('./useChildElements-14db6fa1.js');
|
|
11
11
|
const utils = require('./utils-6847bc06.js');
|
|
12
12
|
|
|
13
13
|
const TabsView = ({ content, placement, }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
5
5
|
|
|
6
6
|
function useChildElements() {
|
|
7
7
|
const host = index_module.R();
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
const index = require('./index-b0129cd6.js');
|
|
4
4
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
5
|
-
const index_module = require('./index.module-
|
|
6
|
-
const reRender = require('./re-render-
|
|
7
|
-
const useChildElements = require('./useChildElements-
|
|
5
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
6
|
+
const reRender = require('./re-render-0d25254a.js');
|
|
7
|
+
const useChildElements = require('./useChildElements-14db6fa1.js');
|
|
8
8
|
|
|
9
9
|
const debug = stencilHooks_module.browser("sq:useReferralTable");
|
|
10
10
|
const CSS_NAMESPACE = "sqm-referral-table";
|
package/dist/cjs/{useRegistrationFormState-bee054d6.js → useRegistrationFormState-847432c6.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const stencilHooks_module = require('./stencil-hooks.module-6fe43579.js');
|
|
4
|
-
const index_module = require('./index.module-
|
|
4
|
+
const index_module = require('./index.module-a31dd9f8.js');
|
|
5
5
|
|
|
6
6
|
const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
|
|
7
7
|
function useRegistrationFormState(formState) {
|
|
@@ -16,14 +16,16 @@ export class BrandComponent {
|
|
|
16
16
|
disconnectedCallback() { }
|
|
17
17
|
render() {
|
|
18
18
|
var _a, _b;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
function getCss(brandColor) {
|
|
20
|
+
if (this.brandColor) {
|
|
21
|
+
try {
|
|
22
|
+
return autoColorScaleCss(brandColor);
|
|
23
|
+
}
|
|
24
|
+
catch { }
|
|
25
|
+
}
|
|
26
|
+
return undefined;
|
|
26
27
|
}
|
|
28
|
+
const css = (_a = getCss(this.brandColor)) !== null && _a !== void 0 ? _a : "";
|
|
27
29
|
const sanitizedFont = ((_b = this.brandFont) !== null && _b !== void 0 ? _b : "Nunito Sans").trim() || undefined;
|
|
28
30
|
useEffect(() => {
|
|
29
31
|
if (!sanitizedFont) {
|
|
@@ -54,7 +56,8 @@ export class BrandComponent {
|
|
|
54
56
|
--sl-tooltip-font-family: "${font}", arial;
|
|
55
57
|
font-family: "${font}", arial;
|
|
56
58
|
|
|
57
|
-
${
|
|
59
|
+
${css}
|
|
60
|
+
|
|
58
61
|
--sl-focus-ring-color-primary: var(--sl-color-primary-100);
|
|
59
62
|
--sl-input-border-color-focus: var(--sl-color-primary-500);
|
|
60
63
|
--sl-color-primary-hue: var(--sl-color-primary-500);
|
|
@@ -118,7 +118,7 @@ export function usePortalRegister(props) {
|
|
|
118
118
|
confirmPassword: props.confirmPassword,
|
|
119
119
|
hideInputs: props.hideInputs,
|
|
120
120
|
loginPath: props.loginPath,
|
|
121
|
-
disablePasswordValidation:
|
|
121
|
+
disablePasswordValidation: props.disablePasswordValidation,
|
|
122
122
|
},
|
|
123
123
|
callbacks: {
|
|
124
124
|
submit,
|
package/dist/collection/components/sqm-portal-registration-form/usePortalRegistrationForm.js
CHANGED
|
@@ -18,7 +18,7 @@ const RegistrationFormQuery = gql `
|
|
|
18
18
|
}
|
|
19
19
|
`;
|
|
20
20
|
export function usePortalRegistrationForm(props) {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
21
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
22
22
|
const formRef = useRef(null);
|
|
23
23
|
const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
|
|
24
24
|
const [request, { loading, errors, data, formError }] = useRegisterViaRegistrationFormMutation();
|
|
@@ -48,7 +48,7 @@ export function usePortalRegistrationForm(props) {
|
|
|
48
48
|
};
|
|
49
49
|
}, [formRef.current]);
|
|
50
50
|
const submit = async (event) => {
|
|
51
|
-
var _a;
|
|
51
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
52
52
|
let formControls = event.target.getFormControls();
|
|
53
53
|
let formData = {};
|
|
54
54
|
let validationErrors = {};
|
|
@@ -119,20 +119,47 @@ export function usePortalRegistrationForm(props) {
|
|
|
119
119
|
error: "",
|
|
120
120
|
validationErrors: {},
|
|
121
121
|
});
|
|
122
|
-
const managedIdentityResponse = (_a = result.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => result.formHandler.namespace === "identity");
|
|
122
|
+
const managedIdentityResponse = (_a = result.submitForm) === null || _a === void 0 ? void 0 : _a.results.find((result) => { var _a; return ((_a = result === null || result === void 0 ? void 0 : result.formHandler) === null || _a === void 0 ? void 0 : _a.namespace) === "identity"; });
|
|
123
123
|
if (managedIdentityResponse &&
|
|
124
124
|
managedIdentityResponse.result.results.length &&
|
|
125
125
|
managedIdentityResponse.result.results[0].success &&
|
|
126
126
|
managedIdentityResponse.result.results[0].data.token) {
|
|
127
127
|
navigation.push(props.nextPage);
|
|
128
128
|
}
|
|
129
|
+
else if (
|
|
130
|
+
// check for blocked email error response
|
|
131
|
+
((_b = result.submitForm) === null || _b === void 0 ? void 0 : _b.results.length) === 1 &&
|
|
132
|
+
((_f = (_e = (_d = (_c = result.submitForm) === null || _c === void 0 ? void 0 : _c.results[0]) === null || _d === void 0 ? void 0 : _d.result) === null || _e === void 0 ? void 0 : _e.results) === null || _f === void 0 ? void 0 : _f.length) === 1 &&
|
|
133
|
+
((_l = (_k = (_j = (_h = (_g = result.submitForm) === null || _g === void 0 ? void 0 : _g.results[0]) === null || _h === void 0 ? void 0 : _h.result) === null || _j === void 0 ? void 0 : _j.results) === null || _k === void 0 ? void 0 : _k[0]) === null || _l === void 0 ? void 0 : _l.success) ===
|
|
134
|
+
false && ((_s = (_r = (_q = (_p = (_o = (_m = result.submitForm) === null || _m === void 0 ? void 0 : _m.results[0]) === null || _o === void 0 ? void 0 : _o.result) === null || _p === void 0 ? void 0 : _p.results) === null || _q === void 0 ? void 0 : _q[0]) === null || _r === void 0 ? void 0 : _r.message) === null || _s === void 0 ? void 0 : _s.startsWith("Blocked email"))) {
|
|
135
|
+
setRegistrationFormState({
|
|
136
|
+
...registrationFormState,
|
|
137
|
+
loading: false,
|
|
138
|
+
error: "",
|
|
139
|
+
validationErrors: {
|
|
140
|
+
email: "Must be a valid email address",
|
|
141
|
+
},
|
|
142
|
+
});
|
|
143
|
+
}
|
|
129
144
|
}
|
|
130
145
|
catch (error) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
146
|
+
// check for invalid email
|
|
147
|
+
if ((_t = error === null || error === void 0 ? void 0 : error.message) === null || _t === void 0 ? void 0 : _t.includes("is not a valid email address")) {
|
|
148
|
+
setRegistrationFormState({
|
|
149
|
+
...registrationFormState,
|
|
150
|
+
loading: false,
|
|
151
|
+
error: "",
|
|
152
|
+
validationErrors: { email: "Must be a valid email address" },
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
setRegistrationFormState({
|
|
157
|
+
...registrationFormState,
|
|
158
|
+
loading: false,
|
|
159
|
+
error: "Network request failed.",
|
|
160
|
+
validationErrors: {},
|
|
161
|
+
});
|
|
162
|
+
}
|
|
136
163
|
}
|
|
137
164
|
};
|
|
138
165
|
const inputFunction = useCallback((e) => {
|
|
@@ -157,7 +184,7 @@ export function usePortalRegistrationForm(props) {
|
|
|
157
184
|
}
|
|
158
185
|
else {
|
|
159
186
|
errorMessage =
|
|
160
|
-
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) || (
|
|
187
|
+
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) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
|
|
161
188
|
}
|
|
162
189
|
return {
|
|
163
190
|
states: {
|
|
@@ -308,16 +308,16 @@ function usePortalResetPasswordDemo(props) {
|
|
|
308
308
|
error: "",
|
|
309
309
|
loading: false,
|
|
310
310
|
reset: false,
|
|
311
|
-
confirmPassword:
|
|
311
|
+
confirmPassword: props.confirmPassword,
|
|
312
312
|
oobCodeValidating: false,
|
|
313
313
|
oobCodeValid: true,
|
|
314
314
|
content: {
|
|
315
|
-
passwordResetHeader:
|
|
316
|
-
resetPasswordHeader:
|
|
317
|
-
continueButtonText:
|
|
318
|
-
resetPasswordButtonText:
|
|
319
|
-
confirmPasswordFieldLabel:
|
|
320
|
-
passwordFieldLabel:
|
|
315
|
+
passwordResetHeader: props.passwordResetHeader,
|
|
316
|
+
resetPasswordHeader: props.resetPasswordHeader,
|
|
317
|
+
continueButtonText: props.continueButtonText,
|
|
318
|
+
resetPasswordButtonText: props.resetPasswordButtonText,
|
|
319
|
+
confirmPasswordFieldLabel: props.confirmPasswordFieldLabel,
|
|
320
|
+
passwordFieldLabel: props.passwordFieldLabel,
|
|
321
321
|
},
|
|
322
322
|
},
|
|
323
323
|
callbacks: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
|
|
2
2
|
import { i as useState, b as browser, k as useMemo } from './stencil-hooks.module-eefa3570.js';
|
|
3
|
-
import { i as intl } from './global-
|
|
4
|
-
import { d as dist, O, N, a as dn, P as Pe, U,
|
|
3
|
+
import { i as intl } from './global-b69a5b58.js';
|
|
4
|
+
import { d as dist, O, N, a as dn, P as Pe, U, g as getEnvironmentSDK, x } from './index.module-182f968a.js';
|
|
5
5
|
import { c as cjs } from './cjs-bdfb4486.js';
|
|
6
6
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
|
-
import { u as useChildElements } from './useChildElements-
|
|
8
|
+
import { u as useChildElements } from './useChildElements-8653e694.js';
|
|
9
9
|
import { l as luxon } from './luxon-5a398612.js';
|
|
10
10
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
11
11
|
import { T as TextSpanView } from './sqm-text-span-view-8b194920.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-eefa3570.js';
|
|
2
|
-
import { s as src, m as memoize, V } from './index.module-
|
|
2
|
+
import { s as src, m as memoize, V } from './index.module-182f968a.js';
|
|
3
3
|
|
|
4
4
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
5
5
|
__assign = Object.assign || function(t) {
|