@regulaforensics/idv-document 3.2.300-nightly → 3.3.301-rc
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 +107 -104
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -10186,22 +10186,22 @@ $e.getAdapter = mb.getAdapter;
|
|
|
10186
10186
|
$e.HttpStatusCode = t1;
|
|
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: Wle,
|
|
10190
|
+
AxiosError: $le,
|
|
10191
|
+
CanceledError: Kle,
|
|
10192
|
+
isCancel: qle,
|
|
10193
|
+
CancelToken: Yle,
|
|
10194
|
+
VERSION: Qle,
|
|
10195
|
+
all: Xle,
|
|
10196
|
+
Cancel: Jle,
|
|
10197
|
+
isAxiosError: ece,
|
|
10198
|
+
spread: tce,
|
|
10199
|
+
toFormData: rce,
|
|
10200
|
+
AxiosHeaders: nce,
|
|
10201
|
+
HttpStatusCode: ice,
|
|
10202
|
+
formToJSON: ace,
|
|
10203
|
+
getAdapter: oce,
|
|
10204
|
+
mergeConfig: sce
|
|
10205
10205
|
} = $e, ar = "https://api.regulaforensics.com".replace(/\/+$/, "");
|
|
10206
10206
|
class lo {
|
|
10207
10207
|
constructor(t, r = ar, n = $e) {
|
|
@@ -20874,7 +20874,9 @@ const g2 = "idv-document", Q9 = {
|
|
|
20874
20874
|
1: !0,
|
|
20875
20875
|
2: !1,
|
|
20876
20876
|
3: !0
|
|
20877
|
-
}, eg = 1920, tg = 4e6, I3e = 5e7
|
|
20877
|
+
}, eg = 1920, tg = 4e6, I3e = 5e7;
|
|
20878
|
+
var T3e = /* @__PURE__ */ ((e) => (e.BarcodeMRZ = "BarcodeMRZ", e.BoundsLite = "BoundsLite", e))(T3e || {});
|
|
20879
|
+
const Jr = class Jr extends nn {
|
|
20878
20880
|
constructor({
|
|
20879
20881
|
errorCode: t,
|
|
20880
20882
|
message: r,
|
|
@@ -20928,14 +20930,14 @@ const sy = (e) => (t, r) => {
|
|
|
20928
20930
|
function ly(e) {
|
|
20929
20931
|
return oy(B5(Ut({}, e), { state: !0, attribute: !1 }));
|
|
20930
20932
|
}
|
|
20931
|
-
const
|
|
20933
|
+
const O3e = (e, t, r) => (r.configurable = !0, r.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, r), r);
|
|
20932
20934
|
function cy(e, t) {
|
|
20933
20935
|
return (r, n, i) => {
|
|
20934
20936
|
const a = (o) => {
|
|
20935
20937
|
var l, c;
|
|
20936
20938
|
return (c = (l = o.renderRoot) == null ? void 0 : l.querySelector(e)) != null ? c : null;
|
|
20937
20939
|
};
|
|
20938
|
-
return
|
|
20940
|
+
return O3e(r, n, { get() {
|
|
20939
20941
|
return a(this);
|
|
20940
20942
|
} });
|
|
20941
20943
|
};
|
|
@@ -20947,15 +20949,15 @@ const uy = (e) => e != null ? e : It, fy = (e) => e ? (e.internalScenario && (e.
|
|
|
20947
20949
|
return !1;
|
|
20948
20950
|
}
|
|
20949
20951
|
};
|
|
20950
|
-
function
|
|
20952
|
+
function P3e(e, t, r, n, i) {
|
|
20951
20953
|
const a = e * t, o = a > i, l = a > n, s = (e > r || t > r || l) && !o;
|
|
20952
20954
|
return { width: e, height: t, isExtraLargeResolution: o, isDownscaleNeeded: s };
|
|
20953
20955
|
}
|
|
20954
|
-
const
|
|
20956
|
+
const D3e = (e, t, r, n) => Zi(null, null, function* () {
|
|
20955
20957
|
const i = yield createImageBitmap(e), { width: a, height: o } = i;
|
|
20956
|
-
return i == null || i.close(),
|
|
20958
|
+
return i == null || i.close(), P3e(a, o, t, r, n);
|
|
20957
20959
|
});
|
|
20958
|
-
function
|
|
20960
|
+
function x3e({
|
|
20959
20961
|
width: e,
|
|
20960
20962
|
height: t,
|
|
20961
20963
|
softSideLimit: r,
|
|
@@ -20966,7 +20968,7 @@ function D3e({
|
|
|
20966
20968
|
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));
|
|
20967
20969
|
return { width: s, height: u };
|
|
20968
20970
|
}
|
|
20969
|
-
function
|
|
20971
|
+
function N3e(e, t, r) {
|
|
20970
20972
|
return Zi(this, null, function* () {
|
|
20971
20973
|
return new Promise((i) => {
|
|
20972
20974
|
if (!e || !e.size) return i({ ok: !1 });
|
|
@@ -20982,7 +20984,7 @@ function x3e(e, t, r) {
|
|
|
20982
20984
|
c.onload = null, c.onerror = null, c.src = "", i(u);
|
|
20983
20985
|
};
|
|
20984
20986
|
c.onload = function() {
|
|
20985
|
-
const u =
|
|
20987
|
+
const u = x3e({
|
|
20986
20988
|
width: c.width,
|
|
20987
20989
|
height: c.height,
|
|
20988
20990
|
softSideLimit: t,
|
|
@@ -21001,7 +21003,7 @@ function x3e(e, t, r) {
|
|
|
21001
21003
|
});
|
|
21002
21004
|
});
|
|
21003
21005
|
}
|
|
21004
|
-
const
|
|
21006
|
+
const L3e = (e) => {
|
|
21005
21007
|
const { translationKeysData: t, translationKeysProps: r, locale: n } = e, i = {};
|
|
21006
21008
|
let a = null;
|
|
21007
21009
|
for (const o in t)
|
|
@@ -21011,56 +21013,56 @@ const N3e = (e) => {
|
|
|
21011
21013
|
return a ? {
|
|
21012
21014
|
[n]: a
|
|
21013
21015
|
} : {};
|
|
21014
|
-
},
|
|
21016
|
+
}, Z3e = {
|
|
21015
21017
|
DOCREADER: "DOCREADER"
|
|
21016
|
-
},
|
|
21017
|
-
preparingCamera:
|
|
21018
|
-
timeout:
|
|
21019
|
-
noFocus:
|
|
21020
|
-
somethingWentWrong:
|
|
21021
|
-
incorrectCameraId:
|
|
21022
|
-
done:
|
|
21023
|
-
cameraUnavailable:
|
|
21024
|
-
versionNotSupported:
|
|
21025
|
-
httpNotSupported:
|
|
21026
|
-
insecurePageContext:
|
|
21027
|
-
badLicense:
|
|
21028
|
-
fileCorrupt:
|
|
21029
|
-
largeFile:
|
|
21030
|
-
placeDocumentIntoFrame:
|
|
21031
|
-
holdDocumentStraight:
|
|
21032
|
-
glaresOnDocument:
|
|
21033
|
-
tryAgain:
|
|
21034
|
-
noCameraAvailable:
|
|
21035
|
-
positionDocumentCenter:
|
|
21036
|
-
uploadPhoto:
|
|
21037
|
-
moveCloser:
|
|
21038
|
-
keepDeviceStill:
|
|
21039
|
-
camera:
|
|
21040
|
-
switchToMobile:
|
|
21041
|
-
openPhoneCamera:
|
|
21042
|
-
pleaseWait:
|
|
21043
|
-
mobileDevice:
|
|
21044
|
-
verifyYourIdentity:
|
|
21045
|
-
fromCameraFilesMobileDesktop:
|
|
21046
|
-
fromCameraFilesDesktop:
|
|
21047
|
-
fromCameraMobileDesktop:
|
|
21048
|
-
fromFilesMobileDesktop:
|
|
21049
|
-
fromCameraDesktop:
|
|
21050
|
-
fromFilesDesktop:
|
|
21051
|
-
fromMobileDesktop:
|
|
21052
|
-
fromCameraGalleryMobile:
|
|
21053
|
-
fromGalleryMobile:
|
|
21054
|
-
gallery:
|
|
21055
|
-
files:
|
|
21056
|
-
returnToComputer:
|
|
21057
|
-
documentCaptured:
|
|
21058
|
-
or:
|
|
21059
|
-
continueInBrowser:
|
|
21060
|
-
skip:
|
|
21061
|
-
flipTheDocument:
|
|
21062
|
-
tiltTheDocument:
|
|
21063
|
-
},
|
|
21018
|
+
}, j3e = { fallback: "Preparing the camera...", key: "strPrepareCamera" }, F3e = { fallback: "Timeout", key: "strTimeout" }, U3e = { fallback: "No camera focus", key: "strNoFocus" }, B3e = { fallback: "Something went wrong", key: "messageUnknownError" }, z3e = { fallback: "No camera with the specified ID found.", key: "InfoScreenIncorrectCameraIdTitle" }, G3e = { fallback: "Done!", key: "strDoneMessage" }, W3e = { fallback: "Camera unavailable!", key: "statusCameraUnavailableTitle" }, $3e = { fallback: "Your browser version is not supported", key: "statusBrowserNotSupportedTitle" }, K3e = { fallback: "HTTPS not used", key: "statusBrowserHTTPNotSupportedSubtitle" }, q3e = { fallback: "Insecure context", key: "statusBrowserInsecurePageContextSubtitle" }, Y3e = { fallback: "The license cannot be found or has expired", key: "statusProcMgrBadLicenseSubtitle" }, Q3e = { fallback: "This file is corrupt or not supported", key: "statusIncorrectDataTitle" }, X3e = { fallback: "This file is too large to be uploaded", key: "statusLargeDataTitle" }, J3e = { fallback: "Fit the document into the frame", key: "strPlaceDocumentInFrame" }, ele = { fallback: "Hold the document straight", key: "strHoldDocumentStraight" }, tle = { fallback: "Avoid glare on the document", key: "strGlaresOnDocument" }, rle = { fallback: "Try again", key: "faceLivenessScreenButton" }, nle = { fallback: "No camera available", key: "InfoScreenNoCameraTitle" }, ile = { fallback: "Position the document in the center", key: "documentReaderDocumentReaderLayoutDocumentCenter" }, ale = { fallback: "Upload a photo", key: "cameraCaptureCameraCaptureStartScreenTitle" }, ole = { fallback: "Move closer", key: "hint.moveCloser" }, sle = { fallback: "Hold the device still", key: "strKeepDeviceStill" }, lle = { fallback: "Camera", key: "strCamera" }, cle = { fallback: "Switch to mobile", key: "switchToMobile" }, ule = { fallback: "Open the camera on your mobile device, scan the QR code, and follow the link", key: "openPhoneCamera" }, fle = { fallback: "Please wait...", key: "strPleaseWait" }, dle = { fallback: "Mobile device", key: "mobileDevice" }, hle = { fallback: "Identity document verification", key: "verifyYourIdentity" }, ple = { fallback: "Capture a document using the computer’s camera, upload it from files, or scan it on a mobile device", key: "fromCameraFilesMobileDesktop" }, mle = { fallback: "Capture a document using the computer’s camera or upload it from files", key: "fromCameraFilesDesktop" }, gle = { fallback: "Capture a document using the computer’s camera or scan it on a mobile device", key: "fromCameraMobileDesktop" }, vle = { fallback: "Upload a document from files or scan it on a mobile device", key: "fromFilesMobileDesktop" }, ble = { fallback: "Use the computer's camera to capture a document", key: "fromCameraDesktop" }, _le = { fallback: "Pick a document from files and upload it", key: "fromFilesDesktop" }, yle = { fallback: "Use your mobile camera to capture a document", key: "fromMobileDesktop" }, wle = { fallback: "Capture a document using the mobile's camera or upload it from gallery", key: "fromCameraGalleryMobile" }, Cle = { fallback: "Pick a document from the gallery and upload it", key: "fromGalleryMobile" }, Hle = { fallback: "Gallery", key: "gallery" }, Vle = { fallback: "Files", key: "files" }, Ele = { fallback: "Return to the computer", key: "returnToComputer" }, kle = { fallback: "Your document has been captured", key: "documentCaptured" }, Sle = { fallback: "or", key: "strOr" }, Mle = { fallback: "Click here to continue in browser", key: "continueInBrowser" }, Ale = { fallback: "Skip", key: "strSkip" }, Rle = { fallback: "Flip the document", key: "documentReaderDocumentReaderLayoutFlipDocument" }, Ile = { fallback: "Tilt the document", key: "strTiltDocument" }, Tle = {
|
|
21019
|
+
preparingCamera: j3e,
|
|
21020
|
+
timeout: F3e,
|
|
21021
|
+
noFocus: U3e,
|
|
21022
|
+
somethingWentWrong: B3e,
|
|
21023
|
+
incorrectCameraId: z3e,
|
|
21024
|
+
done: G3e,
|
|
21025
|
+
cameraUnavailable: W3e,
|
|
21026
|
+
versionNotSupported: $3e,
|
|
21027
|
+
httpNotSupported: K3e,
|
|
21028
|
+
insecurePageContext: q3e,
|
|
21029
|
+
badLicense: Y3e,
|
|
21030
|
+
fileCorrupt: Q3e,
|
|
21031
|
+
largeFile: X3e,
|
|
21032
|
+
placeDocumentIntoFrame: J3e,
|
|
21033
|
+
holdDocumentStraight: ele,
|
|
21034
|
+
glaresOnDocument: tle,
|
|
21035
|
+
tryAgain: rle,
|
|
21036
|
+
noCameraAvailable: nle,
|
|
21037
|
+
positionDocumentCenter: ile,
|
|
21038
|
+
uploadPhoto: ale,
|
|
21039
|
+
moveCloser: ole,
|
|
21040
|
+
keepDeviceStill: sle,
|
|
21041
|
+
camera: lle,
|
|
21042
|
+
switchToMobile: cle,
|
|
21043
|
+
openPhoneCamera: ule,
|
|
21044
|
+
pleaseWait: fle,
|
|
21045
|
+
mobileDevice: dle,
|
|
21046
|
+
verifyYourIdentity: hle,
|
|
21047
|
+
fromCameraFilesMobileDesktop: ple,
|
|
21048
|
+
fromCameraFilesDesktop: mle,
|
|
21049
|
+
fromCameraMobileDesktop: gle,
|
|
21050
|
+
fromFilesMobileDesktop: vle,
|
|
21051
|
+
fromCameraDesktop: ble,
|
|
21052
|
+
fromFilesDesktop: _le,
|
|
21053
|
+
fromMobileDesktop: yle,
|
|
21054
|
+
fromCameraGalleryMobile: wle,
|
|
21055
|
+
fromGalleryMobile: Cle,
|
|
21056
|
+
gallery: Hle,
|
|
21057
|
+
files: Vle,
|
|
21058
|
+
returnToComputer: Ele,
|
|
21059
|
+
documentCaptured: kle,
|
|
21060
|
+
or: Sle,
|
|
21061
|
+
continueInBrowser: Mle,
|
|
21062
|
+
skip: Ale,
|
|
21063
|
+
flipTheDocument: Rle,
|
|
21064
|
+
tiltTheDocument: Ile
|
|
21065
|
+
}, Ole = Wt`
|
|
21064
21066
|
*,
|
|
21065
21067
|
::after,
|
|
21066
21068
|
::before {
|
|
@@ -21086,10 +21088,10 @@ const N3e = (e) => {
|
|
|
21086
21088
|
height: 100%;
|
|
21087
21089
|
}
|
|
21088
21090
|
`;
|
|
21089
|
-
var
|
|
21090
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21091
|
+
var Ple = Object.defineProperty, Dle = Object.getOwnPropertyDescriptor, P5 = (e, t, r, n) => {
|
|
21092
|
+
for (var i = n > 1 ? void 0 : n ? Dle(t, r) : t, a = e.length - 1, o; a >= 0; a--)
|
|
21091
21093
|
(o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
|
|
21092
|
-
return n && i &&
|
|
21094
|
+
return n && i && Ple(t, r, i), i;
|
|
21093
21095
|
};
|
|
21094
21096
|
let b2 = class extends xn {
|
|
21095
21097
|
constructor() {
|
|
@@ -21201,8 +21203,8 @@ let b2 = class extends xn {
|
|
|
21201
21203
|
}
|
|
21202
21204
|
_prepareTranslations(e) {
|
|
21203
21205
|
const { locale: t, localizationKeys: r } = e, n = t && typeof t == "string" ? t.slice(0, 2).toLowerCase() : "";
|
|
21204
|
-
return !n || !r ? null :
|
|
21205
|
-
translationKeysData:
|
|
21206
|
+
return !n || !r ? null : L3e({
|
|
21207
|
+
translationKeysData: Tle,
|
|
21206
21208
|
translationKeysProps: r,
|
|
21207
21209
|
locale: n
|
|
21208
21210
|
});
|
|
@@ -21304,7 +21306,7 @@ let b2 = class extends xn {
|
|
|
21304
21306
|
]), this._component.settings = this._prepareSettings({ copyright: a, customization: n, functionality: r, locale: l }), this._component.translations = this._prepareTranslations(e);
|
|
21305
21307
|
}
|
|
21306
21308
|
updated(e) {
|
|
21307
|
-
e.has("props") && (this.props && !this._performType && (this._performType = this.props.moduleProps.stepType ===
|
|
21309
|
+
e.has("props") && (this.props && !this._performType && (this._performType = this.props.moduleProps.stepType === Z3e.DOCREADER ? Sa.FORM : Sa.DATA), this._setDocReaderProps());
|
|
21308
21310
|
}
|
|
21309
21311
|
render() {
|
|
21310
21312
|
var e, t;
|
|
@@ -21315,7 +21317,7 @@ let b2 = class extends xn {
|
|
|
21315
21317
|
></document-reader>`;
|
|
21316
21318
|
}
|
|
21317
21319
|
};
|
|
21318
|
-
b2.styles = [
|
|
21320
|
+
b2.styles = [Ole];
|
|
21319
21321
|
P5([
|
|
21320
21322
|
ly()
|
|
21321
21323
|
], b2.prototype, "props", 2);
|
|
@@ -21325,7 +21327,7 @@ P5([
|
|
|
21325
21327
|
b2 = P5([
|
|
21326
21328
|
sy("document-reader-camera")
|
|
21327
21329
|
], b2);
|
|
21328
|
-
const
|
|
21330
|
+
const xle = Wt`
|
|
21329
21331
|
.gallery-root {
|
|
21330
21332
|
display: flex;
|
|
21331
21333
|
width: 100%;
|
|
@@ -21386,7 +21388,7 @@ const Dle = Wt`
|
|
|
21386
21388
|
align-items: center;
|
|
21387
21389
|
justify-content: center;
|
|
21388
21390
|
}
|
|
21389
|
-
`,
|
|
21391
|
+
`, Nle = Cn`<svg
|
|
21390
21392
|
xmlns="http://www.w3.org/2000/svg"
|
|
21391
21393
|
viewBox="0 0 24 24"
|
|
21392
21394
|
width="24"
|
|
@@ -21394,7 +21396,7 @@ const Dle = Wt`
|
|
|
21394
21396
|
fill="rgba(0,0,0,0.6)"
|
|
21395
21397
|
>
|
|
21396
21398
|
<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" />
|
|
21397
|
-
</svg>`,
|
|
21399
|
+
</svg>`, Lle = Cn` <svg
|
|
21398
21400
|
width="40"
|
|
21399
21401
|
height="40"
|
|
21400
21402
|
viewBox="0 0 23 22"
|
|
@@ -21425,7 +21427,7 @@ const Dle = Wt`
|
|
|
21425
21427
|
<rect width="22" height="22" fill="white" transform="translate(0.5 1.90735e-05)" />
|
|
21426
21428
|
</clipPath>
|
|
21427
21429
|
</defs>
|
|
21428
|
-
</svg>`,
|
|
21430
|
+
</svg>`, Zle = Cn`<svg
|
|
21429
21431
|
width="113"
|
|
21430
21432
|
height="16"
|
|
21431
21433
|
viewBox="0 0 113 16"
|
|
@@ -21458,10 +21460,10 @@ const Dle = Wt`
|
|
|
21458
21460
|
fill="#BD7DFF"
|
|
21459
21461
|
/>
|
|
21460
21462
|
</svg>`;
|
|
21461
|
-
var
|
|
21462
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
21463
|
+
var jle = Object.defineProperty, Fle = Object.getOwnPropertyDescriptor, D5 = (e, t, r, n) => {
|
|
21464
|
+
for (var i = n > 1 ? void 0 : n ? Fle(t, r) : t, a = e.length - 1, o; a >= 0; a--)
|
|
21463
21465
|
(o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
|
|
21464
|
-
return n && i &&
|
|
21466
|
+
return n && i && jle(t, r, i), i;
|
|
21465
21467
|
};
|
|
21466
21468
|
const $i = Sa.FORM;
|
|
21467
21469
|
let _2 = class extends xn {
|
|
@@ -21472,7 +21474,7 @@ let _2 = class extends xn {
|
|
|
21472
21474
|
if (!r.length) return;
|
|
21473
21475
|
(o = this.props) != null && o.isProcessing && this.props.isProcessing(!0), yield window.RegulaDocumentSDK.createBackendTransaction({}, window.RegulaDocumentSDK.recognizerProcessParam);
|
|
21474
21476
|
for (const d of r) {
|
|
21475
|
-
const { isExtraLargeResolution: h, isDownscaleNeeded: p } = yield
|
|
21477
|
+
const { isExtraLargeResolution: h, isDownscaleNeeded: p } = yield D3e(
|
|
21476
21478
|
d,
|
|
21477
21479
|
eg,
|
|
21478
21480
|
tg,
|
|
@@ -21487,7 +21489,7 @@ let _2 = class extends xn {
|
|
|
21487
21489
|
}
|
|
21488
21490
|
let g;
|
|
21489
21491
|
if (p || m) {
|
|
21490
|
-
const _ = yield
|
|
21492
|
+
const _ = yield N3e(d, eg, tg);
|
|
21491
21493
|
if (!_.ok) {
|
|
21492
21494
|
const v = {
|
|
21493
21495
|
errorCode: p ? "IMAGE_DOWNSCALING_ERROR" : "IMAGE_PROCESSING_ERROR"
|
|
@@ -21572,9 +21574,9 @@ let _2 = class extends xn {
|
|
|
21572
21574
|
style="background: ${uy((a = (i = this.props) == null ? void 0 : i.moduleProps) == null ? void 0 : a.backgroundColor)}"
|
|
21573
21575
|
>
|
|
21574
21576
|
<div class="header">
|
|
21575
|
-
<button @click="${this._handleCloseClick}" class="close-btn">${
|
|
21577
|
+
<button @click="${this._handleCloseClick}" class="close-btn">${Nle}</button>
|
|
21576
21578
|
</div>
|
|
21577
|
-
<button @click="${this._handleUploadClick}" class="btn">${
|
|
21579
|
+
<button @click="${this._handleUploadClick}" class="btn">${Lle}</button>
|
|
21578
21580
|
<input
|
|
21579
21581
|
@change="${this._handleInputChange}"
|
|
21580
21582
|
id="file-input"
|
|
@@ -21583,12 +21585,12 @@ let _2 = class extends xn {
|
|
|
21583
21585
|
accept="image/png, image/jpeg, image/bmp, image/webp, image/gif, .jpg, .jpeg"
|
|
21584
21586
|
/>
|
|
21585
21587
|
<div class="footer">
|
|
21586
|
-
<a href>${
|
|
21588
|
+
<a href>${Zle} </a>
|
|
21587
21589
|
</div>
|
|
21588
21590
|
</div>`;
|
|
21589
21591
|
}
|
|
21590
21592
|
};
|
|
21591
|
-
_2.styles = [
|
|
21593
|
+
_2.styles = [xle];
|
|
21592
21594
|
D5([
|
|
21593
21595
|
ly()
|
|
21594
21596
|
], _2.prototype, "props", 2);
|
|
@@ -21598,10 +21600,10 @@ D5([
|
|
|
21598
21600
|
_2 = D5([
|
|
21599
21601
|
sy("document-reader-gallery")
|
|
21600
21602
|
], _2);
|
|
21601
|
-
var
|
|
21603
|
+
var Ule = Object.defineProperty, Ble = (e, t, r, n) => {
|
|
21602
21604
|
for (var i = void 0, a = e.length - 1, o; a >= 0; a--)
|
|
21603
21605
|
(o = e[a]) && (i = o(t, r, i) || i);
|
|
21604
|
-
return i &&
|
|
21606
|
+
return i && Ule(t, r, i), i;
|
|
21605
21607
|
};
|
|
21606
21608
|
let Lu = !1;
|
|
21607
21609
|
var Nn;
|
|
@@ -21625,14 +21627,14 @@ const hy = (Nn = class extends xn {
|
|
|
21625
21627
|
return [da.DOC_READER, da.DOC_READER_GALLERY];
|
|
21626
21628
|
}
|
|
21627
21629
|
static initialize(t) {
|
|
21628
|
-
var
|
|
21629
|
-
const r = (
|
|
21630
|
+
var i, a;
|
|
21631
|
+
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;
|
|
21630
21632
|
window.RegulaDocumentSDK = new a3e(), console.info(
|
|
21631
21633
|
"%cDocument Reader web component version: %s",
|
|
21632
21634
|
"color: #6e56b0;",
|
|
21633
21635
|
window.RegulaDocumentSDK.version.component
|
|
21634
21636
|
), o3e().then(() => {
|
|
21635
|
-
window.RegulaDocumentSDK.initialize({ license: r }).then(() => Lu = !0);
|
|
21637
|
+
window.RegulaDocumentSDK.initialize({ license: r, module: n }).then(() => Lu = !0);
|
|
21636
21638
|
});
|
|
21637
21639
|
}
|
|
21638
21640
|
static deinitialize() {
|
|
@@ -21656,11 +21658,12 @@ const hy = (Nn = class extends xn {
|
|
|
21656
21658
|
])}`;
|
|
21657
21659
|
}
|
|
21658
21660
|
}, Nn.displayName = g2, Nn);
|
|
21659
|
-
|
|
21661
|
+
Ble([
|
|
21660
21662
|
oy({ attribute: !1 })
|
|
21661
21663
|
], hy.prototype, "props");
|
|
21662
|
-
let
|
|
21663
|
-
S3e(g2,
|
|
21664
|
+
let zle = hy;
|
|
21665
|
+
S3e(g2, zle);
|
|
21664
21666
|
export {
|
|
21665
|
-
|
|
21667
|
+
zle as DocumentIdv,
|
|
21668
|
+
T3e as ModuleType
|
|
21666
21669
|
};
|
package/package.json
CHANGED