gbc-kyc-kit 3.3.6 → 3.3.8

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.
@@ -18538,71 +18538,71 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
18538
18538
  copyFunction
18539
18539
  };
18540
18540
  };
18541
- const ocr = "_ocr_hz5b4_55";
18542
- const tabpanel = "_tabpanel_hz5b4_58";
18543
- const button = "_button_hz5b4_119";
18544
- const outlined = "_outlined_hz5b4_151";
18545
- const contained = "_contained_hz5b4_160";
18546
- const small = "_small_hz5b4_167";
18547
- const large = "_large_hz5b4_176";
18548
- const sub = "_sub_hz5b4_182";
18549
- const ready = "_ready_hz5b4_204";
18550
- const front = "_front_hz5b4_204";
18551
- const back = "_back_hz5b4_98";
18552
- const icon$1 = "_icon_hz5b4_333";
18553
- const accordion = "_accordion_hz5b4_400";
18554
- const description = "_description_hz5b4_404";
18555
- const birth_place_section = "_birth_place_section_hz5b4_418";
18556
- const authority = "_authority_hz5b4_419";
18557
- const others = "_others_hz5b4_420";
18558
- const dark$1 = "_dark_hz5b4_433";
18541
+ const ocr = "_ocr_1cj47_55";
18542
+ const tabpanel = "_tabpanel_1cj47_58";
18543
+ const button = "_button_1cj47_119";
18544
+ const outlined = "_outlined_1cj47_151";
18545
+ const contained = "_contained_1cj47_160";
18546
+ const small = "_small_1cj47_168";
18547
+ const large = "_large_1cj47_177";
18548
+ const sub = "_sub_1cj47_183";
18549
+ const ready = "_ready_1cj47_205";
18550
+ const front = "_front_1cj47_205";
18551
+ const back = "_back_1cj47_98";
18552
+ const icon$1 = "_icon_1cj47_334";
18553
+ const accordion = "_accordion_1cj47_401";
18554
+ const description = "_description_1cj47_405";
18555
+ const birth_place_section = "_birth_place_section_1cj47_419";
18556
+ const authority = "_authority_1cj47_420";
18557
+ const others = "_others_1cj47_421";
18558
+ const dark$1 = "_dark_1cj47_434";
18559
18559
  var styles$b = {
18560
- "kit-gbc": "_kit-gbc_hz5b4_2",
18561
- "px-2": "_px-2_hz5b4_32",
18562
- "m-0": "_m-0_hz5b4_36",
18563
- "my-1": "_my-1_hz5b4_39",
18564
- "col-12": "_col-12_hz5b4_43",
18565
- "col-6": "_col-6_hz5b4_46",
18566
- "without-shadow": "_without-shadow_hz5b4_49",
18560
+ "kit-gbc": "_kit-gbc_1cj47_2",
18561
+ "px-2": "_px-2_1cj47_32",
18562
+ "m-0": "_m-0_1cj47_36",
18563
+ "my-1": "_my-1_1cj47_39",
18564
+ "col-12": "_col-12_1cj47_43",
18565
+ "col-6": "_col-6_1cj47_46",
18566
+ "without-shadow": "_without-shadow_1cj47_49",
18567
18567
  ocr,
18568
18568
  tabpanel,
18569
- "first-animation": "_first-animation_hz5b4_94",
18570
- "back-button-container": "_back-button-container_hz5b4_98",
18571
- "back-button": "_back-button_hz5b4_98",
18572
- "button-container": "_button-container_hz5b4_119",
18569
+ "first-animation": "_first-animation_1cj47_94",
18570
+ "back-button-container": "_back-button-container_1cj47_98",
18571
+ "back-button": "_back-button_1cj47_98",
18572
+ "button-container": "_button-container_1cj47_119",
18573
18573
  button,
18574
18574
  outlined,
18575
18575
  contained,
18576
18576
  small,
18577
18577
  large,
18578
18578
  sub,
18579
- "header-component": "_header-component_hz5b4_191",
18580
- "body-id-doc": "_body-id-doc_hz5b4_198",
18579
+ "header-component": "_header-component_1cj47_192",
18580
+ "body-id-doc": "_body-id-doc_1cj47_199",
18581
18581
  ready,
18582
18582
  front,
18583
18583
  back,
18584
- "upload-document": "_upload-document_hz5b4_212",
18585
- "pics-container": "_pics-container_hz5b4_252",
18586
- "box-image": "_box-image_hz5b4_258",
18587
- "without-image": "_without-image_hz5b4_318",
18588
- "bg-img-container": "_bg-img-container_hz5b4_318",
18584
+ "upload-document": "_upload-document_1cj47_213",
18585
+ "pics-container": "_pics-container_1cj47_253",
18586
+ "box-image": "_box-image_1cj47_259",
18587
+ "without-image": "_without-image_1cj47_319",
18588
+ "bg-img-container": "_bg-img-container_1cj47_319",
18589
18589
  icon: icon$1,
18590
- "detail-component": "_detail-component_hz5b4_338",
18591
- "country-select": "_country-select_hz5b4_361",
18590
+ "detail-component": "_detail-component_1cj47_339",
18591
+ "country-select": "_country-select_1cj47_362",
18592
18592
  accordion,
18593
18593
  description,
18594
- "accordion-body": "_accordion-body_hz5b4_412",
18595
- "name-section": "_name-section_hz5b4_417",
18594
+ "accordion-body": "_accordion-body_1cj47_413",
18595
+ "name-section": "_name-section_1cj47_418",
18596
18596
  birth_place_section,
18597
18597
  authority,
18598
18598
  others,
18599
18599
  dark: dark$1,
18600
- "input-container": "_input-container_hz5b4_443",
18601
- "custom-input-container": "_custom-input-container_hz5b4_455",
18602
- "liveness-container": "_liveness-container_hz5b4_458",
18603
- "MuiTab-root": "_MuiTab-root_hz5b4_461",
18604
- "Mui-selected": "_Mui-selected_hz5b4_465",
18605
- "MuiTabs-indicator": "_MuiTabs-indicator_hz5b4_473"
18600
+ "input-container": "_input-container_1cj47_444",
18601
+ "custom-input-container": "_custom-input-container_1cj47_456",
18602
+ "liveness-container": "_liveness-container_1cj47_459",
18603
+ "MuiTab-root": "_MuiTab-root_1cj47_462",
18604
+ "Mui-selected": "_Mui-selected_1cj47_466",
18605
+ "MuiTabs-indicator": "_MuiTabs-indicator_1cj47_474"
18606
18606
  };
