@regulaforensics/idv-document 3.3.308 → 3.4.309-nightly
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/index.d.ts +1 -8
- package/dist/main.iife.js +27 -27
- package/dist/main.js +102 -105
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -10186,22 +10186,22 @@ $e.getAdapter = hb.getAdapter;
|
|
|
10186
10186
|
$e.HttpStatusCode = Ju;
|
|
10187
10187
|
$e.default = $e;
|
|
10188
10188
|
const {
|
|
10189
|
-
Axios:
|
|
10190
|
-
AxiosError:
|
|
10191
|
-
CanceledError:
|
|
10192
|
-
isCancel:
|
|
10193
|
-
CancelToken:
|
|
10194
|
-
VERSION:
|
|
10195
|
-
all:
|
|
10196
|
-
Cancel:
|
|
10197
|
-
isAxiosError:
|
|
10198
|
-
spread:
|
|
10199
|
-
toFormData:
|
|
10200
|
-
AxiosHeaders:
|
|
10201
|
-
HttpStatusCode:
|
|
10202
|
-
formToJSON:
|
|
10203
|
-
getAdapter:
|
|
10204
|
-
mergeConfig:
|
|
10189
|
+
Axios: Ble,
|
|
10190
|
+
AxiosError: zle,
|
|
10191
|
+
CanceledError: Gle,
|
|
10192
|
+
isCancel: Wle,
|
|
10193
|
+
CancelToken: $le,
|
|
10194
|
+
VERSION: Kle,
|
|
10195
|
+
all: qle,
|
|
10196
|
+
Cancel: Yle,
|
|
10197
|
+
isAxiosError: Qle,
|
|
10198
|
+
spread: Xle,
|
|
10199
|
+
toFormData: Jle,
|
|
10200
|
+
AxiosHeaders: ece,
|
|
10201
|
+
HttpStatusCode: tce,
|
|
10202
|
+
formToJSON: rce,
|
|
10203
|
+
getAdapter: nce,
|
|
10204
|
+
mergeConfig: ice
|
|
10205
10205
|
} = $e, ar = "https://api.regulaforensics.com".replace(/\/+$/, "");
|
|
10206
10206
|
class ao {
|
|
10207
10207
|
constructor(t, r = ar, n = $e) {
|
|
@@ -20873,9 +20873,7 @@ const d2 = "idv-document", q9 = {
|
|
|
20873
20873
|
1: !0,
|
|
20874
20874
|
2: !1,
|
|
20875
20875
|
3: !0
|
|
20876
|
-
}, X9 = 1920, J9 = 4e6, R3e = 5e7
|
|
20877
|
-
var I3e = /* @__PURE__ */ ((e) => (e.BarcodeMRZ = "BarcodeMRZ", e.BoundsLite = "BoundsLite", e))(I3e || {});
|
|
20878
|
-
const Jr = class Jr extends nn {
|
|
20876
|
+
}, X9 = 1920, J9 = 4e6, R3e = 5e7, Jr = class Jr extends nn {
|
|
20879
20877
|
constructor({
|
|
20880
20878
|
errorCode: t,
|
|
20881
20879
|
message: r,
|
|
@@ -20929,14 +20927,14 @@ const oy = (e) => (t, r) => {
|
|
|
20929
20927
|
function sy(e) {
|
|
20930
20928
|
return iy(F5(Ut({}, e), { state: !0, attribute: !1 }));
|
|
20931
20929
|
}
|
|
20932
|
-
const
|
|
20930
|
+
const I3e = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
|
|
20933
20931
|
function ly(e, t) {
|
|
20934
20932
|
return (r, n, i) => {
|
|
20935
20933
|
const a = (o) => {
|
|
20936
20934
|
var l, c;
|
|
20937
20935
|
return (c = (l = o.renderRoot) == null ? void 0 : l.querySelector(e)) != null ? c : null;
|
|
20938
20936
|
};
|
|
20939
|
-
return
|
|
20937
|
+
return I3e(r, n, { get() {
|
|
20940
20938
|
return a(this);
|
|
20941
20939
|
} });
|
|
20942
20940
|
};
|
|
@@ -20948,15 +20946,15 @@ const cy = (e) => e != null ? e : It, uy = (e) => e ? (e.internalScenario && (e.
|
|
|
20948
20946
|
return !1;
|
|
20949
20947
|
}
|
|
20950
20948
|
};
|
|
20951
|
-
function
|
|
20949
|
+
function T3e(e, t, r, n, i) {
|
|
20952
20950
|
const a = e * t, o = a > i, l = a > n, s = (e > r || t > r || l) && !o;
|
|
20953
20951
|
return { width: e, height: t, isExtraLargeResolution: o, isDownscaleNeeded: s };
|
|
20954
20952
|
}
|
|
20955
|
-
const
|
|
20953
|
+
const P3e = (e, t, r, n) => Ni(null, null, function* () {
|
|
20956
20954
|
const i = yield createImageBitmap(e), { width: a, height: o } = i;
|
|
20957
|
-
return i == null || i.close(),
|
|
20955
|
+
return i == null || i.close(), T3e(a, o, t, r, n);
|
|
20958
20956
|
});
|
|
20959
|
-
function
|
|
20957
|
+
function O3e({
|
|
20960
20958
|
width: e,
|
|
20961
20959
|
height: t,
|
|
20962
20960
|
softSideLimit: r,
|
|
@@ -20967,7 +20965,7 @@ function D3e({
|
|
|
20967
20965
|
const i = Math.max(e, t), a = e * t, o = i > r ? r / i : 1, l = a > n ? Math.sqrt(n / a) : 1, c = Math.min(o, l, 1), s = Math.max(1, Math.floor(e * c)), u = Math.max(1, Math.floor(t * c));
|
|
20968
20966
|
return { width: s, height: u };
|
|
20969
20967
|
}
|
|
20970
|
-
function
|
|
20968
|
+
function D3e(e, t, r) {
|
|
20971
20969
|
return Ni(this, null, function* () {
|
|
20972
20970
|
return new Promise((i) => {
|
|
20973
20971
|
if (!e || !e.size) return i({ ok: !1 });
|
|
@@ -20983,7 +20981,7 @@ function x3e(e, t, r) {
|
|
|
20983
20981
|
c.onload = null, c.onerror = null, c.src = "", i(u);
|
|
20984
20982
|
};
|
|
20985
20983
|
c.onload = function() {
|
|
20986
|
-
const u =
|
|
20984
|
+
const u = O3e({
|
|
20987
20985
|
width: c.width,
|
|
20988
20986
|
height: c.height,
|
|
20989
20987
|
softSideLimit: t,
|
|
@@ -21002,7 +21000,7 @@ function x3e(e, t, r) {
|
|
|
21002
21000
|
});
|
|
21003
21001
|
});
|
|
21004
21002
|
}
|
|
21005
|
-
const
|
|
21003
|
+
const x3e = (e) => {
|
|
21006
21004
|
const { translationKeysData: t, translationKeysProps: r, locale: n } = e, i = {};
|
|
21007
21005
|
let a = null;
|
|
21008
21006
|
for (const o in t)
|
|
@@ -21012,54 +21010,54 @@ const N3e = (e) => {
|
|
|
21012
21010
|
return a ? {
|
|
21013
21011
|
[n]: a
|
|
21014
21012
|
} : {};
|
|
21015
|
-
},
|
|
21016
|
-
preparingCamera:
|
|
21017
|
-
timeout:
|
|
21018
|
-
noFocus:
|
|
21019
|
-
somethingWentWrong:
|
|
21020
|
-
incorrectCameraId:
|
|
21021
|
-
done:
|
|
21022
|
-
cameraUnavailable:
|
|
21023
|
-
versionNotSupported:
|
|
21024
|
-
httpNotSupported:
|
|
21025
|
-
insecurePageContext:
|
|
21026
|
-
badLicense:
|
|
21027
|
-
fileCorrupt:
|
|
21028
|
-
largeFile:
|
|
21029
|
-
placeDocumentIntoFrame:
|
|
21030
|
-
holdDocumentStraight:
|
|
21031
|
-
glaresOnDocument:
|
|
21032
|
-
tryAgain:
|
|
21033
|
-
noCameraAvailable:
|
|
21034
|
-
positionDocumentCenter:
|
|
21035
|
-
uploadPhoto:
|
|
21036
|
-
moveCloser:
|
|
21037
|
-
keepDeviceStill:
|
|
21038
|
-
camera:
|
|
21039
|
-
switchToMobile:
|
|
21040
|
-
openPhoneCamera:
|
|
21041
|
-
pleaseWait:
|
|
21042
|
-
mobileDevice:
|
|
21043
|
-
verifyYourIdentity:
|
|
21044
|
-
fromCameraFilesMobileDesktop:
|
|
21045
|
-
fromCameraFilesDesktop:
|
|
21046
|
-
fromCameraMobileDesktop:
|
|
21047
|
-
fromFilesMobileDesktop:
|
|
21048
|
-
fromCameraDesktop:
|
|
21049
|
-
fromFilesDesktop:
|
|
21050
|
-
fromMobileDesktop:
|
|
21051
|
-
fromCameraGalleryMobile:
|
|
21052
|
-
fromGalleryMobile:
|
|
21053
|
-
gallery:
|
|
21054
|
-
files:
|
|
21055
|
-
returnToComputer:
|
|
21056
|
-
documentCaptured:
|
|
21057
|
-
or:
|
|
21058
|
-
continueInBrowser:
|
|
21059
|
-
skip:
|
|
21060
|
-
flipTheDocument:
|
|
21061
|
-
tiltTheDocument:
|
|
21062
|
-
},
|
|
21013
|
+
}, N3e = { fallback: "Preparing the camera...", key: "strPrepareCamera" }, L3e = { fallback: "Timeout", key: "strTimeout" }, Z3e = { fallback: "No camera focus", key: "strNoFocus" }, j3e = { fallback: "Something went wrong", key: "messageUnknownError" }, F3e = { fallback: "No camera with the specified ID found.", key: "InfoScreenIncorrectCameraIdTitle" }, U3e = { fallback: "Done!", key: "strDoneMessage" }, B3e = { fallback: "Camera unavailable!", key: "statusCameraUnavailableTitle" }, z3e = { fallback: "Your browser version is not supported", key: "statusBrowserNotSupportedTitle" }, G3e = { fallback: "HTTPS not used", key: "statusBrowserHTTPNotSupportedSubtitle" }, W3e = { fallback: "Insecure context", key: "statusBrowserInsecurePageContextSubtitle" }, $3e = { fallback: "The license cannot be found or has expired", key: "statusProcMgrBadLicenseSubtitle" }, K3e = { fallback: "This file is corrupt or not supported", key: "statusIncorrectDataTitle" }, q3e = { fallback: "This file is too large to be uploaded", key: "statusLargeDataTitle" }, Y3e = { fallback: "Fit the document into the frame", key: "strPlaceDocumentInFrame" }, Q3e = { fallback: "Hold the document straight", key: "strHoldDocumentStraight" }, X3e = { fallback: "Avoid glare on the document", key: "strGlaresOnDocument" }, J3e = { fallback: "Try again", key: "faceLivenessScreenButton" }, ele = { fallback: "No camera available", key: "InfoScreenNoCameraTitle" }, tle = { fallback: "Position the document in the center", key: "documentReaderDocumentReaderLayoutDocumentCenter" }, rle = { fallback: "Upload a photo", key: "cameraCaptureCameraCaptureStartScreenTitle" }, nle = { fallback: "Move closer", key: "hint.moveCloser" }, ile = { fallback: "Hold the device still", key: "strKeepDeviceStill" }, ale = { fallback: "Camera", key: "strCamera" }, ole = { fallback: "Switch to mobile", key: "switchToMobile" }, sle = { fallback: "Open the camera on your mobile device, scan the QR code, and follow the link", key: "openPhoneCamera" }, lle = { fallback: "Please wait...", key: "strPleaseWait" }, cle = { fallback: "Mobile device", key: "mobileDevice" }, ule = { fallback: "Identity document verification", key: "verifyYourIdentity" }, fle = { fallback: "Capture a document using the computer’s camera, upload it from files, or scan it on a mobile device", key: "fromCameraFilesMobileDesktop" }, dle = { fallback: "Capture a document using the computer’s camera or upload it from files", key: "fromCameraFilesDesktop" }, hle = { fallback: "Capture a document using the computer’s camera or scan it on a mobile device", key: "fromCameraMobileDesktop" }, ple = { fallback: "Upload a document from files or scan it on a mobile device", key: "fromFilesMobileDesktop" }, mle = { fallback: "Use the computer's camera to capture a document", key: "fromCameraDesktop" }, gle = { fallback: "Pick a document from files and upload it", key: "fromFilesDesktop" }, vle = { fallback: "Use your mobile camera to capture a document", key: "fromMobileDesktop" }, ble = { fallback: "Capture a document using the mobile's camera or upload it from gallery", key: "fromCameraGalleryMobile" }, _le = { fallback: "Pick a document from the gallery and upload it", key: "fromGalleryMobile" }, yle = { fallback: "Gallery", key: "gallery" }, wle = { fallback: "Files", key: "files" }, Cle = { fallback: "Return to the computer", key: "returnToComputer" }, Hle = { fallback: "Your document has been captured", key: "documentCaptured" }, Vle = { fallback: "or", key: "strOr" }, Ele = { fallback: "Click here to continue in browser", key: "continueInBrowser" }, kle = { fallback: "Skip", key: "strSkip" }, Sle = { fallback: "Flip the document", key: "documentReaderDocumentReaderLayoutFlipDocument" }, Mle = { fallback: "Tilt the document", key: "strTiltDocument" }, Ale = {
|
|
21014
|
+
preparingCamera: N3e,
|
|
21015
|
+
timeout: L3e,
|
|
21016
|
+
noFocus: Z3e,
|
|
21017
|
+
somethingWentWrong: j3e,
|
|
21018
|
+
incorrectCameraId: F3e,
|
|
21019
|
+
done: U3e,
|
|
21020
|
+
cameraUnavailable: B3e,
|
|
21021
|
+
versionNotSupported: z3e,
|
|
21022
|
+
httpNotSupported: G3e,
|
|
21023
|
+
insecurePageContext: W3e,
|
|
21024
|
+
badLicense: $3e,
|
|
21025
|
+
fileCorrupt: K3e,
|
|
21026
|
+
largeFile: q3e,
|
|
21027
|
+
placeDocumentIntoFrame: Y3e,
|
|
21028
|
+
holdDocumentStraight: Q3e,
|
|
21029
|
+
glaresOnDocument: X3e,
|
|
21030
|
+
tryAgain: J3e,
|
|
21031
|
+
noCameraAvailable: ele,
|
|
21032
|
+
positionDocumentCenter: tle,
|
|
21033
|
+
uploadPhoto: rle,
|
|
21034
|
+
moveCloser: nle,
|
|
21035
|
+
keepDeviceStill: ile,
|
|
21036
|
+
camera: ale,
|
|
21037
|
+
switchToMobile: ole,
|
|
21038
|
+
openPhoneCamera: sle,
|
|
21039
|
+
pleaseWait: lle,
|
|
21040
|
+
mobileDevice: cle,
|
|
21041
|
+
verifyYourIdentity: ule,
|
|
21042
|
+
fromCameraFilesMobileDesktop: fle,
|
|
21043
|
+
fromCameraFilesDesktop: dle,
|
|
21044
|
+
fromCameraMobileDesktop: hle,
|
|
21045
|
+
fromFilesMobileDesktop: ple,
|
|
21046
|
+
fromCameraDesktop: mle,
|
|
21047
|
+
fromFilesDesktop: gle,
|
|
21048
|
+
fromMobileDesktop: vle,
|
|
21049
|
+
fromCameraGalleryMobile: ble,
|
|
21050
|
+
fromGalleryMobile: _le,
|
|
21051
|
+
gallery: yle,
|
|
21052
|
+
files: wle,
|
|
21053
|
+
returnToComputer: Cle,
|
|
21054
|
+
documentCaptured: Hle,
|
|
21055
|
+
or: Vle,
|
|
21056
|
+
continueInBrowser: Ele,
|
|
21057
|
+
skip: kle,
|
|
21058
|
+
flipTheDocument: Sle,
|
|
21059
|
+
tiltTheDocument: Mle
|
|
21060
|
+
}, Rle = Wt`
|
|
21063
21061
|
*,
|
|
21064
21062
|
::after,
|
|
21065
21063
|
::before {
|
|
@@ -21085,10 +21083,10 @@ const N3e = (e) => {
|
|
|
21085
21083
|
height: 100%;
|
|
21086
21084
|
}
|
|
21087
21085
|
`;
|
|
21088
|
-
var
|
|
21089
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21086
|
+
var Ile = Object.defineProperty, Tle = Object.getOwnPropertyDescriptor, T5 = (e, t, r, n) => {
|
|
21087
|
+
for (var i = n > 1 ? void 0 : n ? Tle(t, r) : t, a = e.length - 1, o; a >= 0; a--)
|
|
21090
21088
|
(o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
|
|
21091
|
-
return n && i &&
|
|
21089
|
+
return n && i && Ile(t, r, i), i;
|
|
21092
21090
|
};
|
|
21093
21091
|
let p2 = class extends xn {
|
|
21094
21092
|
constructor() {
|
|
@@ -21196,8 +21194,8 @@ let p2 = class extends xn {
|
|
|
21196
21194
|
}
|
|
21197
21195
|
_prepareTranslations(e) {
|
|
21198
21196
|
const { locale: t, localizationKeys: r } = e, n = t && typeof t == "string" ? t.slice(0, 2).toLowerCase() : "";
|
|
21199
|
-
return !n || !r ? null :
|
|
21200
|
-
translationKeysData:
|
|
21197
|
+
return !n || !r ? null : x3e({
|
|
21198
|
+
translationKeysData: Ale,
|
|
21201
21199
|
translationKeysProps: r,
|
|
21202
21200
|
locale: n
|
|
21203
21201
|
});
|
|
@@ -21310,7 +21308,7 @@ let p2 = class extends xn {
|
|
|
21310
21308
|
></document-reader>`;
|
|
21311
21309
|
}
|
|
21312
21310
|
};
|
|
21313
|
-
p2.styles = [
|
|
21311
|
+
p2.styles = [Rle];
|
|
21314
21312
|
T5([
|
|
21315
21313
|
sy()
|
|
21316
21314
|
], p2.prototype, "props", 2);
|
|
@@ -21320,7 +21318,7 @@ T5([
|
|
|
21320
21318
|
p2 = T5([
|
|
21321
21319
|
oy("document-reader-camera")
|
|
21322
21320
|
], p2);
|
|
21323
|
-
const
|
|
21321
|
+
const Ple = Wt`
|
|
21324
21322
|
.gallery-root {
|
|
21325
21323
|
display: flex;
|
|
21326
21324
|
width: 100%;
|
|
@@ -21381,7 +21379,7 @@ const Ole = Wt`
|
|
|
21381
21379
|
align-items: center;
|
|
21382
21380
|
justify-content: center;
|
|
21383
21381
|
}
|
|
21384
|
-
`,
|
|
21382
|
+
`, Ole = Cn`<svg
|
|
21385
21383
|
xmlns="http://www.w3.org/2000/svg"
|
|
21386
21384
|
viewBox="0 0 24 24"
|
|
21387
21385
|
width="24"
|
|
@@ -21389,7 +21387,7 @@ const Ole = Wt`
|
|
|
21389
21387
|
fill="rgba(0,0,0,0.6)"
|
|
21390
21388
|
>
|
|
21391
21389
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
|
|
21392
|
-
</svg>`,
|
|
21390
|
+
</svg>`, Dle = Cn` <svg
|
|
21393
21391
|
width="40"
|
|
21394
21392
|
height="40"
|
|
21395
21393
|
viewBox="0 0 23 22"
|
|
@@ -21420,7 +21418,7 @@ const Ole = Wt`
|
|
|
21420
21418
|
<rect width="22" height="22" fill="white" transform="translate(0.5 1.90735e-05)" />
|
|
21421
21419
|
</clipPath>
|
|
21422
21420
|
</defs>
|
|
21423
|
-
</svg>`,
|
|
21421
|
+
</svg>`, xle = Cn`<svg
|
|
21424
21422
|
width="113"
|
|
21425
21423
|
height="16"
|
|
21426
21424
|
viewBox="0 0 113 16"
|
|
@@ -21453,10 +21451,10 @@ const Ole = Wt`
|
|
|
21453
21451
|
fill="#BD7DFF"
|
|
21454
21452
|
/>
|
|
21455
21453
|
</svg>`;
|
|
21456
|
-
var
|
|
21457
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21454
|
+
var Nle = Object.defineProperty, Lle = Object.getOwnPropertyDescriptor, P5 = (e, t, r, n) => {
|
|
21455
|
+
for (var i = n > 1 ? void 0 : n ? Lle(t, r) : t, a = e.length - 1, o; a >= 0; a--)
|
|
21458
21456
|
(o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
|
|
21459
|
-
return n && i &&
|
|
21457
|
+
return n && i && Nle(t, r, i), i;
|
|
21460
21458
|
};
|
|
21461
21459
|
let m2 = class extends xn {
|
|
21462
21460
|
constructor() {
|
|
@@ -21466,7 +21464,7 @@ let m2 = class extends xn {
|
|
|
21466
21464
|
if (!r.length) return;
|
|
21467
21465
|
(o = this.props) != null && o.isProcessing && this.props.isProcessing(!0), yield window.RegulaDocumentSDK.createBackendTransaction({}, window.RegulaDocumentSDK.recognizerProcessParam);
|
|
21468
21466
|
for (const d of r) {
|
|
21469
|
-
const { isExtraLargeResolution: h, isDownscaleNeeded: p } = yield
|
|
21467
|
+
const { isExtraLargeResolution: h, isDownscaleNeeded: p } = yield P3e(
|
|
21470
21468
|
d,
|
|
21471
21469
|
X9,
|
|
21472
21470
|
J9,
|
|
@@ -21484,7 +21482,7 @@ let m2 = class extends xn {
|
|
|
21484
21482
|
}
|
|
21485
21483
|
let g;
|
|
21486
21484
|
if (p || m) {
|
|
21487
|
-
const _ = yield
|
|
21485
|
+
const _ = yield D3e(d, X9, J9);
|
|
21488
21486
|
if (!_.ok) {
|
|
21489
21487
|
const v = {
|
|
21490
21488
|
transactionId: "",
|
|
@@ -21577,9 +21575,9 @@ let m2 = class extends xn {
|
|
|
21577
21575
|
style="background: ${cy((a = (i = this.props) == null ? void 0 : i.moduleProps) == null ? void 0 : a.backgroundColor)}"
|
|
21578
21576
|
>
|
|
21579
21577
|
<div class="header">
|
|
21580
|
-
<button @click="${this._handleCloseClick}" class="close-btn">${
|
|
21578
|
+
<button @click="${this._handleCloseClick}" class="close-btn">${Ole}</button>
|
|
21581
21579
|
</div>
|
|
21582
|
-
<button @click="${this._handleUploadClick}" class="btn">${
|
|
21580
|
+
<button @click="${this._handleUploadClick}" class="btn">${Dle}</button>
|
|
21583
21581
|
<input
|
|
21584
21582
|
@change="${this._handleInputChange}"
|
|
21585
21583
|
id="file-input"
|
|
@@ -21588,12 +21586,12 @@ let m2 = class extends xn {
|
|
|
21588
21586
|
accept="image/png, image/jpeg, image/bmp, image/webp, image/gif, .jpg, .jpeg"
|
|
21589
21587
|
/>
|
|
21590
21588
|
<div class="footer">
|
|
21591
|
-
<a href>${
|
|
21589
|
+
<a href>${xle} </a>
|
|
21592
21590
|
</div>
|
|
21593
21591
|
</div>`;
|
|
21594
21592
|
}
|
|
21595
21593
|
};
|
|
21596
|
-
m2.styles = [
|
|
21594
|
+
m2.styles = [Ple];
|
|
21597
21595
|
P5([
|
|
21598
21596
|
sy()
|
|
21599
21597
|
], m2.prototype, "props", 2);
|
|
@@ -21603,10 +21601,10 @@ P5([
|
|
|
21603
21601
|
m2 = P5([
|
|
21604
21602
|
oy("document-reader-gallery")
|
|
21605
21603
|
], m2);
|
|
21606
|
-
var
|
|
21604
|
+
var Zle = Object.defineProperty, jle = (e, t, r, n) => {
|
|
21607
21605
|
for (var i = void 0, a = e.length - 1, o; a >= 0; a--)
|
|
21608
21606
|
(o = e[a]) && (i = o(t, r, i) || i);
|
|
21609
|
-
return i &&
|
|
21607
|
+
return i && Zle(t, r, i), i;
|
|
21610
21608
|
};
|
|
21611
21609
|
let xu = !1;
|
|
21612
21610
|
var Nn;
|
|
@@ -21630,14 +21628,14 @@ const dy = (Nn = class extends xn {
|
|
|
21630
21628
|
return [ca.DOC_READER, ca.DOC_READER_GALLERY];
|
|
21631
21629
|
}
|
|
21632
21630
|
static initialize(t) {
|
|
21633
|
-
var
|
|
21634
|
-
const r = (
|
|
21631
|
+
var n;
|
|
21632
|
+
const r = (n = t == null ? void 0 : t.docreader) == null ? void 0 : n.devLicense;
|
|
21635
21633
|
window.RegulaDocumentSDK = new i3e(), console.info(
|
|
21636
21634
|
"%cDocument Reader web component version: %s",
|
|
21637
21635
|
"color: #6e56b0;",
|
|
21638
21636
|
window.RegulaDocumentSDK.version.component
|
|
21639
21637
|
), a3e().then(() => {
|
|
21640
|
-
window.RegulaDocumentSDK.initialize({ license: r
|
|
21638
|
+
window.RegulaDocumentSDK.initialize({ license: r }).then(() => xu = !0);
|
|
21641
21639
|
});
|
|
21642
21640
|
}
|
|
21643
21641
|
static deinitialize() {
|
|
@@ -21661,12 +21659,11 @@ const dy = (Nn = class extends xn {
|
|
|
21661
21659
|
])}`;
|
|
21662
21660
|
}
|
|
21663
21661
|
}, Nn.displayName = d2, Nn);
|
|
21664
|
-
|
|
21662
|
+
jle([
|
|
21665
21663
|
iy({ attribute: !1 })
|
|
21666
21664
|
], dy.prototype, "props");
|
|
21667
|
-
let
|
|
21668
|
-
k3e(d2,
|
|
21665
|
+
let Fle = dy;
|
|
21666
|
+
k3e(d2, Fle);
|
|
21669
21667
|
export {
|
|
21670
|
-
|
|
21671
|
-
I3e as ModuleType
|
|
21668
|
+
Fle as DocumentIdv
|
|
21672
21669
|
};
|
package/package.json
CHANGED