@arbocollab/arbo-plugin-item-table 0.0.158 → 0.0.159
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/lib/es/index.es.js +332 -332
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +6 -6
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -9045,7 +9045,7 @@ var ck = { exports: {} };
|
|
|
9045
9045
|
});
|
|
9046
9046
|
});
|
|
9047
9047
|
}), Fe.withResolvers && (qe.withResolvers = Fe.withResolvers));
|
|
9048
|
-
var
|
|
9048
|
+
var Pe = { awaits: 0, echoes: 0, id: 0 }, We = 0, Kt = [], On = 0, Fr = 0, cp = 0;
|
|
9049
9049
|
function ls(g, y, E, F) {
|
|
9050
9050
|
var k = Be, M = Object.create(k);
|
|
9051
9051
|
return M.parent = k, M.ref = 0, M.global = !1, M.id = ++cp, Oe.env, M.env = ut ? { Promise: qe, PromiseProp: { value: qe, configurable: !0, writable: !0 }, all: qe.all, race: qe.race, allSettled: qe.allSettled, any: qe.any, resolve: qe.resolve, reject: qe.reject } : {}, y && l(M, y), ++k.ref, M.finalize = function() {
|
|
@@ -9053,13 +9053,13 @@ var ck = { exports: {} };
|
|
|
9053
9053
|
}, F = Oi(M, g, E, F), M.ref === 0 && M.finalize(), F;
|
|
9054
9054
|
}
|
|
9055
9055
|
function Ns() {
|
|
9056
|
-
return
|
|
9056
|
+
return Pe.id || (Pe.id = ++We), ++Pe.awaits, Pe.echoes += Le, Pe.id;
|
|
9057
9057
|
}
|
|
9058
9058
|
function ki() {
|
|
9059
|
-
return !!
|
|
9059
|
+
return !!Pe.awaits && (--Pe.awaits == 0 && (Pe.id = 0), Pe.echoes = Pe.awaits * Le, !0);
|
|
9060
9060
|
}
|
|
9061
9061
|
function wd(g) {
|
|
9062
|
-
return
|
|
9062
|
+
return Pe.echoes && g && g.constructor === Fe ? (Ns(), g.then(function(y) {
|
|
9063
9063
|
return ki(), y;
|
|
9064
9064
|
}, function(y) {
|
|
9065
9065
|
return ki(), qn(y);
|
|
@@ -9071,8 +9071,8 @@ var ck = { exports: {} };
|
|
|
9071
9071
|
}
|
|
9072
9072
|
function Ls(g, y) {
|
|
9073
9073
|
var E, F = Be;
|
|
9074
|
-
(y ? !
|
|
9075
|
-
++Fr,
|
|
9074
|
+
(y ? !Pe.echoes || On++ && g === Be : !On || --On && g === Be) || queueMicrotask(y ? (function(k) {
|
|
9075
|
+
++Fr, Pe.echoes && --Pe.echoes != 0 || (Pe.echoes = Pe.awaits = Pe.id = 0), Kt.push(Be), Ls(k, !0);
|
|
9076
9076
|
}).bind(null, g) : by), g !== Be && (Be = g, F === Oe && (Oe.env = bd()), ut && (E = Oe.env.Promise, y = g.env, (F.global || g.global) && (Object.defineProperty(s, "Promise", y.PromiseProp), E.all = y.all, E.race = y.race, E.resolve = y.resolve, E.reject = y.reject, y.allSettled && (E.allSettled = y.allSettled), y.any && (E.any = y.any))));
|
|
9077
9077
|
}
|
|
9078
9078
|
function bd() {
|
|
@@ -9099,7 +9099,7 @@ var ck = { exports: {} };
|
|
|
9099
9099
|
};
|
|
9100
9100
|
}
|
|
9101
9101
|
function Sy(g) {
|
|
9102
|
-
Promise === Fe &&
|
|
9102
|
+
Promise === Fe && Pe.echoes === 0 ? On === 0 ? g() : enqueueNativeMicroTask(g) : setTimeout(g, 0);
|
|
9103
9103
|
}
|
|
9104
9104
|
("" + Mi).indexOf("[native code]") === -1 && (Ns = ki = mt);
|
|
9105
9105
|
var qn = qe.reject, al = "", xr = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", N_ = "String expected.", Du = [], dp = "__dbnames", Ey = "readonly", _y = "readwrite";
|
|
@@ -9388,10 +9388,10 @@ var ck = { exports: {} };
|
|
|
9388
9388
|
var ue = re.key, Ce = re.changes, be = oe[Se];
|
|
9389
9389
|
if (be) {
|
|
9390
9390
|
for (var pe = 0, xe = Object.keys(Ce); pe < xe.length; pe++) {
|
|
9391
|
-
var
|
|
9392
|
-
if (
|
|
9391
|
+
var Ae = xe[pe], Me = Ce[Ae];
|
|
9392
|
+
if (Ae === y.schema.primKey.keyPath) {
|
|
9393
9393
|
if (Jt(Me, ue) !== 0) throw new Ee.Constraint("Cannot update primary key in bulkUpdate()");
|
|
9394
|
-
} else T(be,
|
|
9394
|
+
} else T(be, Ae, Me);
|
|
9395
9395
|
}
|
|
9396
9396
|
M.push(Se), le.push(ue), he.push(be);
|
|
9397
9397
|
}
|
|
@@ -9401,8 +9401,8 @@ var ck = { exports: {} };
|
|
|
9401
9401
|
var Se = re.numFailures, ue = re.failures;
|
|
9402
9402
|
if (Se === 0) return we;
|
|
9403
9403
|
for (var Ce = 0, be = Object.keys(ue); Ce < be.length; Ce++) {
|
|
9404
|
-
var pe, xe = be[Ce],
|
|
9405
|
-
|
|
9404
|
+
var pe, xe = be[Ce], Ae = M[Number(xe)];
|
|
9405
|
+
Ae != null && (pe = ue[xe], delete ue[xe], ue[Ae] = pe);
|
|
9406
9406
|
}
|
|
9407
9407
|
throw new fe("".concat(y.name, ".bulkUpdate(): ").concat(Se, " of ").concat(we, " operations failed"), ue);
|
|
9408
9408
|
});
|
|
@@ -9719,8 +9719,8 @@ var ck = { exports: {} };
|
|
|
9719
9719
|
return this._write(function(F) {
|
|
9720
9720
|
var k, M, Y;
|
|
9721
9721
|
Y = typeof g == "function" ? g : (k = r(g), M = k.length, function(pe) {
|
|
9722
|
-
for (var xe = !1,
|
|
9723
|
-
var Me = k[
|
|
9722
|
+
for (var xe = !1, Ae = 0; Ae < M; ++Ae) {
|
|
9723
|
+
var Me = k[Ae], $e = g[Me], Ye = _(pe, Me);
|
|
9724
9724
|
$e instanceof _d ? (T(pe, Me, $e.execute(Ye)), xe = !0) : Ye !== $e && (T(pe, Me, $e), xe = !0);
|
|
9725
9725
|
}
|
|
9726
9726
|
return xe;
|
|
@@ -9728,11 +9728,11 @@ var ck = { exports: {} };
|
|
|
9728
9728
|
var oe = E.table.core, re = oe.schema.primaryKey, le = re.outbound, he = re.extractKey, we = 200, re = y.db._options.modifyChunkSize;
|
|
9729
9729
|
re && (we = typeof re == "object" ? re[oe.name] || re["*"] || 200 : re);
|
|
9730
9730
|
function Se(pe, Me) {
|
|
9731
|
-
var
|
|
9731
|
+
var Ae = Me.failures, Me = Me.numFailures;
|
|
9732
9732
|
Ce += pe - Me;
|
|
9733
|
-
for (var $e = 0, Ye = r(
|
|
9733
|
+
for (var $e = 0, Ye = r(Ae); $e < Ye.length; $e++) {
|
|
9734
9734
|
var at = Ye[$e];
|
|
9735
|
-
ue.push(
|
|
9735
|
+
ue.push(Ae[at]);
|
|
9736
9736
|
}
|
|
9737
9737
|
}
|
|
9738
9738
|
var ue = [], Ce = 0, be = [];
|
|
@@ -9748,11 +9748,11 @@ var ck = { exports: {} };
|
|
|
9748
9748
|
for (var Yt in qt.failures) dt.splice(parseInt(Yt), 1);
|
|
9749
9749
|
Se(at.length, qt);
|
|
9750
9750
|
})).then(function() {
|
|
9751
|
-
return (0 < Ze.length ||
|
|
9751
|
+
return (0 < Ze.length || Ae && typeof g == "object") && oe.mutate({ trans: F, type: "put", keys: Qe, values: Ze, criteria: Ae, changeSpec: typeof g != "function" && g, isAdditionalChunk: 0 < Me }).then(function(qt) {
|
|
9752
9752
|
return Se(Ze.length, qt);
|
|
9753
9753
|
});
|
|
9754
9754
|
}).then(function() {
|
|
9755
|
-
return (0 < dt.length ||
|
|
9755
|
+
return (0 < dt.length || Ae && g === Ty) && oe.mutate({ trans: F, type: "delete", keys: dt, criteria: Ae, isAdditionalChunk: 0 < Me }).then(function(qt) {
|
|
9756
9756
|
return Se(dt.length, qt);
|
|
9757
9757
|
});
|
|
9758
9758
|
}).then(function() {
|
|
@@ -9760,7 +9760,7 @@ var ck = { exports: {} };
|
|
|
9760
9760
|
});
|
|
9761
9761
|
});
|
|
9762
9762
|
}
|
|
9763
|
-
var
|
|
9763
|
+
var Ae = Tu(E) && E.limit === 1 / 0 && (typeof g != "function" || g === Ty) && { index: E.index, range: E.range };
|
|
9764
9764
|
return xe(0).then(function() {
|
|
9765
9765
|
if (0 < ue.length) throw new Q("Error modifying one or more objects", ue, Ce, be);
|
|
9766
9766
|
return pe.length;
|
|
@@ -9836,8 +9836,8 @@ var ck = { exports: {} };
|
|
|
9836
9836
|
return g._addAlgorithm(function(Ce, be, pe) {
|
|
9837
9837
|
var xe = Ce.key;
|
|
9838
9838
|
if (typeof xe != "string") return !1;
|
|
9839
|
-
var
|
|
9840
|
-
if (y(
|
|
9839
|
+
var Ae = M(xe);
|
|
9840
|
+
if (y(Ae, le, ue)) return !0;
|
|
9841
9841
|
for (var Me = null, $e = ue; $e < re; ++$e) {
|
|
9842
9842
|
var Ye = function(at, Ze, Qe, dt, st, yt) {
|
|
9843
9843
|
for (var Gt = Math.min(at.length, dt.length), qt = -1, Yt = 0; Yt < Gt; ++Yt) {
|
|
@@ -9846,7 +9846,7 @@ var ck = { exports: {} };
|
|
|
9846
9846
|
st(at[Yt], ci) < 0 && (qt = Yt);
|
|
9847
9847
|
}
|
|
9848
9848
|
return Gt < dt.length && yt === "next" ? at + Qe.substr(at.length) : Gt < at.length && yt === "prev" ? at.substr(0, Qe.length) : qt < 0 ? null : at.substr(0, qt) + dt[qt] + Qe.substr(qt + 1);
|
|
9849
|
-
}(xe,
|
|
9849
|
+
}(xe, Ae, oe[$e], le[$e], Y, he);
|
|
9850
9850
|
Ye === null && Me === null ? ue = $e + 1 : (Me === null || 0 < Y(Me, Ye)) && (Me = Ye);
|
|
9851
9851
|
}
|
|
9852
9852
|
return be(Me !== null ? function() {
|
|
@@ -9951,44 +9951,44 @@ var ck = { exports: {} };
|
|
|
9951
9951
|
}, mo.prototype.inAnyRange = function(xe, y) {
|
|
9952
9952
|
var E = this, F = this._cmp, k = this._ascending, M = this._descending, Y = this._min, oe = this._max;
|
|
9953
9953
|
if (xe.length === 0) return Fu(this);
|
|
9954
|
-
if (!xe.every(function(
|
|
9955
|
-
return
|
|
9954
|
+
if (!xe.every(function(Ae) {
|
|
9955
|
+
return Ae[0] !== void 0 && Ae[1] !== void 0 && k(Ae[0], Ae[1]) <= 0;
|
|
9956
9956
|
})) return ui(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", Ee.InvalidArgument);
|
|
9957
9957
|
var le = !y || y.includeLowers !== !1, he = y && y.includeUppers === !0, we, re = k;
|
|
9958
|
-
function Se(
|
|
9959
|
-
return re(
|
|
9958
|
+
function Se(Ae, Me) {
|
|
9959
|
+
return re(Ae[0], Me[0]);
|
|
9960
9960
|
}
|
|
9961
9961
|
try {
|
|
9962
|
-
(we = xe.reduce(function(
|
|
9963
|
-
for (var $e = 0, Ye =
|
|
9964
|
-
var at =
|
|
9962
|
+
(we = xe.reduce(function(Ae, Me) {
|
|
9963
|
+
for (var $e = 0, Ye = Ae.length; $e < Ye; ++$e) {
|
|
9964
|
+
var at = Ae[$e];
|
|
9965
9965
|
if (F(Me[0], at[1]) < 0 && 0 < F(Me[1], at[0])) {
|
|
9966
9966
|
at[0] = Y(at[0], Me[0]), at[1] = oe(at[1], Me[1]);
|
|
9967
9967
|
break;
|
|
9968
9968
|
}
|
|
9969
9969
|
}
|
|
9970
|
-
return $e === Ye &&
|
|
9970
|
+
return $e === Ye && Ae.push(Me), Ae;
|
|
9971
9971
|
}, [])).sort(Se);
|
|
9972
9972
|
} catch {
|
|
9973
9973
|
return ui(this, xr);
|
|
9974
9974
|
}
|
|
9975
|
-
var ue = 0, Ce = he ? function(
|
|
9976
|
-
return 0 < k(
|
|
9977
|
-
} : function(
|
|
9978
|
-
return 0 <= k(
|
|
9979
|
-
}, be = le ? function(
|
|
9980
|
-
return 0 < M(
|
|
9981
|
-
} : function(
|
|
9982
|
-
return 0 <= M(
|
|
9975
|
+
var ue = 0, Ce = he ? function(Ae) {
|
|
9976
|
+
return 0 < k(Ae, we[ue][1]);
|
|
9977
|
+
} : function(Ae) {
|
|
9978
|
+
return 0 <= k(Ae, we[ue][1]);
|
|
9979
|
+
}, be = le ? function(Ae) {
|
|
9980
|
+
return 0 < M(Ae, we[ue][0]);
|
|
9981
|
+
} : function(Ae) {
|
|
9982
|
+
return 0 <= M(Ae, we[ue][0]);
|
|
9983
9983
|
}, pe = Ce, xe = new this.Collection(this, function() {
|
|
9984
9984
|
return ma(we[0][0], we[we.length - 1][1], !le, !he);
|
|
9985
9985
|
});
|
|
9986
|
-
return xe._ondirectionchange = function(
|
|
9987
|
-
re =
|
|
9988
|
-
}, xe._addAlgorithm(function(
|
|
9989
|
-
for (var Ye, at =
|
|
9986
|
+
return xe._ondirectionchange = function(Ae) {
|
|
9987
|
+
re = Ae === "next" ? (pe = Ce, k) : (pe = be, M), we.sort(Se);
|
|
9988
|
+
}, xe._addAlgorithm(function(Ae, Me, $e) {
|
|
9989
|
+
for (var Ye, at = Ae.key; pe(at); ) if (++ue === we.length) return Me($e), !1;
|
|
9990
9990
|
return !Ce(Ye = at) && !be(Ye) || (E._cmp(at, we[ue][1]) === 0 || E._cmp(at, we[ue][0]) === 0 || Me(function() {
|
|
9991
|
-
re === k ?
|
|
9991
|
+
re === k ? Ae.continue(we[ue][0]) : Ae.continue(we[ue][1]);
|
|
9992
9992
|
}), !1);
|
|
9993
9993
|
}), xe;
|
|
9994
9994
|
}, mo.prototype.startsWithAnyOf = function() {
|
|
@@ -10150,13 +10150,13 @@ var ck = { exports: {} };
|
|
|
10150
10150
|
function k(Se) {
|
|
10151
10151
|
var ue, Ce = Se.name;
|
|
10152
10152
|
return { name: Ce, schema: Se, mutate: function(be) {
|
|
10153
|
-
var pe = be.trans, xe = be.type,
|
|
10153
|
+
var pe = be.trans, xe = be.type, Ae = be.keys, Me = be.values, $e = be.range;
|
|
10154
10154
|
return new Promise(function(Ye, at) {
|
|
10155
10155
|
Ye = _n(Ye);
|
|
10156
10156
|
var Ze = pe.objectStore(Ce), Qe = Ze.keyPath == null, dt = xe === "put" || xe === "add";
|
|
10157
10157
|
if (!dt && xe !== "delete" && xe !== "deleteRange") throw new Error("Invalid operation type: " + xe);
|
|
10158
|
-
var st, yt = (
|
|
10159
|
-
if (
|
|
10158
|
+
var st, yt = (Ae || Me || { length: 1 }).length;
|
|
10159
|
+
if (Ae && Me && Ae.length !== Me.length) throw new Error("Given keys array must have same length as given values array.");
|
|
10160
10160
|
if (yt === 0) return Ye({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
10161
10161
|
function Gt(zo) {
|
|
10162
10162
|
++ci, Rd(zo);
|
|
@@ -10166,14 +10166,14 @@ var ck = { exports: {} };
|
|
|
10166
10166
|
if ($e.type === 4) return Ye({ numFailures: ci, failures: Yt, results: [], lastResult: void 0 });
|
|
10167
10167
|
$e.type === 3 ? qt.push(st = Ze.clear()) : qt.push(st = Ze.delete(F($e)));
|
|
10168
10168
|
} else {
|
|
10169
|
-
var Qe = dt ? Qe ? [Me,
|
|
10169
|
+
var Qe = dt ? Qe ? [Me, Ae] : [Me, null] : [Ae, null], $t = Qe[0], xo = Qe[1];
|
|
10170
10170
|
if (dt) for (var Io = 0; Io < yt; ++Io) qt.push(st = xo && xo[Io] !== void 0 ? Ze[xe]($t[Io], xo[Io]) : Ze[xe]($t[Io])), st.onerror = Gt;
|
|
10171
10171
|
else for (Io = 0; Io < yt; ++Io) qt.push(st = Ze[xe]($t[Io])), st.onerror = Gt;
|
|
10172
10172
|
}
|
|
10173
10173
|
function Fp(zo) {
|
|
10174
10174
|
zo = zo.target.result, qt.forEach(function(dl, Yy) {
|
|
10175
10175
|
return dl.error != null && (Yt[Yy] = dl.error);
|
|
10176
|
-
}), Ye({ numFailures: ci, failures: Yt, results: xe === "delete" ?
|
|
10176
|
+
}), Ye({ numFailures: ci, failures: Yt, results: xe === "delete" ? Ae : qt.map(function(dl) {
|
|
10177
10177
|
return dl.result;
|
|
10178
10178
|
}), lastResult: zo });
|
|
10179
10179
|
}
|
|
@@ -10183,39 +10183,39 @@ var ck = { exports: {} };
|
|
|
10183
10183
|
});
|
|
10184
10184
|
}, getMany: function(be) {
|
|
10185
10185
|
var pe = be.trans, xe = be.keys;
|
|
10186
|
-
return new Promise(function(
|
|
10187
|
-
|
|
10186
|
+
return new Promise(function(Ae, Me) {
|
|
10187
|
+
Ae = _n(Ae);
|
|
10188
10188
|
for (var $e, Ye = pe.objectStore(Ce), at = xe.length, Ze = new Array(at), Qe = 0, dt = 0, st = function(qt) {
|
|
10189
|
-
qt = qt.target, Ze[qt._pos] = qt.result, ++dt === Qe &&
|
|
10189
|
+
qt = qt.target, Ze[qt._pos] = qt.result, ++dt === Qe && Ae(Ze);
|
|
10190
10190
|
}, yt = Vs(Me), Gt = 0; Gt < at; ++Gt) xe[Gt] != null && (($e = Ye.get(xe[Gt]))._pos = Gt, $e.onsuccess = st, $e.onerror = yt, ++Qe);
|
|
10191
|
-
Qe === 0 &&
|
|
10191
|
+
Qe === 0 && Ae(Ze);
|
|
10192
10192
|
});
|
|
10193
10193
|
}, get: function(be) {
|
|
10194
10194
|
var pe = be.trans, xe = be.key;
|
|
10195
|
-
return new Promise(function(
|
|
10196
|
-
|
|
10195
|
+
return new Promise(function(Ae, Me) {
|
|
10196
|
+
Ae = _n(Ae);
|
|
10197
10197
|
var $e = pe.objectStore(Ce).get(xe);
|
|
10198
10198
|
$e.onsuccess = function(Ye) {
|
|
10199
|
-
return
|
|
10199
|
+
return Ae(Ye.target.result);
|
|
10200
10200
|
}, $e.onerror = Vs(Me);
|
|
10201
10201
|
});
|
|
10202
10202
|
}, query: (ue = he, function(be) {
|
|
10203
10203
|
return new Promise(function(pe, xe) {
|
|
10204
10204
|
pe = _n(pe);
|
|
10205
|
-
var
|
|
10205
|
+
var Ae, Me, $e, Qe = be.trans, Ye = be.values, at = be.limit, st = be.query, Ze = at === 1 / 0 ? void 0 : at, dt = st.index, st = st.range, Qe = Qe.objectStore(Ce), dt = dt.isPrimaryKey ? Qe : Qe.index(dt.name), st = F(st);
|
|
10206
10206
|
if (at === 0) return pe({ result: [] });
|
|
10207
10207
|
ue ? ((Ze = Ye ? dt.getAll(st, Ze) : dt.getAllKeys(st, Ze)).onsuccess = function(yt) {
|
|
10208
10208
|
return pe({ result: yt.target.result });
|
|
10209
|
-
}, Ze.onerror = Vs(xe)) : (
|
|
10209
|
+
}, Ze.onerror = Vs(xe)) : (Ae = 0, Me = !Ye && "openKeyCursor" in dt ? dt.openKeyCursor(st) : dt.openCursor(st), $e = [], Me.onsuccess = function(yt) {
|
|
10210
10210
|
var Gt = Me.result;
|
|
10211
|
-
return Gt ? ($e.push(Ye ? Gt.value : Gt.primaryKey), ++
|
|
10211
|
+
return Gt ? ($e.push(Ye ? Gt.value : Gt.primaryKey), ++Ae === at ? pe({ result: $e }) : void Gt.continue()) : pe({ result: $e });
|
|
10212
10212
|
}, Me.onerror = Vs(xe));
|
|
10213
10213
|
});
|
|
10214
10214
|
}), openCursor: function(be) {
|
|
10215
|
-
var pe = be.trans, xe = be.values,
|
|
10215
|
+
var pe = be.trans, xe = be.values, Ae = be.query, Me = be.reverse, $e = be.unique;
|
|
10216
10216
|
return new Promise(function(Ye, at) {
|
|
10217
10217
|
Ye = _n(Ye);
|
|
10218
|
-
var dt =
|
|
10218
|
+
var dt = Ae.index, Ze = Ae.range, Qe = pe.objectStore(Ce), Qe = dt.isPrimaryKey ? Qe : Qe.index(dt.name), dt = Me ? $e ? "prevunique" : "prev" : $e ? "nextunique" : "next", st = !xe && "openKeyCursor" in Qe ? Qe.openKeyCursor(F(Ze), dt) : Qe.openCursor(F(Ze), dt);
|
|
10219
10219
|
st.onerror = Vs(at), st.onsuccess = _n(function(yt) {
|
|
10220
10220
|
var Gt, qt, Yt, ci, $t = st.result;
|
|
10221
10221
|
$t ? ($t.___id = ++kB, $t.done = !1, Gt = $t.continue.bind($t), qt = (qt = $t.continuePrimaryKey) && qt.bind($t), Yt = $t.advance.bind($t), ci = function() {
|
|
@@ -10252,9 +10252,9 @@ var ck = { exports: {} };
|
|
|
10252
10252
|
}, at);
|
|
10253
10253
|
});
|
|
10254
10254
|
}, count: function(be) {
|
|
10255
|
-
var pe = be.query, xe = be.trans,
|
|
10255
|
+
var pe = be.query, xe = be.trans, Ae = pe.index, Me = pe.range;
|
|
10256
10256
|
return new Promise(function($e, Ye) {
|
|
10257
|
-
var at = xe.objectStore(Ce), Ze =
|
|
10257
|
+
var at = xe.objectStore(Ce), Ze = Ae.isPrimaryKey ? at : at.index(Ae.name), at = F(Me), Ze = at ? Ze.count(at) : Ze.count();
|
|
10258
10258
|
Ze.onsuccess = _n(function(Qe) {
|
|
10259
10259
|
return $e(Qe.target.result);
|
|
10260
10260
|
}), Ze.onerror = Vs(Ye);
|
|
@@ -10267,7 +10267,7 @@ var ck = { exports: {} };
|
|
|
10267
10267
|
var ue = Se.keyPath, pe = Se.autoIncrement, Ce = a(ue), be = {}, pe = { name: Se.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: ue == null, compound: Ce, keyPath: ue, autoIncrement: pe, unique: !0, extractKey: Py(ue) }, indexes: q_(Se.indexNames).map(function(xe) {
|
|
10268
10268
|
return Se.index(xe);
|
|
10269
10269
|
}).map(function($e) {
|
|
10270
|
-
var
|
|
10270
|
+
var Ae = $e.name, Me = $e.unique, Ye = $e.multiEntry, $e = $e.keyPath, Ye = { name: Ae, compound: a($e), keyPath: $e, unique: Me, multiEntry: Ye, extractKey: Py($e) };
|
|
10271
10271
|
return be[Fd($e)] = Ye;
|
|
10272
10272
|
}), getIndexByKeyPath: function(xe) {
|
|
10273
10273
|
return be[Fd(xe)];
|
|
@@ -10333,9 +10333,9 @@ var ck = { exports: {} };
|
|
|
10333
10333
|
return xe._cfg.version >= Se;
|
|
10334
10334
|
})).length !== 0 ? (we.forEach(function(xe) {
|
|
10335
10335
|
be.push(function() {
|
|
10336
|
-
var
|
|
10337
|
-
wp(re,
|
|
10338
|
-
var $e = ky(
|
|
10336
|
+
var Ae = pe, Me = xe._cfg.dbschema;
|
|
10337
|
+
wp(re, Ae, Ce), wp(re, Me, Ce), pe = re._dbSchema = Me;
|
|
10338
|
+
var $e = ky(Ae, Me);
|
|
10339
10339
|
$e.add.forEach(function(dt) {
|
|
10340
10340
|
Oy(Ce, dt[0], dt[1].primKey, dt[1].indexes);
|
|
10341
10341
|
}), $e.change.forEach(function(dt) {
|
|
@@ -10354,7 +10354,7 @@ var ck = { exports: {} };
|
|
|
10354
10354
|
mp(re, Ce), ue._memoizedTables = {};
|
|
10355
10355
|
var at = O(Me);
|
|
10356
10356
|
$e.del.forEach(function(dt) {
|
|
10357
|
-
at[dt] =
|
|
10357
|
+
at[dt] = Ae[dt];
|
|
10358
10358
|
}), Ay(re, [re.Transaction.prototype]), vp(re, [re.Transaction.prototype], r(at), at), ue.schema = at;
|
|
10359
10359
|
var Ze, Qe = ee(Ye);
|
|
10360
10360
|
return Qe && Ns(), $e = qe.follow(function() {
|
|
@@ -10364,15 +10364,15 @@ var ck = { exports: {} };
|
|
|
10364
10364
|
return Ze;
|
|
10365
10365
|
});
|
|
10366
10366
|
}
|
|
10367
|
-
}), be.push(function(
|
|
10367
|
+
}), be.push(function(Ae) {
|
|
10368
10368
|
var Me, $e, Ye = xe._cfg.dbschema;
|
|
10369
|
-
Me = Ye, $e =
|
|
10369
|
+
Me = Ye, $e = Ae, [].slice.call($e.db.objectStoreNames).forEach(function(at) {
|
|
10370
10370
|
return Me[at] == null && $e.db.deleteObjectStore(at);
|
|
10371
10371
|
}), Ay(re, [re.Transaction.prototype]), vp(re, [re.Transaction.prototype], re._storeNames, re._dbSchema), ue.schema = re._dbSchema;
|
|
10372
|
-
}), be.push(function(
|
|
10372
|
+
}), be.push(function(Ae) {
|
|
10373
10373
|
re.idbdb.objectStoreNames.contains("$meta") && (Math.ceil(re.idbdb.version / 10) === xe._cfg.version ? (re.idbdb.deleteObjectStore("$meta"), delete re._dbSchema.$meta, re._storeNames = re._storeNames.filter(function(Me) {
|
|
10374
10374
|
return Me !== "$meta";
|
|
10375
|
-
})) :
|
|
10375
|
+
})) : Ae.objectStore("$meta").put(xe._cfg.version, "version"));
|
|
10376
10376
|
});
|
|
10377
10377
|
}), function xe() {
|
|
10378
10378
|
return be.length ? qe.resolve(be.shift()(ue.idbtrans)).then(xe) : qe.resolve();
|
|
@@ -10648,10 +10648,10 @@ var ck = { exports: {} };
|
|
|
10648
10648
|
})) : (we.onerror = Vs(ue), pe = pe.oldVersion > Math.pow(2, 62) ? 0 : pe.oldVersion, re = pe < 1, g.idbdb = be.result, M && VB(g, we), LB(g, pe / 10, we, ue));
|
|
10649
10649
|
}, ue), be.onsuccess = _n(function() {
|
|
10650
10650
|
we = null;
|
|
10651
|
-
var pe, xe,
|
|
10651
|
+
var pe, xe, Ae, Me, $e, Ye = g.idbdb = be.result, at = b(Ye.objectStoreNames);
|
|
10652
10652
|
if (0 < at.length) try {
|
|
10653
10653
|
var Ze = Ye.transaction((Me = at).length === 1 ? Me[0] : Me, "readonly");
|
|
10654
|
-
if (y.autoSchema) xe = Ye,
|
|
10654
|
+
if (y.autoSchema) xe = Ye, Ae = Ze, (pe = g).verno = xe.version / 10, Ae = pe._dbSchema = Cp(0, xe, Ae), pe._storeNames = b(xe.objectStoreNames, 0), vp(pe, [pe._allTables], r(Ae), Ae);
|
|
10655
10655
|
else if (wp(g, g._dbSchema, Ze), (($e = ky(Cp(0, ($e = g).idbdb, Ze), $e._dbSchema)).add.length || $e.change.some(function(Qe) {
|
|
10656
10656
|
return Qe.add.length || Qe.change.length;
|
|
10657
10657
|
})) && !M) return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."), Ye.close(), k = Ye.version + 1, M = !0, Se(oe());
|
|
@@ -10738,8 +10738,8 @@ var ck = { exports: {} };
|
|
|
10738
10738
|
var E = g.table(y), F = E.schema, k = {}, M = [];
|
|
10739
10739
|
function Y(re, Se, ue) {
|
|
10740
10740
|
var Ce = Fd(re), be = k[Ce] = k[Ce] || [], pe = re == null ? 0 : typeof re == "string" ? 1 : re.length, xe = 0 < Se, xe = o(o({}, ue), { name: xe ? "".concat(Ce, "(virtual-from:").concat(ue.name, ")") : ue.name, lowLevelIndex: ue, isVirtual: xe, keyTail: Se, keyLength: pe, extractKey: Py(re), unique: !xe && ue.unique });
|
|
10741
|
-
return be.push(xe), xe.isPrimaryKey || M.push(xe), 1 < pe && Y(pe === 2 ? re[0] : re.slice(0, pe - 1), Se + 1, ue), be.sort(function(
|
|
10742
|
-
return
|
|
10741
|
+
return be.push(xe), xe.isPrimaryKey || M.push(xe), 1 < pe && Y(pe === 2 ? re[0] : re.slice(0, pe - 1), Se + 1, ue), be.sort(function(Ae, Me) {
|
|
10742
|
+
return Ae.keyTail - Me.keyTail;
|
|
10743
10743
|
}), xe;
|
|
10744
10744
|
}
|
|
10745
10745
|
y = Y(F.primaryKey.keyPath, 0, F.primaryKey), k[":id"] = [y];
|
|
@@ -10763,15 +10763,15 @@ var ck = { exports: {} };
|
|
|
10763
10763
|
return xe && pe(xe);
|
|
10764
10764
|
}) : E.openCursor(re);
|
|
10765
10765
|
function pe(xe) {
|
|
10766
|
-
return Object.create(xe, { continue: { value: function(
|
|
10767
|
-
|
|
10768
|
-
} }, continuePrimaryKey: { value: function(
|
|
10769
|
-
xe.continuePrimaryKey(Rp(
|
|
10766
|
+
return Object.create(xe, { continue: { value: function(Ae) {
|
|
10767
|
+
Ae != null ? xe.continue(Rp(Ae, re.reverse ? g.MAX_KEY : g.MIN_KEY, ue)) : re.unique ? xe.continue(xe.key.slice(0, be).concat(re.reverse ? g.MIN_KEY : g.MAX_KEY, ue)) : xe.continue();
|
|
10768
|
+
} }, continuePrimaryKey: { value: function(Ae, Me) {
|
|
10769
|
+
xe.continuePrimaryKey(Rp(Ae, g.MAX_KEY, ue), Me);
|
|
10770
10770
|
} }, primaryKey: { get: function() {
|
|
10771
10771
|
return xe.primaryKey;
|
|
10772
10772
|
} }, key: { get: function() {
|
|
10773
|
-
var
|
|
10774
|
-
return be === 1 ?
|
|
10773
|
+
var Ae = xe.key;
|
|
10774
|
+
return be === 1 ? Ae[0] : Ae.slice(0, be);
|
|
10775
10775
|
} }, value: { get: function() {
|
|
10776
10776
|
return xe.value;
|
|
10777
10777
|
} } });
|
|
@@ -10829,7 +10829,7 @@ var ck = { exports: {} };
|
|
|
10829
10829
|
var Se, ue, Ce, be = Be.trans, pe = re.keys || zy(F, re);
|
|
10830
10830
|
if (!pe) throw new Error("Keys missing");
|
|
10831
10831
|
return (re = re.type === "add" || re.type === "put" ? o(o({}, re), { keys: pe }) : o({}, re)).type !== "delete" && (re.values = i([], re.values)), re.keys && (re.keys = i([], re.keys)), Se = E, Ce = pe, ((ue = re).type === "add" ? Promise.resolve([]) : Se.getMany({ trans: ue.trans, keys: Ce, cache: "immutable" })).then(function(xe) {
|
|
10832
|
-
var
|
|
10832
|
+
var Ae = pe.map(function(Me, $e) {
|
|
10833
10833
|
var Ye, at, Ze, Qe = xe[$e], dt = { onerror: null, onsuccess: null };
|
|
10834
10834
|
return re.type === "delete" ? oe.fire.call(dt, Me, Qe, be) : re.type === "add" || Qe === void 0 ? (Ye = le.fire.call(dt, Me, re.values[$e], be), Me == null && Ye != null && (re.keys[$e] = Me = Ye, F.outbound || T(re.values[$e], F.keyPath, Me))) : (Ye = Wy(Qe, re.values[$e]), (at = he.fire.call(dt, Ye, Me, Qe, be)) && (Ze = re.values[$e], Object.keys(at).forEach(function(st) {
|
|
10835
10835
|
d(Ze, st) ? Ze[st] = at[st] : T(Ze, st, at[st]);
|
|
@@ -10837,12 +10837,12 @@ var ck = { exports: {} };
|
|
|
10837
10837
|
});
|
|
10838
10838
|
return E.mutate(re).then(function(Me) {
|
|
10839
10839
|
for (var $e = Me.failures, Ye = Me.results, at = Me.numFailures, Me = Me.lastResult, Ze = 0; Ze < pe.length; ++Ze) {
|
|
10840
|
-
var Qe = (Ye || pe)[Ze], dt =
|
|
10840
|
+
var Qe = (Ye || pe)[Ze], dt = Ae[Ze];
|
|
10841
10841
|
Qe == null ? dt.onerror && dt.onerror($e[Ze]) : dt.onsuccess && dt.onsuccess(re.type === "put" && xe[Ze] ? re.values[Ze] : Qe);
|
|
10842
10842
|
}
|
|
10843
10843
|
return { failures: $e, results: Ye, numFailures: at, lastResult: Me };
|
|
10844
10844
|
}).catch(function(Me) {
|
|
10845
|
-
return
|
|
10845
|
+
return Ae.forEach(function($e) {
|
|
10846
10846
|
return $e.onerror && $e.onerror(Me);
|
|
10847
10847
|
}), Promise.reject(Me);
|
|
10848
10848
|
});
|
|
@@ -10900,7 +10900,7 @@ var ck = { exports: {} };
|
|
|
10900
10900
|
function Ce(st) {
|
|
10901
10901
|
return st = "idb://".concat(y, "/").concat(F, "/").concat(st), Me[st] || (Me[st] = new Fo());
|
|
10902
10902
|
}
|
|
10903
|
-
var be, pe, xe,
|
|
10903
|
+
var be, pe, xe, Ae = ue.trans, Me = ue.mutatedParts || (ue.mutatedParts = {}), $e = Ce(""), Ye = Ce(":dels"), at = ue.type, dt = ue.type === "deleteRange" ? [ue.range] : ue.type === "delete" ? [ue.keys] : ue.values.length < 50 ? [zy(Y, ue).filter(function(st) {
|
|
10904
10904
|
return st;
|
|
10905
10905
|
}), ue.values] : [], Ze = dt[0], Qe = dt[1], dt = ue.trans._cache;
|
|
10906
10906
|
return a(Ze) ? ($e.addKeys(Ze), (dt = at === "delete" || Ze.length === Qe.length ? tR(Ze, dt) : null) || Ye.addKeys(Ze), (dt || Qe) && (be = Ce, pe = dt, xe = Qe, M.indexes.forEach(function(st) {
|
|
@@ -10927,7 +10927,7 @@ var ck = { exports: {} };
|
|
|
10927
10927
|
return $t === Y.keyPath;
|
|
10928
10928
|
}), Yt = 0, ci = st.results.length; Yt < ci; ++Yt) Gt[Yt][qt] = st.results[Yt];
|
|
10929
10929
|
Ce(yt.name).addKeys(Gt);
|
|
10930
|
-
})),
|
|
10930
|
+
})), Ae.mutatedParts = Ep(Ae.mutatedParts || {}, Me), st;
|
|
10931
10931
|
});
|
|
10932
10932
|
} }), re = function(Ce) {
|
|
10933
10933
|
var be = Ce.query, Ce = be.index, be = be.range;
|
|
@@ -10941,10 +10941,10 @@ var ck = { exports: {} };
|
|
|
10941
10941
|
we[ue] = function(Ce) {
|
|
10942
10942
|
var be = Be.subscr, pe = !!be, xe = nR(Be, k) && oR(ue, Ce) ? Ce.obsSet = {} : be;
|
|
10943
10943
|
if (pe) {
|
|
10944
|
-
var
|
|
10944
|
+
var Ae = function(Qe) {
|
|
10945
10945
|
return Qe = "idb://".concat(y, "/").concat(F, "/").concat(Qe), xe[Qe] || (xe[Qe] = new Fo());
|
|
10946
|
-
}, Me =
|
|
10947
|
-
if ((ue === "query" && pe.isPrimaryKey && !Ce.values ? $e :
|
|
10946
|
+
}, Me = Ae(""), $e = Ae(":dels"), be = Se[ue](Ce), pe = be[0], be = be[1];
|
|
10947
|
+
if ((ue === "query" && pe.isPrimaryKey && !Ce.values ? $e : Ae(pe.name || "")).add(be), !pe.isPrimaryKey) {
|
|
10948
10948
|
if (ue !== "count") {
|
|
10949
10949
|
var Ye = ue === "query" && le && Ce.values && k.query(o(o({}, Ce), { values: !1 }));
|
|
10950
10950
|
return k[ue].apply(this, arguments).then(function(Qe) {
|
|
@@ -10994,8 +10994,8 @@ var ck = { exports: {} };
|
|
|
10994
10994
|
if (!Se || Se.length === 0) return g;
|
|
10995
10995
|
var Y = y.query.index, oe = Y.multiEntry, le = y.query.range, he = F.schema.primaryKey.extractKey, we = Y.extractKey, re = (Y.lowLevelIndex || Y).extractKey, Se = Se.reduce(function(ue, Ce) {
|
|
10996
10996
|
var be = ue, pe = [];
|
|
10997
|
-
if (Ce.type === "add" || Ce.type === "put") for (var xe = new Fo(),
|
|
10998
|
-
var Me, $e = Ce.values[
|
|
10997
|
+
if (Ce.type === "add" || Ce.type === "put") for (var xe = new Fo(), Ae = Ce.values.length - 1; 0 <= Ae; --Ae) {
|
|
10998
|
+
var Me, $e = Ce.values[Ae], Ye = he($e);
|
|
10999
10999
|
xe.hasKey(Ye) || (Me = we($e), (oe && a(Me) ? Me.some(function(st) {
|
|
11000
11000
|
return jy(st, le);
|
|
11001
11001
|
}) : jy(Me, le)) && (xe.addKey(Ye), pe.push($e)));
|
|
@@ -11085,7 +11085,7 @@ var ck = { exports: {} };
|
|
|
11085
11085
|
var Ce = g.table(Se), be = ue.optimisticOps.filter(function(yt) {
|
|
11086
11086
|
return yt.trans === oe;
|
|
11087
11087
|
});
|
|
11088
|
-
if (oe._explicit && le && oe.mutatedParts) for (var pe = 0, xe = Object.values(ue.queries.query); pe < xe.length; pe++) for (var
|
|
11088
|
+
if (oe._explicit && le && oe.mutatedParts) for (var pe = 0, xe = Object.values(ue.queries.query); pe < xe.length; pe++) for (var Ae = 0, Me = (at = xe[pe]).slice(); Ae < Me.length; Ae++) By((Ze = Me[Ae]).obsSet, oe.mutatedParts) && (L(at, Ze), Ze.subscribers.forEach(function(yt) {
|
|
11089
11089
|
return he.add(yt);
|
|
11090
11090
|
}));
|
|
11091
11091
|
else if (0 < be.length) {
|
|
@@ -11130,23 +11130,23 @@ var ck = { exports: {} };
|
|
|
11130
11130
|
}, query: function(M) {
|
|
11131
11131
|
if (!nR(Be, F) || !oR("query", M)) return F.query(M);
|
|
11132
11132
|
var Y = ((he = Be.trans) === null || he === void 0 ? void 0 : he.db._options.cache) === "immutable", re = Be, oe = re.requery, le = re.signal, he = function(Ce, be, pe, xe) {
|
|
11133
|
-
var
|
|
11134
|
-
if (!
|
|
11135
|
-
if (!(be =
|
|
11133
|
+
var Ae = ul["idb://".concat(Ce, "/").concat(be)];
|
|
11134
|
+
if (!Ae) return [];
|
|
11135
|
+
if (!(be = Ae.queries[pe])) return [null, !1, Ae, null];
|
|
11136
11136
|
var Me = be[(xe.query ? xe.query.index.name : null) || ""];
|
|
11137
|
-
if (!Me) return [null, !1,
|
|
11137
|
+
if (!Me) return [null, !1, Ae, null];
|
|
11138
11138
|
switch (pe) {
|
|
11139
11139
|
case "query":
|
|
11140
11140
|
var $e = Me.find(function(Ye) {
|
|
11141
11141
|
return Ye.req.limit === xe.limit && Ye.req.values === xe.values && rR(Ye.req.query.range, xe.query.range);
|
|
11142
11142
|
});
|
|
11143
|
-
return $e ? [$e, !0,
|
|
11143
|
+
return $e ? [$e, !0, Ae, Me] : [Me.find(function(Ye) {
|
|
11144
11144
|
return ("limit" in Ye.req ? Ye.req.limit : 1 / 0) >= xe.limit && (!xe.values || Ye.req.values) && zB(Ye.req.query.range, xe.query.range);
|
|
11145
|
-
}), !1,
|
|
11145
|
+
}), !1, Ae, Me];
|
|
11146
11146
|
case "count":
|
|
11147
11147
|
return $e = Me.find(function(Ye) {
|
|
11148
11148
|
return rR(Ye.req.query.range, xe.query.range);
|
|
11149
|
-
}), [$e, !!$e,
|
|
11149
|
+
}), [$e, !!$e, Ae, Me];
|
|
11150
11150
|
}
|
|
11151
11151
|
}(y, E, "query", M), we = he[0], re = he[1], Se = he[2], ue = he[3];
|
|
11152
11152
|
return we && re ? we.obsSet = M.obsSet : (re = F.query(M).then(function(Ce) {
|
|
@@ -11301,10 +11301,10 @@ var ck = { exports: {} };
|
|
|
11301
11301
|
return he(we, re, Se, null, Ce);
|
|
11302
11302
|
})) : qn(Me);
|
|
11303
11303
|
}
|
|
11304
|
-
var xe,
|
|
11305
|
-
return
|
|
11304
|
+
var xe, Ae = ee(Ce);
|
|
11305
|
+
return Ae && Ns(), be = qe.follow(function() {
|
|
11306
11306
|
var Me;
|
|
11307
|
-
(xe = Ce.call(pe, pe)) && (
|
|
11307
|
+
(xe = Ce.call(pe, pe)) && (Ae ? (Me = ki.bind(null, null), xe.then(Me, Me)) : typeof xe.next == "function" && typeof xe.throw == "function" && (xe = Uy(xe)));
|
|
11308
11308
|
}, be), (xe && typeof xe.then == "function" ? qe.resolve(xe).then(function(Me) {
|
|
11309
11309
|
return pe.active ? Me : qn(new Ee.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"));
|
|
11310
11310
|
}) : be.then(function() {
|
|
@@ -11349,8 +11349,8 @@ var ck = { exports: {} };
|
|
|
11349
11349
|
var ue = L_, Ce = null;
|
|
11350
11350
|
if (pe) try {
|
|
11351
11351
|
ue = pe();
|
|
11352
|
-
} catch (
|
|
11353
|
-
Ce =
|
|
11352
|
+
} catch (Ae) {
|
|
11353
|
+
Ce = Ae;
|
|
11354
11354
|
}
|
|
11355
11355
|
var be = xe._ctx, pe = be.table, xe = pe.hook.reading.fire;
|
|
11356
11356
|
this._ctx = { table: pe, index: be.index, isPrimKey: !be.index || pe.schema.primKey.keyPath && be.index === pe.schema.primKey.name, range: ue, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: Ce, or: be.or, valueMapper: xe !== U ? xe : null };
|
|
@@ -11358,13 +11358,13 @@ var ck = { exports: {} };
|
|
|
11358
11358
|
this.db = M, this._tx = ue, this.name = re, this.schema = Se, this.hook = M._allTables[re] ? M._allTables[re].hook : Sd(null, { creating: [Te, mt], reading: [W, U], updating: [B, mt], deleting: [Ne, mt] });
|
|
11359
11359
|
})), this.Transaction = (Y = this, Ed(AB.prototype, function(re, Se, ue, Ce, be) {
|
|
11360
11360
|
var pe = this;
|
|
11361
|
-
this.db = Y, this.mode = re, this.storeNames = Se, this.schema = ue, this.chromeTransactionDurability = Ce, this.idbtrans = null, this.on = Sd(this, "complete", "error", "abort"), this.parent = be || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new qe(function(xe,
|
|
11362
|
-
pe._resolve = xe, pe._reject =
|
|
11361
|
+
this.db = Y, this.mode = re, this.storeNames = Se, this.schema = ue, this.chromeTransactionDurability = Ce, this.idbtrans = null, this.on = Sd(this, "complete", "error", "abort"), this.parent = be || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new qe(function(xe, Ae) {
|
|
11362
|
+
pe._resolve = xe, pe._reject = Ae;
|
|
11363
11363
|
}), this._completion.then(function() {
|
|
11364
11364
|
pe.active = !1, pe.on.complete.fire();
|
|
11365
11365
|
}, function(xe) {
|
|
11366
|
-
var
|
|
11367
|
-
return pe.active = !1, pe.on.error.fire(xe), pe.parent ? pe.parent._reject(xe) :
|
|
11366
|
+
var Ae = pe.active;
|
|
11367
|
+
return pe.active = !1, pe.on.error.fire(xe), pe.parent ? pe.parent._reject(xe) : Ae && pe.idbtrans && pe.idbtrans.abort(), qn(xe);
|
|
11368
11368
|
});
|
|
11369
11369
|
})), this.Version = (oe = this, Ed(BB.prototype, function(re) {
|
|
11370
11370
|
this.db = oe, this._cfg = { version: re, storesSource: null, dbschema: {}, tables: {}, contentUpgrade: null };
|
|
@@ -11432,25 +11432,25 @@ var ck = { exports: {} };
|
|
|
11432
11432
|
Ep(le, be), By(he, le) && Se();
|
|
11433
11433
|
}, Ce = function() {
|
|
11434
11434
|
var be, pe, xe;
|
|
11435
|
-
!oe && Tp.indexedDB && (le = {}, be = {}, Y && Y.abort(), Y = new AbortController(), xe = function(
|
|
11435
|
+
!oe && Tp.indexedDB && (le = {}, be = {}, Y && Y.abort(), Y = new AbortController(), xe = function(Ae) {
|
|
11436
11436
|
var Me = Os();
|
|
11437
11437
|
try {
|
|
11438
11438
|
M && Ns();
|
|
11439
|
-
var $e = ls(g,
|
|
11439
|
+
var $e = ls(g, Ae);
|
|
11440
11440
|
return $e = M ? $e.finally(ki) : $e;
|
|
11441
11441
|
} finally {
|
|
11442
11442
|
Me && Ai();
|
|
11443
11443
|
}
|
|
11444
|
-
}(pe = { subscr: be, signal: Y.signal, requery: Se, querier: g, trans: null }), Promise.resolve(xe).then(function(
|
|
11445
|
-
E = !0, y =
|
|
11444
|
+
}(pe = { subscr: be, signal: Y.signal, requery: Se, querier: g, trans: null }), Promise.resolve(xe).then(function(Ae) {
|
|
11445
|
+
E = !0, y = Ae, oe || pe.signal.aborted || (le = {}, function(Me) {
|
|
11446
11446
|
for (var $e in Me) if (d(Me, $e)) return;
|
|
11447
11447
|
return 1;
|
|
11448
11448
|
}(he = be) || re || (va(Dd, ue), re = !0), Sy(function() {
|
|
11449
|
-
return !oe && k.next && k.next(
|
|
11449
|
+
return !oe && k.next && k.next(Ae);
|
|
11450
11450
|
}));
|
|
11451
|
-
}, function(
|
|
11452
|
-
E = !1, ["DatabaseClosedError", "AbortError"].includes(
|
|
11453
|
-
oe || k.error && k.error(
|
|
11451
|
+
}, function(Ae) {
|
|
11452
|
+
E = !1, ["DatabaseClosedError", "AbortError"].includes(Ae == null ? void 0 : Ae.name) || oe || Sy(function() {
|
|
11453
|
+
oe || k.error && k.error(Ae);
|
|
11454
11454
|
});
|
|
11455
11455
|
}));
|
|
11456
11456
|
};
|
|
@@ -11645,7 +11645,7 @@ const Np = /* @__PURE__ */ new Map(), F3 = async (e) => {
|
|
|
11645
11645
|
console.error(`Store is undefined, cannot cache key: ${u}`);
|
|
11646
11646
|
return;
|
|
11647
11647
|
}
|
|
11648
|
-
await d.put({
|
|
11648
|
+
console.trace("Caching value for key:", u, c), await d.put({
|
|
11649
11649
|
key: u,
|
|
11650
11650
|
value: c,
|
|
11651
11651
|
timestamp: Date.now()
|
|
@@ -29277,7 +29277,7 @@ const bX = {
|
|
|
29277
29277
|
entityId: String(i.entityId),
|
|
29278
29278
|
filterParams: _ != null && _.value ? _ == null ? void 0 : _.value : void 0
|
|
29279
29279
|
};
|
|
29280
|
-
|
|
29280
|
+
R.value == Lt.CHECKED && b && (te.itemIds = void 0, te.entityId = String(i.entityId)), s("start-update");
|
|
29281
29281
|
const L = await S.value.updateItemStatus(te);
|
|
29282
29282
|
if (!(L != null && L.message))
|
|
29283
29283
|
throw s("error", "API did not return success"), new Error("API did not return success");
|
|
@@ -34496,7 +34496,7 @@ const cte = /* @__PURE__ */ ht({
|
|
|
34496
34496
|
_: 3
|
|
34497
34497
|
}, 8, ["modelValue", "disabled"]));
|
|
34498
34498
|
}
|
|
34499
|
-
}), hte = /* @__PURE__ */ _t(dte, [["__scopeId", "data-v-
|
|
34499
|
+
}), hte = /* @__PURE__ */ _t(dte, [["__scopeId", "data-v-6f5d2b3c"]]), fte = { key: 0 }, pte = {
|
|
34500
34500
|
key: 1,
|
|
34501
34501
|
style: { "font-style": "italic" }
|
|
34502
34502
|
}, gte = {
|
|
@@ -34683,7 +34683,7 @@ const cte = /* @__PURE__ */ ht({
|
|
|
34683
34683
|
const I = [...f.value, ...x, ...p.value];
|
|
34684
34684
|
i.checkboxColumn && I.unshift(i.checkboxColumn), a.value = I, S();
|
|
34685
34685
|
}, R = (x) => {
|
|
34686
|
-
x && (l.value[x] = !l.value[x], S());
|
|
34686
|
+
x && (console.log("Toggling column:", x), l.value[x] = !l.value[x], S());
|
|
34687
34687
|
};
|
|
34688
34688
|
rt(
|
|
34689
34689
|
w,
|
|
@@ -80551,7 +80551,7 @@ const lEe = (e) => {
|
|
|
80551
80551
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
80552
80552
|
typeof setImmediate == "function",
|
|
80553
80553
|
si(Vl.postMessage)
|
|
80554
|
-
), dEe = typeof queueMicrotask < "u" ? queueMicrotask.bind(Vl) : typeof V < "u" && V.nextTick || cB, hEe = (e) => e != null && si(e[my]),
|
|
80554
|
+
), dEe = typeof queueMicrotask < "u" ? queueMicrotask.bind(Vl) : typeof V < "u" && V.nextTick || cB, hEe = (e) => e != null && si(e[my]), ke = {
|
|
80555
80555
|
isArray: yd,
|
|
80556
80556
|
isArrayBuffer: sB,
|
|
80557
80557
|
isBuffer: rp,
|
|
@@ -80614,7 +80614,7 @@ const lEe = (e) => {
|
|
|
80614
80614
|
function Wt(e, t, n, o, i) {
|
|
80615
80615
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), i && (this.response = i, this.status = i.status ? i.status : null);
|
|
80616
80616
|
}
|
|
80617
|
-
|
|
80617
|
+
ke.inherits(Wt, Error, {
|
|
80618
80618
|
toJSON: function() {
|
|
80619
80619
|
return {
|
|
80620
80620
|
// Standard
|
|
@@ -80629,7 +80629,7 @@ Ae.inherits(Wt, Error, {
|
|
|
80629
80629
|
columnNumber: this.columnNumber,
|
|
80630
80630
|
stack: this.stack,
|
|
80631
80631
|
// Axios
|
|
80632
|
-
config:
|
|
80632
|
+
config: ke.toJSONObject(this.config),
|
|
80633
80633
|
code: this.code,
|
|
80634
80634
|
status: this.status
|
|
80635
80635
|
};
|
|
@@ -80657,7 +80657,7 @@ Object.defineProperties(Wt, hB);
|
|
|
80657
80657
|
Object.defineProperty(dB, "isAxiosError", { value: !0 });
|
|
80658
80658
|
Wt.from = (e, t, n, o, i, s) => {
|
|
80659
80659
|
const r = Object.create(dB);
|
|
80660
|
-
|
|
80660
|
+
ke.toFlatObject(e, r, function(c) {
|
|
80661
80661
|
return c !== Error.prototype;
|
|
80662
80662
|
}, (u) => u !== "isAxiosError");
|
|
80663
80663
|
const a = e && e.message ? e.message : "Error", l = t == null && e ? e.code : t;
|
|
@@ -80665,10 +80665,10 @@ Wt.from = (e, t, n, o, i, s) => {
|
|
|
80665
80665
|
};
|
|
80666
80666
|
const fEe = null;
|
|
80667
80667
|
function zS(e) {
|
|
80668
|
-
return
|
|
80668
|
+
return ke.isPlainObject(e) || ke.isArray(e);
|
|
80669
80669
|
}
|
|
80670
80670
|
function fB(e) {
|
|
80671
|
-
return
|
|
80671
|
+
return ke.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
80672
80672
|
}
|
|
80673
80673
|
function NI(e, t, n) {
|
|
80674
80674
|
return e ? e.concat(t).map(function(i, s) {
|
|
@@ -80676,42 +80676,42 @@ function NI(e, t, n) {
|
|
|
80676
80676
|
}).join(n ? "." : "") : t;
|
|
80677
80677
|
}
|
|
80678
80678
|
function pEe(e) {
|
|
80679
|
-
return
|
|
80679
|
+
return ke.isArray(e) && !e.some(zS);
|
|
80680
80680
|
}
|
|
80681
|
-
const gEe =
|
|
80681
|
+
const gEe = ke.toFlatObject(ke, {}, null, function(t) {
|
|
80682
80682
|
return /^is[A-Z]/.test(t);
|
|
80683
80683
|
});
|
|
80684
80684
|
function Cy(e, t, n) {
|
|
80685
|
-
if (!
|
|
80685
|
+
if (!ke.isObject(e))
|
|
80686
80686
|
throw new TypeError("target must be an object");
|
|
80687
|
-
t = t || new FormData(), n =
|
|
80687
|
+
t = t || new FormData(), n = ke.toFlatObject(n, {
|
|
80688
80688
|
metaTokens: !0,
|
|
80689
80689
|
dots: !1,
|
|
80690
80690
|
indexes: !1
|
|
80691
80691
|
}, !1, function(m, v) {
|
|
80692
|
-
return !
|
|
80692
|
+
return !ke.isUndefined(v[m]);
|
|
80693
80693
|
});
|
|
80694
|
-
const o = n.metaTokens, i = n.visitor || c, s = n.dots, r = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) &&
|
|
80695
|
-
if (!
|
|
80694
|
+
const o = n.metaTokens, i = n.visitor || c, s = n.dots, r = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) && ke.isSpecCompliantForm(t);
|
|
80695
|
+
if (!ke.isFunction(i))
|
|
80696
80696
|
throw new TypeError("visitor must be a function");
|
|
80697
80697
|
function u(p) {
|
|
80698
80698
|
if (p === null) return "";
|
|
80699
|
-
if (
|
|
80699
|
+
if (ke.isDate(p))
|
|
80700
80700
|
return p.toISOString();
|
|
80701
|
-
if (
|
|
80701
|
+
if (ke.isBoolean(p))
|
|
80702
80702
|
return p.toString();
|
|
80703
|
-
if (!l &&
|
|
80703
|
+
if (!l && ke.isBlob(p))
|
|
80704
80704
|
throw new Wt("Blob is not supported. Use a Buffer instead.");
|
|
80705
|
-
return
|
|
80705
|
+
return ke.isArrayBuffer(p) || ke.isTypedArray(p) ? l && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
80706
80706
|
}
|
|
80707
80707
|
function c(p, m, v) {
|
|
80708
80708
|
let w = p;
|
|
80709
80709
|
if (p && !v && typeof p == "object") {
|
|
80710
|
-
if (
|
|
80710
|
+
if (ke.endsWith(m, "{}"))
|
|
80711
80711
|
m = o ? m : m.slice(0, -2), p = JSON.stringify(p);
|
|
80712
|
-
else if (
|
|
80712
|
+
else if (ke.isArray(p) && pEe(p) || (ke.isFileList(p) || ke.endsWith(m, "[]")) && (w = ke.toArray(p)))
|
|
80713
80713
|
return m = fB(m), w.forEach(function(S, C) {
|
|
80714
|
-
!(
|
|
80714
|
+
!(ke.isUndefined(S) || S === null) && t.append(
|
|
80715
80715
|
// eslint-disable-next-line no-nested-ternary
|
|
80716
80716
|
r === !0 ? NI([m], C, s) : r === null ? m : m + "[]",
|
|
80717
80717
|
u(S)
|
|
@@ -80726,21 +80726,21 @@ function Cy(e, t, n) {
|
|
|
80726
80726
|
isVisitable: zS
|
|
80727
80727
|
});
|
|
80728
80728
|
function f(p, m) {
|
|
80729
|
-
if (!
|
|
80729
|
+
if (!ke.isUndefined(p)) {
|
|
80730
80730
|
if (d.indexOf(p) !== -1)
|
|
80731
80731
|
throw Error("Circular reference detected in " + m.join("."));
|
|
80732
|
-
d.push(p),
|
|
80733
|
-
(!(
|
|
80732
|
+
d.push(p), ke.forEach(p, function(w, b) {
|
|
80733
|
+
(!(ke.isUndefined(w) || w === null) && i.call(
|
|
80734
80734
|
t,
|
|
80735
80735
|
w,
|
|
80736
|
-
|
|
80736
|
+
ke.isString(b) ? b.trim() : b,
|
|
80737
80737
|
m,
|
|
80738
80738
|
h
|
|
80739
80739
|
)) === !0 && f(w, m ? m.concat(b) : [b]);
|
|
80740
80740
|
}), d.pop();
|
|
80741
80741
|
}
|
|
80742
80742
|
}
|
|
80743
|
-
if (!
|
|
80743
|
+
if (!ke.isObject(e))
|
|
80744
80744
|
throw new TypeError("data must be an object");
|
|
80745
80745
|
return f(e), t;
|
|
80746
80746
|
}
|
|
@@ -80780,12 +80780,12 @@ function gB(e, t, n) {
|
|
|
80780
80780
|
if (!t)
|
|
80781
80781
|
return e;
|
|
80782
80782
|
const o = n && n.encode || mEe;
|
|
80783
|
-
|
|
80783
|
+
ke.isFunction(n) && (n = {
|
|
80784
80784
|
serialize: n
|
|
80785
80785
|
});
|
|
80786
80786
|
const i = n && n.serialize;
|
|
80787
80787
|
let s;
|
|
80788
|
-
if (i ? s = i(t, n) : s =
|
|
80788
|
+
if (i ? s = i(t, n) : s = ke.isURLSearchParams(t) ? t.toString() : new A_(t, n).toString(o), s) {
|
|
80789
80789
|
const r = e.indexOf("#");
|
|
80790
80790
|
r !== -1 && (e = e.slice(0, r)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
80791
80791
|
}
|
|
@@ -80840,7 +80840,7 @@ class VI {
|
|
|
80840
80840
|
* @returns {void}
|
|
80841
80841
|
*/
|
|
80842
80842
|
forEach(t) {
|
|
80843
|
-
|
|
80843
|
+
ke.forEach(this.handlers, function(o) {
|
|
80844
80844
|
o !== null && t(o);
|
|
80845
80845
|
});
|
|
80846
80846
|
}
|
|
@@ -80872,13 +80872,13 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", EE
|
|
|
80872
80872
|
function REe(e, t) {
|
|
80873
80873
|
return Cy(e, new Ho.classes.URLSearchParams(), {
|
|
80874
80874
|
visitor: function(n, o, i, s) {
|
|
80875
|
-
return Ho.isNode &&
|
|
80875
|
+
return Ho.isNode && ke.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
80876
80876
|
},
|
|
80877
80877
|
...t
|
|
80878
80878
|
});
|
|
80879
80879
|
}
|
|
80880
80880
|
function DEe(e) {
|
|
80881
|
-
return
|
|
80881
|
+
return ke.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
80882
80882
|
}
|
|
80883
80883
|
function TEe(e) {
|
|
80884
80884
|
const t = {}, n = Object.keys(e);
|
|
@@ -80894,20 +80894,20 @@ function vB(e) {
|
|
|
80894
80894
|
let r = n[s++];
|
|
80895
80895
|
if (r === "__proto__") return !0;
|
|
80896
80896
|
const a = Number.isFinite(+r), l = s >= n.length;
|
|
80897
|
-
return r = !r &&
|
|
80897
|
+
return r = !r && ke.isArray(i) ? i.length : r, l ? (ke.hasOwnProp(i, r) ? i[r] = [i[r], o] : i[r] = o, !a) : ((!i[r] || !ke.isObject(i[r])) && (i[r] = []), t(n, o, i[r], s) && ke.isArray(i[r]) && (i[r] = TEe(i[r])), !a);
|
|
80898
80898
|
}
|
|
80899
|
-
if (
|
|
80899
|
+
if (ke.isFormData(e) && ke.isFunction(e.entries)) {
|
|
80900
80900
|
const n = {};
|
|
80901
|
-
return
|
|
80901
|
+
return ke.forEachEntry(e, (o, i) => {
|
|
80902
80902
|
t(DEe(o), i, n, 0);
|
|
80903
80903
|
}), n;
|
|
80904
80904
|
}
|
|
80905
80905
|
return null;
|
|
80906
80906
|
}
|
|
80907
80907
|
function FEe(e, t, n) {
|
|
80908
|
-
if (
|
|
80908
|
+
if (ke.isString(e))
|
|
80909
80909
|
try {
|
|
80910
|
-
return (t || JSON.parse)(e),
|
|
80910
|
+
return (t || JSON.parse)(e), ke.trim(e);
|
|
80911
80911
|
} catch (o) {
|
|
80912
80912
|
if (o.name !== "SyntaxError")
|
|
80913
80913
|
throw o;
|
|
@@ -80918,20 +80918,20 @@ const up = {
|
|
|
80918
80918
|
transitional: mB,
|
|
80919
80919
|
adapter: ["xhr", "http", "fetch"],
|
|
80920
80920
|
transformRequest: [function(t, n) {
|
|
80921
|
-
const o = n.getContentType() || "", i = o.indexOf("application/json") > -1, s =
|
|
80922
|
-
if (s &&
|
|
80921
|
+
const o = n.getContentType() || "", i = o.indexOf("application/json") > -1, s = ke.isObject(t);
|
|
80922
|
+
if (s && ke.isHTMLForm(t) && (t = new FormData(t)), ke.isFormData(t))
|
|
80923
80923
|
return i ? JSON.stringify(vB(t)) : t;
|
|
80924
|
-
if (
|
|
80924
|
+
if (ke.isArrayBuffer(t) || ke.isBuffer(t) || ke.isStream(t) || ke.isFile(t) || ke.isBlob(t) || ke.isReadableStream(t))
|
|
80925
80925
|
return t;
|
|
80926
|
-
if (
|
|
80926
|
+
if (ke.isArrayBufferView(t))
|
|
80927
80927
|
return t.buffer;
|
|
80928
|
-
if (
|
|
80928
|
+
if (ke.isURLSearchParams(t))
|
|
80929
80929
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
80930
80930
|
let a;
|
|
80931
80931
|
if (s) {
|
|
80932
80932
|
if (o.indexOf("application/x-www-form-urlencoded") > -1)
|
|
80933
80933
|
return REe(t, this.formSerializer).toString();
|
|
80934
|
-
if ((a =
|
|
80934
|
+
if ((a = ke.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
|
|
80935
80935
|
const l = this.env && this.env.FormData;
|
|
80936
80936
|
return Cy(
|
|
80937
80937
|
a ? { "files[]": t } : t,
|
|
@@ -80944,9 +80944,9 @@ const up = {
|
|
|
80944
80944
|
}],
|
|
80945
80945
|
transformResponse: [function(t) {
|
|
80946
80946
|
const n = this.transitional || up.transitional, o = n && n.forcedJSONParsing, i = this.responseType === "json";
|
|
80947
|
-
if (
|
|
80947
|
+
if (ke.isResponse(t) || ke.isReadableStream(t))
|
|
80948
80948
|
return t;
|
|
80949
|
-
if (t &&
|
|
80949
|
+
if (t && ke.isString(t) && (o && !this.responseType || i)) {
|
|
80950
80950
|
const r = !(n && n.silentJSONParsing) && i;
|
|
80951
80951
|
try {
|
|
80952
80952
|
return JSON.parse(t, this.parseReviver);
|
|
@@ -80980,10 +80980,10 @@ const up = {
|
|
|
80980
80980
|
}
|
|
80981
80981
|
}
|
|
80982
80982
|
};
|
|
80983
|
-
|
|
80983
|
+
ke.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
80984
80984
|
up.headers[e] = {};
|
|
80985
80985
|
});
|
|
80986
|
-
const xEe =
|
|
80986
|
+
const xEe = ke.toObjectSet([
|
|
80987
80987
|
"age",
|
|
80988
80988
|
"authorization",
|
|
80989
80989
|
"content-length",
|
|
@@ -81013,7 +81013,7 @@ function Kd(e) {
|
|
|
81013
81013
|
return e && String(e).trim().toLowerCase();
|
|
81014
81014
|
}
|
|
81015
81015
|
function rm(e) {
|
|
81016
|
-
return e === !1 || e == null ? e :
|
|
81016
|
+
return e === !1 || e == null ? e : ke.isArray(e) ? e.map(rm) : String(e);
|
|
81017
81017
|
}
|
|
81018
81018
|
function PEe(e) {
|
|
81019
81019
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -81024,12 +81024,12 @@ function PEe(e) {
|
|
|
81024
81024
|
}
|
|
81025
81025
|
const AEe = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
81026
81026
|
function Lw(e, t, n, o, i) {
|
|
81027
|
-
if (
|
|
81027
|
+
if (ke.isFunction(o))
|
|
81028
81028
|
return o.call(this, t, n);
|
|
81029
|
-
if (i && (t = n), !!
|
|
81030
|
-
if (
|
|
81029
|
+
if (i && (t = n), !!ke.isString(t)) {
|
|
81030
|
+
if (ke.isString(o))
|
|
81031
81031
|
return t.indexOf(o) !== -1;
|
|
81032
|
-
if (
|
|
81032
|
+
if (ke.isRegExp(o))
|
|
81033
81033
|
return o.test(t);
|
|
81034
81034
|
}
|
|
81035
81035
|
}
|
|
@@ -81037,7 +81037,7 @@ function kEe(e) {
|
|
|
81037
81037
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
|
|
81038
81038
|
}
|
|
81039
81039
|
function OEe(e, t) {
|
|
81040
|
-
const n =
|
|
81040
|
+
const n = ke.toCamelCase(" " + t);
|
|
81041
81041
|
["get", "set", "has"].forEach((o) => {
|
|
81042
81042
|
Object.defineProperty(e, o + n, {
|
|
81043
81043
|
value: function(i, s, r) {
|
|
@@ -81057,20 +81057,20 @@ let ri = class {
|
|
|
81057
81057
|
const c = Kd(l);
|
|
81058
81058
|
if (!c)
|
|
81059
81059
|
throw new Error("header name must be a non-empty string");
|
|
81060
|
-
const d =
|
|
81060
|
+
const d = ke.findKey(i, c);
|
|
81061
81061
|
(!d || i[d] === void 0 || u === !0 || u === void 0 && i[d] !== !1) && (i[d || l] = rm(a));
|
|
81062
81062
|
}
|
|
81063
|
-
const r = (a, l) =>
|
|
81064
|
-
if (
|
|
81063
|
+
const r = (a, l) => ke.forEach(a, (u, c) => s(u, c, l));
|
|
81064
|
+
if (ke.isPlainObject(t) || t instanceof this.constructor)
|
|
81065
81065
|
r(t, n);
|
|
81066
|
-
else if (
|
|
81066
|
+
else if (ke.isString(t) && (t = t.trim()) && !AEe(t))
|
|
81067
81067
|
r(IEe(t), n);
|
|
81068
|
-
else if (
|
|
81068
|
+
else if (ke.isObject(t) && ke.isIterable(t)) {
|
|
81069
81069
|
let a = {}, l, u;
|
|
81070
81070
|
for (const c of t) {
|
|
81071
|
-
if (!
|
|
81071
|
+
if (!ke.isArray(c))
|
|
81072
81072
|
throw TypeError("Object iterator must return a key-value pair");
|
|
81073
|
-
a[u = c[0]] = (l = a[u]) ?
|
|
81073
|
+
a[u = c[0]] = (l = a[u]) ? ke.isArray(l) ? [...l, c[1]] : [l, c[1]] : c[1];
|
|
81074
81074
|
}
|
|
81075
81075
|
r(a, n);
|
|
81076
81076
|
} else
|
|
@@ -81079,16 +81079,16 @@ let ri = class {
|
|
|
81079
81079
|
}
|
|
81080
81080
|
get(t, n) {
|
|
81081
81081
|
if (t = Kd(t), t) {
|
|
81082
|
-
const o =
|
|
81082
|
+
const o = ke.findKey(this, t);
|
|
81083
81083
|
if (o) {
|
|
81084
81084
|
const i = this[o];
|
|
81085
81085
|
if (!n)
|
|
81086
81086
|
return i;
|
|
81087
81087
|
if (n === !0)
|
|
81088
81088
|
return PEe(i);
|
|
81089
|
-
if (
|
|
81089
|
+
if (ke.isFunction(n))
|
|
81090
81090
|
return n.call(this, i, o);
|
|
81091
|
-
if (
|
|
81091
|
+
if (ke.isRegExp(n))
|
|
81092
81092
|
return n.exec(i);
|
|
81093
81093
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
81094
81094
|
}
|
|
@@ -81096,7 +81096,7 @@ let ri = class {
|
|
|
81096
81096
|
}
|
|
81097
81097
|
has(t, n) {
|
|
81098
81098
|
if (t = Kd(t), t) {
|
|
81099
|
-
const o =
|
|
81099
|
+
const o = ke.findKey(this, t);
|
|
81100
81100
|
return !!(o && this[o] !== void 0 && (!n || Lw(this, this[o], o, n)));
|
|
81101
81101
|
}
|
|
81102
81102
|
return !1;
|
|
@@ -81106,11 +81106,11 @@ let ri = class {
|
|
|
81106
81106
|
let i = !1;
|
|
81107
81107
|
function s(r) {
|
|
81108
81108
|
if (r = Kd(r), r) {
|
|
81109
|
-
const a =
|
|
81109
|
+
const a = ke.findKey(o, r);
|
|
81110
81110
|
a && (!n || Lw(o, o[a], a, n)) && (delete o[a], i = !0);
|
|
81111
81111
|
}
|
|
81112
81112
|
}
|
|
81113
|
-
return
|
|
81113
|
+
return ke.isArray(t) ? t.forEach(s) : s(t), i;
|
|
81114
81114
|
}
|
|
81115
81115
|
clear(t) {
|
|
81116
81116
|
const n = Object.keys(this);
|
|
@@ -81123,8 +81123,8 @@ let ri = class {
|
|
|
81123
81123
|
}
|
|
81124
81124
|
normalize(t) {
|
|
81125
81125
|
const n = this, o = {};
|
|
81126
|
-
return
|
|
81127
|
-
const r =
|
|
81126
|
+
return ke.forEach(this, (i, s) => {
|
|
81127
|
+
const r = ke.findKey(o, s);
|
|
81128
81128
|
if (r) {
|
|
81129
81129
|
n[r] = rm(i), delete n[s];
|
|
81130
81130
|
return;
|
|
@@ -81138,8 +81138,8 @@ let ri = class {
|
|
|
81138
81138
|
}
|
|
81139
81139
|
toJSON(t) {
|
|
81140
81140
|
const n = /* @__PURE__ */ Object.create(null);
|
|
81141
|
-
return
|
|
81142
|
-
o != null && o !== !1 && (n[i] = t &&
|
|
81141
|
+
return ke.forEach(this, (o, i) => {
|
|
81142
|
+
o != null && o !== !1 && (n[i] = t && ke.isArray(o) ? o.join(", ") : o);
|
|
81143
81143
|
}), n;
|
|
81144
81144
|
}
|
|
81145
81145
|
[Symbol.iterator]() {
|
|
@@ -81170,11 +81170,11 @@ let ri = class {
|
|
|
81170
81170
|
const a = Kd(r);
|
|
81171
81171
|
o[a] || (OEe(i, r), o[a] = !0);
|
|
81172
81172
|
}
|
|
81173
|
-
return
|
|
81173
|
+
return ke.isArray(t) ? t.forEach(s) : s(t), this;
|
|
81174
81174
|
}
|
|
81175
81175
|
};
|
|
81176
81176
|
ri.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
81177
|
-
|
|
81177
|
+
ke.reduceDescriptors(ri.prototype, ({ value: e }, t) => {
|
|
81178
81178
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
81179
81179
|
return {
|
|
81180
81180
|
get: () => e,
|
|
@@ -81183,11 +81183,11 @@ Ae.reduceDescriptors(ri.prototype, ({ value: e }, t) => {
|
|
|
81183
81183
|
}
|
|
81184
81184
|
};
|
|
81185
81185
|
});
|
|
81186
|
-
|
|
81186
|
+
ke.freezeMethods(ri);
|
|
81187
81187
|
function Vw(e, t) {
|
|
81188
81188
|
const n = this || up, o = t || n, i = ri.from(o.headers);
|
|
81189
81189
|
let s = o.data;
|
|
81190
|
-
return
|
|
81190
|
+
return ke.forEach(e, function(a) {
|
|
81191
81191
|
s = a.call(n, s, i.normalize(), t ? t.status : void 0);
|
|
81192
81192
|
}), i.normalize(), s;
|
|
81193
81193
|
}
|
|
@@ -81197,7 +81197,7 @@ function yB(e) {
|
|
|
81197
81197
|
function Cd(e, t, n) {
|
|
81198
81198
|
Wt.call(this, e ?? "canceled", Wt.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
81199
81199
|
}
|
|
81200
|
-
|
|
81200
|
+
ke.inherits(Cd, Wt, {
|
|
81201
81201
|
__CANCEL__: !0
|
|
81202
81202
|
});
|
|
81203
81203
|
function CB(e, t, n) {
|
|
@@ -81268,7 +81268,7 @@ const Sv = (e, t, n = 3) => {
|
|
|
81268
81268
|
total: e,
|
|
81269
81269
|
loaded: o
|
|
81270
81270
|
}), t[1]];
|
|
81271
|
-
}, $I = (e) => (...t) =>
|
|
81271
|
+
}, $I = (e) => (...t) => ke.asap(() => e(...t)), VEe = Ho.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Ho.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
81272
81272
|
new URL(Ho.origin),
|
|
81273
81273
|
Ho.navigator && /(msie|trident)/i.test(Ho.navigator.userAgent)
|
|
81274
81274
|
) : () => !0, BEe = Ho.hasStandardBrowserEnv ? (
|
|
@@ -81277,7 +81277,7 @@ const Sv = (e, t, n = 3) => {
|
|
|
81277
81277
|
write(e, t, n, o, i, s, r) {
|
|
81278
81278
|
if (typeof document > "u") return;
|
|
81279
81279
|
const a = [`${e}=${encodeURIComponent(t)}`];
|
|
81280
|
-
|
|
81280
|
+
ke.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), ke.isString(o) && a.push(`path=${o}`), ke.isString(i) && a.push(`domain=${i}`), s === !0 && a.push("secure"), ke.isString(r) && a.push(`SameSite=${r}`), document.cookie = a.join("; ");
|
|
81281
81281
|
},
|
|
81282
81282
|
read(e) {
|
|
81283
81283
|
if (typeof document > "u") return null;
|
|
@@ -81315,21 +81315,21 @@ function pu(e, t) {
|
|
|
81315
81315
|
t = t || {};
|
|
81316
81316
|
const n = {};
|
|
81317
81317
|
function o(u, c, d, h) {
|
|
81318
|
-
return
|
|
81318
|
+
return ke.isPlainObject(u) && ke.isPlainObject(c) ? ke.merge.call({ caseless: h }, u, c) : ke.isPlainObject(c) ? ke.merge({}, c) : ke.isArray(c) ? c.slice() : c;
|
|
81319
81319
|
}
|
|
81320
81320
|
function i(u, c, d, h) {
|
|
81321
|
-
if (
|
|
81322
|
-
if (!
|
|
81321
|
+
if (ke.isUndefined(c)) {
|
|
81322
|
+
if (!ke.isUndefined(u))
|
|
81323
81323
|
return o(void 0, u, d, h);
|
|
81324
81324
|
} else return o(u, c, d, h);
|
|
81325
81325
|
}
|
|
81326
81326
|
function s(u, c) {
|
|
81327
|
-
if (!
|
|
81327
|
+
if (!ke.isUndefined(c))
|
|
81328
81328
|
return o(void 0, c);
|
|
81329
81329
|
}
|
|
81330
81330
|
function r(u, c) {
|
|
81331
|
-
if (
|
|
81332
|
-
if (!
|
|
81331
|
+
if (ke.isUndefined(c)) {
|
|
81332
|
+
if (!ke.isUndefined(u))
|
|
81333
81333
|
return o(void 0, u);
|
|
81334
81334
|
} else return o(void 0, c);
|
|
81335
81335
|
}
|
|
@@ -81370,9 +81370,9 @@ function pu(e, t) {
|
|
|
81370
81370
|
validateStatus: a,
|
|
81371
81371
|
headers: (u, c, d) => i(GI(u), GI(c), d, !0)
|
|
81372
81372
|
};
|
|
81373
|
-
return
|
|
81373
|
+
return ke.forEach(Object.keys({ ...e, ...t }), function(c) {
|
|
81374
81374
|
const d = l[c] || i, h = d(e[c], t[c], c);
|
|
81375
|
-
|
|
81375
|
+
ke.isUndefined(h) && d !== a || (n[c] = h);
|
|
81376
81376
|
}), n;
|
|
81377
81377
|
}
|
|
81378
81378
|
const bB = (e) => {
|
|
@@ -81381,17 +81381,17 @@ const bB = (e) => {
|
|
|
81381
81381
|
if (t.headers = r = ri.from(r), t.url = gB(wB(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && r.set(
|
|
81382
81382
|
"Authorization",
|
|
81383
81383
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
81384
|
-
),
|
|
81384
|
+
), ke.isFormData(n)) {
|
|
81385
81385
|
if (Ho.hasStandardBrowserEnv || Ho.hasStandardBrowserWebWorkerEnv)
|
|
81386
81386
|
r.setContentType(void 0);
|
|
81387
|
-
else if (
|
|
81387
|
+
else if (ke.isFunction(n.getHeaders)) {
|
|
81388
81388
|
const l = n.getHeaders(), u = ["content-type", "content-length"];
|
|
81389
81389
|
Object.entries(l).forEach(([c, d]) => {
|
|
81390
81390
|
u.includes(c.toLowerCase()) && r.set(c, d);
|
|
81391
81391
|
});
|
|
81392
81392
|
}
|
|
81393
81393
|
}
|
|
81394
|
-
if (Ho.hasStandardBrowserEnv && (o &&
|
|
81394
|
+
if (Ho.hasStandardBrowserEnv && (o && ke.isFunction(o) && (o = o(t)), o || o !== !1 && VEe(t.url))) {
|
|
81395
81395
|
const l = i && s && BEe.read(s);
|
|
81396
81396
|
l && r.set(i, l);
|
|
81397
81397
|
}
|
|
@@ -81442,9 +81442,9 @@ const bB = (e) => {
|
|
|
81442
81442
|
e,
|
|
81443
81443
|
v
|
|
81444
81444
|
)), v = null;
|
|
81445
|
-
}, s === void 0 && r.setContentType(null), "setRequestHeader" in v &&
|
|
81445
|
+
}, s === void 0 && r.setContentType(null), "setRequestHeader" in v && ke.forEach(r.toJSON(), function(C, R) {
|
|
81446
81446
|
v.setRequestHeader(R, C);
|
|
81447
|
-
}),
|
|
81447
|
+
}), ke.isUndefined(i.withCredentials) || (v.withCredentials = !!i.withCredentials), a && a !== "json" && (v.responseType = i.responseType), u && ([h, p] = Sv(u, !0), v.addEventListener("progress", h)), l && v.upload && ([d, f] = Sv(l), v.upload.addEventListener("progress", d), v.upload.addEventListener("loadend", f)), (i.cancelToken || i.signal) && (c = (S) => {
|
|
81448
81448
|
v && (o(!S || S.type ? new Cd(null, e, v) : S), v.abort(), v = null);
|
|
81449
81449
|
}, i.cancelToken && i.cancelToken.subscribe(c), i.signal && (i.signal.aborted ? c() : i.signal.addEventListener("abort", c)));
|
|
81450
81450
|
const b = MEe(i.url);
|
|
@@ -81475,7 +81475,7 @@ const bB = (e) => {
|
|
|
81475
81475
|
};
|
|
81476
81476
|
e.forEach((u) => u.addEventListener("abort", s));
|
|
81477
81477
|
const { signal: l } = o;
|
|
81478
|
-
return l.unsubscribe = () =>
|
|
81478
|
+
return l.unsubscribe = () => ke.asap(a), l;
|
|
81479
81479
|
}
|
|
81480
81480
|
}, zEe = function* (e, t) {
|
|
81481
81481
|
let n = e.byteLength;
|
|
@@ -81534,20 +81534,20 @@ const bB = (e) => {
|
|
|
81534
81534
|
}, {
|
|
81535
81535
|
highWaterMark: 2
|
|
81536
81536
|
});
|
|
81537
|
-
}, WI = 64 * 1024, { isFunction: vg } =
|
|
81537
|
+
}, WI = 64 * 1024, { isFunction: vg } = ke, qEe = (({ Request: e, Response: t }) => ({
|
|
81538
81538
|
Request: e,
|
|
81539
81539
|
Response: t
|
|
81540
|
-
}))(
|
|
81540
|
+
}))(ke.global), {
|
|
81541
81541
|
ReadableStream: zI,
|
|
81542
81542
|
TextEncoder: jI
|
|
81543
|
-
} =
|
|
81543
|
+
} = ke.global, KI = (e, ...t) => {
|
|
81544
81544
|
try {
|
|
81545
81545
|
return !!e(...t);
|
|
81546
81546
|
} catch {
|
|
81547
81547
|
return !1;
|
|
81548
81548
|
}
|
|
81549
81549
|
}, YEe = (e) => {
|
|
81550
|
-
e =
|
|
81550
|
+
e = ke.merge.call({
|
|
81551
81551
|
skipUndefined: !0
|
|
81552
81552
|
}, qEe, e);
|
|
81553
81553
|
const { fetch: t, Request: n, Response: o } = e, i = t ? vg(t) : typeof fetch == "function", s = vg(n), r = vg(o);
|
|
@@ -81563,7 +81563,7 @@ const bB = (e) => {
|
|
|
81563
81563
|
}
|
|
81564
81564
|
}).headers.has("Content-Type");
|
|
81565
81565
|
return p && !m;
|
|
81566
|
-
}), c = r && a && KI(() =>
|
|
81566
|
+
}), c = r && a && KI(() => ke.isReadableStream(new o("").body)), d = {
|
|
81567
81567
|
stream: c && ((p) => p.body)
|
|
81568
81568
|
};
|
|
81569
81569
|
i && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((p) => {
|
|
@@ -81577,19 +81577,19 @@ const bB = (e) => {
|
|
|
81577
81577
|
const h = async (p) => {
|
|
81578
81578
|
if (p == null)
|
|
81579
81579
|
return 0;
|
|
81580
|
-
if (
|
|
81580
|
+
if (ke.isBlob(p))
|
|
81581
81581
|
return p.size;
|
|
81582
|
-
if (
|
|
81582
|
+
if (ke.isSpecCompliantForm(p))
|
|
81583
81583
|
return (await new n(Ho.origin, {
|
|
81584
81584
|
method: "POST",
|
|
81585
81585
|
body: p
|
|
81586
81586
|
}).arrayBuffer()).byteLength;
|
|
81587
|
-
if (
|
|
81587
|
+
if (ke.isArrayBufferView(p) || ke.isArrayBuffer(p))
|
|
81588
81588
|
return p.byteLength;
|
|
81589
|
-
if (
|
|
81589
|
+
if (ke.isURLSearchParams(p) && (p = p + ""), ke.isString(p))
|
|
81590
81590
|
return (await l(p)).byteLength;
|
|
81591
81591
|
}, f = async (p, m) => {
|
|
81592
|
-
const v =
|
|
81592
|
+
const v = ke.toFiniteNumber(p.getContentLength());
|
|
81593
81593
|
return v ?? h(m);
|
|
81594
81594
|
};
|
|
81595
81595
|
return async (p) => {
|
|
@@ -81620,7 +81620,7 @@ const bB = (e) => {
|
|
|
81620
81620
|
body: w,
|
|
81621
81621
|
duplex: "half"
|
|
81622
81622
|
}), se;
|
|
81623
|
-
if (
|
|
81623
|
+
if (ke.isFormData(w) && (se = ee.headers.get("content-type")) && O.setContentType(se), ee.body) {
|
|
81624
81624
|
const [ne, ie] = HI(
|
|
81625
81625
|
X,
|
|
81626
81626
|
Sv($I(_))
|
|
@@ -81628,7 +81628,7 @@ const bB = (e) => {
|
|
|
81628
81628
|
w = UI(ee.body, WI, ne, ie);
|
|
81629
81629
|
}
|
|
81630
81630
|
}
|
|
81631
|
-
|
|
81631
|
+
ke.isString(x) || (x = x ? "include" : "omit");
|
|
81632
81632
|
const G = s && "credentials" in n.prototype, te = {
|
|
81633
81633
|
...I,
|
|
81634
81634
|
signal: P,
|
|
@@ -81646,7 +81646,7 @@ const bB = (e) => {
|
|
|
81646
81646
|
["status", "statusText", "headers"].forEach((Q) => {
|
|
81647
81647
|
ee[Q] = L[Q];
|
|
81648
81648
|
});
|
|
81649
|
-
const se =
|
|
81649
|
+
const se = ke.toFiniteNumber(L.headers.get("content-length")), [ne, ie] = R && HI(
|
|
81650
81650
|
se,
|
|
81651
81651
|
Sv($I(R), !0)
|
|
81652
81652
|
) || [];
|
|
@@ -81658,7 +81658,7 @@ const bB = (e) => {
|
|
|
81658
81658
|
);
|
|
81659
81659
|
}
|
|
81660
81660
|
T = T || "text";
|
|
81661
|
-
let N = await d[
|
|
81661
|
+
let N = await d[ke.findKey(d, T) || "text"](L, p);
|
|
81662
81662
|
return !$ && J && J(), await new Promise((ee, se) => {
|
|
81663
81663
|
CB(ee, se, {
|
|
81664
81664
|
data: N,
|
|
@@ -81698,7 +81698,7 @@ const O_ = {
|
|
|
81698
81698
|
get: SB
|
|
81699
81699
|
}
|
|
81700
81700
|
};
|
|
81701
|
-
|
|
81701
|
+
ke.forEach(O_, (e, t) => {
|
|
81702
81702
|
if (e) {
|
|
81703
81703
|
try {
|
|
81704
81704
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -81707,9 +81707,9 @@ Ae.forEach(O_, (e, t) => {
|
|
|
81707
81707
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
81708
81708
|
}
|
|
81709
81709
|
});
|
|
81710
|
-
const qI = (e) => `- ${e}`, XEe = (e) =>
|
|
81710
|
+
const qI = (e) => `- ${e}`, XEe = (e) => ke.isFunction(e) || e === null || e === !1;
|
|
81711
81711
|
function JEe(e, t) {
|
|
81712
|
-
e =
|
|
81712
|
+
e = ke.isArray(e) ? e : [e];
|
|
81713
81713
|
const { length: n } = e;
|
|
81714
81714
|
let o, i;
|
|
81715
81715
|
const s = {};
|
|
@@ -81718,7 +81718,7 @@ function JEe(e, t) {
|
|
|
81718
81718
|
let a;
|
|
81719
81719
|
if (i = o, !XEe(o) && (i = O_[(a = String(o)).toLowerCase()], i === void 0))
|
|
81720
81720
|
throw new Wt(`Unknown adapter '${a}'`);
|
|
81721
|
-
if (i && (
|
|
81721
|
+
if (i && (ke.isFunction(i) || (i = i.get(t))))
|
|
81722
81722
|
break;
|
|
81723
81723
|
s[a || "#" + r] = i;
|
|
81724
81724
|
}
|
|
@@ -81858,7 +81858,7 @@ let Xl = class {
|
|
|
81858
81858
|
silentJSONParsing: zs.transitional(zs.boolean),
|
|
81859
81859
|
forcedJSONParsing: zs.transitional(zs.boolean),
|
|
81860
81860
|
clarifyTimeoutError: zs.transitional(zs.boolean)
|
|
81861
|
-
}, !1), i != null && (
|
|
81861
|
+
}, !1), i != null && (ke.isFunction(i) ? n.paramsSerializer = {
|
|
81862
81862
|
serialize: i
|
|
81863
81863
|
} : am.assertOptions(i, {
|
|
81864
81864
|
encode: zs.function,
|
|
@@ -81867,11 +81867,11 @@ let Xl = class {
|
|
|
81867
81867
|
baseUrl: zs.spelling("baseURL"),
|
|
81868
81868
|
withXsrfToken: zs.spelling("withXSRFToken")
|
|
81869
81869
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
81870
|
-
let r = s &&
|
|
81870
|
+
let r = s && ke.merge(
|
|
81871
81871
|
s.common,
|
|
81872
81872
|
s[n.method]
|
|
81873
81873
|
);
|
|
81874
|
-
s &&
|
|
81874
|
+
s && ke.forEach(
|
|
81875
81875
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
81876
81876
|
(p) => {
|
|
81877
81877
|
delete s[p];
|
|
@@ -81919,7 +81919,7 @@ let Xl = class {
|
|
|
81919
81919
|
return gB(n, t.params, t.paramsSerializer);
|
|
81920
81920
|
}
|
|
81921
81921
|
};
|
|
81922
|
-
|
|
81922
|
+
ke.forEach(["delete", "get", "head", "options"], function(t) {
|
|
81923
81923
|
Xl.prototype[t] = function(n, o) {
|
|
81924
81924
|
return this.request(pu(o || {}, {
|
|
81925
81925
|
method: t,
|
|
@@ -81928,7 +81928,7 @@ Ae.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
81928
81928
|
}));
|
|
81929
81929
|
};
|
|
81930
81930
|
});
|
|
81931
|
-
|
|
81931
|
+
ke.forEach(["post", "put", "patch"], function(t) {
|
|
81932
81932
|
function n(o) {
|
|
81933
81933
|
return function(s, r, a) {
|
|
81934
81934
|
return this.request(pu(a || {}, {
|
|
@@ -82022,7 +82022,7 @@ function t_e(e) {
|
|
|
82022
82022
|
};
|
|
82023
82023
|
}
|
|
82024
82024
|
function n_e(e) {
|
|
82025
|
-
return
|
|
82025
|
+
return ke.isObject(e) && e.isAxiosError === !0;
|
|
82026
82026
|
}
|
|
82027
82027
|
const KS = {
|
|
82028
82028
|
Continue: 100,
|
|
@@ -82100,7 +82100,7 @@ Object.entries(KS).forEach(([e, t]) => {
|
|
|
82100
82100
|
});
|
|
82101
82101
|
function DB(e) {
|
|
82102
82102
|
const t = new Xl(e), n = oB(Xl.prototype.request, t);
|
|
82103
|
-
return
|
|
82103
|
+
return ke.extend(n, Xl.prototype, t, { allOwnKeys: !0 }), ke.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(i) {
|
|
82104
82104
|
return DB(pu(e, i));
|
|
82105
82105
|
}, n;
|
|
82106
82106
|
}
|
|
@@ -82120,7 +82120,7 @@ eo.spread = t_e;
|
|
|
82120
82120
|
eo.isAxiosError = n_e;
|
|
82121
82121
|
eo.mergeConfig = pu;
|
|
82122
82122
|
eo.AxiosHeaders = ri;
|
|
82123
|
-
eo.formToJSON = (e) => vB(
|
|
82123
|
+
eo.formToJSON = (e) => vB(ke.isHTMLForm(e) ? new FormData(e) : e);
|
|
82124
82124
|
eo.getAdapter = EB.getAdapter;
|
|
82125
82125
|
eo.HttpStatusCode = KS;
|
|
82126
82126
|
eo.default = eo;
|
|
@@ -83117,7 +83117,7 @@ const f_e = () => {
|
|
|
83117
83117
|
const [ee, se] = N;
|
|
83118
83118
|
$[ee] || ($[ee] = {}), Object.assign($[ee], se);
|
|
83119
83119
|
}
|
|
83120
|
-
return
|
|
83120
|
+
return $;
|
|
83121
83121
|
} catch (G) {
|
|
83122
83122
|
return console.error("Failed to fetch metric values:", G), {};
|
|
83123
83123
|
}
|
|
@@ -83668,7 +83668,7 @@ const y_e = {
|
|
|
83668
83668
|
GRID_HEIGHT: "650px"
|
|
83669
83669
|
}, d = K(() => {
|
|
83670
83670
|
var We;
|
|
83671
|
-
const
|
|
83671
|
+
const Pe = ((We = r.value) == null ? void 0 : We.has_create_item_permission) == 1 || !1;
|
|
83672
83672
|
return [
|
|
83673
83673
|
{
|
|
83674
83674
|
label: "Create manually",
|
|
@@ -83676,14 +83676,14 @@ const y_e = {
|
|
|
83676
83676
|
icon: "Plus",
|
|
83677
83677
|
type: "icon",
|
|
83678
83678
|
id: "create_new_scene",
|
|
83679
|
-
hide: !
|
|
83679
|
+
hide: !Pe
|
|
83680
83680
|
},
|
|
83681
83681
|
{
|
|
83682
83682
|
label: "Import from CSV or Excel",
|
|
83683
83683
|
value: "import_scenes",
|
|
83684
83684
|
icon: "FileImport",
|
|
83685
83685
|
type: "icon",
|
|
83686
|
-
hide: !
|
|
83686
|
+
hide: !Pe,
|
|
83687
83687
|
id: "import_scenes_option"
|
|
83688
83688
|
},
|
|
83689
83689
|
{
|
|
@@ -83691,7 +83691,7 @@ const y_e = {
|
|
|
83691
83691
|
value: "overwrite_scenes",
|
|
83692
83692
|
icon: "FilePen",
|
|
83693
83693
|
type: "icon",
|
|
83694
|
-
hide: !
|
|
83694
|
+
hide: !Pe,
|
|
83695
83695
|
id: "overwrite_scenes_option"
|
|
83696
83696
|
}
|
|
83697
83697
|
];
|
|
@@ -83708,23 +83708,23 @@ const y_e = {
|
|
|
83708
83708
|
rt(
|
|
83709
83709
|
() => I,
|
|
83710
83710
|
() => {
|
|
83711
|
-
var
|
|
83712
|
-
(
|
|
83711
|
+
var Pe;
|
|
83712
|
+
(Pe = A.value) == null || Pe.updateColumnDefs(I.value);
|
|
83713
83713
|
},
|
|
83714
83714
|
{ deep: !0 }
|
|
83715
83715
|
);
|
|
83716
|
-
const J = (
|
|
83717
|
-
P(
|
|
83716
|
+
const J = (Pe, We) => {
|
|
83717
|
+
P(Pe, We);
|
|
83718
83718
|
}, { updateRowData: X, setMetricValues: G } = g_e(f), te = K(() => ({
|
|
83719
83719
|
isSearching: b.value.length > 0,
|
|
83720
83720
|
isFiltering: Object.keys(mt.value || {}).length > 0
|
|
83721
83721
|
})), L = K(X0), $ = K(
|
|
83722
|
-
() => I.value.filter((
|
|
83722
|
+
() => I.value.filter((Pe) => {
|
|
83723
83723
|
var We;
|
|
83724
|
-
return ((We =
|
|
83725
|
-
}).map((
|
|
83724
|
+
return ((We = Pe.field) == null ? void 0 : We.startsWith("metric_")) && !Pe.hide;
|
|
83725
|
+
}).map((Pe) => {
|
|
83726
83726
|
var We;
|
|
83727
|
-
return ((We =
|
|
83727
|
+
return ((We = Pe.field) == null ? void 0 : We.replace("metric_", "")) || "";
|
|
83728
83728
|
})
|
|
83729
83729
|
);
|
|
83730
83730
|
gr("timezone", L);
|
|
@@ -83736,23 +83736,23 @@ const y_e = {
|
|
|
83736
83736
|
updateItemData: X
|
|
83737
83737
|
})), { fetchItems: ee, getMetricList: se, cusorMap: ne, getMetricValues: ie } = p_e(N), Q = K(() => {
|
|
83738
83738
|
if (!f.value) return !1;
|
|
83739
|
-
const
|
|
83740
|
-
return
|
|
83739
|
+
const Pe = f.value.getSelectedRows().length;
|
|
83740
|
+
return Pe > 0 && Pe >= v.value.total;
|
|
83741
83741
|
}), fe = K(() => {
|
|
83742
|
-
var
|
|
83743
|
-
return ((
|
|
83744
|
-
}), Re = (
|
|
83742
|
+
var Pe;
|
|
83743
|
+
return ((Pe = u.value) == null ? void 0 : Pe.name) || "Items";
|
|
83744
|
+
}), Re = (Pe, We) => {
|
|
83745
83745
|
var Kt, On, Fr;
|
|
83746
|
-
v.value.total =
|
|
83746
|
+
v.value.total = Pe.meta.total ?? 0, (Kt = Pe.meta.next) != null && Kt.cursor && (ne[We + 1] = Pe.meta.next.cursor), R.value = Pe.meta["X-Tsr-signature"] || "", Pe.meta.total === 0 ? (On = f.value) == null || On.showNoRowsOverlay() : (Fr = f.value) == null || Fr.hideOverlay();
|
|
83747
83747
|
}, He = yN(), Ee = H(null), { sortingAPIConfiguration: tt, isSortingRunning: vt } = Si(He), mt = H({
|
|
83748
83748
|
// status_eq: '1',
|
|
83749
83749
|
preflight_status: "1"
|
|
83750
83750
|
});
|
|
83751
83751
|
gr("filterParams", mt);
|
|
83752
|
-
const U = H([]), W = async ({ page:
|
|
83752
|
+
const U = H([]), W = async ({ page: Pe, pageSize: We, filterText: Kt }) => {
|
|
83753
83753
|
var ls;
|
|
83754
83754
|
(ls = f.value) == null || ls.hideOverlay();
|
|
83755
|
-
const On = ne[
|
|
83755
|
+
const On = ne[Pe], Fr = !On && Pe > 1 ? (Pe - 1) * We : void 0, cp = tt.value;
|
|
83756
83756
|
cp.length > 0 && (vt.value = !0);
|
|
83757
83757
|
try {
|
|
83758
83758
|
const Ns = {
|
|
@@ -83770,7 +83770,7 @@ const y_e = {
|
|
|
83770
83770
|
T.value.add(String(Oi.id)), O.value.set(String(Oi.id), {});
|
|
83771
83771
|
}), bd;
|
|
83772
83772
|
})(ki);
|
|
83773
|
-
return Re(ki,
|
|
83773
|
+
return Re(ki, Pe), { rows: by, total: v.value.total };
|
|
83774
83774
|
} catch (Ns) {
|
|
83775
83775
|
return console.error("Failed to fetch items:", Ns), { rows: [], total: 0 };
|
|
83776
83776
|
} finally {
|
|
@@ -83793,8 +83793,8 @@ const y_e = {
|
|
|
83793
83793
|
perPage: c.ROWS_PER_PAGE,
|
|
83794
83794
|
fetcher: W
|
|
83795
83795
|
}), Ie = H([]), Ge = () => {
|
|
83796
|
-
var
|
|
83797
|
-
Ie.value = ((
|
|
83796
|
+
var Pe;
|
|
83797
|
+
Ie.value = ((Pe = f.value) == null ? void 0 : Pe.getSelectedRows()) || [];
|
|
83798
83798
|
}, Le = es({
|
|
83799
83799
|
columnsDisplay: [],
|
|
83800
83800
|
rowsDisplay: {
|
|
@@ -83842,11 +83842,11 @@ const y_e = {
|
|
|
83842
83842
|
minWidth: 100,
|
|
83843
83843
|
suppressNavigable: !1
|
|
83844
83844
|
},
|
|
83845
|
-
getRowId: (
|
|
83846
|
-
getRowClass: (
|
|
83847
|
-
if (!
|
|
83845
|
+
getRowId: (Pe) => Pe.data.id,
|
|
83846
|
+
getRowClass: (Pe) => {
|
|
83847
|
+
if (!Pe.data) return ["row-empty"];
|
|
83848
83848
|
const We = ["row-highlight"];
|
|
83849
|
-
return
|
|
83849
|
+
return Pe.data.id || We.push("row-inactive"), Pe.data.isDeleted && We.push("row-deleted"), Pe.data.isArchived && We.push("row-archived"), We;
|
|
83850
83850
|
},
|
|
83851
83851
|
suppressRowTransform: !1,
|
|
83852
83852
|
singleClickEdit: !0,
|
|
@@ -83856,85 +83856,85 @@ const y_e = {
|
|
|
83856
83856
|
apiServices: x.value,
|
|
83857
83857
|
sorting: vt.value
|
|
83858
83858
|
},
|
|
83859
|
-
suppressKeyboardEvent: (
|
|
83860
|
-
const We =
|
|
83861
|
-
return
|
|
83859
|
+
suppressKeyboardEvent: (Pe) => {
|
|
83860
|
+
const We = Pe.event.key;
|
|
83861
|
+
return Pe.editing && We === "Enter" ? !1 : We === "Enter" ? (Pe.event.preventDefault(), Pe.event.stopPropagation(), !0) : We === "ArrowUp" || We === "ArrowDown" || We === "ArrowLeft" || We === "ArrowRight" || We === "Tab" || We === "Enter";
|
|
83862
83862
|
},
|
|
83863
83863
|
navigateToNextCell: () => null,
|
|
83864
|
-
onBodyScroll: (
|
|
83865
|
-
const We =
|
|
83866
|
-
Le.rowsDisplay.fromIndex = We, Le.rowsDisplay.toIndex = Kt, Le.columnsDisplay =
|
|
83864
|
+
onBodyScroll: (Pe) => {
|
|
83865
|
+
const We = Pe.api.getFirstDisplayedRowIndex(), Kt = Pe.api.getLastDisplayedRowIndex();
|
|
83866
|
+
Le.rowsDisplay.fromIndex = We, Le.rowsDisplay.toIndex = Kt, Le.columnsDisplay = Pe.api.getAllDisplayedVirtualColumns().map((On) => On.getColId());
|
|
83867
83867
|
},
|
|
83868
|
-
onViewportChanged: (
|
|
83869
|
-
Le.columnsDisplay =
|
|
83868
|
+
onViewportChanged: (Pe) => {
|
|
83869
|
+
Le.columnsDisplay = Pe.api.getAllDisplayedVirtualColumns().map((We) => We.getColId());
|
|
83870
83870
|
},
|
|
83871
83871
|
suppressHeaderFocus: !0
|
|
83872
83872
|
}));
|
|
83873
83873
|
function Fe() {
|
|
83874
83874
|
if (!f.value) return;
|
|
83875
|
-
let
|
|
83875
|
+
let Pe = 0;
|
|
83876
83876
|
f.value.forEachNode((We) => {
|
|
83877
|
-
We.data &&
|
|
83878
|
-
}), v.value.loaded = Math.min(
|
|
83877
|
+
We.data && Pe++;
|
|
83878
|
+
}), v.value.loaded = Math.min(Pe, v.value.total);
|
|
83879
83879
|
}
|
|
83880
83880
|
rt(
|
|
83881
83881
|
() => tt,
|
|
83882
83882
|
() => {
|
|
83883
|
-
f.value && (R.value = "", T.value.clear(), f.value.deselectAll(), Object.keys(ne).forEach((
|
|
83883
|
+
f.value && (R.value = "", T.value.clear(), f.value.deselectAll(), Object.keys(ne).forEach((Pe) => delete ne[Number(Pe)]), f.value.purgeInfiniteCache(), f.value.ensureIndexVisible(0), f.value.refreshCells({ force: !0 }));
|
|
83884
83884
|
},
|
|
83885
83885
|
{
|
|
83886
83886
|
deep: !0
|
|
83887
83887
|
}
|
|
83888
83888
|
);
|
|
83889
83889
|
const ut = H(), Et = H(), Vt = () => {
|
|
83890
|
-
var
|
|
83891
|
-
(
|
|
83890
|
+
var Pe;
|
|
83891
|
+
(Pe = Et.value) == null || Pe.open();
|
|
83892
83892
|
}, Cn = () => {
|
|
83893
|
-
var
|
|
83894
|
-
(
|
|
83893
|
+
var Pe;
|
|
83894
|
+
(Pe = ut.value) == null || Pe.open();
|
|
83895
83895
|
}, jt = async () => {
|
|
83896
|
-
ve.value = !0, f.value && (R.value = "", T.value.clear(), Object.keys(ne).forEach((
|
|
83896
|
+
ve.value = !0, f.value && (R.value = "", T.value.clear(), Object.keys(ne).forEach((Pe) => delete ne[Number(Pe)]), await f.value.deselectAll(), await f.value.ensureIndexVisible(0, "top"), await f.value.purgeInfiniteCache(), await f.value.refreshInfiniteCache());
|
|
83897
83897
|
}, wn = K(() => $n.getInstance().getItem("ITEM_TABLE_APP_VERSION") || ""), Kn = H(), Oe = K(() => {
|
|
83898
|
-
var
|
|
83899
|
-
return (
|
|
83898
|
+
var Pe;
|
|
83899
|
+
return (Pe = w_e(wn.value)) == null ? void 0 : Pe.map((We) => `<div>• ${We}</div>`).join(`
|
|
83900
83900
|
`);
|
|
83901
83901
|
});
|
|
83902
|
-
function Be(
|
|
83902
|
+
function Be(Pe) {
|
|
83903
83903
|
var We;
|
|
83904
|
-
|
|
83904
|
+
Pe === "new_scene" ? (We = Kn.value) == null || We.show() : Pe === "import_scenes" ? Cn() : Pe === "overwrite_scenes" && Vt();
|
|
83905
83905
|
}
|
|
83906
|
-
const gt = (
|
|
83907
|
-
p.value =
|
|
83908
|
-
}, Ft = (
|
|
83909
|
-
const We = Ne(
|
|
83906
|
+
const gt = (Pe) => {
|
|
83907
|
+
p.value = Pe.api.getSelectedRows().map((We) => We.id);
|
|
83908
|
+
}, Ft = (Pe) => {
|
|
83909
|
+
const We = Ne(Pe);
|
|
83910
83910
|
return We && (We.addEventListener("modelUpdated", Fe), We.addEventListener("bodyScroll", () => We.stopEditing()), We.addEventListener("selectionChanged", Ge), We.addEventListener("columnMoved", (On) => J(On, !0)), We.addEventListener("columnResized", (On) => J(On, !0)), We.addEventListener("firstDataRendered", () => {
|
|
83911
83911
|
ve.value = !1;
|
|
83912
83912
|
}), !document.querySelector(".ag-body-viewport")), We;
|
|
83913
|
-
}, Ht = (
|
|
83913
|
+
}, Ht = (Pe, We) => {
|
|
83914
83914
|
if (!f.value) return;
|
|
83915
|
-
const Kt = f.value.getRowNode(
|
|
83915
|
+
const Kt = f.value.getRowNode(Pe);
|
|
83916
83916
|
Kt ? (f.value.ensureIndexVisible(Number(Kt.rowIndex), "middle"), f.value.flashCells({
|
|
83917
83917
|
rowNodes: [Kt],
|
|
83918
83918
|
flashDuration: 3e3,
|
|
83919
83919
|
/** The duration in milliseconds of how long the "flashed" state animation takes to fade away after the timer set by `flashDuration` has completed. */
|
|
83920
83920
|
fadeDuration: 1e3
|
|
83921
83921
|
})) : f.value.ensureIndexVisible(v.value.total - 1, "bottom");
|
|
83922
|
-
}, qe = yn("switchInstance"), go = async (
|
|
83922
|
+
}, qe = yn("switchInstance"), go = async (Pe) => {
|
|
83923
83923
|
let We;
|
|
83924
|
-
if (!(!x.value || !
|
|
83924
|
+
if (!(!x.value || !Pe.trim())) {
|
|
83925
83925
|
ge.value = !0;
|
|
83926
83926
|
try {
|
|
83927
83927
|
We = await x.value.createNewScene({
|
|
83928
83928
|
workspaceId: h.workspaceId,
|
|
83929
83929
|
entityId: h.entityId,
|
|
83930
|
-
name:
|
|
83930
|
+
name: Pe
|
|
83931
83931
|
}), v.value.total < 50 && await jt();
|
|
83932
83932
|
} catch (Kt) {
|
|
83933
83933
|
console.error("Error creating new scene:", Kt);
|
|
83934
83934
|
} finally {
|
|
83935
83935
|
ge.value = !1, We != null && We.id && a({
|
|
83936
83936
|
id: String(We == null ? void 0 : We.id),
|
|
83937
|
-
message: `${
|
|
83937
|
+
message: `${Pe} created successfully`,
|
|
83938
83938
|
actions: [
|
|
83939
83939
|
{
|
|
83940
83940
|
label: "View",
|
|
@@ -83969,46 +83969,46 @@ const y_e = {
|
|
|
83969
83969
|
});
|
|
83970
83970
|
}
|
|
83971
83971
|
}
|
|
83972
|
-
}, as = (
|
|
83972
|
+
}, as = (Pe) => Pe.metric_type.code === "number" ? "number" : "default", ga = async () => {
|
|
83973
83973
|
if (h.entityId)
|
|
83974
83974
|
try {
|
|
83975
|
-
const
|
|
83976
|
-
C.value =
|
|
83975
|
+
const Pe = await se(h.entityId);
|
|
83976
|
+
C.value = Pe.data.map((We) => ({
|
|
83977
83977
|
...We,
|
|
83978
83978
|
sortType: as(We)
|
|
83979
83979
|
}));
|
|
83980
|
-
} catch (
|
|
83981
|
-
console.error("Failed to initialize metric list:",
|
|
83980
|
+
} catch (Pe) {
|
|
83981
|
+
console.error("Failed to initialize metric list:", Pe), C.value = [];
|
|
83982
83982
|
}
|
|
83983
83983
|
}, Pi = async () => {
|
|
83984
83984
|
if (x.value)
|
|
83985
83985
|
try {
|
|
83986
|
-
const
|
|
83987
|
-
i(
|
|
83988
|
-
} catch (
|
|
83989
|
-
console.error("Failed to fetch user permissions:",
|
|
83986
|
+
const Pe = await x.value.getUserPermission(h.workspaceId);
|
|
83987
|
+
i(Pe);
|
|
83988
|
+
} catch (Pe) {
|
|
83989
|
+
console.error("Failed to fetch user permissions:", Pe);
|
|
83990
83990
|
}
|
|
83991
83991
|
}, Dr = async () => {
|
|
83992
83992
|
if (x.value)
|
|
83993
83993
|
try {
|
|
83994
|
-
const
|
|
83995
|
-
s(
|
|
83996
|
-
} catch (
|
|
83997
|
-
console.error("Failed to fetch entity details:",
|
|
83994
|
+
const Pe = await x.value.getEntityDetail(h.workspaceId, h.entityId);
|
|
83995
|
+
s(Pe.permission), u.value = Pe;
|
|
83996
|
+
} catch (Pe) {
|
|
83997
|
+
console.error("Failed to fetch entity details:", Pe);
|
|
83998
83998
|
}
|
|
83999
83999
|
}, Tr = DE(), { setUser: ks } = Tr, Os = async () => {
|
|
84000
84000
|
if (x.value)
|
|
84001
84001
|
try {
|
|
84002
|
-
const
|
|
84003
|
-
return ks(
|
|
84004
|
-
} catch (
|
|
84005
|
-
console.error("Failed to fetch user details:",
|
|
84002
|
+
const Pe = await x.value.getMe();
|
|
84003
|
+
return ks(Pe), Pe;
|
|
84004
|
+
} catch (Pe) {
|
|
84005
|
+
console.error("Failed to fetch user details:", Pe);
|
|
84006
84006
|
}
|
|
84007
84007
|
}, Ai = async () => {
|
|
84008
|
-
var
|
|
84008
|
+
var Pe;
|
|
84009
84009
|
if (x.value)
|
|
84010
84010
|
try {
|
|
84011
|
-
const We = await x.value.getWorkspaces(h.workspaceId), Kt = (
|
|
84011
|
+
const We = await x.value.getWorkspaces(h.workspaceId), Kt = (Pe = We.data[0]) == null ? void 0 : Pe.ws_user_role_id;
|
|
84012
84012
|
return Kt && Tr.setUserRoleId(Kt), We;
|
|
84013
84013
|
} catch (We) {
|
|
84014
84014
|
console.error("Failed to fetch workspace details:", We);
|
|
@@ -84016,14 +84016,14 @@ const y_e = {
|
|
|
84016
84016
|
};
|
|
84017
84017
|
rt(
|
|
84018
84018
|
() => [h.entityId, h.workspaceId],
|
|
84019
|
-
async ([
|
|
84020
|
-
!
|
|
84019
|
+
async ([Pe, We]) => {
|
|
84020
|
+
!Pe || !We || (Os(), Ai(), ga(), Pi(), Dr());
|
|
84021
84021
|
},
|
|
84022
84022
|
{ immediate: !0, deep: !0 }
|
|
84023
84023
|
), rt(
|
|
84024
84024
|
$,
|
|
84025
|
-
(
|
|
84026
|
-
const Kt =
|
|
84025
|
+
(Pe, We) => {
|
|
84026
|
+
const Kt = Pe.filter((On) => !(We != null && We.includes(On)));
|
|
84027
84027
|
Kt.length > 0 && ie(Array.from(T.value), Kt).then((On) => {
|
|
84028
84028
|
G(On, T.value, Kt);
|
|
84029
84029
|
});
|
|
@@ -84032,19 +84032,19 @@ const y_e = {
|
|
|
84032
84032
|
immediate: !0,
|
|
84033
84033
|
deep: !0
|
|
84034
84034
|
}
|
|
84035
|
-
), rt(R, (
|
|
84036
|
-
_.value = !!(We &&
|
|
84035
|
+
), rt(R, (Pe, We) => {
|
|
84036
|
+
_.value = !!(We && Pe && We !== Pe);
|
|
84037
84037
|
}), t({
|
|
84038
84038
|
refreshTable: jt
|
|
84039
84039
|
});
|
|
84040
|
-
const Ms = (
|
|
84041
|
-
mt.value =
|
|
84042
|
-
}, Ru = (
|
|
84043
|
-
U.value =
|
|
84044
|
-
}, _n = (
|
|
84045
|
-
I.value =
|
|
84040
|
+
const Ms = (Pe) => {
|
|
84041
|
+
mt.value = Pe, jt();
|
|
84042
|
+
}, Ru = (Pe) => {
|
|
84043
|
+
U.value = Pe, jt();
|
|
84044
|
+
}, _n = (Pe) => {
|
|
84045
|
+
console.log("Column configuration changed:", Pe), I.value = Pe || [], J({}, !0);
|
|
84046
84046
|
};
|
|
84047
|
-
return (
|
|
84047
|
+
return (Pe, We) => (j(), je(q(sQ), {
|
|
84048
84048
|
"is-sidebar-open": w.value,
|
|
84049
84049
|
onCloseSidebar: q(Te),
|
|
84050
84050
|
onSidebarClear: q(Te),
|
|
@@ -84056,10 +84056,10 @@ const y_e = {
|
|
|
84056
84056
|
var Kt;
|
|
84057
84057
|
return [
|
|
84058
84058
|
ye("h1", {
|
|
84059
|
-
class: Z(
|
|
84059
|
+
class: Z(Pe.$style.tableTitle)
|
|
84060
84060
|
}, "Scenes", 2),
|
|
84061
84061
|
ye("div", {
|
|
84062
|
-
class: Z(
|
|
84062
|
+
class: Z(Pe.$style["beta-tag"])
|
|
84063
84063
|
}, "Beta", 2),
|
|
84064
84064
|
((Kt = q(r)) == null ? void 0 : Kt.has_create_item_permission) == 1 ? (j(), je(q(wE), {
|
|
84065
84065
|
key: 0,
|
|
@@ -84096,7 +84096,7 @@ const y_e = {
|
|
|
84096
84096
|
modelValue: b.value,
|
|
84097
84097
|
"onUpdate:modelValue": We[2] || (We[2] = (Kt) => b.value = Kt),
|
|
84098
84098
|
onSearch: q(ae),
|
|
84099
|
-
class: Z(
|
|
84099
|
+
class: Z(Pe.$style.itemSearchBox),
|
|
84100
84100
|
onClear: We[3] || (We[3] = (Kt) => q(ae)("")),
|
|
84101
84101
|
id: "item_search_box"
|
|
84102
84102
|
}, null, 8, ["modelValue", "onSearch", "class"]), [
|
|
@@ -84155,7 +84155,7 @@ const y_e = {
|
|
|
84155
84155
|
]),
|
|
84156
84156
|
footer: _e(() => [
|
|
84157
84157
|
ye("div", {
|
|
84158
|
-
class: Z(
|
|
84158
|
+
class: Z(Pe.$style.tableFooter),
|
|
84159
84159
|
id: "table_footer"
|
|
84160
84160
|
}, [
|
|
84161
84161
|
ye("span", null, [
|
|
@@ -84222,7 +84222,7 @@ const y_e = {
|
|
|
84222
84222
|
"beta-tag": "_beta-tag_1lefh_57"
|
|
84223
84223
|
}, N_e = {
|
|
84224
84224
|
$style: M_e
|
|
84225
|
-
}, L_e = /* @__PURE__ */ _t(x_e, [["__cssModules", N_e]]), FB = "0.0.
|
|
84225
|
+
}, L_e = /* @__PURE__ */ _t(x_e, [["__cssModules", N_e]]), FB = "0.0.159", V_e = { key: 0 }, B_e = /* @__PURE__ */ ht({
|
|
84226
84226
|
__name: "app",
|
|
84227
84227
|
setup(e) {
|
|
84228
84228
|
const t = K(() => n.id.length === 0 || n.workspaceId.length === 0), n = es({
|