@stonecrop/desktop 0.2.58 → 0.2.60
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/desktop.js +64 -64
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs +9 -9
- package/dist/desktop.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
package/dist/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as C, onMounted as Be, openBlock as I, createElementBlock as V, normalizeClass as Se, createElementVNode as M, Fragment as Ne, renderList as Ie, toDisplayString as ue, createCommentVNode as
|
|
1
|
+
import { defineComponent as Z, ref as C, onMounted as Be, openBlock as I, createElementBlock as V, normalizeClass as Se, createElementVNode as M, Fragment as Ne, renderList as Ie, toDisplayString as ue, createCommentVNode as de, withDirectives as Ze, vShow as on, computed as j, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as bo, markRaw as $e, inject as ae, onBeforeMount as Nr, shallowRef as Ir, toRaw as et, unref as E, shallowReactive as Cr, watch as z, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as Cn, useTemplateRef as Nt, normalizeStyle as re, renderSlot as ge, createVNode as Et, withCtx as kt, readonly as Ar, customRef as Tr, createTextVNode as Eo, onBeforeUnmount as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
|
|
2
2
|
const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Ur = { class: "dropdown-container" }, Hr = { class: "dropdown" }, Fr = ["onclick"], zr = ["href"], Gr = { class: "dropdown-item" }, qr = /* @__PURE__ */ Z({
|
|
3
3
|
__name: "ActionSet",
|
|
4
4
|
props: {
|
|
@@ -73,7 +73,7 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
|
|
|
73
73
|
key: 0,
|
|
74
74
|
onclick: p.action,
|
|
75
75
|
class: "button-default"
|
|
76
|
-
}, ue(p.label), 9, Mr)) :
|
|
76
|
+
}, ue(p.label), 9, Mr)) : de("", !0),
|
|
77
77
|
p.elementType == "dropdown" ? (I(), V("div", Br, [
|
|
78
78
|
M("button", {
|
|
79
79
|
class: "button-default",
|
|
@@ -93,13 +93,13 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
|
|
|
93
93
|
href: m.link
|
|
94
94
|
}, [
|
|
95
95
|
M("button", Gr, ue(m.label), 1)
|
|
96
|
-
], 8, zr)) :
|
|
96
|
+
], 8, zr)) : de("", !0)
|
|
97
97
|
]))), 128))
|
|
98
98
|
])
|
|
99
99
|
], 512), [
|
|
100
100
|
[on, p.show]
|
|
101
101
|
])
|
|
102
|
-
])) :
|
|
102
|
+
])) : de("", !0)
|
|
103
103
|
]))), 128))
|
|
104
104
|
], 34));
|
|
105
105
|
}
|
|
@@ -833,7 +833,7 @@ function Ss(e, t) {
|
|
|
833
833
|
groupId: u
|
|
834
834
|
}
|
|
835
835
|
}), i((d) => {
|
|
836
|
-
|
|
836
|
+
ye = void 0, n.addTimelineEvent({
|
|
837
837
|
layerId: Ee,
|
|
838
838
|
event: {
|
|
839
839
|
time: o(),
|
|
@@ -849,7 +849,7 @@ function Ss(e, t) {
|
|
|
849
849
|
}
|
|
850
850
|
});
|
|
851
851
|
}), a((d) => {
|
|
852
|
-
|
|
852
|
+
ye = void 0, n.addTimelineEvent({
|
|
853
853
|
layerId: Ee,
|
|
854
854
|
event: {
|
|
855
855
|
time: o(),
|
|
@@ -878,7 +878,7 @@ function Ss(e, t) {
|
|
|
878
878
|
newValue: a,
|
|
879
879
|
oldValue: c
|
|
880
880
|
},
|
|
881
|
-
groupId:
|
|
881
|
+
groupId: ye
|
|
882
882
|
}
|
|
883
883
|
});
|
|
884
884
|
}, { deep: !0 });
|
|
@@ -889,7 +889,7 @@ function Ss(e, t) {
|
|
|
889
889
|
time: o(),
|
|
890
890
|
title: $s(a),
|
|
891
891
|
data: Os({ store: te(t.$id) }, ks(i)),
|
|
892
|
-
groupId:
|
|
892
|
+
groupId: ye
|
|
893
893
|
};
|
|
894
894
|
a === se.patchFunction ? l.subtitle = "⤵️" : a === se.patchObject ? l.subtitle = "🧩" : i && !Array.isArray(i) && (l.subtitle = i.type), i && (l.data["rawEvent(s)"] = {
|
|
895
895
|
_custom: {
|
|
@@ -924,22 +924,22 @@ function Ss(e, t) {
|
|
|
924
924
|
}, n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q), n.getSettings().logStoreChanges && F(`"${t.$id}" store installed 🆕`);
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
let To = 0,
|
|
927
|
+
let To = 0, ye;
|
|
928
928
|
function Dn(e, t, n) {
|
|
929
929
|
const o = t.reduce((r, s) => (r[s] = et(e)[s], r), {});
|
|
930
930
|
for (const r in o)
|
|
931
931
|
e[r] = function() {
|
|
932
932
|
const s = To, i = n ? new Proxy(e, {
|
|
933
933
|
get(...c) {
|
|
934
|
-
return
|
|
934
|
+
return ye = s, Reflect.get(...c);
|
|
935
935
|
},
|
|
936
936
|
set(...c) {
|
|
937
|
-
return
|
|
937
|
+
return ye = s, Reflect.set(...c);
|
|
938
938
|
}
|
|
939
939
|
}) : e;
|
|
940
|
-
|
|
940
|
+
ye = s;
|
|
941
941
|
const a = o[r].apply(i, arguments);
|
|
942
|
-
return
|
|
942
|
+
return ye = void 0, a;
|
|
943
943
|
};
|
|
944
944
|
}
|
|
945
945
|
function Ns({ app: e, store: t, options: n }) {
|
|
@@ -1407,7 +1407,7 @@ function ea(e, t) {
|
|
|
1407
1407
|
break;
|
|
1408
1408
|
return n.slice(0, s).join("/") + "/" + o.slice(i).join("/");
|
|
1409
1409
|
}
|
|
1410
|
-
const
|
|
1410
|
+
const me = {
|
|
1411
1411
|
path: "/",
|
|
1412
1412
|
// TODO: could we use a symbol in the future?
|
|
1413
1413
|
name: void 0,
|
|
@@ -2164,7 +2164,7 @@ function ze() {
|
|
|
2164
2164
|
reset: n
|
|
2165
2165
|
};
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2167
|
+
function ve(e, t, n, o, r, s = (i) => i()) {
|
|
2168
2168
|
const i = o && // name is defined if record is because of the function overload
|
|
2169
2169
|
(o.enterCallbacks[r] = o.enterCallbacks[r] || []);
|
|
2170
2170
|
return () => new Promise((a, c) => {
|
|
@@ -2218,7 +2218,7 @@ function Bt(e, t, n, o, r = (s) => s()) {
|
|
|
2218
2218
|
if (!(t !== "beforeRouteEnter" && !i.instances[a]))
|
|
2219
2219
|
if (Lo(c)) {
|
|
2220
2220
|
const l = (c.__vccOpts || c)[t];
|
|
2221
|
-
l && s.push(
|
|
2221
|
+
l && s.push(ve(l, n, o, i, a, r));
|
|
2222
2222
|
} else {
|
|
2223
2223
|
let l = c();
|
|
2224
2224
|
process.env.NODE_ENV !== "production" && !("catch" in l) && (S(`Component "${a}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`), l = Promise.resolve(l)), s.push(() => l.then((u) => {
|
|
@@ -2227,7 +2227,7 @@ function Bt(e, t, n, o, r = (s) => s()) {
|
|
|
2227
2227
|
const d = Vs(u) ? u.default : u;
|
|
2228
2228
|
i.mods[a] = u, i.components[a] = d;
|
|
2229
2229
|
const p = (d.__vccOpts || d)[t];
|
|
2230
|
-
return p &&
|
|
2230
|
+
return p && ve(p, n, o, i, a, r)();
|
|
2231
2231
|
}));
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
@@ -2708,8 +2708,8 @@ function Za(e) {
|
|
|
2708
2708
|
const t = ka(e.routes, e), n = e.parseQuery || Pa, o = e.stringifyQuery || Kn, r = e.history;
|
|
2709
2709
|
if (process.env.NODE_ENV !== "production" && !r)
|
|
2710
2710
|
throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
|
|
2711
|
-
const s = ze(), i = ze(), a = ze(), c = Ir(
|
|
2712
|
-
let l =
|
|
2711
|
+
const s = ze(), i = ze(), a = ze(), c = Ir(me);
|
|
2712
|
+
let l = me;
|
|
2713
2713
|
ce && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
|
|
2714
2714
|
const u = Lt.bind(null, (h) => "" + h), d = Lt.bind(null, Ks), p = (
|
|
2715
2715
|
// @ts-expect-error: intentionally avoid the type check
|
|
@@ -2895,19 +2895,19 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2895
2895
|
g = Bt(_.reverse(), "beforeRouteLeave", h, y);
|
|
2896
2896
|
for (const N of _)
|
|
2897
2897
|
N.leaveGuards.forEach((W) => {
|
|
2898
|
-
g.push(
|
|
2898
|
+
g.push(ve(W, h, y));
|
|
2899
2899
|
});
|
|
2900
2900
|
const A = ne.bind(null, h, y);
|
|
2901
2901
|
return g.push(A), Pe(g).then(() => {
|
|
2902
2902
|
g = [];
|
|
2903
2903
|
for (const N of s.list())
|
|
2904
|
-
g.push(
|
|
2904
|
+
g.push(ve(N, h, y));
|
|
2905
2905
|
return g.push(A), Pe(g);
|
|
2906
2906
|
}).then(() => {
|
|
2907
2907
|
g = Bt(T, "beforeRouteUpdate", h, y);
|
|
2908
2908
|
for (const N of T)
|
|
2909
2909
|
N.updateGuards.forEach((W) => {
|
|
2910
|
-
g.push(
|
|
2910
|
+
g.push(ve(W, h, y));
|
|
2911
2911
|
});
|
|
2912
2912
|
return g.push(A), Pe(g);
|
|
2913
2913
|
}).then(() => {
|
|
@@ -2916,14 +2916,14 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2916
2916
|
if (N.beforeEnter)
|
|
2917
2917
|
if (Y(N.beforeEnter))
|
|
2918
2918
|
for (const W of N.beforeEnter)
|
|
2919
|
-
g.push(
|
|
2919
|
+
g.push(ve(W, h, y));
|
|
2920
2920
|
else
|
|
2921
|
-
g.push(
|
|
2921
|
+
g.push(ve(N.beforeEnter, h, y));
|
|
2922
2922
|
return g.push(A), Pe(g);
|
|
2923
2923
|
}).then(() => (h.matched.forEach((N) => N.enterCallbacks = {}), g = Bt(H, "beforeRouteEnter", h, y, b), g.push(A), Pe(g))).then(() => {
|
|
2924
2924
|
g = [];
|
|
2925
2925
|
for (const N of i.list())
|
|
2926
|
-
g.push(
|
|
2926
|
+
g.push(ve(N, h, y));
|
|
2927
2927
|
return g.push(A), Pe(g);
|
|
2928
2928
|
}).catch((N) => le(
|
|
2929
2929
|
N,
|
|
@@ -2938,7 +2938,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2938
2938
|
const H = P(h, y);
|
|
2939
2939
|
if (H)
|
|
2940
2940
|
return H;
|
|
2941
|
-
const A = y ===
|
|
2941
|
+
const A = y === me, N = ce ? history.state : {};
|
|
2942
2942
|
g && (_ || A ? r.replace(h.fullPath, R({
|
|
2943
2943
|
scroll: A && N && N.scroll
|
|
2944
2944
|
}, T)) : r.push(h.fullPath, T)), c.value = h, In(h, y, g, A), At();
|
|
@@ -2998,7 +2998,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
2998
2998
|
return _.length ? _.forEach((T) => T(h, y, g)) : (process.env.NODE_ENV !== "production" && S("uncaught error during route navigation:"), console.error(h)), Promise.reject(h);
|
|
2999
2999
|
}
|
|
3000
3000
|
function xr() {
|
|
3001
|
-
return oe && c.value !==
|
|
3001
|
+
return oe && c.value !== me ? Promise.resolve() : new Promise((h, y) => {
|
|
3002
3002
|
He.add([h, y]);
|
|
3003
3003
|
});
|
|
3004
3004
|
}
|
|
@@ -3041,11 +3041,11 @@ ${JSON.stringify(_, null, 2)}
|
|
|
3041
3041
|
get: () => E(c)
|
|
3042
3042
|
}), ce && // used for the initial navigation client side to avoid pushing
|
|
3043
3043
|
// multiple times when the router is used in multiple apps
|
|
3044
|
-
!Rt && c.value ===
|
|
3044
|
+
!Rt && c.value === me && (Rt = !0, U(r.location).catch((T) => {
|
|
3045
3045
|
process.env.NODE_ENV !== "production" && S("Unexpected error when starting the router:", T);
|
|
3046
3046
|
}));
|
|
3047
3047
|
const g = {};
|
|
3048
|
-
for (const T in
|
|
3048
|
+
for (const T in me)
|
|
3049
3049
|
Object.defineProperty(g, T, {
|
|
3050
3050
|
get: () => c.value[T],
|
|
3051
3051
|
enumerable: !0
|
|
@@ -3053,7 +3053,7 @@ ${JSON.stringify(_, null, 2)}
|
|
|
3053
3053
|
h.provide(fn, y), h.provide(Ko, Cr(g)), h.provide(en, c);
|
|
3054
3054
|
const _ = h.unmount;
|
|
3055
3055
|
lt.add(h), h.unmount = function() {
|
|
3056
|
-
lt.delete(h), lt.size < 1 && (l =
|
|
3056
|
+
lt.delete(h), lt.size < 1 && (l = me, ee && ee(), ee = null, c.value = me, Rt = !1, oe = !1), _();
|
|
3057
3057
|
}, process.env.NODE_ENV !== "production" && ce && Ha(h, y, t);
|
|
3058
3058
|
}
|
|
3059
3059
|
};
|
|
@@ -3184,7 +3184,7 @@ function mn() {
|
|
|
3184
3184
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = JSON.parse(JSON.stringify(e));
|
|
3185
3185
|
return typeof t.webWorkerSupport > "u" && (t.webWorkerSupport = !0), t.idb || (t.idb = {}), t.idb.ttl || (t.idb.ttl = 1e3 * 45), t.idb.fallbackInterval || (t.idb.fallbackInterval = 150), e.idb && typeof e.idb.onclose == "function" && (t.idb.onclose = e.idb.onclose), t.localstorage || (t.localstorage = {}), t.localstorage.removeTimeout || (t.localstorage.removeTimeout = 1e3 * 60), e.methods && (t.methods = e.methods), t.node || (t.node = {}), t.node.ttl || (t.node.ttl = 1e3 * 60 * 2), t.node.maxParallelWrites || (t.node.maxParallelWrites = 2048), typeof t.node.useFastPath > "u" && (t.node.useFastPath = !0), t;
|
|
3186
3186
|
}
|
|
3187
|
-
var fi = Ct, hi = "pubkey.broadcast-channel-0-",
|
|
3187
|
+
var fi = Ct, hi = "pubkey.broadcast-channel-0-", pe = "messages", Pt = {
|
|
3188
3188
|
durability: "relaxed"
|
|
3189
3189
|
}, mi = "idb";
|
|
3190
3190
|
function ar() {
|
|
@@ -3203,7 +3203,7 @@ function vi(e) {
|
|
|
3203
3203
|
var t = ar(), n = hi + e, o = t.open(n);
|
|
3204
3204
|
return o.onupgradeneeded = function(r) {
|
|
3205
3205
|
var s = r.target.result;
|
|
3206
|
-
s.createObjectStore(
|
|
3206
|
+
s.createObjectStore(pe, {
|
|
3207
3207
|
keyPath: "id",
|
|
3208
3208
|
autoIncrement: !0
|
|
3209
3209
|
});
|
|
@@ -3220,19 +3220,19 @@ function gi(e, t, n) {
|
|
|
3220
3220
|
uuid: t,
|
|
3221
3221
|
time: o,
|
|
3222
3222
|
data: n
|
|
3223
|
-
}, s = e.transaction([
|
|
3223
|
+
}, s = e.transaction([pe], "readwrite", Pt);
|
|
3224
3224
|
return new Promise(function(i, a) {
|
|
3225
3225
|
s.oncomplete = function() {
|
|
3226
3226
|
return i();
|
|
3227
3227
|
}, s.onerror = function(l) {
|
|
3228
3228
|
return a(l);
|
|
3229
3229
|
};
|
|
3230
|
-
var c = s.objectStore(
|
|
3230
|
+
var c = s.objectStore(pe);
|
|
3231
3231
|
c.add(r), vn(s);
|
|
3232
3232
|
});
|
|
3233
3233
|
}
|
|
3234
3234
|
function yi(e, t) {
|
|
3235
|
-
var n = e.transaction(
|
|
3235
|
+
var n = e.transaction(pe, "readonly", Pt), o = n.objectStore(pe), r = [], s = IDBKeyRange.bound(t + 1, 1 / 0);
|
|
3236
3236
|
if (o.getAll) {
|
|
3237
3237
|
var i = o.getAll(s);
|
|
3238
3238
|
return new Promise(function(c, l) {
|
|
@@ -3263,7 +3263,7 @@ function yi(e, t) {
|
|
|
3263
3263
|
function wi(e, t) {
|
|
3264
3264
|
if (e.closed)
|
|
3265
3265
|
return Promise.resolve([]);
|
|
3266
|
-
var n = e.db.transaction(
|
|
3266
|
+
var n = e.db.transaction(pe, "readwrite", Pt), o = n.objectStore(pe);
|
|
3267
3267
|
return Promise.all(t.map(function(r) {
|
|
3268
3268
|
var s = o.delete(r);
|
|
3269
3269
|
return new Promise(function(i) {
|
|
@@ -3274,7 +3274,7 @@ function wi(e, t) {
|
|
|
3274
3274
|
}));
|
|
3275
3275
|
}
|
|
3276
3276
|
function bi(e, t) {
|
|
3277
|
-
var n = (/* @__PURE__ */ new Date()).getTime() - t, o = e.transaction(
|
|
3277
|
+
var n = (/* @__PURE__ */ new Date()).getTime() - t, o = e.transaction(pe, "readonly", Pt), r = o.objectStore(pe), s = [];
|
|
3278
3278
|
return new Promise(function(i) {
|
|
3279
3279
|
r.openCursor().onsuccess = function(a) {
|
|
3280
3280
|
var c = a.target.result;
|
|
@@ -3918,7 +3918,7 @@ const ul = /* @__PURE__ */ Z({
|
|
|
3918
3918
|
class: "aform-main",
|
|
3919
3919
|
modelValue: o.value,
|
|
3920
3920
|
"onUpdate:modelValue": s[0] || (s[0] = (i) => o.value = i)
|
|
3921
|
-
}, null, 8, ["modelValue"])) :
|
|
3921
|
+
}, null, 8, ["modelValue"])) : de("", !0);
|
|
3922
3922
|
}
|
|
3923
3923
|
});
|
|
3924
3924
|
var dl = Object.defineProperty, pl = (e, t, n) => t in e ? dl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _e = (e, t, n) => pl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
@@ -4045,10 +4045,10 @@ function Ol(e, { window: t = at, scrollTarget: n } = {}) {
|
|
|
4045
4045
|
passive: !0
|
|
4046
4046
|
}), o;
|
|
4047
4047
|
}
|
|
4048
|
-
const
|
|
4048
|
+
const fe = (e) => {
|
|
4049
4049
|
let t = Ol(e).value;
|
|
4050
4050
|
return t = t && e.offsetHeight > 0, t;
|
|
4051
|
-
},
|
|
4051
|
+
}, he = (e) => e.tabIndex >= 0, co = (e) => {
|
|
4052
4052
|
const t = e.target;
|
|
4053
4053
|
return En(t);
|
|
4054
4054
|
}, En = (e) => {
|
|
@@ -4064,7 +4064,7 @@ const pe = (e) => {
|
|
|
4064
4064
|
const o = e.previousElementSibling;
|
|
4065
4065
|
o && (n = o);
|
|
4066
4066
|
}
|
|
4067
|
-
return n && (!
|
|
4067
|
+
return n && (!he(n) || !fe(n)) ? En(n) : n;
|
|
4068
4068
|
}, xl = (e) => {
|
|
4069
4069
|
var t;
|
|
4070
4070
|
const n = e.target;
|
|
@@ -4082,7 +4082,7 @@ const pe = (e) => {
|
|
|
4082
4082
|
s && (o = s);
|
|
4083
4083
|
}
|
|
4084
4084
|
}
|
|
4085
|
-
return o && (!
|
|
4085
|
+
return o && (!he(o) || !fe(o)) ? kn(o) : o;
|
|
4086
4086
|
}, uo = (e) => {
|
|
4087
4087
|
const t = e.target;
|
|
4088
4088
|
return kn(t);
|
|
@@ -4099,7 +4099,7 @@ const pe = (e) => {
|
|
|
4099
4099
|
const o = e.nextElementSibling;
|
|
4100
4100
|
o && (n = o);
|
|
4101
4101
|
}
|
|
4102
|
-
return n && (!
|
|
4102
|
+
return n && (!he(n) || !fe(n)) ? kn(n) : n;
|
|
4103
4103
|
}, Sl = (e) => {
|
|
4104
4104
|
var t;
|
|
4105
4105
|
const n = e.target;
|
|
@@ -4117,7 +4117,7 @@ const pe = (e) => {
|
|
|
4117
4117
|
s && (o = s);
|
|
4118
4118
|
}
|
|
4119
4119
|
}
|
|
4120
|
-
return o && (!
|
|
4120
|
+
return o && (!he(o) || !fe(o)) ? En(o) : o;
|
|
4121
4121
|
}, po = (e) => {
|
|
4122
4122
|
const t = e.target;
|
|
4123
4123
|
return $n(t);
|
|
@@ -4130,7 +4130,7 @@ const pe = (e) => {
|
|
|
4130
4130
|
const o = (t = e.parentElement) == null ? void 0 : t.previousElementSibling;
|
|
4131
4131
|
n = o == null ? void 0 : o.lastElementChild;
|
|
4132
4132
|
}
|
|
4133
|
-
return n && (!
|
|
4133
|
+
return n && (!he(n) || !fe(n)) ? $n(n) : n;
|
|
4134
4134
|
}, fo = (e) => {
|
|
4135
4135
|
const t = e.target;
|
|
4136
4136
|
return On(t);
|
|
@@ -4143,13 +4143,13 @@ const pe = (e) => {
|
|
|
4143
4143
|
const o = (t = e.parentElement) == null ? void 0 : t.nextElementSibling;
|
|
4144
4144
|
n = o == null ? void 0 : o.firstElementChild;
|
|
4145
4145
|
}
|
|
4146
|
-
return n && (!
|
|
4146
|
+
return n && (!he(n) || !fe(n)) ? On(n) : n;
|
|
4147
4147
|
}, ho = (e) => {
|
|
4148
4148
|
const t = e.target.parentElement.firstElementChild;
|
|
4149
|
-
return t && (!
|
|
4149
|
+
return t && (!he(t) || !fe(t)) ? On(t) : t;
|
|
4150
4150
|
}, mo = (e) => {
|
|
4151
4151
|
const t = e.target.parentElement.lastElementChild;
|
|
4152
|
-
return t && (!
|
|
4152
|
+
return t && (!he(t) || !fe(t)) ? $n(t) : t;
|
|
4153
4153
|
}, pt = ["alt", "control", "shift", "meta"], Nl = {
|
|
4154
4154
|
ArrowUp: "up",
|
|
4155
4155
|
ArrowDown: "down",
|
|
@@ -4242,7 +4242,7 @@ function wr(e) {
|
|
|
4242
4242
|
}, o = (i) => {
|
|
4243
4243
|
const a = t(i);
|
|
4244
4244
|
let c = [];
|
|
4245
|
-
return i.selectors ? c = n(i) : a && (c = Array.from(a.children).filter((l) =>
|
|
4245
|
+
return i.selectors ? c = n(i) : a && (c = Array.from(a.children).filter((l) => he(l) && fe(l))), c;
|
|
4246
4246
|
}, r = (i) => (a) => {
|
|
4247
4247
|
const c = Nl[a.key] || a.key.toLowerCase();
|
|
4248
4248
|
if (pt.includes(c)) return;
|
|
@@ -4533,7 +4533,7 @@ const Ml = (e) => {
|
|
|
4533
4533
|
tabindex: a.tabIndex,
|
|
4534
4534
|
class: "table-row"
|
|
4535
4535
|
}, [
|
|
4536
|
-
|
|
4536
|
+
E(t).config.view !== "uncounted" ? ge(a.$slots, "index", { key: 0 }, () => [
|
|
4537
4537
|
E(t).config.view === "list" ? (I(), V("td", {
|
|
4538
4538
|
key: 0,
|
|
4539
4539
|
tabIndex: -1,
|
|
@@ -4543,9 +4543,9 @@ const Ml = (e) => {
|
|
|
4543
4543
|
tabIndex: -1,
|
|
4544
4544
|
class: Se(["tree-index", o.value ? "sticky-index" : ""]),
|
|
4545
4545
|
onClick: c[0] || (c[0] = (l) => i(a.rowIndex))
|
|
4546
|
-
}, ue(s.value), 3)) :
|
|
4547
|
-
]),
|
|
4548
|
-
|
|
4546
|
+
}, ue(s.value), 3)) : de("", !0)
|
|
4547
|
+
]) : de("", !0),
|
|
4548
|
+
ge(a.$slots, "default")
|
|
4549
4549
|
], 8, Fl)), [
|
|
4550
4550
|
[on, r.value]
|
|
4551
4551
|
]);
|
|
@@ -4805,19 +4805,19 @@ const tc = {
|
|
|
4805
4805
|
E(t).config.view === "tree" ? "tree-index" : "",
|
|
4806
4806
|
E(t).config.view === "list-expansion" ? "list-expansion-index" : ""
|
|
4807
4807
|
], "list-index"])
|
|
4808
|
-
}, null, 2)) :
|
|
4808
|
+
}, null, 2)) : de("", !0),
|
|
4809
4809
|
(I(!0), V(Ne, null, Ie(r.columns, (i, a) => (I(), V("th", {
|
|
4810
4810
|
key: i.name,
|
|
4811
4811
|
tabindex: "-1",
|
|
4812
4812
|
style: re(o(i)),
|
|
4813
4813
|
class: Se(i.pinned ? "sticky-column" : "")
|
|
4814
4814
|
}, [
|
|
4815
|
-
|
|
4815
|
+
ge(r.$slots, "default", {}, () => [
|
|
4816
4816
|
Eo(ue(i.label || String.fromCharCode(a + 97).toUpperCase()), 1)
|
|
4817
4817
|
])
|
|
4818
4818
|
], 6))), 128))
|
|
4819
4819
|
])
|
|
4820
|
-
])) :
|
|
4820
|
+
])) : de("", !0);
|
|
4821
4821
|
}
|
|
4822
4822
|
}), rc = /* @__PURE__ */ Z({
|
|
4823
4823
|
__name: "ATableModal",
|
|
@@ -4836,7 +4836,7 @@ const tc = {
|
|
|
4836
4836
|
onClick: t,
|
|
4837
4837
|
onInput: t
|
|
4838
4838
|
}, [
|
|
4839
|
-
|
|
4839
|
+
ge(n.$slots, "default")
|
|
4840
4840
|
], 32));
|
|
4841
4841
|
}
|
|
4842
4842
|
}), sc = /* @__PURE__ */ Z({
|
|
@@ -4890,14 +4890,14 @@ const tc = {
|
|
|
4890
4890
|
class: "atable",
|
|
4891
4891
|
style: re({ width: E(s).config.fullWidth ? "100%" : "auto" })
|
|
4892
4892
|
}, [
|
|
4893
|
-
|
|
4893
|
+
ge(c.$slots, "header", { data: E(s) }, () => [
|
|
4894
4894
|
Et(oc, {
|
|
4895
4895
|
columns: E(s).columns,
|
|
4896
4896
|
tableid: E(s).id
|
|
4897
4897
|
}, null, 8, ["columns", "tableid"])
|
|
4898
4898
|
], !0),
|
|
4899
4899
|
M("tbody", null, [
|
|
4900
|
-
|
|
4900
|
+
ge(c.$slots, "body", { data: E(s) }, () => [
|
|
4901
4901
|
(I(!0), V(Ne, null, Ie(E(s).rows, (u, d) => (I(), xe(zl, {
|
|
4902
4902
|
key: u.id,
|
|
4903
4903
|
row: u,
|
|
@@ -4912,7 +4912,7 @@ const tc = {
|
|
|
4912
4912
|
spellcheck: "false",
|
|
4913
4913
|
pinned: p.pinned,
|
|
4914
4914
|
rowIndex: d,
|
|
4915
|
-
colIndex: f
|
|
4915
|
+
colIndex: f,
|
|
4916
4916
|
component: p.cellComponent,
|
|
4917
4917
|
style: re({
|
|
4918
4918
|
textAlign: (p == null ? void 0 : p.align) || "center",
|
|
@@ -4925,8 +4925,8 @@ const tc = {
|
|
|
4925
4925
|
}, 1032, ["row", "rowIndex", "tableid"]))), 128))
|
|
4926
4926
|
], !0)
|
|
4927
4927
|
]),
|
|
4928
|
-
|
|
4929
|
-
|
|
4928
|
+
ge(c.$slots, "footer", { data: E(s) }, void 0, !0),
|
|
4929
|
+
ge(c.$slots, "modal", { data: E(s) }, () => [
|
|
4930
4930
|
Ze(Et(rc, {
|
|
4931
4931
|
colIndex: E(s).modal.colIndex,
|
|
4932
4932
|
rowIndex: E(s).modal.rowIndex,
|
|
@@ -4959,7 +4959,7 @@ const tc = {
|
|
|
4959
4959
|
for (const [o, r] of t)
|
|
4960
4960
|
n[o] = r;
|
|
4961
4961
|
return n;
|
|
4962
|
-
}, ic = /* @__PURE__ */ ac(sc, [["__scopeId", "data-v-
|
|
4962
|
+
}, ic = /* @__PURE__ */ ac(sc, [["__scopeId", "data-v-5fc77917"]]), lc = /* @__PURE__ */ Z({
|
|
4963
4963
|
__name: "Records",
|
|
4964
4964
|
setup(e) {
|
|
4965
4965
|
const { stonecrop: t, isReady: n } = jo(), o = { view: "list" };
|
|
@@ -4968,7 +4968,7 @@ const tc = {
|
|
|
4968
4968
|
columns: E(t).schema.schema.toArray(),
|
|
4969
4969
|
rows: E(t).store.records,
|
|
4970
4970
|
config: o
|
|
4971
|
-
}, null, 8, ["columns", "rows"])) :
|
|
4971
|
+
}, null, 8, ["columns", "rows"])) : de("", !0);
|
|
4972
4972
|
}
|
|
4973
4973
|
}), cc = { class: "tabs" }, uc = { tabindex: "0" }, dc = {
|
|
4974
4974
|
version: "1.1",
|