@regulaforensics/idv-interfaces 3.5.318-nightly → 3.5.320-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 +2 -2
- package/dist/main.js +22 -21
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare type FailedAssets = {
|
|
|
44
44
|
blockingAssets: Set<string>;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
export declare const
|
|
47
|
+
export declare const getLayoutDirectionFromLocale: (locale?: string) => DirectionType;
|
|
48
48
|
|
|
49
49
|
export declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
50
50
|
isProcessing?: (isProcessing: boolean) => void;
|
|
@@ -77,7 +77,7 @@ declare type ImageFailurePolicy = 'ignore' | 'placeholderImage' | 'error';
|
|
|
77
77
|
|
|
78
78
|
export declare type ModuleClass<TModuleProps = unknown, TModulesConfig = unknown> = IdvModuleStaticMethods & (new (...args: any[]) => BaseModule<TModuleProps, TModulesConfig>);
|
|
79
79
|
|
|
80
|
-
export declare function
|
|
80
|
+
export declare function parseWebSpecificFields<T>(json: T): T;
|
|
81
81
|
|
|
82
82
|
export declare type PerformType = (typeof PerformTypes)[keyof typeof PerformTypes] | undefined;
|
|
83
83
|
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
2
|
var m = Object.getOwnPropertySymbols;
|
|
3
3
|
var u = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var y = (r, e, t) => e in r ?
|
|
4
|
+
var y = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, s = (r, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
u.call(e, t) && y(r, t, e[t]);
|
|
7
7
|
if (m)
|
|
@@ -15,13 +15,13 @@ class o {
|
|
|
15
15
|
errorCodeKey: t,
|
|
16
16
|
message: i,
|
|
17
17
|
underlyingError: n,
|
|
18
|
-
underlyingBaseError:
|
|
19
|
-
domain:
|
|
18
|
+
underlyingBaseError: c,
|
|
19
|
+
domain: g,
|
|
20
20
|
module: f,
|
|
21
|
-
errorEnumName:
|
|
22
|
-
shortDomainCode:
|
|
21
|
+
errorEnumName: h,
|
|
22
|
+
shortDomainCode: l
|
|
23
23
|
}) {
|
|
24
|
-
this.errorCode = e, this.errorCodeKey = t, this.message = i, this.underlyingError = n, this.underlyingBaseError =
|
|
24
|
+
this.errorCode = e, this.errorCodeKey = t, this.message = i, this.underlyingError = n, this.underlyingBaseError = c, this.module = f, this.domain = g, this.errorEnumName = h, this.shortDomainCode = l;
|
|
25
25
|
}
|
|
26
26
|
static getErrorKey(e, t) {
|
|
27
27
|
const i = Object.keys(t).find((n) => t[n] === e);
|
|
@@ -56,9 +56,9 @@ class o {
|
|
|
56
56
|
return this.underlyingBaseError instanceof o && (e += `-${this.underlyingBaseError.fullChain}`), e;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
class
|
|
59
|
+
class N extends HTMLElement {
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function B(r, e) {
|
|
62
62
|
if (e.displayName ? console.log(`Register module: ${e.displayName}`) : console.error('Missed "displayName" when register module'), e.getSupportedTemplates && typeof e.getSupportedTemplates == "function") {
|
|
63
63
|
const t = e.getSupportedTemplates();
|
|
64
64
|
console.log(`${e == null ? void 0 : e.displayName} supported templates: ${t.join(", ")}`);
|
|
@@ -90,30 +90,31 @@ function d(r) {
|
|
|
90
90
|
}
|
|
91
91
|
return r;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function T(r) {
|
|
94
94
|
return Object.fromEntries(Object.entries(r).filter(([, e]) => e !== void 0));
|
|
95
95
|
}
|
|
96
96
|
const O = {
|
|
97
97
|
FORM: "form",
|
|
98
98
|
DATA: "data"
|
|
99
99
|
};
|
|
100
|
-
function
|
|
100
|
+
function R(r) {
|
|
101
101
|
return new Promise((e) => setTimeout(e, r));
|
|
102
102
|
}
|
|
103
103
|
var $ = /* @__PURE__ */ ((r) => (r.RTL = "rtl", r.LTR = "ltr", r))($ || {});
|
|
104
|
-
const
|
|
105
|
-
var
|
|
106
|
-
|
|
104
|
+
const b = ["ar", "he"], A = (r) => {
|
|
105
|
+
var t;
|
|
106
|
+
const e = r ? (t = r.substring(0, 2)) == null ? void 0 : t.toLowerCase() : "";
|
|
107
|
+
return b.includes(e) ? "rtl" : "ltr";
|
|
107
108
|
};
|
|
108
109
|
export {
|
|
109
110
|
o as BaseError,
|
|
110
|
-
|
|
111
|
+
N as BaseModule,
|
|
111
112
|
$ as DirectionType,
|
|
112
113
|
O as PerformTypes,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
A as
|
|
116
|
-
d as
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
b as RTL_LANGUAGES,
|
|
115
|
+
T as cleanObjectFromUndefined,
|
|
116
|
+
A as getLayoutDirectionFromLocale,
|
|
117
|
+
d as parseWebSpecificFields,
|
|
118
|
+
B as registerModule,
|
|
119
|
+
R as wait
|
|
119
120
|
};
|
package/package.json
CHANGED