@saasquatch/mint-components 2.0.6-0 → 2.0.6-1
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 +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-user-info-form-view-c14ba407.js → sqm-user-info-form-view-7446bcdd.js} +60 -0
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +60 -0
- package/dist/esm/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm/{sqm-user-info-form-view-9a3048d9.js → sqm-user-info-form-view-0b068018.js} +60 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-9a3048d9.js → sqm-user-info-form-view-0b068018.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-e8846486.entry.js → p-00bd5ef7.entry.js} +1 -1
- package/dist/mint-components/{p-f6eae77c.js → p-7c1d1008.js} +1 -1
- package/dist/mint-components/p-947bacd1.system.js +1 -1
- package/dist/mint-components/{p-e115d0a2.entry.js → p-b526f92f.entry.js} +1 -1
- package/dist/mint-components/{p-28e23d75.system.entry.js → p-c2a78b8f.system.entry.js} +1 -1
- package/dist/mint-components/{p-5b2c395a.system.entry.js → p-c9dd9488.system.entry.js} +1 -1
- package/dist/mint-components/{p-720f03e2.system.js → p-f8a03278.system.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ const reRender = require('./re-render-d516138a.js');
|
|
|
16
16
|
const useChildElements = require('./useChildElements-966c9041.js');
|
|
17
17
|
const luxon = require('./luxon-949beaf2.js');
|
|
18
18
|
const useReferralTable = require('./useReferralTable-90d4d6e9.js');
|
|
19
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
19
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-7446bcdd.js');
|
|
20
20
|
const data = require('./data-24028727.js');
|
|
21
21
|
const keys = require('./keys-cff24974.js');
|
|
22
22
|
const usePayoutStatus = require('./usePayoutStatus-98f2ca76.js');
|
|
@@ -36,7 +36,7 @@ require('./ErrorView-3f91e5ab.js');
|
|
|
36
36
|
const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
|
|
37
37
|
const ShadowViewAddon = require('./ShadowViewAddon-ae3a32c3.js');
|
|
38
38
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
39
|
-
const sqmUserInfoFormView = require('./sqm-user-info-form-view-
|
|
39
|
+
const sqmUserInfoFormView = require('./sqm-user-info-form-view-7446bcdd.js');
|
|
40
40
|
const data = require('./data-24028727.js');
|
|
41
41
|
const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2006001f.js');
|
|
42
42
|
|
package/dist/cjs/{sqm-user-info-form-view-c14ba407.js → sqm-user-info-form-view-7446bcdd.js}
RENAMED
|
@@ -1688,6 +1688,35 @@ const style$2 = {
|
|
|
1688
1688
|
fontWeight: "var(--sl-font-weight-semibold)",
|
|
1689
1689
|
},
|
|
1690
1690
|
},
|
|
1691
|
+
DropdownContent: {
|
|
1692
|
+
padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
|
|
1693
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1694
|
+
fontFamily: "var(--sl-font-sans)",
|
|
1695
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
1696
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
1697
|
+
minWidth: "225px",
|
|
1698
|
+
backgroundColor: "var(--sl-color-gray-900)",
|
|
1699
|
+
color: "var(--sl-color-white)",
|
|
1700
|
+
borderRadius: "var(--sl-border-radius-medium)",
|
|
1701
|
+
position: "relative",
|
|
1702
|
+
marginLeft: "5px",
|
|
1703
|
+
},
|
|
1704
|
+
DropdownArrow: {
|
|
1705
|
+
position: "absolute",
|
|
1706
|
+
left: "-5px",
|
|
1707
|
+
top: "50%",
|
|
1708
|
+
transform: "translateY(-50%)",
|
|
1709
|
+
width: "0",
|
|
1710
|
+
height: "0",
|
|
1711
|
+
borderTop: "5px solid transparent",
|
|
1712
|
+
borderBottom: "5px solid transparent",
|
|
1713
|
+
borderRight: "5px solid var(--sl-color-gray-900)",
|
|
1714
|
+
zIndex: "1",
|
|
1715
|
+
},
|
|
1716
|
+
DropdownLink: {
|
|
1717
|
+
color: "var(--sl-color-white)",
|
|
1718
|
+
textDecoration: "underline",
|
|
1719
|
+
},
|
|
1691
1720
|
PhoneInputsContainer: {
|
|
1692
1721
|
display: "flex",
|
|
1693
1722
|
gap: "4px",
|
|
@@ -1913,6 +1942,27 @@ const UserInfoFormView = (props) => {
|
|
|
1913
1942
|
var _a;
|
|
1914
1943
|
return states.isUser && !!((_a = data$1.userData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
1915
1944
|
}
|
|
1945
|
+
const dropdownHover = (el) => {
|
|
1946
|
+
var _a;
|
|
1947
|
+
if (!el)
|
|
1948
|
+
return;
|
|
1949
|
+
const trigger = el.querySelector('[slot="trigger"]');
|
|
1950
|
+
const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
|
|
1951
|
+
if (!trigger || !panel)
|
|
1952
|
+
return;
|
|
1953
|
+
let hideTimeout;
|
|
1954
|
+
const show = () => {
|
|
1955
|
+
clearTimeout(hideTimeout);
|
|
1956
|
+
el.show();
|
|
1957
|
+
};
|
|
1958
|
+
const scheduleHide = () => {
|
|
1959
|
+
hideTimeout = setTimeout(() => el.hide(), 100);
|
|
1960
|
+
};
|
|
1961
|
+
trigger.addEventListener("mouseenter", show);
|
|
1962
|
+
trigger.addEventListener("mouseleave", scheduleHide);
|
|
1963
|
+
panel.addEventListener("mouseenter", show);
|
|
1964
|
+
panel.addEventListener("mouseleave", scheduleHide);
|
|
1965
|
+
};
|
|
1916
1966
|
return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1917
1967
|
index.h("style", { type: "text/css" },
|
|
1918
1968
|
styleString$1,
|
|
@@ -1951,6 +2001,16 @@ const UserInfoFormView = (props) => {
|
|
|
1951
2001
|
}, {
|
|
1952
2002
|
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1953
2003
|
})))),
|
|
2004
|
+
index.h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
|
|
2005
|
+
index.h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
|
|
2006
|
+
index.h("div", { class: sheet$1.classes.DropdownContent },
|
|
2007
|
+
index.h("div", { class: sheet$1.classes.DropdownArrow }),
|
|
2008
|
+
"This is a test tooltip with a",
|
|
2009
|
+
" ",
|
|
2010
|
+
index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
|
|
2011
|
+
color: "var(--sl-color-white)",
|
|
2012
|
+
textDecoration: "underline",
|
|
2013
|
+
} }, "clickable link"))),
|
|
1954
2014
|
index.h("div", null,
|
|
1955
2015
|
index.h("div", { class: classes.InputContainer },
|
|
1956
2016
|
index.h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -70,6 +70,35 @@ const style = {
|
|
|
70
70
|
fontWeight: "var(--sl-font-weight-semibold)",
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
|
+
DropdownContent: {
|
|
74
|
+
padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
|
|
75
|
+
fontSize: "var(--sl-font-size-small)",
|
|
76
|
+
fontFamily: "var(--sl-font-sans)",
|
|
77
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
78
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
79
|
+
minWidth: "225px",
|
|
80
|
+
backgroundColor: "var(--sl-color-gray-900)",
|
|
81
|
+
color: "var(--sl-color-white)",
|
|
82
|
+
borderRadius: "var(--sl-border-radius-medium)",
|
|
83
|
+
position: "relative",
|
|
84
|
+
marginLeft: "5px",
|
|
85
|
+
},
|
|
86
|
+
DropdownArrow: {
|
|
87
|
+
position: "absolute",
|
|
88
|
+
left: "-5px",
|
|
89
|
+
top: "50%",
|
|
90
|
+
transform: "translateY(-50%)",
|
|
91
|
+
width: "0",
|
|
92
|
+
height: "0",
|
|
93
|
+
borderTop: "5px solid transparent",
|
|
94
|
+
borderBottom: "5px solid transparent",
|
|
95
|
+
borderRight: "5px solid var(--sl-color-gray-900)",
|
|
96
|
+
zIndex: "1",
|
|
97
|
+
},
|
|
98
|
+
DropdownLink: {
|
|
99
|
+
color: "var(--sl-color-white)",
|
|
100
|
+
textDecoration: "underline",
|
|
101
|
+
},
|
|
73
102
|
PhoneInputsContainer: {
|
|
74
103
|
display: "flex",
|
|
75
104
|
gap: "4px",
|
|
@@ -295,6 +324,27 @@ export const UserInfoFormView = (props) => {
|
|
|
295
324
|
var _a;
|
|
296
325
|
return states.isUser && !!((_a = data.userData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
297
326
|
}
|
|
327
|
+
const dropdownHover = (el) => {
|
|
328
|
+
var _a;
|
|
329
|
+
if (!el)
|
|
330
|
+
return;
|
|
331
|
+
const trigger = el.querySelector('[slot="trigger"]');
|
|
332
|
+
const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
|
|
333
|
+
if (!trigger || !panel)
|
|
334
|
+
return;
|
|
335
|
+
let hideTimeout;
|
|
336
|
+
const show = () => {
|
|
337
|
+
clearTimeout(hideTimeout);
|
|
338
|
+
el.show();
|
|
339
|
+
};
|
|
340
|
+
const scheduleHide = () => {
|
|
341
|
+
hideTimeout = setTimeout(() => el.hide(), 100);
|
|
342
|
+
};
|
|
343
|
+
trigger.addEventListener("mouseenter", show);
|
|
344
|
+
trigger.addEventListener("mouseleave", scheduleHide);
|
|
345
|
+
panel.addEventListener("mouseenter", show);
|
|
346
|
+
panel.addEventListener("mouseleave", scheduleHide);
|
|
347
|
+
};
|
|
298
348
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
299
349
|
h("style", { type: "text/css" },
|
|
300
350
|
styleString,
|
|
@@ -333,6 +383,16 @@ export const UserInfoFormView = (props) => {
|
|
|
333
383
|
}, {
|
|
334
384
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
335
385
|
})))),
|
|
386
|
+
h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
|
|
387
|
+
h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
|
|
388
|
+
h("div", { class: sheet.classes.DropdownContent },
|
|
389
|
+
h("div", { class: sheet.classes.DropdownArrow }),
|
|
390
|
+
"This is a test tooltip with a",
|
|
391
|
+
" ",
|
|
392
|
+
h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
|
|
393
|
+
color: "var(--sl-color-white)",
|
|
394
|
+
textDecoration: "underline",
|
|
395
|
+
} }, "clickable link"))),
|
|
336
396
|
h("div", null,
|
|
337
397
|
h("div", { class: classes.InputContainer },
|
|
338
398
|
h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|
|
@@ -12,7 +12,7 @@ import { u as useRerenderListener, a as useRequestRerender } from './re-render-7
|
|
|
12
12
|
import { u as useChildElements } from './useChildElements-3d872cef.js';
|
|
13
13
|
import { l as luxon } from './luxon-bbf75a9d.js';
|
|
14
14
|
import { g as generateUserError } from './useReferralTable-909ccb28.js';
|
|
15
|
-
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-
|
|
15
|
+
import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-0b068018.js';
|
|
16
16
|
import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-a581119a.js';
|
|
17
17
|
import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
|
|
18
18
|
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-7404eb9d.js';
|
|
@@ -32,7 +32,7 @@ import './ErrorView-bbf0a042.js';
|
|
|
32
32
|
import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
|
|
33
33
|
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-78a1c35c.js';
|
|
34
34
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
|
|
35
|
-
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-
|
|
35
|
+
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-0b068018.js';
|
|
36
36
|
import { t as taxTypeToName, L as LoadingView } from './data-a581119a.js';
|
|
37
37
|
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d543d939.js';
|
|
38
38
|
|
package/dist/esm/{sqm-user-info-form-view-9a3048d9.js → sqm-user-info-form-view-0b068018.js}
RENAMED
|
@@ -1686,6 +1686,35 @@ const style$2 = {
|
|
|
1686
1686
|
fontWeight: "var(--sl-font-weight-semibold)",
|
|
1687
1687
|
},
|
|
1688
1688
|
},
|
|
1689
|
+
DropdownContent: {
|
|
1690
|
+
padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
|
|
1691
|
+
fontSize: "var(--sl-font-size-small)",
|
|
1692
|
+
fontFamily: "var(--sl-font-sans)",
|
|
1693
|
+
fontWeight: "var(--sl-font-weight-normal)",
|
|
1694
|
+
lineHeight: "var(--sl-line-height-dense)",
|
|
1695
|
+
minWidth: "225px",
|
|
1696
|
+
backgroundColor: "var(--sl-color-gray-900)",
|
|
1697
|
+
color: "var(--sl-color-white)",
|
|
1698
|
+
borderRadius: "var(--sl-border-radius-medium)",
|
|
1699
|
+
position: "relative",
|
|
1700
|
+
marginLeft: "5px",
|
|
1701
|
+
},
|
|
1702
|
+
DropdownArrow: {
|
|
1703
|
+
position: "absolute",
|
|
1704
|
+
left: "-5px",
|
|
1705
|
+
top: "50%",
|
|
1706
|
+
transform: "translateY(-50%)",
|
|
1707
|
+
width: "0",
|
|
1708
|
+
height: "0",
|
|
1709
|
+
borderTop: "5px solid transparent",
|
|
1710
|
+
borderBottom: "5px solid transparent",
|
|
1711
|
+
borderRight: "5px solid var(--sl-color-gray-900)",
|
|
1712
|
+
zIndex: "1",
|
|
1713
|
+
},
|
|
1714
|
+
DropdownLink: {
|
|
1715
|
+
color: "var(--sl-color-white)",
|
|
1716
|
+
textDecoration: "underline",
|
|
1717
|
+
},
|
|
1689
1718
|
PhoneInputsContainer: {
|
|
1690
1719
|
display: "flex",
|
|
1691
1720
|
gap: "4px",
|
|
@@ -1911,6 +1940,27 @@ const UserInfoFormView = (props) => {
|
|
|
1911
1940
|
var _a;
|
|
1912
1941
|
return states.isUser && !!((_a = data.userData) === null || _a === void 0 ? void 0 : _a[field]);
|
|
1913
1942
|
}
|
|
1943
|
+
const dropdownHover = (el) => {
|
|
1944
|
+
var _a;
|
|
1945
|
+
if (!el)
|
|
1946
|
+
return;
|
|
1947
|
+
const trigger = el.querySelector('[slot="trigger"]');
|
|
1948
|
+
const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
|
|
1949
|
+
if (!trigger || !panel)
|
|
1950
|
+
return;
|
|
1951
|
+
let hideTimeout;
|
|
1952
|
+
const show = () => {
|
|
1953
|
+
clearTimeout(hideTimeout);
|
|
1954
|
+
el.show();
|
|
1955
|
+
};
|
|
1956
|
+
const scheduleHide = () => {
|
|
1957
|
+
hideTimeout = setTimeout(() => el.hide(), 100);
|
|
1958
|
+
};
|
|
1959
|
+
trigger.addEventListener("mouseenter", show);
|
|
1960
|
+
trigger.addEventListener("mouseleave", scheduleHide);
|
|
1961
|
+
panel.addEventListener("mouseenter", show);
|
|
1962
|
+
panel.addEventListener("mouseleave", scheduleHide);
|
|
1963
|
+
};
|
|
1914
1964
|
return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
|
|
1915
1965
|
h("style", { type: "text/css" },
|
|
1916
1966
|
styleString$1,
|
|
@@ -1949,6 +1999,16 @@ const UserInfoFormView = (props) => {
|
|
|
1949
1999
|
}, {
|
|
1950
2000
|
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
1951
2001
|
})))),
|
|
2002
|
+
h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
|
|
2003
|
+
h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
|
|
2004
|
+
h("div", { class: sheet$1.classes.DropdownContent },
|
|
2005
|
+
h("div", { class: sheet$1.classes.DropdownArrow }),
|
|
2006
|
+
"This is a test tooltip with a",
|
|
2007
|
+
" ",
|
|
2008
|
+
h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
|
|
2009
|
+
color: "var(--sl-color-white)",
|
|
2010
|
+
textDecoration: "underline",
|
|
2011
|
+
} }, "clickable link"))),
|
|
1952
2012
|
h("div", null,
|
|
1953
2013
|
h("div", { class: classes.InputContainer },
|
|
1954
2014
|
h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
|