18607
18607
  var jsxRuntime = { exports: {} };
18608
18608
  var reactJsxRuntime_production_min = {};
@@ -40327,7 +40327,7 @@ function UploadDocument2({
40327
40327
  },
40328
40328
  children: /* @__PURE__ */ jsx$1(CircularProgress$1, {
40329
40329
  sx: {
40330
- color: "black"
40330
+ color: "var(--_primary)"
40331
40331
  }
40332
40332
  })
40333
40333
  }), /* @__PURE__ */ jsx$1("video", {
@@ -41558,27 +41558,27 @@ const useImageCrop = ({
41558
41558
  };
41559
41559
  };
41560
41560
  var styles$1 = {
41561
- "image-crop-modal": "_image-crop-modal_13qpu_1",
41562
- "MuiDialog-paper": "_MuiDialog-paper_13qpu_1",
41563
- "image-crop-container": "_image-crop-container_13qpu_7",
41564
- "crop-header": "_crop-header_13qpu_14",
41565
- "crop-area": "_crop-area_13qpu_29",
41566
- "crop-image": "_crop-image_13qpu_40",
41567
- "crop-overlay": "_crop-overlay_13qpu_48",
41568
- "crop-selection": "_crop-selection_13qpu_56",
41569
- "crop-handle": "_crop-handle_13qpu_72",
41570
- "handle-nw": "_handle-nw_13qpu_100",
41571
- "handle-ne": "_handle-ne_13qpu_105",
41572
- "handle-sw": "_handle-sw_13qpu_110",
41573
- "handle-se": "_handle-se_13qpu_115",
41574
- "crop-grid": "_crop-grid_13qpu_120",
41575
- "grid-vertical": "_grid-vertical_13qpu_145",
41576
- "crop-actions": "_crop-actions_13qpu_158",
41577
- "MuiButton-root": "_MuiButton-root_13qpu_166",
41578
- "MuiButton-outlined": "_MuiButton-outlined_13qpu_173",
41579
- "crop-preview": "_crop-preview_13qpu_176",
41580
- "preview-label": "_preview-label_13qpu_183",
41581
- "preview-image": "_preview-image_13qpu_188"
41561
+ "image-crop-modal": "_image-crop-modal_57eno_1",
41562
+ "MuiDialog-paper": "_MuiDialog-paper_57eno_1",
41563
+ "image-crop-container": "_image-crop-container_57eno_7",
41564
+ "crop-header": "_crop-header_57eno_14",
41565
+ "crop-area": "_crop-area_57eno_29",
41566
+ "crop-image": "_crop-image_57eno_40",
41567
+ "crop-overlay": "_crop-overlay_57eno_48",
41568
+ "crop-selection": "_crop-selection_57eno_56",
41569
+ "crop-handle": "_crop-handle_57eno_72",
41570
+ "handle-nw": "_handle-nw_57eno_100",
41571
+ "handle-ne": "_handle-ne_57eno_105",
41572
+ "handle-sw": "_handle-sw_57eno_110",
41573
+ "handle-se": "_handle-se_57eno_115",
41574
+ "crop-grid": "_crop-grid_57eno_120",
41575
+ "grid-vertical": "_grid-vertical_57eno_145",
41576
+ "crop-actions": "_crop-actions_57eno_158",
41577
+ "MuiButton-root": "_MuiButton-root_57eno_166",
41578
+ "MuiButton-outlined": "_MuiButton-outlined_57eno_173",
41579
+ "crop-preview": "_crop-preview_57eno_176",
41580
+ "preview-label": "_preview-label_57eno_183",
41581
+ "preview-image": "_preview-image_57eno_188"
41582
41582
  };
41583
41583
  const ImageCropComponent = ({
41584
41584
  image,
@@ -41707,7 +41707,11 @@ const ImageCropComponent = ({
41707
41707
  justifyContent: "center",
41708
41708
  alignItems: "center",
41709
41709
  p: 4,
41710
- children: /* @__PURE__ */ jsx$1(CircularProgress$1, {})
41710
+ children: /* @__PURE__ */ jsx$1(CircularProgress$1, {
41711
+ sx: {
41712
+ color: "var(--_primary)"
41713
+ }
41714
+ })
41711
41715
  }), /* @__PURE__ */ jsx$1("img", {
41712
41716
  ref: imageRef,
41713
41717
  src: image,
@@ -41779,9 +41783,20 @@ const ImageCropComponent = ({
41779
41783
  type: "button",
41780
41784
  variant: "contained",
41781
41785
  onClick: handleCrop,
41786
+ sx: {
41787
+ backgroundColor: "var(--_primary)",
41788
+ color: "white",
41789
+ "&:hover": {
41790
+ backgroundColor: "var(--_primary)",
41791
+ opacity: 0.8
41792
+ }
41793
+ },
41782
41794
  disabled: !imageLoaded || isLoading,
41783
41795
  startIcon: isLoading ? /* @__PURE__ */ jsx$1(CircularProgress$1, {
41784
- size: 20
41796
+ size: 20,
41797
+ sx: {
41798
+ color: "var(--_primary)"
41799
+ }
41785
41800
  }) : null,
41786
41801
  children: isLoading ? "Recortando..." : "Recortar"
41787
41802
  })]
@@ -45103,7 +45118,7 @@ function DocumentReader({
45103
45118
  successMessage,
45104
45119
  dualModeRequired = true,
45105
45120
  showBackButtonWhenError = true,
45106
- version = 1
45121
+ version = 2
45107
45122
  }) {
45108
45123
  const {
45109
45124
  onSendSubmitDocument,