@incodetech/welcome 1.85.0-20251215155839.0 → 1.85.0-20251215165729.0
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/onBoarding.mjs +76 -55
- package/dist/onBoarding.umd.js +6 -6
- package/package.json +1 -1
package/dist/onBoarding.mjs
CHANGED
|
@@ -8350,7 +8350,7 @@ class MlWasmJSApi {
|
|
|
8350
8350
|
);
|
|
8351
8351
|
}
|
|
8352
8352
|
}
|
|
8353
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8353
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251215165729.0";
|
|
8354
8354
|
function e$2(Be, Le) {
|
|
8355
8355
|
return function(Ye, tt) {
|
|
8356
8356
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -26734,7 +26734,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
26734
26734
|
border: 1px solid ${(Be) => Be.borderColor || Be.tokens.input.primary.border.default};
|
|
26735
26735
|
border-radius: ${(Be) => Be.borderRadius || Be.tokens.spacing[2]};
|
|
26736
26736
|
color: ${(Be) => Be.color || Be.tokens.input.primary.text.field.default};
|
|
26737
|
-
|
|
26737
|
+
|
|
26738
26738
|
&:disabled {
|
|
26739
26739
|
border: 1px solid ${(Be) => Be.tokens.input.primary.border.disabled};
|
|
26740
26740
|
background-color: ${(Be) => Be.tokens.input.primary.surface.disabled};
|
|
@@ -27857,82 +27857,94 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27857
27857
|
}
|
|
27858
27858
|
), InputComposed = forwardRef(
|
|
27859
27859
|
({
|
|
27860
|
-
|
|
27861
|
-
|
|
27862
|
-
|
|
27863
|
-
|
|
27864
|
-
|
|
27865
|
-
|
|
27866
|
-
|
|
27867
|
-
|
|
27868
|
-
|
|
27869
|
-
|
|
27860
|
+
id: Be,
|
|
27861
|
+
label: Le,
|
|
27862
|
+
"aria-label": Ye,
|
|
27863
|
+
type: tt,
|
|
27864
|
+
error: nt,
|
|
27865
|
+
showErrorIcon: ft,
|
|
27866
|
+
helper: ht,
|
|
27867
|
+
showHelperIcon: gt,
|
|
27868
|
+
closeButton: At,
|
|
27869
|
+
required: xt,
|
|
27870
|
+
...Et
|
|
27871
|
+
}, yt) => {
|
|
27872
|
+
const Ct = useTokens(), kt = `${Be}-helper`, vt = `${Be}-error`, bt = [ht ? kt : null, nt ? vt : null].filter(Boolean).join(" ");
|
|
27870
27873
|
return /* @__PURE__ */ jsxs(Box, { wFull: !0, maxW: "420px", children: [
|
|
27871
|
-
|
|
27874
|
+
Le && /* @__PURE__ */ jsx$1(
|
|
27872
27875
|
Text$7,
|
|
27873
27876
|
{
|
|
27874
27877
|
fontWeight: 700,
|
|
27875
27878
|
as: "label",
|
|
27876
|
-
color:
|
|
27877
|
-
mb:
|
|
27879
|
+
color: Ct.input.primary.text.label.default,
|
|
27880
|
+
mb: Ct.spacing[2],
|
|
27878
27881
|
display: "inline-block",
|
|
27879
27882
|
fontSize: "14px",
|
|
27880
|
-
|
|
27883
|
+
htmlFor: Be,
|
|
27884
|
+
children: Le
|
|
27881
27885
|
}
|
|
27882
27886
|
),
|
|
27883
27887
|
/* @__PURE__ */ jsxs(Box, { position: "relative", children: [
|
|
27884
27888
|
/* @__PURE__ */ jsx$1(
|
|
27885
27889
|
Input$b,
|
|
27886
27890
|
{
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27891
|
-
|
|
27892
|
-
|
|
27891
|
+
id: Be,
|
|
27892
|
+
type: tt,
|
|
27893
|
+
p: Ct.spacing[4],
|
|
27894
|
+
...Et,
|
|
27895
|
+
ref: yt,
|
|
27896
|
+
required: xt,
|
|
27897
|
+
borderColor: nt && Ct.input.primary.border.negative,
|
|
27898
|
+
"data-has-value": !!Et.value && String(Et.value).length > 0,
|
|
27899
|
+
...!Le && Ye ? { "aria-label": Ye } : {},
|
|
27900
|
+
"aria-describedby": bt || void 0,
|
|
27901
|
+
"aria-required": xt ? "true" : void 0,
|
|
27902
|
+
"aria-invalid": nt ? "true" : void 0
|
|
27893
27903
|
}
|
|
27894
27904
|
),
|
|
27895
|
-
(
|
|
27905
|
+
(At == null ? void 0 : At.show) && /* @__PURE__ */ jsx$1(
|
|
27896
27906
|
Box,
|
|
27897
27907
|
{
|
|
27898
27908
|
as: "button",
|
|
27899
27909
|
position: "absolute",
|
|
27900
|
-
right:
|
|
27910
|
+
right: Ct.spacing[6],
|
|
27901
27911
|
top: "50%",
|
|
27902
27912
|
transform: "translateY(-50%)",
|
|
27903
27913
|
backgroundColor: "transparent",
|
|
27904
27914
|
border: "none",
|
|
27905
27915
|
p: 0,
|
|
27906
27916
|
zIndex: 1e4,
|
|
27907
|
-
onClick:
|
|
27917
|
+
onClick: At.onClose,
|
|
27908
27918
|
children: /* @__PURE__ */ jsx$1(XIcon, {})
|
|
27909
27919
|
}
|
|
27910
27920
|
)
|
|
27911
27921
|
] }),
|
|
27912
|
-
|
|
27913
|
-
|
|
27922
|
+
nt && /* @__PURE__ */ jsxs(Flex, { mt: Ct.spacing[2], align: "center", children: [
|
|
27923
|
+
ft && /* @__PURE__ */ jsx$1(Box, { display: "inline-block", mr: Ct.spacing[2], children: /* @__PURE__ */ jsx$1(ErrorIcon$1, { size: "17" }) }),
|
|
27914
27924
|
/* @__PURE__ */ jsx$1(
|
|
27915
27925
|
Text$7,
|
|
27916
27926
|
{
|
|
27927
|
+
id: vt,
|
|
27917
27928
|
display: "inline-block",
|
|
27918
27929
|
as: "p",
|
|
27919
27930
|
my: "auto",
|
|
27920
|
-
color:
|
|
27921
|
-
children:
|
|
27931
|
+
color: Ct.input.primary.text.helper.negative,
|
|
27932
|
+
children: nt
|
|
27922
27933
|
}
|
|
27923
27934
|
)
|
|
27924
27935
|
] }),
|
|
27925
|
-
|
|
27926
|
-
|
|
27936
|
+
ht && /* @__PURE__ */ jsxs(Flex, { mt: Ct.spacing[2], align: "center", children: [
|
|
27937
|
+
gt && /* @__PURE__ */ jsx$1(Box, { display: "inline-block", mr: Ct.spacing[2], children: /* @__PURE__ */ jsx$1(SuccessIcon$1, { size: "17" }) }),
|
|
27927
27938
|
/* @__PURE__ */ jsx$1(
|
|
27928
27939
|
Text$7,
|
|
27929
27940
|
{
|
|
27941
|
+
id: kt,
|
|
27930
27942
|
display: "inline-block",
|
|
27931
27943
|
as: "p",
|
|
27932
27944
|
my: "auto",
|
|
27933
27945
|
fontWeight: 400,
|
|
27934
|
-
color:
|
|
27935
|
-
children:
|
|
27946
|
+
color: Ct.input.primary.text.helper.default,
|
|
27947
|
+
children: ht
|
|
27936
27948
|
}
|
|
27937
27949
|
)
|
|
27938
27950
|
] })
|
|
@@ -28402,11 +28414,11 @@ const isObject$7 = (Be) => typeof Be == "object" && Be !== null && !Array.isArra
|
|
|
28402
28414
|
disabled: Be.gray[300]
|
|
28403
28415
|
},
|
|
28404
28416
|
border: {
|
|
28405
|
-
primary: Be.gray[
|
|
28417
|
+
primary: Be.gray[200],
|
|
28406
28418
|
disabled: Be.gray[300],
|
|
28407
28419
|
focus: Be.gray[500],
|
|
28408
28420
|
accent: Be.brand[500],
|
|
28409
|
-
negative: Be.negative[
|
|
28421
|
+
negative: Be.negative[600],
|
|
28410
28422
|
warning: Be.warn[500],
|
|
28411
28423
|
positive: Be.positive[600]
|
|
28412
28424
|
},
|
|
@@ -28422,7 +28434,7 @@ const isObject$7 = (Be) => typeof Be == "object" && Be !== null && !Array.isArra
|
|
|
28422
28434
|
brandSecondary: Be.brandSecondary[500]
|
|
28423
28435
|
},
|
|
28424
28436
|
status: {
|
|
28425
|
-
negative: Be.negative[
|
|
28437
|
+
negative: Be.negative[600],
|
|
28426
28438
|
warning: Be.warn[500],
|
|
28427
28439
|
positive: Be.positive[600]
|
|
28428
28440
|
}
|
|
@@ -142540,33 +142552,34 @@ const SynchronizedInputGroup = styled.div`
|
|
|
142540
142552
|
]
|
|
142541
142553
|
}
|
|
142542
142554
|
), DateInput = forwardRef(
|
|
142543
|
-
({
|
|
142544
|
-
const
|
|
142545
|
-
|
|
142546
|
-
const
|
|
142547
|
-
if (
|
|
142548
|
-
if (
|
|
142555
|
+
({ id: Be, value: Le, onChange: Ye, label: tt, ...nt }, ft) => {
|
|
142556
|
+
const ht = useRef(null), gt = (At) => {
|
|
142557
|
+
At.preventDefault(), At.stopPropagation();
|
|
142558
|
+
const xt = ht.current;
|
|
142559
|
+
if (xt)
|
|
142560
|
+
if (xt.focus(), "showPicker" in HTMLInputElement.prototype)
|
|
142549
142561
|
try {
|
|
142550
|
-
|
|
142562
|
+
xt.showPicker();
|
|
142551
142563
|
} catch {
|
|
142552
|
-
|
|
142564
|
+
xt.click();
|
|
142553
142565
|
}
|
|
142554
142566
|
else
|
|
142555
|
-
|
|
142567
|
+
xt.click();
|
|
142556
142568
|
};
|
|
142557
142569
|
return /* @__PURE__ */ jsxs(Box, { position: "relative", wFull: !0, maxW: "420px", children: [
|
|
142558
142570
|
/* @__PURE__ */ jsx$1(
|
|
142559
142571
|
InputComposed,
|
|
142560
142572
|
{
|
|
142561
|
-
|
|
142562
|
-
|
|
142573
|
+
id: Be,
|
|
142574
|
+
ref: (At) => {
|
|
142575
|
+
ht.current = At, typeof ft == "function" ? ft(At) : ft && (ft.current = At);
|
|
142563
142576
|
},
|
|
142564
|
-
label:
|
|
142577
|
+
label: tt,
|
|
142565
142578
|
type: "date",
|
|
142566
|
-
value:
|
|
142567
|
-
onChange:
|
|
142568
|
-
"data-has-value": !!
|
|
142569
|
-
...
|
|
142579
|
+
value: Le,
|
|
142580
|
+
onChange: Ye,
|
|
142581
|
+
"data-has-value": !!Le,
|
|
142582
|
+
...nt
|
|
142570
142583
|
}
|
|
142571
142584
|
),
|
|
142572
142585
|
/* @__PURE__ */ jsx$1(
|
|
@@ -142578,8 +142591,8 @@ const SynchronizedInputGroup = styled.div`
|
|
|
142578
142591
|
right: "16px",
|
|
142579
142592
|
top: "65%",
|
|
142580
142593
|
transform: "translateY(-50%)",
|
|
142581
|
-
onClick:
|
|
142582
|
-
onTouchEnd:
|
|
142594
|
+
onClick: gt,
|
|
142595
|
+
onTouchEnd: gt,
|
|
142583
142596
|
style: {
|
|
142584
142597
|
cursor: "pointer",
|
|
142585
142598
|
zIndex: 1,
|
|
@@ -277566,6 +277579,7 @@ const CURP_LENGTH = 18, isValidCurp = (Be) => typeof Be == "string" && Be.length
|
|
|
277566
277579
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277567
277580
|
InputComposed,
|
|
277568
277581
|
{
|
|
277582
|
+
id: "generated-curp",
|
|
277569
277583
|
label: "",
|
|
277570
277584
|
value: Dt,
|
|
277571
277585
|
readOnly: !0,
|
|
@@ -277602,18 +277616,21 @@ const CURP_LENGTH = 18, isValidCurp = (Be) => typeof Be == "string" && Be.length
|
|
|
277602
277616
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277603
277617
|
InputComposed,
|
|
277604
277618
|
{
|
|
277619
|
+
id: "first-name",
|
|
277605
277620
|
ref: Nt,
|
|
277606
277621
|
label: ht("curp.labels.firstName"),
|
|
277607
277622
|
placeholder: ht("curp.placeholder.firstName"),
|
|
277608
277623
|
value: gt,
|
|
277609
277624
|
onChange: (zt) => At(zt.target.value),
|
|
277610
277625
|
onKeyDown: (zt) => Gt(zt, Lt),
|
|
277611
|
-
enterKeyHint: "next"
|
|
277626
|
+
enterKeyHint: "next",
|
|
277627
|
+
autoComplete: "given-name"
|
|
277612
277628
|
}
|
|
277613
277629
|
),
|
|
277614
277630
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277615
277631
|
InputComposed,
|
|
277616
277632
|
{
|
|
277633
|
+
id: "first-last-name",
|
|
277617
277634
|
ref: Lt,
|
|
277618
277635
|
label: ht("curp.labels.firstLast"),
|
|
277619
277636
|
placeholder: ht("curp.placeholder.firstLast"),
|
|
@@ -277626,6 +277643,7 @@ const CURP_LENGTH = 18, isValidCurp = (Be) => typeof Be == "string" && Be.length
|
|
|
277626
277643
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277627
277644
|
InputComposed,
|
|
277628
277645
|
{
|
|
277646
|
+
id: "second-last-name",
|
|
277629
277647
|
ref: Wt,
|
|
277630
277648
|
label: ht("curp.labels.secondLast"),
|
|
277631
277649
|
placeholder: ht("curp.placeholder.secondLast"),
|
|
@@ -277655,6 +277673,7 @@ const CURP_LENGTH = 18, isValidCurp = (Be) => typeof Be == "string" && Be.length
|
|
|
277655
277673
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277656
277674
|
DateInput,
|
|
277657
277675
|
{
|
|
277676
|
+
id: "birth-date",
|
|
277658
277677
|
ref: Kt,
|
|
277659
277678
|
label: ht("curp.labels.dob"),
|
|
277660
277679
|
value: bt,
|
|
@@ -277825,6 +277844,7 @@ const CURP_LENGTH = 18, isValidCurp = (Be) => typeof Be == "string" && Be.length
|
|
|
277825
277844
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
277826
277845
|
InputComposed,
|
|
277827
277846
|
{
|
|
277847
|
+
id: "your-curp",
|
|
277828
277848
|
placeholder: nt("curp.placeholder.curp"),
|
|
277829
277849
|
value: ft,
|
|
277830
277850
|
onChange: (wt) => ht(wt.target.value.toUpperCase())
|
|
@@ -355992,6 +356012,7 @@ function Email$1({ onSuccess: Be, token: Le, otpVerification: Ye }) {
|
|
|
355992
356012
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
355993
356013
|
InputComposed,
|
|
355994
356014
|
{
|
|
356015
|
+
id: "email",
|
|
355995
356016
|
error: ht,
|
|
355996
356017
|
type: "email",
|
|
355997
356018
|
value: Et,
|