@regulaforensics/idv-capture-web 4.0.656-rc → 4.0.658-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/main.iife.js +5 -5
- package/dist/main.js +207 -110
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
2
|
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
|
|
3
3
|
if (n) throw n[0];
|
|
4
4
|
try {
|
|
@@ -53,7 +53,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
53
53
|
for (let n of e.cssRules) t += n.cssText;
|
|
54
54
|
return _(t);
|
|
55
55
|
})(e) : e;
|
|
56
|
-
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/asyncToGenerator.js
|
|
57
58
|
function x(e, t, n, r, i, a, o) {
|
|
58
59
|
try {
|
|
59
60
|
var s = e[a](o), c = s.value;
|
|
@@ -78,7 +79,8 @@ function S(e) {
|
|
|
78
79
|
});
|
|
79
80
|
};
|
|
80
81
|
}
|
|
81
|
-
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region ../../node_modules/@lit/reactive-element/reactive-element.js
|
|
82
84
|
var C, w, { is: T, defineProperty: ee, getOwnPropertyDescriptor: E, getOwnPropertyNames: te, getOwnPropertySymbols: ne, getPrototypeOf: re } = Object, D = globalThis, O = D.trustedTypes, ie = O ? O.emptyScript : "", ae = D.reactiveElementPolyfillSupport, oe = (e, t) => e, se = {
|
|
83
85
|
toAttribute(e, t) {
|
|
84
86
|
switch (t) {
|
|
@@ -332,7 +334,8 @@ var le = class extends HTMLElement {
|
|
|
332
334
|
firstUpdated(e) {}
|
|
333
335
|
};
|
|
334
336
|
le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[oe("elementProperties")] = /* @__PURE__ */ new Map(), le[oe("finalized")] = /* @__PURE__ */ new Map(), ae == null || ae({ ReactiveElement: le }), ((w = D.reactiveElementVersions) == null ? D.reactiveElementVersions = [] : w).push("2.1.2");
|
|
335
|
-
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region ../../node_modules/lit-html/lit-html.js
|
|
336
339
|
var ue, de = globalThis, fe = (e) => e, pe = de.trustedTypes, me = pe ? pe.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, he = "$lit$", ge = `lit$${Math.random().toFixed(9).slice(2)}$`, _e = "?" + ge, ve = `<${_e}>`, ye = document, be = () => ye.createComment(""), xe = (e) => e === null || typeof e != "object" && typeof e != "function", Se = Array.isArray, Ce = (e) => Se(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", we = "[ \n\f\r]", Te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ee = /-->/g, De = />/g, Oe = RegExp(`>|${we}(?:([^\\s"'>=/]+)(${we}*=${we}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), ke = /'/g, Ae = /"/g, je = /^(?:script|style|textarea|title)$/i, Me = ((e) => (t, ...n) => ({
|
|
337
340
|
_$litType$: e,
|
|
338
341
|
strings: t,
|
|
@@ -603,7 +606,8 @@ var Je = (e, t, n) => {
|
|
|
603
606
|
Qe._$litElement$ = !0, Qe.finalized = !0, (Ye = Ze.litElementHydrateSupport) == null || Ye.call(Ze, { LitElement: Qe });
|
|
604
607
|
var $e = Ze.litElementPolyfillSupport;
|
|
605
608
|
$e == null || $e({ LitElement: Qe }), ((Xe = Ze.litElementVersions) == null ? Ze.litElementVersions = [] : Xe).push("4.2.2");
|
|
606
|
-
|
|
609
|
+
//#endregion
|
|
610
|
+
//#region ../../node_modules/@lit/reactive-element/decorators/property.js
|
|
607
611
|
var et = {
|
|
608
612
|
attribute: !0,
|
|
609
613
|
type: String,
|
|
@@ -639,7 +643,8 @@ function nt(e) {
|
|
|
639
643
|
return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
|
|
640
644
|
})(e, t, n);
|
|
641
645
|
}
|
|
642
|
-
|
|
646
|
+
//#endregion
|
|
647
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
|
|
643
648
|
function rt(e) {
|
|
644
649
|
"@babel/helpers - typeof";
|
|
645
650
|
return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -648,7 +653,8 @@ function rt(e) {
|
|
|
648
653
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
649
654
|
}, rt(e);
|
|
650
655
|
}
|
|
651
|
-
|
|
656
|
+
//#endregion
|
|
657
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
|
|
652
658
|
function it(e, t) {
|
|
653
659
|
if (rt(e) != "object" || !e) return e;
|
|
654
660
|
var n = e[Symbol.toPrimitive];
|
|
@@ -659,12 +665,14 @@ function it(e, t) {
|
|
|
659
665
|
}
|
|
660
666
|
return (t === "string" ? String : Number)(e);
|
|
661
667
|
}
|
|
662
|
-
|
|
668
|
+
//#endregion
|
|
669
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
|
|
663
670
|
function at(e) {
|
|
664
671
|
var t = it(e, "string");
|
|
665
672
|
return rt(t) == "symbol" ? t : t + "";
|
|
666
673
|
}
|
|
667
|
-
|
|
674
|
+
//#endregion
|
|
675
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
|
|
668
676
|
function ot(e, t, n) {
|
|
669
677
|
return (t = at(t)) in e ? Object.defineProperty(e, t, {
|
|
670
678
|
value: n,
|
|
@@ -673,7 +681,8 @@ function ot(e, t, n) {
|
|
|
673
681
|
writable: !0
|
|
674
682
|
}) : e[t] = n, e;
|
|
675
683
|
}
|
|
676
|
-
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectSpread2.js
|
|
677
686
|
function st(e, t) {
|
|
678
687
|
var n = Object.keys(e);
|
|
679
688
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -695,7 +704,8 @@ function j(e) {
|
|
|
695
704
|
}
|
|
696
705
|
return e;
|
|
697
706
|
}
|
|
698
|
-
|
|
707
|
+
//#endregion
|
|
708
|
+
//#region ../../node_modules/@lit/reactive-element/decorators/state.js
|
|
699
709
|
function ct(e) {
|
|
700
710
|
return nt(j(j({}, e), {}, {
|
|
701
711
|
state: !0,
|
|
@@ -751,7 +761,8 @@ var lt = new class {
|
|
|
751
761
|
}, o = t = e(r, i, a);
|
|
752
762
|
return a;
|
|
753
763
|
}, dt = ((e) => e ? ut(e) : ut);
|
|
754
|
-
|
|
764
|
+
//#endregion
|
|
765
|
+
//#region ../../node_modules/preact/dist/preact.module.js
|
|
755
766
|
function ft(e, t) {
|
|
756
767
|
for (var n in t) e[n] = t[n];
|
|
757
768
|
return e;
|
|
@@ -1041,7 +1052,8 @@ var Wt, M, Gt, Kt, qt, Jt, Yt, Xt, Zt, Qt, $t, en, tn, nn, rn, an, on, sn, cn, l
|
|
|
1041
1052
|
return e.__v.__b - t.__v.__b;
|
|
1042
1053
|
}, Ct.__r = 0, Xt = Math.random().toString(8), Zt = "__d" + Xt, Qt = "__a" + Xt, $t = /(PointerCapture)$|Capture$/i, en = 0, tn = jt(!1), nn = jt(!0), rn = 0;
|
|
1043
1054
|
}));
|
|
1044
|
-
|
|
1055
|
+
//#endregion
|
|
1056
|
+
//#region ../../node_modules/preact/hooks/dist/hooks.module.js
|
|
1045
1057
|
function un(e, t) {
|
|
1046
1058
|
F.__h && F.__h(P, e, jn || t), jn = 0;
|
|
1047
1059
|
var n = P.__H || (P.__H = {
|
|
@@ -1644,7 +1656,8 @@ var hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Tr, Er, Dr, Or, kr, Ar, jr, Mr, Nr,
|
|
|
1644
1656
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Fr
|
|
1645
1657
|
};
|
|
1646
1658
|
}));
|
|
1647
|
-
|
|
1659
|
+
//#endregion
|
|
1660
|
+
//#region ../../node_modules/zustand/esm/react.mjs
|
|
1648
1661
|
Br();
|
|
1649
1662
|
var Vr = (e) => e;
|
|
1650
1663
|
function Hr(e, t = Vr) {
|
|
@@ -3465,12 +3478,14 @@ for (let e = 0; e < 256; ++e) Yr.push((e + 256).toString(16).slice(1));
|
|
|
3465
3478
|
function Xr(e, t = 0) {
|
|
3466
3479
|
return (Yr[e[t + 0]] + Yr[e[t + 1]] + Yr[e[t + 2]] + Yr[e[t + 3]] + "-" + Yr[e[t + 4]] + Yr[e[t + 5]] + "-" + Yr[e[t + 6]] + Yr[e[t + 7]] + "-" + Yr[e[t + 8]] + Yr[e[t + 9]] + "-" + Yr[e[t + 10]] + Yr[e[t + 11]] + Yr[e[t + 12]] + Yr[e[t + 13]] + Yr[e[t + 14]] + Yr[e[t + 15]]).toLowerCase();
|
|
3467
3480
|
}
|
|
3468
|
-
|
|
3481
|
+
//#endregion
|
|
3482
|
+
//#region ../../node_modules/uuid/dist/rng.js
|
|
3469
3483
|
var Zr = /* @__PURE__ */ new Uint8Array(16);
|
|
3470
3484
|
function Qr() {
|
|
3471
3485
|
return crypto.getRandomValues(Zr);
|
|
3472
3486
|
}
|
|
3473
|
-
|
|
3487
|
+
//#endregion
|
|
3488
|
+
//#region ../../node_modules/uuid/dist/v4.js
|
|
3474
3489
|
function $r(e, t, n) {
|
|
3475
3490
|
return !t && !e && crypto.randomUUID ? crypto.randomUUID() : ei(e, t, n);
|
|
3476
3491
|
}
|
|
@@ -3486,7 +3501,8 @@ function ei(e, t, n) {
|
|
|
3486
3501
|
}
|
|
3487
3502
|
return Xr(o);
|
|
3488
3503
|
}
|
|
3489
|
-
|
|
3504
|
+
//#endregion
|
|
3505
|
+
//#region src/constants.ts
|
|
3490
3506
|
var ti = Kr(), ni = /* @__PURE__ */ u(qr(), 1), ri = /* @__PURE__ */ u(Jr(), 1), ii = {
|
|
3491
3507
|
MESSAGE: "MESSAGE",
|
|
3492
3508
|
ERROR: "ERROR"
|
|
@@ -3571,7 +3587,8 @@ var oi = {
|
|
|
3571
3587
|
}, ji = (e, t) => {
|
|
3572
3588
|
for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
3573
3589
|
};
|
|
3574
|
-
|
|
3590
|
+
//#endregion
|
|
3591
|
+
//#region src/helpers/utils.ts
|
|
3575
3592
|
function Mi(e) {
|
|
3576
3593
|
try {
|
|
3577
3594
|
return JSON.parse(JSON.stringify(e));
|
|
@@ -3762,7 +3779,7 @@ var ta = () => {
|
|
|
3762
3779
|
osVersion: `${ti.osVersion}`,
|
|
3763
3780
|
hostAppId: ta(),
|
|
3764
3781
|
host: ta(),
|
|
3765
|
-
sdkVersion: (t = "4.0.
|
|
3782
|
+
sdkVersion: (t = "4.0.658-nightly") == null ? void 0 : t.trim(),
|
|
3766
3783
|
name: navigator.userAgent,
|
|
3767
3784
|
deviceModel: `${ti.osName}/${ti.osVersion} ${ti.browserName}/${ti.fullBrowserVersion}`,
|
|
3768
3785
|
hostAppVersion: `${ti.browserName}/${ti.fullBrowserVersion}`,
|
|
@@ -3829,7 +3846,8 @@ function ua() {
|
|
|
3829
3846
|
return Array.from(new Uint8Array(t)).map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
3830
3847
|
}), ua.apply(this, arguments);
|
|
3831
3848
|
}
|
|
3832
|
-
|
|
3849
|
+
//#endregion
|
|
3850
|
+
//#region src/helpers/sanitizeForLogging.ts
|
|
3833
3851
|
var da = "********", fa = /"([^"]+)"\s*:\s*"((?:[^"\\]|\\.)*)"/g, pa = [
|
|
3834
3852
|
"password",
|
|
3835
3853
|
"token",
|
|
@@ -4276,7 +4294,8 @@ var Xa = class e extends V {
|
|
|
4276
4294
|
}
|
|
4277
4295
|
};
|
|
4278
4296
|
Ra = Xa, Ra.MODULE = "IDV", Ra.ERROR_ENUM_NAME = "WorkflowPlatformError", Ra.SHORT_CODE = "WPE";
|
|
4279
|
-
|
|
4297
|
+
//#endregion
|
|
4298
|
+
//#region src/types.ts
|
|
4280
4299
|
var Za = /* @__PURE__ */ function(e) {
|
|
4281
4300
|
return e.Force = "force", e.ApiKey = "apiKey", e.Simple = "simple", e;
|
|
4282
4301
|
}({}), H = class e {
|
|
@@ -4366,7 +4385,8 @@ var Za = /* @__PURE__ */ function(e) {
|
|
|
4366
4385
|
(e = this.webSocket) == null || e.close(), this.webSocket = null, this.connected = !1, this.wasEverConnected = !1, this.lastConnectConfig = null, this.clearSubscriptions();
|
|
4367
4386
|
}
|
|
4368
4387
|
}.getInstance();
|
|
4369
|
-
|
|
4388
|
+
//#endregion
|
|
4389
|
+
//#region ../../node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js
|
|
4370
4390
|
ln();
|
|
4371
4391
|
var Qa = 0;
|
|
4372
4392
|
Array.isArray;
|
|
@@ -4434,7 +4454,8 @@ var $a = Ut(void 0), eo = ({ perform: e, children: t, setIsProcessingCallback: n
|
|
|
4434
4454
|
alignItems: "center",
|
|
4435
4455
|
alignContent: "center"
|
|
4436
4456
|
};
|
|
4437
|
-
|
|
4457
|
+
//#endregion
|
|
4458
|
+
//#region ../idv-gui/src/components/icons/spinner/index.tsx
|
|
4438
4459
|
I();
|
|
4439
4460
|
var so = ({ dataUrl: e, isFullSize: t = !1 }) => {
|
|
4440
4461
|
let n = mn(null);
|
|
@@ -4521,7 +4542,8 @@ var so = ({ dataUrl: e, isFullSize: t = !1 }) => {
|
|
|
4521
4542
|
RIGHT: "RIGHT",
|
|
4522
4543
|
END: "END"
|
|
4523
4544
|
};
|
|
4524
|
-
|
|
4545
|
+
//#endregion
|
|
4546
|
+
//#region ../idv-gui/src/utils/ui-helpers.tsx
|
|
4525
4547
|
function bo(e) {
|
|
4526
4548
|
let t = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, n = [], r = 0;
|
|
4527
4549
|
for (let a of e.matchAll(t)) {
|
|
@@ -4699,7 +4721,8 @@ var To = (e, t) => !!(e.base64 && !(t != null && t.base64.has(e.base64)) || e.im
|
|
|
4699
4721
|
FILES_NOT_SELECTED: "files_not_selected",
|
|
4700
4722
|
FILES_LIMIT_EXCEEDED: "files_limit_exceeded"
|
|
4701
4723
|
};
|
|
4702
|
-
|
|
4724
|
+
//#endregion
|
|
4725
|
+
//#region ../idv-gui/src/utils/index.ts
|
|
4703
4726
|
function zo(e) {
|
|
4704
4727
|
return e === lo.CENTER ? "center" : e === lo.RIGHT || e === lo.END ? "end" : "start";
|
|
4705
4728
|
}
|
|
@@ -4757,7 +4780,8 @@ var Wo = (e, t) => e.reduce((e, n) => {
|
|
|
4757
4780
|
return e.apply(this, arguments);
|
|
4758
4781
|
};
|
|
4759
4782
|
}(), qo = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4);
|
|
4760
|
-
|
|
4783
|
+
//#endregion
|
|
4784
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutPropertiesLoose.js
|
|
4761
4785
|
function Jo(e, t) {
|
|
4762
4786
|
if (e == null) return {};
|
|
4763
4787
|
var n = {};
|
|
@@ -4767,7 +4791,8 @@ function Jo(e, t) {
|
|
|
4767
4791
|
}
|
|
4768
4792
|
return n;
|
|
4769
4793
|
}
|
|
4770
|
-
|
|
4794
|
+
//#endregion
|
|
4795
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectWithoutProperties.js
|
|
4771
4796
|
function Yo(e, t) {
|
|
4772
4797
|
if (e == null) return {};
|
|
4773
4798
|
var n, r, i = Jo(e, t);
|
|
@@ -4777,7 +4802,8 @@ function Yo(e, t) {
|
|
|
4777
4802
|
}
|
|
4778
4803
|
return i;
|
|
4779
4804
|
}
|
|
4780
|
-
|
|
4805
|
+
//#endregion
|
|
4806
|
+
//#region ../idv-gui/src/components/image/index.tsx
|
|
4781
4807
|
I();
|
|
4782
4808
|
var Xo = ["isFullSize"], Zo = (e) => {
|
|
4783
4809
|
let { isFullSize: t = !1 } = e, n = Yo(e, Xo), { failedAssets: r } = io(), i = Eo(n, r), [a, o] = N(0), s = i[a];
|
|
@@ -4846,7 +4872,8 @@ var Xo = ["isFullSize"], Zo = (e) => {
|
|
|
4846
4872
|
children: /* @__PURE__ */ U(Zo, j({}, e))
|
|
4847
4873
|
})
|
|
4848
4874
|
});
|
|
4849
|
-
|
|
4875
|
+
//#endregion
|
|
4876
|
+
//#region ../idv-gui/src/components/header/components/close-button/index.tsx
|
|
4850
4877
|
I();
|
|
4851
4878
|
var $o = {
|
|
4852
4879
|
display: "flex",
|
|
@@ -4925,7 +4952,8 @@ var $o = {
|
|
|
4925
4952
|
children: h
|
|
4926
4953
|
});
|
|
4927
4954
|
};
|
|
4928
|
-
|
|
4955
|
+
//#endregion
|
|
4956
|
+
//#region ../idv-gui/src/hooks/useButtonInteractionState.ts
|
|
4929
4957
|
I();
|
|
4930
4958
|
var ns = () => {
|
|
4931
4959
|
let [e, t] = N(!1), [n, r] = N(!1);
|
|
@@ -5107,7 +5135,8 @@ var ns = () => {
|
|
|
5107
5135
|
},
|
|
5108
5136
|
children: e && xo(e)
|
|
5109
5137
|
});
|
|
5110
|
-
|
|
5138
|
+
//#endregion
|
|
5139
|
+
//#region ../idv-gui/src/screens/status-screen/index.tsx
|
|
5111
5140
|
I();
|
|
5112
5141
|
var ls = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
|
|
5113
5142
|
let c = mn(null), l = mn(null), [u, d] = N(!1);
|
|
@@ -5297,7 +5326,8 @@ var ls = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
5297
5326
|
}),
|
|
5298
5327
|
children: e.map((t, n) => /* @__PURE__ */ U(hs, j({ isLastChild: n === e.length - 1 }, t), n))
|
|
5299
5328
|
});
|
|
5300
|
-
|
|
5329
|
+
//#endregion
|
|
5330
|
+
//#region ../idv-gui/src/screens/details-screen/index.tsx
|
|
5301
5331
|
I();
|
|
5302
5332
|
var vs = ({ title: e, header: t, footer: n, details: r, buttons: i, backgroundColor: a, backgroundImage: o }) => {
|
|
5303
5333
|
let s = mn(null), [c, l] = N(!1);
|
|
@@ -5330,7 +5360,8 @@ var vs = ({ title: e, header: t, footer: n, details: r, buttons: i, backgroundCo
|
|
|
5330
5360
|
})
|
|
5331
5361
|
});
|
|
5332
5362
|
};
|
|
5333
|
-
|
|
5363
|
+
//#endregion
|
|
5364
|
+
//#region ../../node_modules/react-hook-form/dist/index.esm.mjs
|
|
5334
5365
|
Br();
|
|
5335
5366
|
var ys = ["_f"], bs = ["name"], xs = ["_f"], Ss = [
|
|
5336
5367
|
"ref",
|
|
@@ -5476,7 +5507,7 @@ function ec(e) {
|
|
|
5476
5507
|
a,
|
|
5477
5508
|
r
|
|
5478
5509
|
]);
|
|
5479
|
-
qs(() => (d.current
|
|
5510
|
+
qs(() => ((d.current !== n || !$s(f.current, r)) && (d.current = n, f.current = r, g()), n._subscribe({
|
|
5480
5511
|
name: r,
|
|
5481
5512
|
formState: { values: !0 },
|
|
5482
5513
|
exact: o,
|
|
@@ -6160,7 +6191,7 @@ function $c(e = {}) {
|
|
|
6160
6191
|
if (o) {
|
|
6161
6192
|
let n = o._f;
|
|
6162
6193
|
n && (!n.disabled && Y(a, e, kc(t, n)), s = pc(n.ref) && Es(t) ? "" : t, mc(n.ref) ? [...n.ref.options].forEach((e) => e.selected = s.includes(e.value)) : n.refs ? ws(n.ref) ? n.refs.forEach((e) => {
|
|
6163
|
-
e.defaultChecked
|
|
6194
|
+
(!e.defaultChecked || !e.disabled) && (e.checked = Array.isArray(s) ? !!s.find((t) => t === e.value) : s === e.value || !!s);
|
|
6164
6195
|
}) : n.refs.forEach((e) => e.checked = e.value === s) : fc(n.ref) ? n.ref.value = "" : (n.ref.value = s, n.ref.type || p.state.next({
|
|
6165
6196
|
name: e,
|
|
6166
6197
|
values: i ? a : Ns(a)
|
|
@@ -6213,7 +6244,7 @@ function $c(e = {}) {
|
|
|
6213
6244
|
}, b = Ic(t.mode), x = Ic(t.reValidateMode);
|
|
6214
6245
|
if (v) {
|
|
6215
6246
|
let o, S, C = l.type ? Mc(v._f) : ks(i), w = i.type === Ps.BLUR || i.type === Ps.FOCUS_OUT, te = !zc(v._f) && !e.validate && !t.resolver && !J(n.errors, u) && !v._f.deps || Gc(w, J(n.touchedFields, u), n.isSubmitted, x, b), D = Bc(u, s, w);
|
|
6216
|
-
Y(a, u, C), w ? l
|
|
6247
|
+
Y(a, u, C), w ? (!l || !l.readOnly) && (v._f.onBlur && v._f.onBlur(i), c && c(0)) : v._f.onChange && v._f.onChange(i);
|
|
6217
6248
|
let O = T(u, C, w), ie = !dc(O) || D;
|
|
6218
6249
|
if (!w && p.state.next({
|
|
6219
6250
|
name: u,
|
|
@@ -6575,7 +6606,8 @@ function el(e = {}) {
|
|
|
6575
6606
|
o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(j({}, o._formState))), o._removeUnmounted();
|
|
6576
6607
|
}), t.current.formState = L.useMemo(() => Ks(i, o), [o, i]), t.current;
|
|
6577
6608
|
}
|
|
6578
|
-
|
|
6609
|
+
//#endregion
|
|
6610
|
+
//#region ../idv-gui/src/utils/getValidateObjectHelper.ts
|
|
6579
6611
|
var tl = (e, t, n) => {
|
|
6580
6612
|
let r = {};
|
|
6581
6613
|
return e.forEach((e, i) => {
|
|
@@ -6586,7 +6618,8 @@ var tl = (e, t, n) => {
|
|
|
6586
6618
|
"passed" in e && e.passed === !1 && (r[`remote_${i}`] = () => n != null && n() ? !0 : e.message);
|
|
6587
6619
|
}), r;
|
|
6588
6620
|
};
|
|
6589
|
-
|
|
6621
|
+
//#endregion
|
|
6622
|
+
//#region ../idv-gui/src/hooks/useFormFieldValidation.ts
|
|
6590
6623
|
I();
|
|
6591
6624
|
var nl = (e) => e.filter((e) => "passed" in e && e.passed === !1), rl = (e) => {
|
|
6592
6625
|
if (!e) return [];
|
|
@@ -6735,7 +6768,8 @@ var nl = (e) => e.filter((e) => "passed" in e && e.passed === !1), rl = (e) => {
|
|
|
6735
6768
|
}))]
|
|
6736
6769
|
});
|
|
6737
6770
|
};
|
|
6738
|
-
|
|
6771
|
+
//#endregion
|
|
6772
|
+
//#region ../idv-gui/src/hooks/useIsKeyboard.ts
|
|
6739
6773
|
I();
|
|
6740
6774
|
var ll = () => {
|
|
6741
6775
|
let [e, t] = N(!1);
|
|
@@ -6746,7 +6780,8 @@ var ll = () => {
|
|
|
6746
6780
|
};
|
|
6747
6781
|
}, []), e;
|
|
6748
6782
|
};
|
|
6749
|
-
|
|
6783
|
+
//#endregion
|
|
6784
|
+
//#region ../idv-gui/src/screens/questions-screen/components/questions/selector-options-question/SelectorOptionsOption.tsx
|
|
6750
6785
|
I();
|
|
6751
6786
|
var ul = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
|
|
6752
6787
|
let [s, c] = N(!1), l = ll(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
|
|
@@ -6824,7 +6859,8 @@ var ul = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
|
|
|
6824
6859
|
}, o.id))]
|
|
6825
6860
|
})
|
|
6826
6861
|
});
|
|
6827
|
-
|
|
6862
|
+
//#endregion
|
|
6863
|
+
//#region ../idv-gui/src/screens/questions-screen/components/questions/selector-buttons-question/SelectorButtonsOption.tsx
|
|
6828
6864
|
I();
|
|
6829
6865
|
var fl = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i, validate: a, clearFieldErrors: o }) => {
|
|
6830
6866
|
let [s, c] = N(!1), l = ll(), u = String(n.id), d = i(u) === String(e.id), f = r(u, {
|
|
@@ -6904,7 +6940,8 @@ var fl = ({ option: e, layout: t, dataSourceQuestion: n, register: r, watch: i,
|
|
|
6904
6940
|
})]
|
|
6905
6941
|
})
|
|
6906
6942
|
});
|
|
6907
|
-
|
|
6943
|
+
//#endregion
|
|
6944
|
+
//#region ../idv-gui/src/screens/questions-screen/components/questions/select-input-custom/SelectInputCustom.tsx
|
|
6908
6945
|
I();
|
|
6909
6946
|
var ml = ({ isOpen: e, image: t }) => /* @__PURE__ */ U("div", {
|
|
6910
6947
|
"data-ui": "gui-custom-select-chevron",
|
|
@@ -7220,7 +7257,8 @@ var ml = ({ isOpen: e, image: t }) => /* @__PURE__ */ U("div", {
|
|
|
7220
7257
|
})]
|
|
7221
7258
|
});
|
|
7222
7259
|
};
|
|
7223
|
-
|
|
7260
|
+
//#endregion
|
|
7261
|
+
//#region ../idv-gui/src/screens/questions-screen/components/questions/multi-selector-options-question/MultiSelectorOptionsOption.tsx
|
|
7224
7262
|
I();
|
|
7225
7263
|
var yl = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
|
|
7226
7264
|
let [a, o] = N(!1), s = ll(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
|
|
@@ -7315,7 +7353,8 @@ var yl = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
|
|
|
7315
7353
|
})
|
|
7316
7354
|
});
|
|
7317
7355
|
};
|
|
7318
|
-
|
|
7356
|
+
//#endregion
|
|
7357
|
+
//#region ../idv-gui/src/screens/questions-screen/components/questions/multi-selector-buttons-question/MultiSelectorButtonsOption.tsx
|
|
7319
7358
|
I();
|
|
7320
7359
|
var xl = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle: i }) => {
|
|
7321
7360
|
let [a, o] = N(!1), s = ll(), c = String(n.id), l = t.option, u = t.optionSelected, d = {
|
|
@@ -7412,7 +7451,8 @@ var xl = ({ option: e, layout: t, dataSourceQuestion: n, isChosen: r, onToggle:
|
|
|
7412
7451
|
})
|
|
7413
7452
|
});
|
|
7414
7453
|
};
|
|
7415
|
-
|
|
7454
|
+
//#endregion
|
|
7455
|
+
//#region ../idv-gui/src/screens/questions-screen/components/question/index.tsx
|
|
7416
7456
|
I();
|
|
7417
7457
|
var Cl = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearErrorsOnChange: r = !0 }) => {
|
|
7418
7458
|
var i;
|
|
@@ -7517,7 +7557,8 @@ var Cl = ({ layout: e, dataSourceQuestion: t, parentElementRef: n, shouldClearEr
|
|
|
7517
7557
|
});
|
|
7518
7558
|
}
|
|
7519
7559
|
};
|
|
7520
|
-
|
|
7560
|
+
//#endregion
|
|
7561
|
+
//#region ../idv-gui/src/screens/questions-screen/index.tsx
|
|
7521
7562
|
Dl = Ol, Dl.MODULE = Po, Dl.ERROR_ENUM_NAME = "GuiModuleError", Dl.SHORT_CODE = "GM", I();
|
|
7522
7563
|
var kl = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource: a, properties: o, backgroundColor: s, backgroundImage: c }) => {
|
|
7523
7564
|
var l;
|
|
@@ -7638,7 +7679,8 @@ var kl = ({ header: e, title: t, buttons: n, footer: r, questions: i, dataSource
|
|
|
7638
7679
|
minHeight: "100%",
|
|
7639
7680
|
overflow: "auto"
|
|
7640
7681
|
};
|
|
7641
|
-
|
|
7682
|
+
//#endregion
|
|
7683
|
+
//#region ../idv-gui/src/screens/gallery-screen/index.tsx
|
|
7642
7684
|
I();
|
|
7643
7685
|
var Nl = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImage: i, selectionLimit: a }) => {
|
|
7644
7686
|
var o;
|
|
@@ -7718,7 +7760,8 @@ var Nl = ({ header: e, footer: t, buttons: n, backgroundColor: r, backgroundImag
|
|
|
7718
7760
|
minHeight: "100%",
|
|
7719
7761
|
overflow: "auto"
|
|
7720
7762
|
};
|
|
7721
|
-
|
|
7763
|
+
//#endregion
|
|
7764
|
+
//#region ../idv-gui/src/screens/camera-screen/index.tsx
|
|
7722
7765
|
I();
|
|
7723
7766
|
var Ll = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, buttons: i, selectionLimit: a }) => {
|
|
7724
7767
|
var o;
|
|
@@ -7851,7 +7894,8 @@ var Ll = ({ header: e, footer: t, backgroundColor: n, backgroundImage: r, button
|
|
|
7851
7894
|
return e.apply(this, arguments);
|
|
7852
7895
|
};
|
|
7853
7896
|
}(), Vl = (e, t) => typeof t == "number" && t > 0 ? t * 1e3 : e;
|
|
7854
|
-
|
|
7897
|
+
//#endregion
|
|
7898
|
+
//#region ../idv-gui/src/hooks/useGeolocationLogic.ts
|
|
7855
7899
|
I();
|
|
7856
7900
|
var Hl = ({ askEveryTime: e, getLocationTimeout: t, locationAccuracy: n }) => {
|
|
7857
7901
|
var r;
|
|
@@ -8129,7 +8173,8 @@ var tu = Ut(void 0), nu = ({ children: e, handlers: t }) => /* @__PURE__ */ U(tu
|
|
|
8129
8173
|
let a = G(n) || "transparent", o = G(r), s = G(i);
|
|
8130
8174
|
return e ? o || a : t && s || a;
|
|
8131
8175
|
};
|
|
8132
|
-
|
|
8176
|
+
//#endregion
|
|
8177
|
+
//#region ../idv-gui/src/components/imageButton/index.tsx
|
|
8133
8178
|
I();
|
|
8134
8179
|
var ou = (e) => {
|
|
8135
8180
|
let { image: t, responseBody: n, type: r, url: i, paddings: a, backgroundColor: o, highlightColor: s, hoverColor: c, cornerRadius: l, onClick: u } = e, { perform: d } = no(), [f, p] = N(!0), [m, h] = N(0), { failedAssets: g } = io(), { isHovered: _, isPressed: v, interactionHandlers: y } = ns(), b = Eo(t, g)[m];
|
|
@@ -8363,7 +8408,8 @@ function hu(e) {
|
|
|
8363
8408
|
let t = mu[e.type];
|
|
8364
8409
|
return t ? t(e) : null;
|
|
8365
8410
|
}
|
|
8366
|
-
|
|
8411
|
+
//#endregion
|
|
8412
|
+
//#region ../idv-gui/src/screens/generic/components/column/index.tsx
|
|
8367
8413
|
var gu = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadius: r, paddings: i }) => {
|
|
8368
8414
|
let { layoutDirection: a } = ao(), o = du(a), s = o[yo.START];
|
|
8369
8415
|
return /* @__PURE__ */ U("div", {
|
|
@@ -8540,7 +8586,8 @@ var gu = ({ elements: e, horizontalAlignment: t, backgroundColor: n, cornerRadiu
|
|
|
8540
8586
|
}
|
|
8541
8587
|
return null;
|
|
8542
8588
|
};
|
|
8543
|
-
|
|
8589
|
+
//#endregion
|
|
8590
|
+
//#region ../../node_modules/qrcode.react/lib/esm/index.js
|
|
8544
8591
|
Br();
|
|
8545
8592
|
var Su = Object.defineProperty, Cu = Object.getOwnPropertySymbols, wu = Object.prototype.hasOwnProperty, Tu = Object.prototype.propertyIsEnumerable, Eu = (e, t, n) => t in e ? Su(e, t, {
|
|
8546
8593
|
enumerable: !0,
|
|
@@ -9490,7 +9537,8 @@ var Ju = L.forwardRef(function(e, t) {
|
|
|
9490
9537
|
}), b);
|
|
9491
9538
|
});
|
|
9492
9539
|
Ju.displayName = "QRCodeSVG";
|
|
9493
|
-
|
|
9540
|
+
//#endregion
|
|
9541
|
+
//#region ../idv-gui/src/screens/device-transfer/styles.ts
|
|
9494
9542
|
var Yu = {
|
|
9495
9543
|
width: "100%",
|
|
9496
9544
|
height: "auto",
|
|
@@ -9566,7 +9614,8 @@ var Yu = {
|
|
|
9566
9614
|
}({}), nd = /* @__PURE__ */ function(e) {
|
|
9567
9615
|
return e.OK = "ok", e.SIZE = "size", e.FORMAT = "format", e;
|
|
9568
9616
|
}({});
|
|
9569
|
-
|
|
9617
|
+
//#endregion
|
|
9618
|
+
//#region ../idv-gui/src/screens/upload-files/utils.ts
|
|
9570
9619
|
function rd(e) {
|
|
9571
9620
|
if (e < 1024) return `${e} B`;
|
|
9572
9621
|
let t = e / 1024;
|
|
@@ -9623,7 +9672,8 @@ var cd = (e) => {
|
|
|
9623
9672
|
cursor: "pointer",
|
|
9624
9673
|
padding: 0
|
|
9625
9674
|
};
|
|
9626
|
-
|
|
9675
|
+
//#endregion
|
|
9676
|
+
//#region ../idv-gui/src/screens/upload-files/components/upload-file-row/UploadFileRow.tsx
|
|
9627
9677
|
I();
|
|
9628
9678
|
var hd = ({ uploadFile: e, uploadPhase: t, onRetryFile: n, onRemoveFile: r }) => {
|
|
9629
9679
|
let [i, a] = N(!1), o = mn(null), s = _n(() => {
|
|
@@ -9710,7 +9760,8 @@ var hd = ({ uploadFile: e, uploadPhase: t, onRetryFile: n, onRemoveFile: r }) =>
|
|
|
9710
9760
|
transition: "width 0.15s ease-out"
|
|
9711
9761
|
} })
|
|
9712
9762
|
});
|
|
9713
|
-
|
|
9763
|
+
//#endregion
|
|
9764
|
+
//#region ../idv-gui/src/screens/upload-files/hooks/useUploadFiles.ts
|
|
9714
9765
|
I();
|
|
9715
9766
|
var _d = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r, abortRequest: i }) => {
|
|
9716
9767
|
var a;
|
|
@@ -9941,7 +9992,8 @@ var _d = ({ settings: e, errorMessages: t, serviceToken: n, uploadFileToTemp: r,
|
|
|
9941
9992
|
padding: "24px",
|
|
9942
9993
|
width: "100%"
|
|
9943
9994
|
};
|
|
9944
|
-
|
|
9995
|
+
//#endregion
|
|
9996
|
+
//#region ../idv-gui/src/screens/upload-files/index.tsx
|
|
9945
9997
|
I();
|
|
9946
9998
|
var Ad = (e) => {
|
|
9947
9999
|
var t, n, r, i, a;
|
|
@@ -10309,7 +10361,8 @@ var Md, Nd = !1, Pd = ({ children: e, locale: t, direction: n }) => /* @__PURE__
|
|
|
10309
10361
|
}
|
|
10310
10362
|
};
|
|
10311
10363
|
Md = Id, Md.displayName = Po, Md.getSupportedTemplates = () => Object.values(co), Md.getIdentifier = () => Po, ya(Po, Id);
|
|
10312
|
-
|
|
10364
|
+
//#endregion
|
|
10365
|
+
//#region ../../node_modules/class-validator/esm5/metadata/ValidationMetadata.js
|
|
10313
10366
|
var Ld = function() {
|
|
10314
10367
|
function e(e) {
|
|
10315
10368
|
this.groups = [], this.each = !1, this.context = void 0, this.type = e.type, this.name = e.name, this.target = e.target, this.propertyName = e.propertyName, this.constraints = e == null ? void 0 : e.constraints, this.constraintCls = e.constraintCls, this.validationTypeOptions = e.validationTypeOptions, e.validationOptions && (this.message = e.validationOptions.message, this.groups = e.validationOptions.groups, this.always = e.validationOptions.always, this.each = e.validationOptions.each, this.context = e.validationOptions.context, this.validateIf = e.validationOptions.validateIf);
|
|
@@ -10340,22 +10393,26 @@ var Ld = function() {
|
|
|
10340
10393
|
}), t;
|
|
10341
10394
|
}, e;
|
|
10342
10395
|
}();
|
|
10343
|
-
|
|
10396
|
+
//#endregion
|
|
10397
|
+
//#region ../../node_modules/class-validator/esm5/utils/convert-to-array.util.js
|
|
10344
10398
|
function zd(e) {
|
|
10345
10399
|
return e instanceof Map ? Array.from(e.values()) : Array.isArray(e) ? e : Array.from(e);
|
|
10346
10400
|
}
|
|
10347
|
-
|
|
10401
|
+
//#endregion
|
|
10402
|
+
//#region ../../node_modules/class-validator/esm5/utils/get-global.util.js
|
|
10348
10403
|
function Bd() {
|
|
10349
10404
|
if (typeof globalThis < "u") return globalThis;
|
|
10350
10405
|
if (typeof global < "u") return global;
|
|
10351
10406
|
if (typeof window < "u") return window;
|
|
10352
10407
|
if (typeof self < "u") return self;
|
|
10353
10408
|
}
|
|
10354
|
-
|
|
10409
|
+
//#endregion
|
|
10410
|
+
//#region ../../node_modules/class-validator/esm5/utils/is-promise.util.js
|
|
10355
10411
|
function Vd(e) {
|
|
10356
10412
|
return typeof e == "object" && !!e && typeof e.then == "function";
|
|
10357
10413
|
}
|
|
10358
|
-
|
|
10414
|
+
//#endregion
|
|
10415
|
+
//#region ../../node_modules/class-validator/esm5/metadata/MetadataStorage.js
|
|
10359
10416
|
var Hd = function(e) {
|
|
10360
10417
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
10361
10418
|
if (n) return n.call(e);
|
|
@@ -10453,7 +10510,8 @@ function Kd() {
|
|
|
10453
10510
|
var e = Bd();
|
|
10454
10511
|
return e.classValidatorMetadataStorage || (e.classValidatorMetadataStorage = new Gd()), e.classValidatorMetadataStorage;
|
|
10455
10512
|
}
|
|
10456
|
-
|
|
10513
|
+
//#endregion
|
|
10514
|
+
//#region ../../node_modules/class-validator/esm5/validation/ValidationError.js
|
|
10457
10515
|
var qd = function() {
|
|
10458
10516
|
function e() {}
|
|
10459
10517
|
return e.prototype.toString = function(e, t, n, r) {
|
|
@@ -10486,7 +10544,8 @@ var qd = function() {
|
|
|
10486
10544
|
}).indexOf(e) !== -1;
|
|
10487
10545
|
}, e.CUSTOM_VALIDATION = "customValidation", e.NESTED_VALIDATION = "nestedValidation", e.PROMISE_VALIDATION = "promiseValidation", e.CONDITIONAL_VALIDATION = "conditionalValidation", e.WHITELIST = "whitelistValidation", e.IS_DEFINED = "isDefined", e;
|
|
10488
10546
|
}();
|
|
10489
|
-
|
|
10547
|
+
//#endregion
|
|
10548
|
+
//#region ../../node_modules/class-validator/esm5/validation/ValidationUtils.js
|
|
10490
10549
|
function Yd(e) {
|
|
10491
10550
|
return Array.isArray(e) ? e.join(", ") : (typeof e == "symbol" && (e = e.description), `${e}`);
|
|
10492
10551
|
}
|
|
@@ -10528,7 +10587,7 @@ var Xd = function() {
|
|
|
10528
10587
|
var o = this.validatorOptions ? this.validatorOptions.groups : void 0, s = this.validatorOptions && this.validatorOptions.strictGroups || !1, c = this.validatorOptions && this.validatorOptions.always || !1, l = ((a = this.validatorOptions) == null ? void 0 : a.forbidUnknownValues) === void 0 || this.validatorOptions.forbidUnknownValues !== !1, u = this.metadataStorage.getTargetValidationMetadatas(e.constructor, t, c, s, o), d = this.metadataStorage.groupByPropertyName(u);
|
|
10529
10588
|
if (l && !u.length) {
|
|
10530
10589
|
var f = new qd();
|
|
10531
|
-
this.validatorOptions
|
|
10590
|
+
(!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.target === void 0 || this.validatorOptions.validationError.target === !0) && (f.target = e), f.value = void 0, f.property = void 0, f.children = [], f.constraints = { unknownValue: "an unknown value was passed to the validate function" }, n.push(f);
|
|
10532
10591
|
} else this.validatorOptions && this.validatorOptions.whitelist && this.whitelist(e, d, n), Object.keys(d).forEach(function(t) {
|
|
10533
10592
|
var i = e[t], a = d[t].filter(function(e) {
|
|
10534
10593
|
return e.type === Jd.IS_DEFINED;
|
|
@@ -10544,7 +10603,7 @@ var Xd = function() {
|
|
|
10544
10603
|
}, e.prototype.whitelist = function(e, t, n) {
|
|
10545
10604
|
var r = this, i = [];
|
|
10546
10605
|
Object.keys(e).forEach(function(e) {
|
|
10547
|
-
t[e]
|
|
10606
|
+
(!t[e] || t[e].length === 0) && i.push(e);
|
|
10548
10607
|
}), i.length > 0 && (this.validatorOptions && this.validatorOptions.forbidNonWhitelisted ? i.forEach(function(t) {
|
|
10549
10608
|
var i, a = r.generateValidationError(e, e[t], t);
|
|
10550
10609
|
a.constraints = (i = {}, i[Jd.WHITELIST] = `property ${t} should not exist`, i), a.children = void 0, n.push(a);
|
|
@@ -10568,10 +10627,10 @@ var Xd = function() {
|
|
|
10568
10627
|
}), c = i.filter(function(e) {
|
|
10569
10628
|
return e.type === Jd.CONDITIONAL_VALIDATION;
|
|
10570
10629
|
}), l = this.generateValidationError(e, t, n);
|
|
10571
|
-
a.push(l), this.conditionalValidations(e, t, c) && (this.customValidations(e, t, r, l), this.mapContexts(e, t, r, l), t === void 0 && this.validatorOptions && this.validatorOptions.skipUndefinedProperties === !0
|
|
10630
|
+
a.push(l), this.conditionalValidations(e, t, c) && (this.customValidations(e, t, r, l), this.mapContexts(e, t, r, l), !(t === void 0 && this.validatorOptions && this.validatorOptions.skipUndefinedProperties === !0) && (t === null && this.validatorOptions && this.validatorOptions.skipNullProperties === !0 || t == null && this.validatorOptions && this.validatorOptions.skipMissingProperties === !0 || (this.customValidations(e, t, o, l), this.nestedValidations(t, s, l), this.mapContexts(e, t, i, l), this.mapContexts(e, t, o, l))));
|
|
10572
10631
|
}, e.prototype.generateValidationError = function(e, t, n) {
|
|
10573
10632
|
var r = new qd();
|
|
10574
|
-
return this.validatorOptions
|
|
10633
|
+
return (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.target === void 0 || this.validatorOptions.validationError.target === !0) && (r.target = e), (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.value === void 0 || this.validatorOptions.validationError.value === !0) && (r.value = t), r.property = n, r.children = [], r.constraints = {}, r;
|
|
10575
10634
|
}, e.prototype.conditionalValidations = function(e, t, n) {
|
|
10576
10635
|
return n.map(function(n) {
|
|
10577
10636
|
return n.constraints[0](e, t);
|
|
@@ -10814,7 +10873,8 @@ var Xd = function() {
|
|
|
10814
10873
|
function rf(e) {
|
|
10815
10874
|
return nf.get(e);
|
|
10816
10875
|
}
|
|
10817
|
-
|
|
10876
|
+
//#endregion
|
|
10877
|
+
//#region ../../node_modules/class-validator/esm5/metadata/ConstraintMetadata.js
|
|
10818
10878
|
var af = function() {
|
|
10819
10879
|
function e(e, t, n) {
|
|
10820
10880
|
n === void 0 && (n = !1), this.target = e, this.name = t, this.async = n;
|
|
@@ -10827,7 +10887,8 @@ var af = function() {
|
|
|
10827
10887
|
configurable: !0
|
|
10828
10888
|
}), e;
|
|
10829
10889
|
}();
|
|
10830
|
-
|
|
10890
|
+
//#endregion
|
|
10891
|
+
//#region ../../node_modules/class-validator/esm5/register-decorator.js
|
|
10831
10892
|
function of(e) {
|
|
10832
10893
|
var t;
|
|
10833
10894
|
if (e.validator instanceof Function) {
|
|
@@ -10854,7 +10915,8 @@ function of(e) {
|
|
|
10854
10915
|
};
|
|
10855
10916
|
Kd().addValidationMetadata(new Ld(r));
|
|
10856
10917
|
}
|
|
10857
|
-
|
|
10918
|
+
//#endregion
|
|
10919
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/ValidateBy.js
|
|
10858
10920
|
function sf(e, t) {
|
|
10859
10921
|
return function(n) {
|
|
10860
10922
|
return e(t && t.each ? "each value in " : "", n);
|
|
@@ -10872,7 +10934,8 @@ function cf(e, t) {
|
|
|
10872
10934
|
});
|
|
10873
10935
|
};
|
|
10874
10936
|
}
|
|
10875
|
-
|
|
10937
|
+
//#endregion
|
|
10938
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/IsDefined.js
|
|
10876
10939
|
var lf = Jd.IS_DEFINED;
|
|
10877
10940
|
function uf(e) {
|
|
10878
10941
|
return e != null;
|
|
@@ -10890,7 +10953,8 @@ function df(e) {
|
|
|
10890
10953
|
}
|
|
10891
10954
|
}, e);
|
|
10892
10955
|
}
|
|
10893
|
-
|
|
10956
|
+
//#endregion
|
|
10957
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/IsOptional.js
|
|
10894
10958
|
var ff = "isOptional";
|
|
10895
10959
|
function X(e) {
|
|
10896
10960
|
return function(t, n) {
|
|
@@ -10907,7 +10971,8 @@ function X(e) {
|
|
|
10907
10971
|
Kd().addValidationMetadata(new Ld(r));
|
|
10908
10972
|
};
|
|
10909
10973
|
}
|
|
10910
|
-
|
|
10974
|
+
//#endregion
|
|
10975
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/ValidateIf.js
|
|
10911
10976
|
function pf(e, t) {
|
|
10912
10977
|
return function(n, r) {
|
|
10913
10978
|
var i = {
|
|
@@ -10920,7 +10985,8 @@ function pf(e, t) {
|
|
|
10920
10985
|
Kd().addValidationMetadata(new Ld(i));
|
|
10921
10986
|
};
|
|
10922
10987
|
}
|
|
10923
|
-
|
|
10988
|
+
//#endregion
|
|
10989
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/ValidateNested.js
|
|
10924
10990
|
var mf = function() {
|
|
10925
10991
|
return mf = Object.assign || function(e) {
|
|
10926
10992
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
@@ -10939,7 +11005,8 @@ function hf(e) {
|
|
|
10939
11005
|
Kd().addValidationMetadata(new Ld(r));
|
|
10940
11006
|
};
|
|
10941
11007
|
}
|
|
10942
|
-
|
|
11008
|
+
//#endregion
|
|
11009
|
+
//#region ../../node_modules/class-validator/esm5/decorator/common/IsNotEmpty.js
|
|
10943
11010
|
var gf = "isNotEmpty";
|
|
10944
11011
|
function _f(e) {
|
|
10945
11012
|
return e !== "" && e != null;
|
|
@@ -10957,7 +11024,8 @@ function vf(e) {
|
|
|
10957
11024
|
}
|
|
10958
11025
|
}, e);
|
|
10959
11026
|
}
|
|
10960
|
-
|
|
11027
|
+
//#endregion
|
|
11028
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsBoolean.js
|
|
10961
11029
|
var yf = "isBoolean";
|
|
10962
11030
|
function bf(e) {
|
|
10963
11031
|
return e instanceof Boolean || typeof e == "boolean";
|
|
@@ -10975,7 +11043,8 @@ function xf(e) {
|
|
|
10975
11043
|
}
|
|
10976
11044
|
}, e);
|
|
10977
11045
|
}
|
|
10978
|
-
|
|
11046
|
+
//#endregion
|
|
11047
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsNumber.js
|
|
10979
11048
|
var Sf = "isNumber";
|
|
10980
11049
|
function Cf(e, t) {
|
|
10981
11050
|
if (t === void 0 && (t = {}), typeof e != "number") return !1;
|
|
@@ -11001,7 +11070,8 @@ function wf(e, t) {
|
|
|
11001
11070
|
}
|
|
11002
11071
|
}, t);
|
|
11003
11072
|
}
|
|
11004
|
-
|
|
11073
|
+
//#endregion
|
|
11074
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsEnum.js
|
|
11005
11075
|
var Tf = function(e, t) {
|
|
11006
11076
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
11007
11077
|
if (!n) return e;
|
|
@@ -11047,7 +11117,8 @@ function kf(e, t) {
|
|
|
11047
11117
|
}
|
|
11048
11118
|
}, t);
|
|
11049
11119
|
}
|
|
11050
|
-
|
|
11120
|
+
//#endregion
|
|
11121
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsString.js
|
|
11051
11122
|
var Af = "isString";
|
|
11052
11123
|
function jf(e) {
|
|
11053
11124
|
return e instanceof String || typeof e == "string";
|
|
@@ -11065,7 +11136,8 @@ function Mf(e) {
|
|
|
11065
11136
|
}
|
|
11066
11137
|
}, e);
|
|
11067
11138
|
}
|
|
11068
|
-
|
|
11139
|
+
//#endregion
|
|
11140
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsArray.js
|
|
11069
11141
|
var Nf = "isArray";
|
|
11070
11142
|
function Pf(e) {
|
|
11071
11143
|
return Array.isArray(e);
|
|
@@ -11083,7 +11155,8 @@ function Ff(e) {
|
|
|
11083
11155
|
}
|
|
11084
11156
|
}, e);
|
|
11085
11157
|
}
|
|
11086
|
-
|
|
11158
|
+
//#endregion
|
|
11159
|
+
//#region ../../node_modules/class-validator/esm5/decorator/typechecker/IsObject.js
|
|
11087
11160
|
var If = "isObject";
|
|
11088
11161
|
function Lf(e) {
|
|
11089
11162
|
return e != null && (typeof e == "object" || typeof e == "function") && !Array.isArray(e);
|
|
@@ -11101,16 +11174,19 @@ function Rf(e) {
|
|
|
11101
11174
|
}
|
|
11102
11175
|
}, e);
|
|
11103
11176
|
}
|
|
11104
|
-
|
|
11177
|
+
//#endregion
|
|
11178
|
+
//#region ../../node_modules/class-validator/esm5/index.js
|
|
11105
11179
|
function zf(e, t, n) {
|
|
11106
11180
|
return typeof e == "string" ? rf(tf).validateSync(e, t, n) : rf(tf).validateSync(e, t);
|
|
11107
11181
|
}
|
|
11108
|
-
|
|
11182
|
+
//#endregion
|
|
11183
|
+
//#region ../../node_modules/class-transformer/esm5/enums/transformation-type.enum.js
|
|
11109
11184
|
var Z;
|
|
11110
11185
|
(function(e) {
|
|
11111
11186
|
e[e.PLAIN_TO_CLASS = 0] = "PLAIN_TO_CLASS", e[e.CLASS_TO_PLAIN = 1] = "CLASS_TO_PLAIN", e[e.CLASS_TO_CLASS = 2] = "CLASS_TO_CLASS";
|
|
11112
11187
|
})(Z || (Z = {}));
|
|
11113
|
-
|
|
11188
|
+
//#endregion
|
|
11189
|
+
//#region ../../node_modules/class-transformer/esm5/storage.js
|
|
11114
11190
|
var Bf = new (function() {
|
|
11115
11191
|
function e() {
|
|
11116
11192
|
this._typeMetadatas = /* @__PURE__ */ new Map(), this._transformMetadatas = /* @__PURE__ */ new Map(), this._exposeMetadatas = /* @__PURE__ */ new Map(), this._excludeMetadatas = /* @__PURE__ */ new Map(), this._ancestorsMap = /* @__PURE__ */ new Map();
|
|
@@ -11203,18 +11279,21 @@ var Bf = new (function() {
|
|
|
11203
11279
|
return this._ancestorsMap.get(e);
|
|
11204
11280
|
}, e;
|
|
11205
11281
|
}())();
|
|
11206
|
-
|
|
11282
|
+
//#endregion
|
|
11283
|
+
//#region ../../node_modules/class-transformer/esm5/utils/get-global.util.js
|
|
11207
11284
|
function Vf() {
|
|
11208
11285
|
if (typeof globalThis < "u") return globalThis;
|
|
11209
11286
|
if (typeof global < "u") return global;
|
|
11210
11287
|
if (typeof window < "u") return window;
|
|
11211
11288
|
if (typeof self < "u") return self;
|
|
11212
11289
|
}
|
|
11213
|
-
|
|
11290
|
+
//#endregion
|
|
11291
|
+
//#region ../../node_modules/class-transformer/esm5/utils/is-promise.util.js
|
|
11214
11292
|
function Hf(e) {
|
|
11215
11293
|
return typeof e == "object" && !!e && typeof e.then == "function";
|
|
11216
11294
|
}
|
|
11217
|
-
|
|
11295
|
+
//#endregion
|
|
11296
|
+
//#region ../../node_modules/class-transformer/esm5/TransformOperationExecutor.js
|
|
11218
11297
|
var Uf = function(e, t, n) {
|
|
11219
11298
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
11220
11299
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
@@ -11268,9 +11347,9 @@ var Gf = function() {
|
|
|
11268
11347
|
});
|
|
11269
11348
|
if (!i && typeof t == "object" && t && typeof t.then == "function") return t;
|
|
11270
11349
|
if (typeof t == "object" && t) {
|
|
11271
|
-
n
|
|
11350
|
+
!n && t.constructor !== Object && (!Array.isArray(t) && t.constructor === Array || (n = t.constructor)), !n && e && (n = e.constructor), this.options.enableCircularCheck && this.recursionStack.add(t);
|
|
11272
11351
|
var c = this.getKeys(n, t, i), l = e || {};
|
|
11273
|
-
e
|
|
11352
|
+
!e && (this.transformationType === Z.PLAIN_TO_CLASS || this.transformationType === Z.CLASS_TO_CLASS) && (l = i ? /* @__PURE__ */ new Map() : n ? new n() : {});
|
|
11274
11353
|
for (var u = function(r) {
|
|
11275
11354
|
if (r === "__proto__" || r === "constructor") return "continue";
|
|
11276
11355
|
var o = r, s = r, c = r;
|
|
@@ -11441,18 +11520,21 @@ var Gf = function() {
|
|
|
11441
11520
|
function Yf(e, t, n) {
|
|
11442
11521
|
return Jf.plainToInstance(e, t, n);
|
|
11443
11522
|
}
|
|
11444
|
-
|
|
11523
|
+
//#endregion
|
|
11524
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorateMetadata.js
|
|
11445
11525
|
function Q(e, t) {
|
|
11446
11526
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
11447
11527
|
}
|
|
11448
|
-
|
|
11528
|
+
//#endregion
|
|
11529
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorate.js
|
|
11449
11530
|
function $(e, t, n, r) {
|
|
11450
11531
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
11451
11532
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
11452
11533
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
11453
11534
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
11454
11535
|
}
|
|
11455
|
-
|
|
11536
|
+
//#endregion
|
|
11537
|
+
//#region src/models/workflow/session/workflow/workflow-step/workflow-step-client/WorkflowStepClientModel.ts
|
|
11456
11538
|
var Xf = class {};
|
|
11457
11539
|
$([
|
|
11458
11540
|
df(),
|
|
@@ -11463,7 +11545,8 @@ $([
|
|
|
11463
11545
|
Rf(),
|
|
11464
11546
|
Q("design:type", typeof Record > "u" ? Object : Record)
|
|
11465
11547
|
], Xf.prototype, "templateLayout", void 0);
|
|
11466
|
-
|
|
11548
|
+
//#endregion
|
|
11549
|
+
//#region src/models/workflow/session/workflow/workflow-step/WorkflowStepModel.ts
|
|
11467
11550
|
var Zf = class {};
|
|
11468
11551
|
$([
|
|
11469
11552
|
df(),
|
|
@@ -11496,7 +11579,8 @@ $([
|
|
|
11496
11579
|
hf(),
|
|
11497
11580
|
Q("design:type", Xf === void 0 ? Object : Xf)
|
|
11498
11581
|
], Zf.prototype, "client", void 0);
|
|
11499
|
-
|
|
11582
|
+
//#endregion
|
|
11583
|
+
//#region src/models/workflow/session/workflow/workflow-client/WorkflowClientModel.ts
|
|
11500
11584
|
var Qf = (e) => Array.isArray(e) && e.some((e) => e && typeof e == "object" && (e.templateId === "PROGRESS" || e.templateId === "GENERIC_PROGRESS")), $f = () => cf({
|
|
11501
11585
|
name: "hasProgressStep",
|
|
11502
11586
|
validator: {
|
|
@@ -11519,7 +11603,8 @@ $([
|
|
|
11519
11603
|
$f(),
|
|
11520
11604
|
Q("design:type", typeof Array > "u" ? Object : Array)
|
|
11521
11605
|
], ep.prototype, "steps", void 0);
|
|
11522
|
-
|
|
11606
|
+
//#endregion
|
|
11607
|
+
//#region src/models/workflow/session/workflow/WorkflowModel.ts
|
|
11523
11608
|
var tp, np = class {
|
|
11524
11609
|
static isWorkflowModel(e) {
|
|
11525
11610
|
return typeof e == "object" && !!e && "id" in e && "steps" in e && "client" in e && !("error" in e);
|
|
@@ -11583,14 +11668,16 @@ tp = np, tp.fromPlain = (e) => {
|
|
|
11583
11668
|
xf(),
|
|
11584
11669
|
Q("design:type", Boolean)
|
|
11585
11670
|
], np.prototype, "trackLocation", void 0);
|
|
11586
|
-
|
|
11671
|
+
//#endregion
|
|
11672
|
+
//#region src/models/workflow/session/workflow/workflow-logging/WorkflowLoggingModel.tsx
|
|
11587
11673
|
var rp = class {};
|
|
11588
11674
|
$([
|
|
11589
11675
|
X(),
|
|
11590
11676
|
kf(ai),
|
|
11591
11677
|
Q("design:type", ai === void 0 ? Object : ai)
|
|
11592
11678
|
], rp.prototype, "level", void 0);
|
|
11593
|
-
|
|
11679
|
+
//#endregion
|
|
11680
|
+
//#region src/models/workflow/session/property/PropertyModel.ts
|
|
11594
11681
|
var ip = class {};
|
|
11595
11682
|
$([
|
|
11596
11683
|
df(),
|
|
@@ -11635,7 +11722,8 @@ $([
|
|
|
11635
11722
|
wf(),
|
|
11636
11723
|
Q("design:type", Object)
|
|
11637
11724
|
], ip.prototype, "decimal", void 0), $([X(), Q("design:type", Object)], ip.prototype, "object", void 0);
|
|
11638
|
-
|
|
11725
|
+
//#endregion
|
|
11726
|
+
//#region src/models/workflow/session/SessionModel.ts
|
|
11639
11727
|
var ap, op = class {
|
|
11640
11728
|
static isSessionModel(e) {
|
|
11641
11729
|
return typeof e == "object" && !!e && "id" in e && "currentStep" in e && "workflow" in e && "properties" in e && "isProcessingFiles" in e && !("error" in e);
|
|
@@ -11698,7 +11786,8 @@ ap = op, ap.fromPlain = (e) => {
|
|
|
11698
11786
|
Rf(),
|
|
11699
11787
|
Q("design:type", typeof Record > "u" ? Object : Record)
|
|
11700
11788
|
], op.prototype, "metadata", void 0);
|
|
11701
|
-
|
|
11789
|
+
//#endregion
|
|
11790
|
+
//#region src/store/idvIntegrationController.ts
|
|
11702
11791
|
var sp = (e, t) => ({
|
|
11703
11792
|
_isInitialized: !1,
|
|
11704
11793
|
_initializationInProgress: !1,
|
|
@@ -12251,7 +12340,8 @@ var sp = (e, t) => ({
|
|
|
12251
12340
|
})();
|
|
12252
12341
|
}
|
|
12253
12342
|
});
|
|
12254
|
-
|
|
12343
|
+
//#endregion
|
|
12344
|
+
//#region src/helpers/decorators.ts
|
|
12255
12345
|
function cp(e, t, n) {
|
|
12256
12346
|
let r = n.value;
|
|
12257
12347
|
n.value = /* @__PURE__ */ function() {
|
|
@@ -12281,7 +12371,8 @@ function cp(e, t, n) {
|
|
|
12281
12371
|
};
|
|
12282
12372
|
}();
|
|
12283
12373
|
}
|
|
12284
|
-
|
|
12374
|
+
//#endregion
|
|
12375
|
+
//#region src/services/IdvFetchService.ts
|
|
12285
12376
|
var lp = class {
|
|
12286
12377
|
constructor() {
|
|
12287
12378
|
this._connectionTokenExpirationBufferMs = 6e4, this._httpTimeoutMs = Ti, this._origin = "", this._apiKeyAuthToken = {
|
|
@@ -13306,7 +13397,8 @@ $([
|
|
|
13306
13397
|
Q("design:paramtypes", [Object, typeof RequestInit > "u" ? Object : RequestInit]),
|
|
13307
13398
|
Q("design:returntype", Promise)
|
|
13308
13399
|
], lp.prototype, "_httpFetch", null);
|
|
13309
|
-
|
|
13400
|
+
//#endregion
|
|
13401
|
+
//#region src/services/AssetsService.ts
|
|
13310
13402
|
var up, dp = 3e4, fp = class e {
|
|
13311
13403
|
static isImageLike(e) {
|
|
13312
13404
|
return typeof e.imageURL == "string" || typeof e.imageId == "string" || typeof e.base64 == "string";
|
|
@@ -13410,7 +13502,8 @@ up = fp, up.decodedImages = /* @__PURE__ */ new Map(), up.failedAssets = {
|
|
|
13410
13502
|
base64: /* @__PURE__ */ new Set(),
|
|
13411
13503
|
blockingAssets: /* @__PURE__ */ new Set()
|
|
13412
13504
|
};
|
|
13413
|
-
|
|
13505
|
+
//#endregion
|
|
13506
|
+
//#region src/store/idvBusinessLogicController.ts
|
|
13414
13507
|
var pp = (e, t) => ({
|
|
13415
13508
|
fetchService: null,
|
|
13416
13509
|
isProcessing: !1,
|
|
@@ -14175,7 +14268,8 @@ function hp() {
|
|
|
14175
14268
|
return t.filter((e) => e !== null);
|
|
14176
14269
|
}), hp.apply(this, arguments);
|
|
14177
14270
|
}
|
|
14178
|
-
|
|
14271
|
+
//#endregion
|
|
14272
|
+
//#region src/store/index.ts
|
|
14179
14273
|
var gp = Wr((...e) => j(j(j({}, _a(...e)), sp(...e)), pp(...e))), _p = (e) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(e) && e.length <= 100, vp = (e, t) => {
|
|
14180
14274
|
if (!_p(e)) throw Error(`Invalid component name: ${e}`);
|
|
14181
14275
|
let n = document.createElement(e);
|
|
@@ -15468,10 +15562,10 @@ var gp = Wr((...e) => j(j(j({}, _a(...e)), sp(...e)), pp(...e))), _p = (e) => /^
|
|
|
15468
15562
|
isProcessing: this._isProcessingCallback,
|
|
15469
15563
|
nonce: this.storeNonce
|
|
15470
15564
|
};
|
|
15471
|
-
return this._currentScreenElement
|
|
15565
|
+
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = vp(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
15472
15566
|
}
|
|
15473
15567
|
get version() {
|
|
15474
|
-
return "4.0.
|
|
15568
|
+
return "4.0.658-nightly";
|
|
15475
15569
|
}
|
|
15476
15570
|
disconnectedCallback() {
|
|
15477
15571
|
var e;
|
|
@@ -15491,7 +15585,8 @@ var gp = Wr((...e) => j(j(j({}, _a(...e)), sp(...e)), pp(...e))), _p = (e) => /^
|
|
|
15491
15585
|
}
|
|
15492
15586
|
};
|
|
15493
15587
|
Sp = Cp, Sp.styles = [xp], $([ct(), Q("design:type", Object)], Cp.prototype, "store", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "currentScreenConfig", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "processingScreenFromWorkflow", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "isProcessing", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "loadedModules", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "modulesConfig", void 0), $([ct(), Q("design:type", Object)], Cp.prototype, "storeNonce", void 0);
|
|
15494
|
-
|
|
15588
|
+
//#endregion
|
|
15589
|
+
//#region src/services/IdvIntegrationService.ts
|
|
15495
15590
|
var wp = class {
|
|
15496
15591
|
initialize(e) {
|
|
15497
15592
|
return S(function* () {
|
|
@@ -15589,7 +15684,7 @@ var wp = class {
|
|
|
15589
15684
|
}
|
|
15590
15685
|
get version() {
|
|
15591
15686
|
var e;
|
|
15592
|
-
return (e = "4.0.
|
|
15687
|
+
return (e = "4.0.658-nightly") == null ? "Version unavailable. Something went wrong" : e;
|
|
15593
15688
|
}
|
|
15594
15689
|
get currentSessionId() {
|
|
15595
15690
|
return gp.getState().getCurrentSessionId();
|
|
@@ -15604,6 +15699,8 @@ var wp = class {
|
|
|
15604
15699
|
gp.getState().setSessionRestoreMode(e);
|
|
15605
15700
|
}
|
|
15606
15701
|
};
|
|
15607
|
-
|
|
15702
|
+
//#endregion
|
|
15703
|
+
//#region src/index.ts
|
|
15608
15704
|
window.customElements.get("idv-flow") || window.customElements.define("idv-flow", Cp);
|
|
15705
|
+
//#endregion
|
|
15609
15706
|
export { V as BaseError, Ya as BaseLoginError, va as BaseModule, vi as ConnectionError, _i as DeinitializationError, ii as IdvEventTypesEnum, wp as IdvIntegrationService, si as IdvServiceMessages, Cp as IdvWebComponent, di as InitializeError, yi as LoginError, ci as PrepareWorkflowError, hi as SessionError, gi as SocketError, mi as StartSessionError, ui as WorkflowError, pi as WorkflowPlatformError, ya as registerModule };
|