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.
- package/dist/gbc-kyc-kit.es.js +86 -71
- package/dist/gbc-kyc-kit.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -18538,71 +18538,71 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
|
|
|
18538
18538
|
copyFunction
|
|
18539
18539
|
};
|
|
18540
18540
|
};
|
|
18541
|
-
const ocr = "
|
|
18542
|
-
const tabpanel = "
|
|
18543
|
-
const button = "
|
|
18544
|
-
const outlined = "
|
|
18545
|
-
const contained = "
|
|
18546
|
-
const small = "
|
|
18547
|
-
const large = "
|
|
18548
|
-
const sub = "
|
|
18549
|
-
const ready = "
|
|
18550
|
-
const front = "
|
|
18551
|
-
const back = "
|
|
18552
|
-
const icon$1 = "
|
|
18553
|
-
const accordion = "
|
|
18554
|
-
const description = "
|
|
18555
|
-
const birth_place_section = "
|
|
18556
|
-
const authority = "
|
|
18557
|
-
const others = "
|
|
18558
|
-
const dark$1 = "
|
|
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-
|
|
18561
|
-
"px-2": "_px-
|
|
18562
|
-
"m-0": "_m-
|
|
18563
|
-
"my-1": "_my-
|
|
18564
|
-
"col-12": "_col-
|
|
18565
|
-
"col-6": "_col-
|
|
18566
|
-
"without-shadow": "_without-
|
|
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-
|
|
18570
|
-
"back-button-container": "_back-button-
|
|
18571
|
-
"back-button": "_back-
|
|
18572
|
-
"button-container": "_button-
|
|
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-
|
|
18580
|
-
"body-id-doc": "_body-id-
|
|
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-
|
|
18585
|
-
"pics-container": "_pics-
|
|
18586
|
-
"box-image": "_box-
|
|
18587
|
-
"without-image": "_without-
|
|
18588
|
-
"bg-img-container": "_bg-img-
|
|
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-
|
|
18591
|
-
"country-select": "_country-
|
|
18590
|
+
"detail-component": "_detail-component_1cj47_339",
|
|
18591
|
+
"country-select": "_country-select_1cj47_362",
|
|
18592
18592
|
accordion,
|
|
18593
18593
|
description,
|
|
18594
|
-
"accordion-body": "_accordion-
|
|
18595
|
-
"name-section": "_name-
|
|
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-
|
|
18601
|
-
"custom-input-container": "_custom-input-
|
|
18602
|
-
"liveness-container": "_liveness-
|
|
18603
|
-
"MuiTab-root": "_MuiTab-
|
|
18604
|
-
"Mui-selected": "_Mui-
|
|
18605
|
-
"MuiTabs-indicator": "_MuiTabs-
|
|
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: "
|
|
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-
|
|
41562
|
-
"MuiDialog-paper": "_MuiDialog-
|
|
41563
|
-
"image-crop-container": "_image-crop-
|
|
41564
|
-
"crop-header": "_crop-
|
|
41565
|
-
"crop-area": "_crop-
|
|
41566
|
-
"crop-image": "_crop-
|
|
41567
|
-
"crop-overlay": "_crop-
|
|
41568
|
-
"crop-selection": "_crop-
|
|
41569
|
-
"crop-handle": "_crop-
|
|
41570
|
-
"handle-nw": "_handle-
|
|
41571
|
-
"handle-ne": "_handle-
|
|
41572
|
-
"handle-sw": "_handle-
|
|
41573
|
-
"handle-se": "_handle-
|
|
41574
|
-
"crop-grid": "_crop-
|
|
41575
|
-
"grid-vertical": "_grid-
|
|
41576
|
-
"crop-actions": "_crop-
|
|
41577
|
-
"MuiButton-root": "_MuiButton-
|
|
41578
|
-
"MuiButton-outlined": "_MuiButton-
|
|
41579
|
-
"crop-preview": "_crop-
|
|
41580
|
-
"preview-label": "_preview-
|
|
41581
|
-
"preview-image": "_preview-
|
|
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 =
|
|
45121
|
+
version = 2
|
|
45107
45122
|
}) {
|
|
45108
45123
|
const {
|
|
45109
45124
|
onSendSubmitDocument,
|