@saasquatch/mint-components 2.0.0-52 → 2.0.0-54
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/sqm-banking-info-form_10.cjs.entry.js +13 -4
- package/dist/cjs/{sqm-base-registration-form-view-8847804c.js → sqm-base-registration-form-view-7b95ae7a.js} +1 -0
- package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +7 -6
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +7 -4
- package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +4 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +13 -4
- package/dist/esm/sqm-banking-info-form_10.entry.js +13 -4
- package/dist/esm/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-1a6bb4b4.js} +1 -0
- package/dist/esm/sqm-portal-google-registration-form.entry.js +7 -6
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/{sqm-base-registration-form-view-193f1721.js → sqm-base-registration-form-view-1a6bb4b4.js} +1 -1
- package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-ddf3c05e.js → p-1522a7d1.js} +1 -1
- package/dist/mint-components/{p-3ea29bac.system.entry.js → p-1ba34945.system.entry.js} +1 -1
- package/dist/mint-components/p-71a6e549.system.entry.js +1 -0
- package/dist/mint-components/{p-dcabdb78.entry.js → p-74edd0e1.entry.js} +6 -6
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/{p-e110688b.entry.js → p-9df7c27f.entry.js} +1 -1
- package/dist/mint-components/{p-f9dea53a.system.entry.js → p-a9ed3265.system.entry.js} +1 -1
- package/dist/mint-components/{p-be88596c.system.js → p-b21c5311.system.js} +1 -1
- package/dist/mint-components/p-c2ac14b7.entry.js +1 -0
- package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +2 -2
- package/dist/types/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.d.ts +5 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/mint-components/p-43d9c1c5.system.entry.js +0 -1
- package/dist/mint-components/p-ea063d99.entry.js +0 -1
|
@@ -3906,7 +3906,19 @@ const vanillaStyle$3 = `
|
|
|
3906
3906
|
display: block;
|
|
3907
3907
|
}
|
|
3908
3908
|
|
|
3909
|
+
sl-button[type="secondary"]::part(base) {
|
|
3910
|
+
font-family: var(--sqm-primary-font);
|
|
3911
|
+
background-color: var(--sqm-secondary-button-background);
|
|
3912
|
+
color: var(--sqm-secondary-button-color);
|
|
3913
|
+
border-color: var(--sqm-secondary-button-color-border);
|
|
3914
|
+
border-radius: var(--sqm-secondary-button-radius);
|
|
3915
|
+
}
|
|
3909
3916
|
|
|
3917
|
+
sl-button[type="secondary"]::part(base):hover {
|
|
3918
|
+
background-color: var(--sqm-secondary-button-background-hover);
|
|
3919
|
+
color: var(--sqm-secondary-button-color-hover);
|
|
3920
|
+
border-color: var(--sqm-secondary-button-border-color-hover);
|
|
3921
|
+
}
|
|
3910
3922
|
|
|
3911
3923
|
`;
|
|
3912
3924
|
const TaxAndCashDashboardView = (props) => {
|
|
@@ -4154,10 +4166,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4154
4166
|
index.h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4155
4167
|
slots.payoutDetailsCardSlot,
|
|
4156
4168
|
!states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4157
|
-
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
4158
|
-
// style={{ backgroundColor: "green" }}
|
|
4159
|
-
// class={sheet.classes.EditBankDetailsButton}
|
|
4160
|
-
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4169
|
+
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4161
4170
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4162
4171
|
index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4163
4172
|
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
@@ -49,6 +49,7 @@ function BaseRegistrationFormView(props) {
|
|
|
49
49
|
index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
|
|
50
50
|
states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
51
51
|
index.h("div", { part: "erroralert-text" }, props.states.error))),
|
|
52
|
+
content.formData,
|
|
52
53
|
index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
|
|
53
54
|
if (!value) {
|
|
54
55
|
return content.requiredFieldErrorMessage;
|
|
@@ -11,7 +11,7 @@ const JSS = require('./JSS-8503a151.js');
|
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
require('./sqm-text-span-view-7a61ae4c.js');
|
|
13
13
|
const useRegistrationFormState = require('./useRegistrationFormState-bbee6e7b.js');
|
|
14
|
-
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-
|
|
14
|
+
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-7b95ae7a.js');
|
|
15
15
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-5a96c2f5.js');
|
|
16
16
|
require('./AsYouType-6788393a.js');
|
|
17
17
|
const usePortalRegistrationForm = require('./usePortalRegistrationForm-75b647fe.js');
|
|
@@ -85,9 +85,12 @@ function usePortalGoogleRegistrationForm(props) {
|
|
|
85
85
|
let formData = {};
|
|
86
86
|
let errorMessage = null;
|
|
87
87
|
formControls.forEach((control) => {
|
|
88
|
-
if (!control.name
|
|
88
|
+
if (!control.name)
|
|
89
89
|
return;
|
|
90
90
|
jsonpointer.jsonpointer.set(formData, control.name, control.value);
|
|
91
|
+
// only validate email field
|
|
92
|
+
if (control.name !== "/email")
|
|
93
|
+
return;
|
|
91
94
|
if (control.required && !control.value)
|
|
92
95
|
errorMessage = props.requiredFieldErrorMessage;
|
|
93
96
|
if (typeof control.validationError === "function") {
|
|
@@ -325,9 +328,7 @@ const PortalGoogleRegistrationForm = class {
|
|
|
325
328
|
...states,
|
|
326
329
|
emailDisabled: true,
|
|
327
330
|
hidePasswords: showRegistrationForm.mode === "google",
|
|
328
|
-
}, callbacks: callbacks, content:
|
|
329
|
-
...content,
|
|
330
|
-
}, refs: refs }));
|
|
331
|
+
}, callbacks: callbacks, content: content, refs: refs }));
|
|
331
332
|
}
|
|
332
333
|
};
|
|
333
334
|
function useRegisterDemo(props) {
|
|
@@ -363,7 +364,7 @@ function useGoogleDemo(props) {
|
|
|
363
364
|
mode: "base",
|
|
364
365
|
});
|
|
365
366
|
return cjs.cjs({
|
|
366
|
-
emailValidationError:
|
|
367
|
+
emailValidationError: false,
|
|
367
368
|
handleEmailSubmit: () => setShowRegistrationForm({ mode: "manual" }),
|
|
368
369
|
showRegistrationForm,
|
|
369
370
|
handleGoogleInit: () => setShowRegistrationForm({ mode: "google" }),
|
|
@@ -26,7 +26,7 @@ const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-de90ef03
|
|
|
26
26
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-4e88f774.js');
|
|
27
27
|
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-5518eb0d.js');
|
|
28
28
|
const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
29
|
-
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-
|
|
29
|
+
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-7b95ae7a.js');
|
|
30
30
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-5a96c2f5.js');
|
|
31
31
|
const sqmPortalProfileView = require('./sqm-portal-profile-view-615e6975.js');
|
|
32
32
|
require('./utilities-9a0c5e91.js');
|
|
@@ -46,6 +46,7 @@ export function BaseRegistrationFormView(props) {
|
|
|
46
46
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
|
|
47
47
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
48
48
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
49
|
+
content.formData,
|
|
49
50
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
|
|
50
51
|
if (!value) {
|
|
51
52
|
return content.requiredFieldErrorMessage;
|
|
@@ -6,8 +6,8 @@ import { HeroImageView } from "./sqm-hero-image-view";
|
|
|
6
6
|
* @uiName Hero Image
|
|
7
7
|
* @validParents ["sqm-portal-container","sqm-brand", "div"]
|
|
8
8
|
* @exampleGroup Common Components
|
|
9
|
-
* @example Two Column Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="columns" image-pos="right"
|
|
10
|
-
* @example Overlay Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="overlay" image-pos="center"
|
|
9
|
+
* @example Two Column Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="columns" image-pos="right"></sqm-hero-image>
|
|
10
|
+
* @example Overlay Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="overlay" image-pos="center" button-link="https://www.example.com" button-new-tab button-text="Earn!" image-percentage="45" overlay-opacity=".5" padding-image="small" padding-text="xxxx-large"></sqm-hero-image>
|
|
11
11
|
*/
|
|
12
12
|
export class HeroImage {
|
|
13
13
|
constructor() {
|
|
@@ -7,6 +7,11 @@ import { PortalRegistrationFormView, } from "../sqm-portal-registration-form/sqm
|
|
|
7
7
|
import { usePortalRegistrationForm } from "../sqm-portal-registration-form/usePortalRegistrationForm";
|
|
8
8
|
import { usePortalGoogleRegistrationForm } from "./usePortalGoogleRegistrationForm";
|
|
9
9
|
import { createStyleSheet } from "../../styling/JSS";
|
|
10
|
+
/**
|
|
11
|
+
* @uiName Google Registration
|
|
12
|
+
* @canvasRenderer always-replace
|
|
13
|
+
* @slots [{"name":"formData","title":"Additional Fields"},{"name":"terms","title":"Terms And Conditions Fields"}]
|
|
14
|
+
*/
|
|
10
15
|
export class PortalGoogleRegistrationForm {
|
|
11
16
|
constructor() {
|
|
12
17
|
this.ignored = true;
|
|
@@ -194,9 +199,7 @@ export class PortalGoogleRegistrationForm {
|
|
|
194
199
|
...states,
|
|
195
200
|
emailDisabled: true,
|
|
196
201
|
hidePasswords: showRegistrationForm.mode === "google",
|
|
197
|
-
}, callbacks: callbacks, content:
|
|
198
|
-
...content,
|
|
199
|
-
}, refs: refs }));
|
|
202
|
+
}, callbacks: callbacks, content: content, refs: refs }));
|
|
200
203
|
}
|
|
201
204
|
static get is() { return "sqm-portal-google-registration-form"; }
|
|
202
205
|
static get encapsulation() { return "shadow"; }
|
|
@@ -871,7 +874,7 @@ function useGoogleDemo(props) {
|
|
|
871
874
|
mode: "base",
|
|
872
875
|
});
|
|
873
876
|
return deepmerge({
|
|
874
|
-
emailValidationError:
|
|
877
|
+
emailValidationError: false,
|
|
875
878
|
handleEmailSubmit: () => setShowRegistrationForm({ mode: "manual" }),
|
|
876
879
|
showRegistrationForm,
|
|
877
880
|
handleGoogleInit: () => setShowRegistrationForm({ mode: "google" }),
|
|
@@ -13,9 +13,12 @@ export function usePortalGoogleRegistrationForm(props) {
|
|
|
13
13
|
let formData = {};
|
|
14
14
|
let errorMessage = null;
|
|
15
15
|
formControls.forEach((control) => {
|
|
16
|
-
if (!control.name
|
|
16
|
+
if (!control.name)
|
|
17
17
|
return;
|
|
18
18
|
jsonpointer.set(formData, control.name, control.value);
|
|
19
|
+
// only validate email field
|
|
20
|
+
if (control.name !== "/email")
|
|
21
|
+
return;
|
|
19
22
|
if (control.required && !control.value)
|
|
20
23
|
errorMessage = props.requiredFieldErrorMessage;
|
|
21
24
|
if (typeof control.validationError === "function") {
|
|
@@ -199,7 +199,19 @@ const vanillaStyle = `
|
|
|
199
199
|
display: block;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
sl-button[type="secondary"]::part(base) {
|
|
203
|
+
font-family: var(--sqm-primary-font);
|
|
204
|
+
background-color: var(--sqm-secondary-button-background);
|
|
205
|
+
color: var(--sqm-secondary-button-color);
|
|
206
|
+
border-color: var(--sqm-secondary-button-color-border);
|
|
207
|
+
border-radius: var(--sqm-secondary-button-radius);
|
|
208
|
+
}
|
|
202
209
|
|
|
210
|
+
sl-button[type="secondary"]::part(base):hover {
|
|
211
|
+
background-color: var(--sqm-secondary-button-background-hover);
|
|
212
|
+
color: var(--sqm-secondary-button-color-hover);
|
|
213
|
+
border-color: var(--sqm-secondary-button-border-color-hover);
|
|
214
|
+
}
|
|
203
215
|
|
|
204
216
|
`;
|
|
205
217
|
export const TaxAndCashDashboardView = (props) => {
|
|
@@ -447,10 +459,7 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
447
459
|
h("div", { class: sheet.classes.BankingInformationContainer },
|
|
448
460
|
slots.payoutDetailsCardSlot,
|
|
449
461
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
450
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
451
|
-
// style={{ backgroundColor: "green" }}
|
|
452
|
-
// class={sheet.classes.EditBankDetailsButton}
|
|
453
|
-
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
462
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
454
463
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
455
464
|
h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
456
465
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
@@ -3902,7 +3902,19 @@ const vanillaStyle$3 = `
|
|
|
3902
3902
|
display: block;
|
|
3903
3903
|
}
|
|
3904
3904
|
|
|
3905
|
+
sl-button[type="secondary"]::part(base) {
|
|
3906
|
+
font-family: var(--sqm-primary-font);
|
|
3907
|
+
background-color: var(--sqm-secondary-button-background);
|
|
3908
|
+
color: var(--sqm-secondary-button-color);
|
|
3909
|
+
border-color: var(--sqm-secondary-button-color-border);
|
|
3910
|
+
border-radius: var(--sqm-secondary-button-radius);
|
|
3911
|
+
}
|
|
3905
3912
|
|
|
3913
|
+
sl-button[type="secondary"]::part(base):hover {
|
|
3914
|
+
background-color: var(--sqm-secondary-button-background-hover);
|
|
3915
|
+
color: var(--sqm-secondary-button-color-hover);
|
|
3916
|
+
border-color: var(--sqm-secondary-button-border-color-hover);
|
|
3917
|
+
}
|
|
3906
3918
|
|
|
3907
3919
|
`;
|
|
3908
3920
|
const TaxAndCashDashboardView = (props) => {
|
|
@@ -4150,10 +4162,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4150
4162
|
h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4151
4163
|
slots.payoutDetailsCardSlot,
|
|
4152
4164
|
!states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4153
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary",
|
|
4154
|
-
// style={{ backgroundColor: "green" }}
|
|
4155
|
-
// class={sheet.classes.EditBankDetailsButton}
|
|
4156
|
-
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4165
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, exportparts: "base: secondarybutton-base", type: "secondary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4157
4166
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4158
4167
|
h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4159
4168
|
h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
@@ -47,6 +47,7 @@ function BaseRegistrationFormView(props) {
|
|
|
47
47
|
h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
|
|
48
48
|
states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
|
|
49
49
|
h("div", { part: "erroralert-text" }, props.states.error))),
|
|
50
|
+
content.formData,
|
|
50
51
|
h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
|
|
51
52
|
if (!value) {
|
|
52
53
|
return content.requiredFieldErrorMessage;
|
|
@@ -7,7 +7,7 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
|
7
7
|
import './mixins-f750863a.js';
|
|
8
8
|
import './sqm-text-span-view-4c17b8c9.js';
|
|
9
9
|
import { a as useRegistrationForm } from './useRegistrationFormState-24d594ea.js';
|
|
10
|
-
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-
|
|
10
|
+
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-1a6bb4b4.js';
|
|
11
11
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-8bdc3804.js';
|
|
12
12
|
import './AsYouType-46f67d0d.js';
|
|
13
13
|
import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-1eb3cd72.js';
|
|
@@ -81,9 +81,12 @@ function usePortalGoogleRegistrationForm(props) {
|
|
|
81
81
|
let formData = {};
|
|
82
82
|
let errorMessage = null;
|
|
83
83
|
formControls.forEach((control) => {
|
|
84
|
-
if (!control.name
|
|
84
|
+
if (!control.name)
|
|
85
85
|
return;
|
|
86
86
|
jsonpointer.set(formData, control.name, control.value);
|
|
87
|
+
// only validate email field
|
|
88
|
+
if (control.name !== "/email")
|
|
89
|
+
return;
|
|
87
90
|
if (control.required && !control.value)
|
|
88
91
|
errorMessage = props.requiredFieldErrorMessage;
|
|
89
92
|
if (typeof control.validationError === "function") {
|
|
@@ -321,9 +324,7 @@ const PortalGoogleRegistrationForm = class {
|
|
|
321
324
|
...states,
|
|
322
325
|
emailDisabled: true,
|
|
323
326
|
hidePasswords: showRegistrationForm.mode === "google",
|
|
324
|
-
}, callbacks: callbacks, content:
|
|
325
|
-
...content,
|
|
326
|
-
}, refs: refs }));
|
|
327
|
+
}, callbacks: callbacks, content: content, refs: refs }));
|
|
327
328
|
}
|
|
328
329
|
};
|
|
329
330
|
function useRegisterDemo(props) {
|
|
@@ -359,7 +360,7 @@ function useGoogleDemo(props) {
|
|
|
359
360
|
mode: "base",
|
|
360
361
|
});
|
|
361
362
|
return cjs({
|
|
362
|
-
emailValidationError:
|
|
363
|
+
emailValidationError: false,
|
|
363
364
|
handleEmailSubmit: () => setShowRegistrationForm({ mode: "manual" }),
|
|
364
365
|
showRegistrationForm,
|
|
365
366
|
handleGoogleInit: () => setShowRegistrationForm({ mode: "google" }),
|
|
@@ -22,7 +22,7 @@ import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0a2ec5
|
|
|
22
22
|
import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-5a452423.js';
|
|
23
23
|
import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-7d86299c.js';
|
|
24
24
|
import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
25
|
-
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-
|
|
25
|
+
import { B as BaseRegistrationFormView } from './sqm-base-registration-form-view-1a6bb4b4.js';
|
|
26
26
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-8bdc3804.js';
|
|
27
27
|
import { P as PortalProfileView } from './sqm-portal-profile-view-3ed13e4d.js';
|
|
28
28
|
import './utilities-72c07b09.js';
|