gbc-kyc-kit 2.3.12 → 2.3.13

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.
@@ -39019,6 +39019,9 @@ var ArrowBack = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
39019
39019
  var CloudUploadIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
39020
39020
  d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"
39021
39021
  }), "CloudUpload");
39022
+ var Collections = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
39023
+ d: "M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2m-11-4 2.03 2.71L16 11l4 5H8zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6z"
39024
+ }), "Collections");
39022
39025
  var CompareArrowsIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
39023
39026
  d: "M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"
39024
39027
  }), "CompareArrows");
@@ -39416,7 +39419,8 @@ const validateErrorMessageOCR = (message) => {
39416
39419
  };
39417
39420
  const InstructionsComponent = ({
39418
39421
  title,
39419
- subtitle
39422
+ subtitle,
39423
+ uploadByPhone
39420
39424
  }) => {
39421
39425
  return /* @__PURE__ */ jsxs(Box$1, {
39422
39426
  children: [/* @__PURE__ */ jsx$1(Typography$1, {
@@ -39429,11 +39433,17 @@ const InstructionsComponent = ({
39429
39433
  children: subtitle
39430
39434
  }), /* @__PURE__ */ jsxs(List$1, {
39431
39435
  dense: true,
39432
- children: [/* @__PURE__ */ jsxs(ListItem$1, {
39436
+ children: [uploadByPhone && /* @__PURE__ */ jsxs(ListItem$1, {
39437
+ children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
39438
+ children: /* @__PURE__ */ jsx$1(Collections, {})
39439
+ }), /* @__PURE__ */ jsx$1(ListItemText$1, {
39440
+ primary: "Aseg\xFArate de tener las fotos de tu documento en tu galer\xEDa"
39441
+ })]
39442
+ }), /* @__PURE__ */ jsxs(ListItem$1, {
39433
39443
  children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
39434
39444
  children: /* @__PURE__ */ jsx$1(LightMode, {})
39435
39445
  }), /* @__PURE__ */ jsx$1(ListItemText$1, {
39436
- primary: "Procura tener buena iluminaci\xF3n"
39446
+ primary: "Procura que la foto tenga buena iluminaci\xF3n"
39437
39447
  })]
39438
39448
  }), /* @__PURE__ */ jsxs(ListItem$1, {
39439
39449
  children: [/* @__PURE__ */ jsx$1(ListItemIcon$1, {
@@ -39577,7 +39587,6 @@ function UploadByGallery({
39577
39587
  name: side,
39578
39588
  type: "file",
39579
39589
  accept: "image/*",
39580
- capture: "environment",
39581
39590
  onChange: handleFileChange,
39582
39591
  style: {
39583
39592
  display: "none"
@@ -39585,7 +39594,8 @@ function UploadByGallery({
39585
39594
  })]
39586
39595
  }) : /* @__PURE__ */ jsx$1(InstructionsComponent, {
39587
39596
  title,
39588
- subtitle
39597
+ subtitle,
39598
+ uploadByPhone: true
39589
39599
  })
39590
39600
  })
39591
39601
  })