gbc-kyc-kit 1.6.7 → 1.6.9
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/gbc-kyc-kit.es.js +18 -9
- package/dist/gbc-kyc-kit.umd.js +37 -37
- package/package.json +1 -1
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -25570,12 +25570,12 @@ function CustomCheckbox({
|
|
|
25570
25570
|
className: "checkbox",
|
|
25571
25571
|
children: /* @__PURE__ */ jsx(FormControlLabel$1, {
|
|
25572
25572
|
control: /* @__PURE__ */ jsx(Checkbox$1, {
|
|
25573
|
-
id,
|
|
25574
25573
|
checked: isActive,
|
|
25575
25574
|
color: "primary",
|
|
25576
25575
|
onChange
|
|
25577
25576
|
}),
|
|
25578
|
-
label
|
|
25577
|
+
label,
|
|
25578
|
+
id
|
|
25579
25579
|
})
|
|
25580
25580
|
});
|
|
25581
25581
|
}
|
|
@@ -25632,7 +25632,6 @@ function DocumentReader({
|
|
|
25632
25632
|
className: `body-id-doc ${dualMode && docImage.firstImage && "ready"}`,
|
|
25633
25633
|
children: [/* @__PURE__ */ jsxs("label", {
|
|
25634
25634
|
className: "upload-document front",
|
|
25635
|
-
id: "front",
|
|
25636
25635
|
style: {
|
|
25637
25636
|
display: "flex"
|
|
25638
25637
|
},
|
|
@@ -25654,7 +25653,6 @@ function DocumentReader({
|
|
|
25654
25653
|
})]
|
|
25655
25654
|
}), /* @__PURE__ */ jsxs("label", {
|
|
25656
25655
|
className: "upload-document back",
|
|
25657
|
-
id: "back",
|
|
25658
25656
|
style: {
|
|
25659
25657
|
display: "flex"
|
|
25660
25658
|
},
|
|
@@ -25675,20 +25673,31 @@ function DocumentReader({
|
|
|
25675
25673
|
}
|
|
25676
25674
|
})]
|
|
25677
25675
|
})]
|
|
25678
|
-
}), /* @__PURE__ */
|
|
25676
|
+
}), /* @__PURE__ */ jsxs(Box$1, {
|
|
25679
25677
|
width: "100%",
|
|
25680
|
-
children: !status && /* @__PURE__ */ jsxs(Box$1, {
|
|
25678
|
+
children: [!status && /* @__PURE__ */ jsxs(Box$1, {
|
|
25681
25679
|
children: [/* @__PURE__ */ jsx(CustomCheckbox, {
|
|
25682
|
-
id: "add_rear_document",
|
|
25683
25680
|
label: "Cargar reverso del documento",
|
|
25681
|
+
id: "add-rear",
|
|
25684
25682
|
isActive: dualMode,
|
|
25685
25683
|
onChange: () => setDualMode(!dualMode)
|
|
25686
25684
|
}), !dualMode && !base64.secondImage && base64.firstImage && lib$1(status) && /* @__PURE__ */ jsx(CustomButton, {
|
|
25687
|
-
id: "submit-btn",
|
|
25688
25685
|
type: "submit",
|
|
25689
25686
|
children: "Procesar"
|
|
25690
25687
|
})]
|
|
25691
|
-
})
|
|
25688
|
+
}), docImage.firstImage && dualMode && !status && docImage.secondImage || !dualMode && !status && docImage.secondImage ? /* @__PURE__ */ jsx(Box$1, {
|
|
25689
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
25690
|
+
className: "both-button",
|
|
25691
|
+
children: [/* @__PURE__ */ jsx(CustomButton, {
|
|
25692
|
+
type: "warning",
|
|
25693
|
+
onClick: () => clearState(),
|
|
25694
|
+
children: "Volver"
|
|
25695
|
+
}), /* @__PURE__ */ jsx(CustomButton, {
|
|
25696
|
+
type: "submit",
|
|
25697
|
+
children: "Procesar"
|
|
25698
|
+
})]
|
|
25699
|
+
})
|
|
25700
|
+
}) : null]
|
|
25692
25701
|
})]
|
|
25693
25702
|
})
|
|
25694
25703
|
})]
|