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