d5-testing-library 1.9.0-alpha.26 → 1.9.0-alpha.28
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/FormEdit-ESWVWGMB.mjs +7 -0
- package/dist/ListForm-ICJQJFLE.mjs +7 -0
- package/dist/TreeView-Y5FPGAIF.mjs +8 -0
- package/dist/{chunk-65JZLK3D.mjs → chunk-53CBHSJW.mjs} +1 -1
- package/dist/{chunk-JOWMIW3M.mjs → chunk-ACP5AVSD.mjs} +1 -1
- package/dist/{chunk-LQWT5EKX.mjs → chunk-NZ2KVXKF.mjs} +19 -3
- package/dist/{chunk-CZII37EM.mjs → chunk-VBKXFGOX.mjs} +31 -1
- package/dist/cjs/d5-testing-library.cjs +124 -77
- package/dist/cjs/d5-testing-library.d.ts +20 -2
- package/dist/d5-testing-library.d.mts +20 -2
- package/dist/d5-testing-library.legacy-esm.js +85 -83
- package/dist/d5-testing-library.mjs +85 -83
- package/package.json +12 -12
- package/dist/FormEdit-F4DI2VIN.mjs +0 -7
- package/dist/ListForm-OYYZZRI3.mjs +0 -7
- package/dist/TreeView-XWHS6VAT.mjs +0 -8
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TreeView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ACP5AVSD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FilterPanel,
|
|
6
6
|
FormFilterField,
|
|
7
7
|
ListForm,
|
|
8
8
|
PanelFilterField
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VBKXFGOX.mjs";
|
|
10
10
|
import {
|
|
11
11
|
FormEdit
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-53CBHSJW.mjs";
|
|
13
13
|
import {
|
|
14
14
|
AbstractButton,
|
|
15
15
|
AbstractElement,
|
|
@@ -29,13 +29,14 @@ import {
|
|
|
29
29
|
config,
|
|
30
30
|
contextMenu,
|
|
31
31
|
createSubSystemTestId,
|
|
32
|
+
disabledLocator,
|
|
32
33
|
editorFactory,
|
|
33
34
|
fixElementStaleError,
|
|
34
35
|
readonlyLocator,
|
|
35
36
|
safeWait,
|
|
36
37
|
waitElementIsClickable_default,
|
|
37
38
|
waitElementIsVisible_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NZ2KVXKF.mjs";
|
|
39
40
|
|
|
40
41
|
// src/api/d5lib.js
|
|
41
42
|
var require_d5lib = __commonJS({
|
|
@@ -72,9 +73,9 @@ var require_d5lib = __commonJS({
|
|
|
72
73
|
var i2 = n2(5912), o = n2(7651);
|
|
73
74
|
e2.exports = function(e3, a3, n3, t) {
|
|
74
75
|
var s = n3.keyedList ? n3.keyedList[n3.index] : n3.index;
|
|
75
|
-
n3.jobs[s] = function(e4, a4, n4, o2) {
|
|
76
|
+
n3.jobs[s] = (function(e4, a4, n4, o2) {
|
|
76
77
|
return 2 == e4.length ? e4(n4, i2(o2)) : e4(n4, a4, i2(o2));
|
|
77
|
-
}(a3, s, e3[s], function(e4, a4) {
|
|
78
|
+
})(a3, s, e3[s], function(e4, a4) {
|
|
78
79
|
s in n3.jobs && (delete n3.jobs[s], e4 ? o(n3) : n3.results[s] = a4, t(e4, n3.results));
|
|
79
80
|
});
|
|
80
81
|
};
|
|
@@ -336,12 +337,12 @@ var require_d5lib = __commonJS({
|
|
|
336
337
|
if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
|
|
337
338
|
let e3;
|
|
338
339
|
return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && (e3 = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(e3[1], 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
339
|
-
}, a2.storage = function() {
|
|
340
|
+
}, a2.storage = (function() {
|
|
340
341
|
try {
|
|
341
342
|
return localStorage;
|
|
342
343
|
} catch (e3) {
|
|
343
344
|
}
|
|
344
|
-
}(), a2.destroy = /* @__PURE__ */ (() => {
|
|
345
|
+
})(), a2.destroy = /* @__PURE__ */ (() => {
|
|
345
346
|
let e3 = false;
|
|
346
347
|
return () => {
|
|
347
348
|
e3 || (e3 = true, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
|
|
@@ -697,13 +698,13 @@ var require_d5lib = __commonJS({
|
|
|
697
698
|
for (var o2 of (i3._redirectable = this, x)) i3.on(o2, h[o2]);
|
|
698
699
|
if (this._currentUrl = /^\//.test(this._options.path) ? s.format(this._options) : this._options.path, this._isRedirect) {
|
|
699
700
|
var t2 = 0, r2 = this, c2 = this._requestBodyBuffers;
|
|
700
|
-
!function e4(a4) {
|
|
701
|
+
!(function e4(a4) {
|
|
701
702
|
if (i3 === r2._currentRequest) if (a4) r2.emit("error", a4);
|
|
702
703
|
else if (t2 < c2.length) {
|
|
703
704
|
var n4 = c2[t2++];
|
|
704
705
|
i3.finished || i3.write(n4.data, n4.encoding, e4);
|
|
705
706
|
} else r2._ended && i3.end();
|
|
706
|
-
}();
|
|
707
|
+
})();
|
|
707
708
|
}
|
|
708
709
|
}, j.prototype._processResponse = function(e3) {
|
|
709
710
|
var a3 = e3.statusCode;
|
|
@@ -716,11 +717,11 @@ var require_d5lib = __commonJS({
|
|
|
716
717
|
var t2 = this._options.method;
|
|
717
718
|
((301 === a3 || 302 === a3) && "POST" === this._options.method || 303 === a3 && !/^(?:GET|HEAD)$/.test(this._options.method)) && (this._options.method = "GET", this._requestBodyBuffers = [], S(/^content-/i, this._options.headers));
|
|
718
719
|
var c2, p2, l2 = S(/^host$/i, this._options.headers), f2 = O(this._currentUrl), x2 = l2 || f2.host, h2 = /^\w+:/.test(i3) ? this._currentUrl : s.format(Object.assign(f2, { host: x2 })), v2 = (c2 = i3, p2 = h2, d ? new r(c2, p2) : O(s.resolve(p2, c2)));
|
|
719
|
-
if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !function(e4, a4) {
|
|
720
|
+
if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !(function(e4, a4) {
|
|
720
721
|
u(F(e4) && F(a4));
|
|
721
722
|
var n4 = e4.length - a4.length - 1;
|
|
722
723
|
return n4 > 0 && "." === e4[n4] && e4.endsWith(a4);
|
|
723
|
-
}(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
|
|
724
|
+
})(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
|
|
724
725
|
var b2 = { headers: e3.headers, statusCode: a3 }, y2 = { url: h2, method: t2, headers: n3 };
|
|
725
726
|
o2(this._options, b2, y2), this._sanitizeOptions(this._options);
|
|
726
727
|
}
|
|
@@ -827,14 +828,14 @@ var require_d5lib = __commonJS({
|
|
|
827
828
|
e2.exports = function(e3) {
|
|
828
829
|
var o = this;
|
|
829
830
|
if ("function" != typeof o || "[object Function]" !== a2.apply(o)) throw new TypeError("Function.prototype.bind called on incompatible " + o);
|
|
830
|
-
for (var t, s = function(e4) {
|
|
831
|
+
for (var t, s = (function(e4) {
|
|
831
832
|
for (var a3 = [], n3 = 1, i3 = 0; n3 < e4.length; n3 += 1, i3 += 1) a3[i3] = e4[n3];
|
|
832
833
|
return a3;
|
|
833
|
-
}(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
|
|
834
|
-
if (t = Function("binder", "return function (" + function(e4) {
|
|
834
|
+
})(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
|
|
835
|
+
if (t = Function("binder", "return function (" + (function(e4) {
|
|
835
836
|
for (var a3 = "", n3 = 0; n3 < e4.length; n3 += 1) a3 += e4[n3], n3 + 1 < e4.length && (a3 += ",");
|
|
836
837
|
return a3;
|
|
837
|
-
}(c) + "){ return binder.apply(this,arguments); }")(function() {
|
|
838
|
+
})(c) + "){ return binder.apply(this,arguments); }")(function() {
|
|
838
839
|
if (this instanceof t) {
|
|
839
840
|
var a3 = o.apply(this, i2(s, arguments));
|
|
840
841
|
return Object(a3) === a3 ? a3 : this;
|
|
@@ -860,7 +861,7 @@ var require_d5lib = __commonJS({
|
|
|
860
861
|
}
|
|
861
862
|
}, w = n2(7296), _ = n2(4429), j = function() {
|
|
862
863
|
throw new l();
|
|
863
|
-
}, k = w ? function() {
|
|
864
|
+
}, k = w ? (function() {
|
|
864
865
|
try {
|
|
865
866
|
return j;
|
|
866
867
|
} catch (e3) {
|
|
@@ -870,7 +871,7 @@ var require_d5lib = __commonJS({
|
|
|
870
871
|
return j;
|
|
871
872
|
}
|
|
872
873
|
}
|
|
873
|
-
}() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
|
|
874
|
+
})() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
|
|
874
875
|
if (O) try {
|
|
875
876
|
null.error;
|
|
876
877
|
} catch (e3) {
|
|
@@ -903,7 +904,7 @@ var require_d5lib = __commonJS({
|
|
|
903
904
|
if ("string" != typeof e3 || 0 === e3.length) throw new l("intrinsic name must be a non-empty string");
|
|
904
905
|
if (arguments.length > 1 && "boolean" != typeof a3) throw new l('"allowMissing" argument must be a boolean');
|
|
905
906
|
if (null === H(/^%?[^%]*%?$/, e3)) throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
906
|
-
var n3 = function(e4) {
|
|
907
|
+
var n3 = (function(e4) {
|
|
907
908
|
var a4 = M(e4, 0, 1), n4 = M(e4, -1);
|
|
908
909
|
if ("%" === a4 && "%" !== n4) throw new p("invalid intrinsic syntax, expected closing `%`");
|
|
909
910
|
if ("%" === n4 && "%" !== a4) throw new p("invalid intrinsic syntax, expected opening `%`");
|
|
@@ -911,7 +912,7 @@ var require_d5lib = __commonJS({
|
|
|
911
912
|
return D(e4, G, function(e5, a5, n5, o3) {
|
|
912
913
|
i4[i4.length] = n5 ? D(o3, K, "$1") : a5 || e5;
|
|
913
914
|
}), i4;
|
|
914
|
-
}(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
|
|
915
|
+
})(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
|
|
915
916
|
c2 && (i3 = c2[0], I(n3, U([0, 1], c2)));
|
|
916
917
|
for (var u2 = 1, m2 = true; u2 < n3.length; u2 += 1) {
|
|
917
918
|
var d2 = n3[u2], f2 = M(d2, 0, 1), x2 = M(d2, -1);
|
|
@@ -1083,7 +1084,7 @@ var require_d5lib = __commonJS({
|
|
|
1083
1084
|
e2.exports = function(e3, r) {
|
|
1084
1085
|
r = r || {};
|
|
1085
1086
|
var c, p, l = typeof e3;
|
|
1086
|
-
if ("string" === l && e3.length > 0) return function(e4) {
|
|
1087
|
+
if ("string" === l && e3.length > 0) return (function(e4) {
|
|
1087
1088
|
if (!((e4 = String(e4)).length > 100)) {
|
|
1088
1089
|
var s2 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e4);
|
|
1089
1090
|
if (s2) {
|
|
@@ -1132,11 +1133,11 @@ var require_d5lib = __commonJS({
|
|
|
1132
1133
|
}
|
|
1133
1134
|
}
|
|
1134
1135
|
}
|
|
1135
|
-
}(e3);
|
|
1136
|
-
if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : function(e4) {
|
|
1136
|
+
})(e3);
|
|
1137
|
+
if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : (function(e4) {
|
|
1137
1138
|
var t2 = Math.abs(e4);
|
|
1138
1139
|
return t2 >= o ? Math.round(e4 / o) + "d" : t2 >= i2 ? Math.round(e4 / i2) + "h" : t2 >= n2 ? Math.round(e4 / n2) + "m" : t2 >= a2 ? Math.round(e4 / a2) + "s" : e4 + "ms";
|
|
1139
|
-
}(e3);
|
|
1140
|
+
})(e3);
|
|
1140
1141
|
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e3));
|
|
1141
1142
|
};
|
|
1142
1143
|
}, 1394: (e2, a2, n2) => {
|
|
@@ -1150,14 +1151,14 @@ var require_d5lib = __commonJS({
|
|
|
1150
1151
|
a2.j = function(e3) {
|
|
1151
1152
|
var a3 = "string" == typeof e3 ? i2(e3) : e3 || {}, n3 = a3.protocol, r = a3.host, c = a3.port;
|
|
1152
1153
|
if ("string" != typeof r || !r || "string" != typeof n3) return "";
|
|
1153
|
-
if (n3 = n3.split(":", 1)[0], !function(e4, a4) {
|
|
1154
|
+
if (n3 = n3.split(":", 1)[0], !(function(e4, a4) {
|
|
1154
1155
|
var n4 = (s("npm_config_no_proxy") || s("no_proxy")).toLowerCase();
|
|
1155
1156
|
return !n4 || "*" !== n4 && n4.split(/[,\s]/).every(function(n5) {
|
|
1156
1157
|
if (!n5) return true;
|
|
1157
1158
|
var i3 = n5.match(/^(.+):(\d+)$/), o2 = i3 ? i3[1] : n5, s2 = i3 ? parseInt(i3[2]) : 0;
|
|
1158
1159
|
return !(!s2 || s2 === a4) || (/^[.*]/.test(o2) ? ("*" === o2.charAt(0) && (o2 = o2.slice(1)), !t.call(e4, o2)) : e4 !== o2);
|
|
1159
1160
|
});
|
|
1160
|
-
}(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
|
|
1161
|
+
})(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
|
|
1161
1162
|
var p = s("npm_config_" + n3 + "_proxy") || s(n3 + "_proxy") || s("npm_config_proxy") || s("all_proxy");
|
|
1162
1163
|
return p && -1 === p.indexOf("://") && (p = n3 + "://" + p), p;
|
|
1163
1164
|
};
|
|
@@ -1254,7 +1255,7 @@ var require_d5lib = __commonJS({
|
|
|
1254
1255
|
return e3;
|
|
1255
1256
|
}, o.apply(this, arguments);
|
|
1256
1257
|
};
|
|
1257
|
-
const t = function() {
|
|
1258
|
+
const t = (function() {
|
|
1258
1259
|
function e3(e4, a3) {
|
|
1259
1260
|
this._objectName = e4, this._body = null != a3 ? a3 : {};
|
|
1260
1261
|
}
|
|
@@ -1384,7 +1385,7 @@ var require_d5lib = __commonJS({
|
|
|
1384
1385
|
var a3;
|
|
1385
1386
|
return !!(null === (a3 = this._body.Filters) || void 0 === a3 ? void 0 : a3.hasOwnProperty(e4));
|
|
1386
1387
|
}, e3;
|
|
1387
|
-
}();
|
|
1388
|
+
})();
|
|
1388
1389
|
function s(e3, a3) {
|
|
1389
1390
|
return function() {
|
|
1390
1391
|
return e3.apply(a3, arguments);
|
|
@@ -1564,9 +1565,9 @@ var require_d5lib = __commonJS({
|
|
|
1564
1565
|
let r3 = e4;
|
|
1565
1566
|
if (e4 && !o3 && "object" == typeof e4) {
|
|
1566
1567
|
if (I.endsWith(n3, "{}")) n3 = i2 ? n3 : n3.slice(0, -2), e4 = JSON.stringify(e4);
|
|
1567
|
-
else if (I.isArray(e4) && function(e5) {
|
|
1568
|
+
else if (I.isArray(e4) && (function(e5) {
|
|
1568
1569
|
return I.isArray(e5) && !e5.some(W);
|
|
1569
|
-
}(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
|
|
1570
|
+
})(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
|
|
1570
1571
|
!I.isUndefined(e5) && null !== e5 && a3.append(true === s2 ? $([n3], i3, t2) : null === s2 ? n3 : n3 + "[]", c2(e5));
|
|
1571
1572
|
}), false;
|
|
1572
1573
|
}
|
|
@@ -1574,14 +1575,14 @@ var require_d5lib = __commonJS({
|
|
|
1574
1575
|
}
|
|
1575
1576
|
const l2 = [], u2 = Object.assign(J, { defaultVisitor: p2, convertValue: c2, isVisitable: W });
|
|
1576
1577
|
if (!I.isObject(e3)) throw new TypeError("data must be an object");
|
|
1577
|
-
return function e4(n3, i3) {
|
|
1578
|
+
return (function e4(n3, i3) {
|
|
1578
1579
|
if (!I.isUndefined(n3)) {
|
|
1579
1580
|
if (-1 !== l2.indexOf(n3)) throw Error("Circular reference detected in " + i3.join("."));
|
|
1580
1581
|
l2.push(n3), I.forEach(n3, function(n4, t3) {
|
|
1581
1582
|
true === (!(I.isUndefined(n4) || null === n4) && o2.call(a3, n4, I.isString(t3) ? t3.trim() : t3, i3, u2)) && e4(n4, i3 ? i3.concat(t3) : [t3]);
|
|
1582
1583
|
}), l2.pop();
|
|
1583
1584
|
}
|
|
1584
|
-
}(e3), a3;
|
|
1585
|
+
})(e3), a3;
|
|
1585
1586
|
};
|
|
1586
1587
|
function Q(e3) {
|
|
1587
1588
|
const a3 = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" };
|
|
@@ -1639,21 +1640,21 @@ var require_d5lib = __commonJS({
|
|
|
1639
1640
|
function a3(e4, n2, i2, o2) {
|
|
1640
1641
|
let t2 = e4[o2++];
|
|
1641
1642
|
const s2 = Number.isFinite(+t2), r2 = o2 >= e4.length;
|
|
1642
|
-
return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = function(e5) {
|
|
1643
|
+
return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = (function(e5) {
|
|
1643
1644
|
const a4 = {}, n3 = Object.keys(e5);
|
|
1644
1645
|
let i3;
|
|
1645
1646
|
const o3 = n3.length;
|
|
1646
1647
|
let t3;
|
|
1647
1648
|
for (i3 = 0; i3 < o3; i3++) t3 = n3[i3], a4[t3] = e5[t3];
|
|
1648
1649
|
return a4;
|
|
1649
|
-
}(i2[t2])), !s2);
|
|
1650
|
+
})(i2[t2])), !s2);
|
|
1650
1651
|
}
|
|
1651
1652
|
if (I.isFormData(e3) && I.isFunction(e3.entries)) {
|
|
1652
1653
|
const n2 = {};
|
|
1653
1654
|
return I.forEachEntry(e3, (e4, i2) => {
|
|
1654
|
-
a3(function(e5) {
|
|
1655
|
+
a3((function(e5) {
|
|
1655
1656
|
return I.matchAll(/\w+|\[(\w*)]/g, e5).map((e6) => "[]" === e6[0] ? "" : e6[1] || e6[0]);
|
|
1656
|
-
}(e4), i2, n2, 0);
|
|
1657
|
+
})(e4), i2, n2, 0);
|
|
1657
1658
|
}), n2;
|
|
1658
1659
|
}
|
|
1659
1660
|
return null;
|
|
@@ -1665,24 +1666,24 @@ var require_d5lib = __commonJS({
|
|
|
1665
1666
|
if (I.isURLSearchParams(e3)) return a3.setContentType("application/x-www-form-urlencoded;charset=utf-8", false), e3.toString();
|
|
1666
1667
|
let t2;
|
|
1667
1668
|
if (o2) {
|
|
1668
|
-
if (n2.indexOf("application/x-www-form-urlencoded") > -1) return function(e4, a4) {
|
|
1669
|
+
if (n2.indexOf("application/x-www-form-urlencoded") > -1) return (function(e4, a4) {
|
|
1669
1670
|
return Y(e4, new te.classes.URLSearchParams(), Object.assign({ visitor: function(e5, a5, n3, i3) {
|
|
1670
1671
|
return te.isNode && I.isBuffer(e5) ? (this.append(a5, e5.toString("base64")), false) : i3.defaultVisitor.apply(this, arguments);
|
|
1671
1672
|
} }, a4));
|
|
1672
|
-
}(e3, this.formSerializer).toString();
|
|
1673
|
+
})(e3, this.formSerializer).toString();
|
|
1673
1674
|
if ((t2 = I.isFileList(e3)) || n2.indexOf("multipart/form-data") > -1) {
|
|
1674
1675
|
const a4 = this.env && this.env.FormData;
|
|
1675
1676
|
return Y(t2 ? { "files[]": e3 } : e3, a4 && new a4(), this.formSerializer);
|
|
1676
1677
|
}
|
|
1677
1678
|
}
|
|
1678
|
-
return o2 || i2 ? (a3.setContentType("application/json", false), function(e4) {
|
|
1679
|
+
return o2 || i2 ? (a3.setContentType("application/json", false), (function(e4) {
|
|
1679
1680
|
if (I.isString(e4)) try {
|
|
1680
1681
|
return (0, JSON.parse)(e4), I.trim(e4);
|
|
1681
1682
|
} catch (e5) {
|
|
1682
1683
|
if ("SyntaxError" !== e5.name) throw e5;
|
|
1683
1684
|
}
|
|
1684
1685
|
return (0, JSON.stringify)(e4);
|
|
1685
|
-
}(e3)) : e3;
|
|
1686
|
+
})(e3)) : e3;
|
|
1686
1687
|
}], transformResponse: [function(e3) {
|
|
1687
1688
|
const a3 = this.transitional || ce.transitional, n2 = a3 && a3.forcedJSONParsing, i2 = "json" === this.responseType;
|
|
1688
1689
|
if (e3 && I.isString(e3) && (n2 && !this.responseType || i2)) {
|
|
@@ -1742,12 +1743,12 @@ var require_d5lib = __commonJS({
|
|
|
1742
1743
|
if (n2) {
|
|
1743
1744
|
const e4 = this[n2];
|
|
1744
1745
|
if (!a3) return e4;
|
|
1745
|
-
if (true === a3) return function(e5) {
|
|
1746
|
+
if (true === a3) return (function(e5) {
|
|
1746
1747
|
const a4 = /* @__PURE__ */ Object.create(null), n3 = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
1747
1748
|
let i2;
|
|
1748
1749
|
for (; i2 = n3.exec(e5); ) a4[i2[1]] = i2[2];
|
|
1749
1750
|
return a4;
|
|
1750
|
-
}(e4);
|
|
1751
|
+
})(e4);
|
|
1751
1752
|
if (I.isFunction(a3)) return a3.call(this, e4, n2);
|
|
1752
1753
|
if (I.isRegExp(a3)) return a3.exec(e4);
|
|
1753
1754
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
@@ -1786,9 +1787,9 @@ var require_d5lib = __commonJS({
|
|
|
1786
1787
|
return I.forEach(this, (i2, o2) => {
|
|
1787
1788
|
const t2 = I.findKey(n2, o2);
|
|
1788
1789
|
if (t2) return a3[t2] = de(i2), void delete a3[o2];
|
|
1789
|
-
const s2 = e3 ? function(e4) {
|
|
1790
|
+
const s2 = e3 ? (function(e4) {
|
|
1790
1791
|
return e4.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e5, a4, n3) => a4.toUpperCase() + n3);
|
|
1791
|
-
}(o2) : String(o2).trim();
|
|
1792
|
+
})(o2) : String(o2).trim();
|
|
1792
1793
|
s2 !== o2 && delete a3[o2], a3[s2] = de(i2), n2[s2] = true;
|
|
1793
1794
|
}), this;
|
|
1794
1795
|
}
|
|
@@ -1821,14 +1822,14 @@ var require_d5lib = __commonJS({
|
|
|
1821
1822
|
const a3 = (this[ue] = this[ue] = { accessors: {} }).accessors, n2 = this.prototype;
|
|
1822
1823
|
function i2(e4) {
|
|
1823
1824
|
const i3 = me(e4);
|
|
1824
|
-
a3[i3] || (function(e5, a4) {
|
|
1825
|
+
a3[i3] || ((function(e5, a4) {
|
|
1825
1826
|
const n3 = I.toCamelCase(" " + a4);
|
|
1826
1827
|
["get", "set", "has"].forEach((i4) => {
|
|
1827
1828
|
Object.defineProperty(e5, i4 + n3, { value: function(e6, n4, o2) {
|
|
1828
1829
|
return this[i4].call(this, a4, e6, n4, o2);
|
|
1829
1830
|
}, configurable: true });
|
|
1830
1831
|
});
|
|
1831
|
-
}(n2, e4), a3[i3] = true);
|
|
1832
|
+
})(n2, e4), a3[i3] = true);
|
|
1832
1833
|
}
|
|
1833
1834
|
return I.isArray(e3) ? e3.forEach(i2) : i2(e3), this;
|
|
1834
1835
|
}
|
|
@@ -1855,9 +1856,9 @@ var require_d5lib = __commonJS({
|
|
|
1855
1856
|
n2.status && i2 && !i2(n2.status) ? a3(new G("Request failed with status code " + n2.status, [G.ERR_BAD_REQUEST, G.ERR_BAD_RESPONSE][Math.floor(n2.status / 100) - 4], n2.config, n2.request, n2)) : e3(n2);
|
|
1856
1857
|
}
|
|
1857
1858
|
function _e(e3, a3) {
|
|
1858
|
-
return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? function(e4, a4) {
|
|
1859
|
+
return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? (function(e4, a4) {
|
|
1859
1860
|
return a4 ? e4.replace(/\/+$/, "") + "/" + a4.replace(/^\/+/, "") : e4;
|
|
1860
|
-
}(e3, a3) : a3;
|
|
1861
|
+
})(e3, a3) : a3;
|
|
1861
1862
|
}
|
|
1862
1863
|
var je = n(1394), ke = n(3685), Ee = n(5687), Oe = n(3837), Re = n(938);
|
|
1863
1864
|
const Ce = __require("zlib"), Se = "1.4.0";
|
|
@@ -1889,7 +1890,7 @@ var require_d5lib = __commonJS({
|
|
|
1889
1890
|
"progress" === e4 && (n2.isCaptured || (n2.isCaptured = true));
|
|
1890
1891
|
});
|
|
1891
1892
|
let o2 = 0;
|
|
1892
|
-
n2.updateProgress = function(e4, a4) {
|
|
1893
|
+
n2.updateProgress = (function(e4, a4) {
|
|
1893
1894
|
let n3 = 0;
|
|
1894
1895
|
const i3 = 1e3 / a4;
|
|
1895
1896
|
let o3 = null;
|
|
@@ -1898,7 +1899,7 @@ var require_d5lib = __commonJS({
|
|
|
1898
1899
|
if (a5 || s2 - n3 > i3) return o3 && (clearTimeout(o3), o3 = null), n3 = s2, e4.apply(null, t3);
|
|
1899
1900
|
o3 || (o3 = setTimeout(() => (o3 = null, n3 = Date.now(), e4.apply(null, t3)), i3 - (s2 - n3)));
|
|
1900
1901
|
};
|
|
1901
|
-
}(function() {
|
|
1902
|
+
})(function() {
|
|
1902
1903
|
const e4 = n2.length, t3 = n2.bytesSeen, s2 = t3 - o2;
|
|
1903
1904
|
if (!s2 || a3.destroyed) return;
|
|
1904
1905
|
const r2 = i2(s2);
|
|
@@ -1929,12 +1930,12 @@ var require_d5lib = __commonJS({
|
|
|
1929
1930
|
}, r2 - d2);
|
|
1930
1931
|
l3 < m2 && (m2 = l3);
|
|
1931
1932
|
}
|
|
1932
|
-
m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), function(e5, a5) {
|
|
1933
|
+
m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), (function(e5, a5) {
|
|
1933
1934
|
const n4 = Buffer.byteLength(e5);
|
|
1934
1935
|
o2.bytesSeen += n4, o2.bytes += n4, o2.isCaptured && o2.updateProgress(), i2.push(e5) ? process.nextTick(a5) : o2.onReadCallback = () => {
|
|
1935
1936
|
o2.onReadCallback = null, process.nextTick(a5);
|
|
1936
1937
|
};
|
|
1937
|
-
}(e4, u2 ? () => {
|
|
1938
|
+
})(e4, u2 ? () => {
|
|
1938
1939
|
process.nextTick(a4, null, u2);
|
|
1939
1940
|
} : a4);
|
|
1940
1941
|
};
|
|
@@ -2034,7 +2035,7 @@ var require_d5lib = __commonJS({
|
|
|
2034
2035
|
let i3;
|
|
2035
2036
|
if ("GET" !== p2) return we(a4, n2, { status: 405, statusText: "method not allowed", headers: {}, config: e3 });
|
|
2036
2037
|
try {
|
|
2037
|
-
i3 = function(e4, a5, n3) {
|
|
2038
|
+
i3 = (function(e4, a5, n3) {
|
|
2038
2039
|
const i4 = n3 && n3.Blob || te.classes.Blob, o3 = Ae(e4);
|
|
2039
2040
|
if (void 0 === a5 && i4 && (a5 = true), "data" === o3) {
|
|
2040
2041
|
e4 = o3.length ? e4.slice(o3.length + 1) : e4;
|
|
@@ -2048,7 +2049,7 @@ var require_d5lib = __commonJS({
|
|
|
2048
2049
|
return c3;
|
|
2049
2050
|
}
|
|
2050
2051
|
throw new G("Unsupported protocol " + o3, G.ERR_NOT_SUPPORT);
|
|
2051
|
-
}(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
|
|
2052
|
+
})(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
|
|
2052
2053
|
} catch (a5) {
|
|
2053
2054
|
throw G.from(a5, G.ERR_BAD_REQUEST, e3);
|
|
2054
2055
|
}
|
|
@@ -2073,10 +2074,10 @@ var require_d5lib = __commonJS({
|
|
|
2073
2074
|
});
|
|
2074
2075
|
c3 += s3.byteLength * p3.length, c3 = I.toFiniteNumber(c3);
|
|
2075
2076
|
const l3 = { "Content-Type": `multipart/form-data; boundary=${t3}` };
|
|
2076
|
-
return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from(async function* () {
|
|
2077
|
+
return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from((async function* () {
|
|
2077
2078
|
for (const e6 of p3) yield s3, yield* e6.encode();
|
|
2078
2079
|
yield r3;
|
|
2079
|
-
}());
|
|
2080
|
+
})());
|
|
2080
2081
|
})(o2, (e5) => {
|
|
2081
2082
|
g2.set(e5);
|
|
2082
2083
|
}, { tag: `axios-${Se}-boundary`, boundary: e4 && e4[1] || void 0 });
|
|
@@ -2215,7 +2216,7 @@ var require_d5lib = __commonJS({
|
|
|
2215
2216
|
}, read: function() {
|
|
2216
2217
|
return null;
|
|
2217
2218
|
}, remove: function() {
|
|
2218
|
-
} }, ta = te.isStandardBrowserEnv ? function() {
|
|
2219
|
+
} }, ta = te.isStandardBrowserEnv ? (function() {
|
|
2219
2220
|
const e3 = /(msie|trident)/i.test(navigator.userAgent), a3 = document.createElement("a");
|
|
2220
2221
|
let n2;
|
|
2221
2222
|
function i2(n3) {
|
|
@@ -2226,7 +2227,7 @@ var require_d5lib = __commonJS({
|
|
|
2226
2227
|
const a4 = I.isString(e4) ? i2(e4) : e4;
|
|
2227
2228
|
return a4.protocol === n2.protocol && a4.host === n2.host;
|
|
2228
2229
|
};
|
|
2229
|
-
}() : function() {
|
|
2230
|
+
})() : function() {
|
|
2230
2231
|
return true;
|
|
2231
2232
|
};
|
|
2232
2233
|
function sa(e3, a3) {
|
|
@@ -2481,12 +2482,12 @@ var require_d5lib = __commonJS({
|
|
|
2481
2482
|
Object.entries(wa).forEach(([e3, a3]) => {
|
|
2482
2483
|
wa[a3] = e3;
|
|
2483
2484
|
});
|
|
2484
|
-
const _a = wa, ja = function e3(a3) {
|
|
2485
|
+
const _a = wa, ja = (function e3(a3) {
|
|
2485
2486
|
const n2 = new ba(a3), i2 = s(ba.prototype.request, n2);
|
|
2486
2487
|
return I.extend(i2, ba.prototype, n2, { allOwnKeys: true }), I.extend(i2, n2, null, { allOwnKeys: true }), i2.create = function(n3) {
|
|
2487
2488
|
return e3(ma(a3, n3));
|
|
2488
2489
|
}, i2;
|
|
2489
|
-
}(pe);
|
|
2490
|
+
})(pe);
|
|
2490
2491
|
ja.Axios = ba, ja.CanceledError = ye, ja.CancelToken = ya, ja.isCancel = be, ja.VERSION = Se, ja.toFormData = Y, ja.AxiosError = G, ja.Cancel = ja.CanceledError, ja.all = function(e3) {
|
|
2491
2492
|
return Promise.all(e3);
|
|
2492
2493
|
}, ja.spread = function(e3) {
|
|
@@ -2501,7 +2502,7 @@ var require_d5lib = __commonJS({
|
|
|
2501
2502
|
function Oa(e3) {
|
|
2502
2503
|
var a3, n2, i2, o2, t2 = e3.body, s2 = e3.url, r2 = e3.auth, c2 = e3.headers, p2 = void 0 === c2 ? { "Content-Type": "application/json" } : c2;
|
|
2503
2504
|
return a3 = this, n2 = void 0, o2 = function() {
|
|
2504
|
-
return function(e4, a4) {
|
|
2505
|
+
return (function(e4, a4) {
|
|
2505
2506
|
var n3, i3, o3, t3, s3 = { label: 0, sent: function() {
|
|
2506
2507
|
if (1 & o3[0]) throw o3[1];
|
|
2507
2508
|
return o3[1];
|
|
@@ -2511,7 +2512,7 @@ var require_d5lib = __commonJS({
|
|
|
2511
2512
|
}), t3;
|
|
2512
2513
|
function r3(r4) {
|
|
2513
2514
|
return function(c3) {
|
|
2514
|
-
return function(r5) {
|
|
2515
|
+
return (function(r5) {
|
|
2515
2516
|
if (n3) throw new TypeError("Generator is already executing.");
|
|
2516
2517
|
for (; t3 && (t3 = 0, r5[0] && (s3 = 0)), s3; ) try {
|
|
2517
2518
|
if (n3 = 1, i3 && (o3 = 2 & r5[0] ? i3.return : r5[0] ? i3.throw || ((o3 = i3.return) && o3.call(i3), 0) : i3.next) && !(o3 = o3.call(i3, r5[1])).done) return o3;
|
|
@@ -2556,10 +2557,10 @@ var require_d5lib = __commonJS({
|
|
|
2556
2557
|
}
|
|
2557
2558
|
if (5 & r5[0]) throw r5[1];
|
|
2558
2559
|
return { value: r5[0] ? r5[1] : void 0, done: true };
|
|
2559
|
-
}([r4, c3]);
|
|
2560
|
+
})([r4, c3]);
|
|
2560
2561
|
};
|
|
2561
2562
|
}
|
|
2562
|
-
}(this, function(e4) {
|
|
2563
|
+
})(this, function(e4) {
|
|
2563
2564
|
return [2, ka.post(s2, t2, { auth: r2, headers: p2 }).then(function(e5) {
|
|
2564
2565
|
return e5.data;
|
|
2565
2566
|
})];
|
|
@@ -2588,7 +2589,7 @@ var require_d5lib = __commonJS({
|
|
|
2588
2589
|
c3((o2 = o2.apply(a3, n2 || [])).next());
|
|
2589
2590
|
});
|
|
2590
2591
|
}
|
|
2591
|
-
var Ra = new (function() {
|
|
2592
|
+
var Ra = new ((function() {
|
|
2592
2593
|
function e3() {
|
|
2593
2594
|
if (this._host = "", this._login = "", this._password = "", Ea) throw new Error("You can only create one instance!");
|
|
2594
2595
|
Ea = this;
|
|
@@ -2606,7 +2607,7 @@ var require_d5lib = __commonJS({
|
|
|
2606
2607
|
}, enumerable: false, configurable: true }), e3.prototype.setLogin = function(e4) {
|
|
2607
2608
|
this._login = null != e4 ? e4 : "";
|
|
2608
2609
|
}, e3;
|
|
2609
|
-
}())();
|
|
2610
|
+
})())();
|
|
2610
2611
|
function Ca(e3) {
|
|
2611
2612
|
Ra.setLogin(e3.login), Ra.setPassword(e3.password), Ra.setHost(e3.host);
|
|
2612
2613
|
}
|
|
@@ -2616,7 +2617,7 @@ var require_d5lib = __commonJS({
|
|
|
2616
2617
|
}, Fa = function(e3) {
|
|
2617
2618
|
return Sa.host + "/wapi" + e3;
|
|
2618
2619
|
};
|
|
2619
|
-
const Pa = new (function() {
|
|
2620
|
+
const Pa = new ((function() {
|
|
2620
2621
|
function e3() {
|
|
2621
2622
|
if (Aa) throw new Error("You can only create one instance!");
|
|
2622
2623
|
Aa = this;
|
|
@@ -2626,7 +2627,7 @@ var require_d5lib = __commonJS({
|
|
|
2626
2627
|
}, e3.prototype.createFileHandler = function(e4) {
|
|
2627
2628
|
return new this.service(e4);
|
|
2628
2629
|
}, e3;
|
|
2629
|
-
}())();
|
|
2630
|
+
})())();
|
|
2630
2631
|
var za, La = (za = function(e3, a3) {
|
|
2631
2632
|
return za = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, a4) {
|
|
2632
2633
|
e4.__proto__ = a4;
|
|
@@ -2644,9 +2645,9 @@ var require_d5lib = __commonJS({
|
|
|
2644
2645
|
for (var a3, n2 = 1, i2 = arguments.length; n2 < i2; n2++) for (var o2 in a3 = arguments[n2]) Object.prototype.hasOwnProperty.call(a3, o2) && (e3[o2] = a3[o2]);
|
|
2645
2646
|
return e3;
|
|
2646
2647
|
}, Ba.apply(this, arguments);
|
|
2647
|
-
}, Na = function(e3) {
|
|
2648
|
+
}, Na = (function(e3) {
|
|
2648
2649
|
function n2(a3) {
|
|
2649
|
-
var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = function(e4, a4) {
|
|
2650
|
+
var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = (function(e4, a4) {
|
|
2650
2651
|
var n4 = {};
|
|
2651
2652
|
for (var i3 in e4) Object.prototype.hasOwnProperty.call(e4, i3) && a4.indexOf(i3) < 0 && (n4[i3] = e4[i3]);
|
|
2652
2653
|
if (null != e4 && "function" == typeof Object.getOwnPropertySymbols) {
|
|
@@ -2654,7 +2655,7 @@ var require_d5lib = __commonJS({
|
|
|
2654
2655
|
for (i3 = Object.getOwnPropertySymbols(e4); o3 < i3.length; o3++) a4.indexOf(i3[o3]) < 0 && Object.prototype.propertyIsEnumerable.call(e4, i3[o3]) && (n4[i3[o3]] = e4[i3[o3]]);
|
|
2655
2656
|
}
|
|
2656
2657
|
return n4;
|
|
2657
|
-
}(a3, ["url", "auth"]);
|
|
2658
|
+
})(a3, ["url", "auth"]);
|
|
2658
2659
|
return (n3 = e3.call(this, t2.objectName, t2.body) || this).url = i2, n3.auth = o2, n3;
|
|
2659
2660
|
}
|
|
2660
2661
|
return La(n2, e3), n2.prototype.createModBody = function(e4) {
|
|
@@ -2690,7 +2691,7 @@ var require_d5lib = __commonJS({
|
|
|
2690
2691
|
var a3, n3, i2, o2, t2, s2;
|
|
2691
2692
|
return void 0 === e4 && (e4 = false), i2 = this, o2 = void 0, s2 = function() {
|
|
2692
2693
|
var i3, o3, t3;
|
|
2693
|
-
return function(e5, a4) {
|
|
2694
|
+
return (function(e5, a4) {
|
|
2694
2695
|
var n4, i4, o4, t4, s3 = { label: 0, sent: function() {
|
|
2695
2696
|
if (1 & o4[0]) throw o4[1];
|
|
2696
2697
|
return o4[1];
|
|
@@ -2700,7 +2701,7 @@ var require_d5lib = __commonJS({
|
|
|
2700
2701
|
}), t4;
|
|
2701
2702
|
function r2(r3) {
|
|
2702
2703
|
return function(c2) {
|
|
2703
|
-
return function(r4) {
|
|
2704
|
+
return (function(r4) {
|
|
2704
2705
|
if (n4) throw new TypeError("Generator is already executing.");
|
|
2705
2706
|
for (; t4 && (t4 = 0, r4[0] && (s3 = 0)), s3; ) try {
|
|
2706
2707
|
if (n4 = 1, i4 && (o4 = 2 & r4[0] ? i4.return : r4[0] ? i4.throw || ((o4 = i4.return) && o4.call(i4), 0) : i4.next) && !(o4 = o4.call(i4, r4[1])).done) return o4;
|
|
@@ -2745,10 +2746,10 @@ var require_d5lib = __commonJS({
|
|
|
2745
2746
|
}
|
|
2746
2747
|
if (5 & r4[0]) throw r4[1];
|
|
2747
2748
|
return { value: r4[0] ? r4[1] : void 0, done: true };
|
|
2748
|
-
}([r3, c2]);
|
|
2749
|
+
})([r3, c2]);
|
|
2749
2750
|
};
|
|
2750
2751
|
}
|
|
2751
|
-
}(this, function(s3) {
|
|
2752
|
+
})(this, function(s3) {
|
|
2752
2753
|
switch (s3.label) {
|
|
2753
2754
|
case 0:
|
|
2754
2755
|
return i3 = (null === (a3 = this.auth) || void 0 === a3 ? void 0 : a3.username) ? this.auth : void 0, o3 = this.requestBody(), [4, Oa({ url: this.url, auth: i3, body: o3.data, headers: o3.headers })];
|
|
@@ -2782,7 +2783,7 @@ var require_d5lib = __commonJS({
|
|
|
2782
2783
|
c2((s2 = s2.apply(i2, o2 || [])).next());
|
|
2783
2784
|
});
|
|
2784
2785
|
}, n2;
|
|
2785
|
-
}(t);
|
|
2786
|
+
})(t);
|
|
2786
2787
|
function qa(e3, a3, n2) {
|
|
2787
2788
|
var i2 = { username: Sa.login, password: Sa.password };
|
|
2788
2789
|
return new Na({ objectName: e3, body: n2, url: Fa("/".concat(e3, "/").concat(a3)), auth: i2 });
|
|
@@ -2814,7 +2815,7 @@ var require_d5lib = __commonJS({
|
|
|
2814
2815
|
function Va(e3) {
|
|
2815
2816
|
return Ua(e3, "Del");
|
|
2816
2817
|
}
|
|
2817
|
-
var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = function() {
|
|
2818
|
+
var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = (function() {
|
|
2818
2819
|
function e3(e4) {
|
|
2819
2820
|
this._data = e4;
|
|
2820
2821
|
}
|
|
@@ -2823,17 +2824,17 @@ var require_d5lib = __commonJS({
|
|
|
2823
2824
|
}, Object.defineProperty(e3.prototype, "size", { get: function() {
|
|
2824
2825
|
return Ja().statSync(this._data.path).size;
|
|
2825
2826
|
}, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "type", { get: function() {
|
|
2826
|
-
return function(e4) {
|
|
2827
|
+
return (function(e4) {
|
|
2827
2828
|
for (var a3 = 0, n2 = Xa; a3 < n2.length; a3++) {
|
|
2828
2829
|
var i2 = n2[a3];
|
|
2829
2830
|
if (i2.ext === e4) return i2.mime;
|
|
2830
2831
|
}
|
|
2831
2832
|
return "";
|
|
2832
|
-
}(en(this._data.path).ext);
|
|
2833
|
+
})(en(this._data.path).ext);
|
|
2833
2834
|
}, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "name", { get: function() {
|
|
2834
2835
|
return en(this._data.path).base;
|
|
2835
2836
|
}, enumerable: false, configurable: true }), e3;
|
|
2836
|
-
}();
|
|
2837
|
+
})();
|
|
2837
2838
|
function en(e3) {
|
|
2838
2839
|
return Qa().parse(e3);
|
|
2839
2840
|
}
|
|
@@ -2887,9 +2888,9 @@ var LoginPage = class extends AbstractPage {
|
|
|
2887
2888
|
|
|
2888
2889
|
// src/utils/createDriver.ts
|
|
2889
2890
|
import { Builder } from "selenium-webdriver";
|
|
2890
|
-
import path from "
|
|
2891
|
-
import fs from "
|
|
2892
|
-
import os from "
|
|
2891
|
+
import path from "path";
|
|
2892
|
+
import fs from "fs";
|
|
2893
|
+
import os from "os";
|
|
2893
2894
|
import Chrome from "selenium-webdriver/chrome";
|
|
2894
2895
|
import Firefox from "selenium-webdriver/firefox";
|
|
2895
2896
|
function chromeOptions(builder, options) {
|
|
@@ -3199,6 +3200,7 @@ export {
|
|
|
3199
3200
|
config,
|
|
3200
3201
|
contextMenu,
|
|
3201
3202
|
createDriver,
|
|
3203
|
+
disabledLocator,
|
|
3202
3204
|
editorFactory,
|
|
3203
3205
|
elementIsNotPresent,
|
|
3204
3206
|
readonlyLocator,
|