@stonecrop/desktop 0.3.1 → 0.3.2
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 +73 -66
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs +1 -1
- 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 ae, ref as C, onMounted as Qe, openBlock as A, createElementBlock as M, normalizeClass as Ve, createElementVNode as U, Fragment as Ae, renderList as Te, toDisplayString as ve, createCommentVNode as ge, withDirectives as lt, vShow as gn, computed as B, createBlock as Ie, resolveDynamicComponent as yn, mergeProps as wn, effectScope as bn, markRaw as re, inject as Oe, onBeforeMount as Hr, shallowRef as zr, toRaw as qe, unref as S, shallowReactive as qr, watch as J, nextTick as xe, hasInjectionContext as Ro, getCurrentInstance as Le, reactive as _n, h as jo, provide as Ht, isRef as de, isReactive as Xe, toRef as De, watchEffect as Gr, getCurrentScope as Tt, onScopeDispose as Rt, toRefs as
|
|
1
|
+
import { defineComponent as ae, ref as C, onMounted as Qe, openBlock as A, createElementBlock as M, normalizeClass as Ve, createElementVNode as U, Fragment as Ae, renderList as Te, toDisplayString as ve, createCommentVNode as ge, withDirectives as lt, vShow as gn, computed as B, createBlock as Ie, resolveDynamicComponent as yn, mergeProps as wn, effectScope as bn, markRaw as re, inject as Oe, onBeforeMount as Hr, shallowRef as zr, toRaw as qe, unref as S, shallowReactive as qr, watch as J, nextTick as xe, hasInjectionContext as Ro, getCurrentInstance as Le, reactive as _n, h as jo, provide as Ht, isRef as de, isReactive as Xe, toRef as De, watchEffect as Gr, getCurrentScope as Tt, onScopeDispose as Rt, toRefs as Ct, useTemplateRef as jt, normalizeStyle as le, renderSlot as ke, createVNode as Pt, withCtx as It, readonly as Jr, customRef as Yr, createTextVNode as Lo, onBeforeUnmount as Kr, resolveComponent as Qr, withKeys as gt, vModelText as Xr } from "vue";
|
|
2
2
|
const Zr = { class: "action-menu-icon" }, es = ["onclick"], ts = { key: 1 }, ns = ["onClick"], os = { class: "dropdown-container" }, rs = { class: "dropdown" }, ss = ["onclick"], as = ["href"], is = { class: "dropdown-item" }, cs = /* @__PURE__ */ ae({
|
|
3
3
|
__name: "ActionSet",
|
|
4
4
|
props: {
|
|
@@ -458,9 +458,9 @@ const $t = typeof navigator == "object" ? navigator : { userAgent: "" }, Ho = /M
|
|
|
458
458
|
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
|
459
459
|
typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Ho ? Ss : (
|
|
460
460
|
// Use msSaveOrOpenBlob as a second approach
|
|
461
|
-
"msSaveOrOpenBlob" in $t ?
|
|
461
|
+
"msSaveOrOpenBlob" in $t ? Cs : (
|
|
462
462
|
// Fallback to using FileReader and a popup
|
|
463
|
-
|
|
463
|
+
Ps
|
|
464
464
|
)
|
|
465
465
|
)
|
|
466
466
|
) : () => {
|
|
@@ -473,7 +473,7 @@ function Ss(e, t = "download", n) {
|
|
|
473
473
|
kt(o);
|
|
474
474
|
}, 0));
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Cs(e, t = "download", n) {
|
|
477
477
|
if (typeof e == "string")
|
|
478
478
|
if (Fo(e))
|
|
479
479
|
$n(e, t, n);
|
|
@@ -486,7 +486,7 @@ function Ps(e, t = "download", n) {
|
|
|
486
486
|
else
|
|
487
487
|
navigator.msSaveOrOpenBlob(xs(e, n), t);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Ps(e, t, n, o) {
|
|
490
490
|
if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string")
|
|
491
491
|
return $n(e, t, n);
|
|
492
492
|
const r = e.type === "application/octet-stream", s = /constructor/i.test(String(Hn.HTMLElement)) || "safari" in Hn, a = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
@@ -660,7 +660,7 @@ function Ms(e) {
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
let Fe = !0;
|
|
663
|
-
const Ot = [],
|
|
663
|
+
const Ot = [], Pe = "pinia:mutations", K = "pinia", { assign: Bs } = Object, Dt = (e) => "🍍 " + e;
|
|
664
664
|
function Ws(e, t) {
|
|
665
665
|
kn({
|
|
666
666
|
id: "dev.esm.pinia",
|
|
@@ -672,7 +672,7 @@ function Ws(e, t) {
|
|
|
672
672
|
app: e
|
|
673
673
|
}, (n) => {
|
|
674
674
|
typeof n.now != "function" && Y("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
|
|
675
|
-
id:
|
|
675
|
+
id: Pe,
|
|
676
676
|
label: "Pinia 🍍",
|
|
677
677
|
color: 15064968
|
|
678
678
|
}), n.addInspector({
|
|
@@ -820,7 +820,7 @@ function Us(e, t) {
|
|
|
820
820
|
t.$onAction(({ after: a, onError: i, name: c, args: l }) => {
|
|
821
821
|
const p = Ko++;
|
|
822
822
|
n.addTimelineEvent({
|
|
823
|
-
layerId:
|
|
823
|
+
layerId: Pe,
|
|
824
824
|
event: {
|
|
825
825
|
time: o(),
|
|
826
826
|
title: "🛫 " + c,
|
|
@@ -834,7 +834,7 @@ function Us(e, t) {
|
|
|
834
834
|
}
|
|
835
835
|
}), a((u) => {
|
|
836
836
|
Ne = void 0, n.addTimelineEvent({
|
|
837
|
-
layerId:
|
|
837
|
+
layerId: Pe,
|
|
838
838
|
event: {
|
|
839
839
|
time: o(),
|
|
840
840
|
title: "🛬 " + c,
|
|
@@ -850,7 +850,7 @@ function Us(e, t) {
|
|
|
850
850
|
});
|
|
851
851
|
}), i((u) => {
|
|
852
852
|
Ne = void 0, n.addTimelineEvent({
|
|
853
|
-
layerId:
|
|
853
|
+
layerId: Pe,
|
|
854
854
|
event: {
|
|
855
855
|
time: o(),
|
|
856
856
|
logType: "error",
|
|
@@ -869,7 +869,7 @@ function Us(e, t) {
|
|
|
869
869
|
}, !0), t._customProperties.forEach((a) => {
|
|
870
870
|
J(() => S(t[a]), (i, c) => {
|
|
871
871
|
n.notifyComponentUpdate(), n.sendInspectorState(K), Fe && n.addTimelineEvent({
|
|
872
|
-
layerId:
|
|
872
|
+
layerId: Pe,
|
|
873
873
|
event: {
|
|
874
874
|
time: o(),
|
|
875
875
|
title: "Change",
|
|
@@ -899,14 +899,14 @@ function Us(e, t) {
|
|
|
899
899
|
value: a
|
|
900
900
|
}
|
|
901
901
|
}), n.addTimelineEvent({
|
|
902
|
-
layerId:
|
|
902
|
+
layerId: Pe,
|
|
903
903
|
event: l
|
|
904
904
|
});
|
|
905
905
|
}, { detached: !0, flush: "sync" });
|
|
906
906
|
const r = t._hotUpdate;
|
|
907
907
|
t._hotUpdate = re((a) => {
|
|
908
908
|
r(a), n.addTimelineEvent({
|
|
909
|
-
layerId:
|
|
909
|
+
layerId: Pe,
|
|
910
910
|
event: {
|
|
911
911
|
time: o(),
|
|
912
912
|
title: "🔥 " + t.$id,
|
|
@@ -1032,8 +1032,8 @@ function Yn(e, t, n, o) {
|
|
|
1032
1032
|
!i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
|
|
1033
1033
|
const p = process.env.NODE_ENV !== "production" && o ? (
|
|
1034
1034
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
1035
|
-
|
|
1036
|
-
) :
|
|
1035
|
+
Ct(C(r ? r() : {}).value)
|
|
1036
|
+
) : Ct(n.state.value[e]);
|
|
1037
1037
|
return te(p, s, Object.keys(a || {}).reduce((u, d) => (process.env.NODE_ENV !== "production" && d in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${d}" in store "${e}".`), u[d] = re(B(() => {
|
|
1038
1038
|
ut(n);
|
|
1039
1039
|
const f = n._s.get(e);
|
|
@@ -1658,7 +1658,7 @@ while being at
|
|
|
1658
1658
|
` + JSON.stringify(t) : ""}`;
|
|
1659
1659
|
},
|
|
1660
1660
|
2({ from: e, to: t }) {
|
|
1661
|
-
return `Redirected from "${e.fullPath}" to "${
|
|
1661
|
+
return `Redirected from "${e.fullPath}" to "${Ca(t)}" via a navigation guard.`;
|
|
1662
1662
|
},
|
|
1663
1663
|
4({ from: e, to: t }) {
|
|
1664
1664
|
return `Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`;
|
|
@@ -1683,7 +1683,7 @@ function he(e, t) {
|
|
|
1683
1683
|
return e instanceof Error && un in e && (t == null || !!(e.type & t));
|
|
1684
1684
|
}
|
|
1685
1685
|
const Sa = ["params", "query", "hash"];
|
|
1686
|
-
function
|
|
1686
|
+
function Ca(e) {
|
|
1687
1687
|
if (typeof e == "string")
|
|
1688
1688
|
return e;
|
|
1689
1689
|
if (e.path != null)
|
|
@@ -1693,14 +1693,14 @@ function Pa(e) {
|
|
|
1693
1693
|
n in e && (t[n] = e[n]);
|
|
1694
1694
|
return JSON.stringify(t, null, 2);
|
|
1695
1695
|
}
|
|
1696
|
-
const no = "[^/]+?",
|
|
1696
|
+
const no = "[^/]+?", Pa = {
|
|
1697
1697
|
sensitive: !1,
|
|
1698
1698
|
strict: !1,
|
|
1699
1699
|
start: !0,
|
|
1700
1700
|
end: !0
|
|
1701
1701
|
}, Ia = /[.+*?^${}()[\]/\\]/g;
|
|
1702
1702
|
function Da(e, t) {
|
|
1703
|
-
const n = j({},
|
|
1703
|
+
const n = j({}, Pa, t), o = [];
|
|
1704
1704
|
let r = n.start ? "^" : "";
|
|
1705
1705
|
const s = [];
|
|
1706
1706
|
for (const l of e) {
|
|
@@ -2744,12 +2744,12 @@ function vi(e) {
|
|
|
2744
2744
|
}
|
|
2745
2745
|
function _(v, $) {
|
|
2746
2746
|
if ($ = j({}, $ || c.value), typeof v == "string") {
|
|
2747
|
-
const V = Jt(n, v, $.path), q = t.resolve({ path: V.path }, $),
|
|
2748
|
-
return process.env.NODE_ENV !== "production" && (
|
|
2747
|
+
const V = Jt(n, v, $.path), q = t.resolve({ path: V.path }, $), Ce = r.createHref(V.fullPath);
|
|
2748
|
+
return process.env.NODE_ENV !== "production" && (Ce.startsWith("//") ? I(`Location "${v}" resolved to "${Ce}". A resolved location cannot start with multiple slashes.`) : q.matched.length || I(`No match found for location with path "${v}"`)), j(V, q, {
|
|
2749
2749
|
params: d(q.params),
|
|
2750
2750
|
hash: Ge(V.hash),
|
|
2751
2751
|
redirectedFrom: void 0,
|
|
2752
|
-
href:
|
|
2752
|
+
href: Ce
|
|
2753
2753
|
});
|
|
2754
2754
|
}
|
|
2755
2755
|
if (process.env.NODE_ENV !== "production" && !Vt(v))
|
|
@@ -2843,8 +2843,8 @@ ${JSON.stringify(O, null, 2)}
|
|
|
2843
2843
|
);
|
|
2844
2844
|
const q = E;
|
|
2845
2845
|
q.redirectedFrom = $;
|
|
2846
|
-
let
|
|
2847
|
-
return !G && Qn(o, O, E) && (
|
|
2846
|
+
let Ce;
|
|
2847
|
+
return !G && Qn(o, O, E) && (Ce = Je(16, { to: q, from: O }), Fn(
|
|
2848
2848
|
O,
|
|
2849
2849
|
O,
|
|
2850
2850
|
// this is a push, the only way for it to be triggered from a
|
|
@@ -2853,7 +2853,7 @@ ${JSON.stringify(O, null, 2)}
|
|
|
2853
2853
|
// This cannot be the first navigation because the initial location
|
|
2854
2854
|
// cannot be manually navigated to
|
|
2855
2855
|
!1
|
|
2856
|
-
)), (
|
|
2856
|
+
)), (Ce ? Promise.resolve(Ce) : m(q, O)).catch((Q) => he(Q) ? (
|
|
2857
2857
|
// navigation redirects still mark the router as ready
|
|
2858
2858
|
he(
|
|
2859
2859
|
Q,
|
|
@@ -3173,14 +3173,14 @@ var Si = {
|
|
|
3173
3173
|
}, e.prototype.add = function(t) {
|
|
3174
3174
|
var n = this;
|
|
3175
3175
|
this.map.set(t, _r()), this._to || (this._to = !0, setTimeout(function() {
|
|
3176
|
-
n._to = !1,
|
|
3176
|
+
n._to = !1, Ci(n);
|
|
3177
3177
|
}, 0));
|
|
3178
3178
|
}, e.prototype.clear = function() {
|
|
3179
3179
|
this.map.clear();
|
|
3180
3180
|
}, e;
|
|
3181
3181
|
}()
|
|
3182
3182
|
);
|
|
3183
|
-
function
|
|
3183
|
+
function Ci(e) {
|
|
3184
3184
|
for (var t = _r() - e.ttl, n = e.map[Symbol.iterator](); ; ) {
|
|
3185
3185
|
var o = n.next().value;
|
|
3186
3186
|
if (!o)
|
|
@@ -3195,11 +3195,11 @@ function Pi(e) {
|
|
|
3195
3195
|
function _r() {
|
|
3196
3196
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
3197
3197
|
}
|
|
3198
|
-
function
|
|
3198
|
+
function Cn() {
|
|
3199
3199
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = JSON.parse(JSON.stringify(e));
|
|
3200
3200
|
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;
|
|
3201
3201
|
}
|
|
3202
|
-
var
|
|
3202
|
+
var Pi = Mt, Ii = "pubkey.broadcast-channel-0-", ye = "messages", Bt = {
|
|
3203
3203
|
durability: "relaxed"
|
|
3204
3204
|
}, Di = "idb";
|
|
3205
3205
|
function Er() {
|
|
@@ -3211,7 +3211,7 @@ function Er() {
|
|
|
3211
3211
|
}
|
|
3212
3212
|
return !1;
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3214
|
+
function Pn(e) {
|
|
3215
3215
|
e.commit && e.commit();
|
|
3216
3216
|
}
|
|
3217
3217
|
function Vi(e) {
|
|
@@ -3243,7 +3243,7 @@ function Ai(e, t, n) {
|
|
|
3243
3243
|
return i(l);
|
|
3244
3244
|
};
|
|
3245
3245
|
var c = s.objectStore(ye);
|
|
3246
|
-
c.add(r),
|
|
3246
|
+
c.add(r), Pn(s);
|
|
3247
3247
|
});
|
|
3248
3248
|
}
|
|
3249
3249
|
function Ti(e, t) {
|
|
@@ -3271,7 +3271,7 @@ function Ti(e, t) {
|
|
|
3271
3271
|
return l(u);
|
|
3272
3272
|
}, p.onsuccess = function(u) {
|
|
3273
3273
|
var d = u.target.result;
|
|
3274
|
-
d ? d.value.id < t + 1 ? d.continue(t + 1) : (r.push(d.value), d.continue()) : (
|
|
3274
|
+
d ? d.value.id < t + 1 ? d.continue(t + 1) : (r.push(d.value), d.continue()) : (Pn(n), c(r));
|
|
3275
3275
|
};
|
|
3276
3276
|
});
|
|
3277
3277
|
}
|
|
@@ -3295,7 +3295,7 @@ function ji(e, t) {
|
|
|
3295
3295
|
var c = i.target.result;
|
|
3296
3296
|
if (c) {
|
|
3297
3297
|
var l = c.value;
|
|
3298
|
-
l.time < n ? (s.push(l), c.continue()) : (
|
|
3298
|
+
l.time < n ? (s.push(l), c.continue()) : (Pn(o), a(s));
|
|
3299
3299
|
} else
|
|
3300
3300
|
a(s);
|
|
3301
3301
|
};
|
|
@@ -3309,7 +3309,7 @@ function Li(e) {
|
|
|
3309
3309
|
});
|
|
3310
3310
|
}
|
|
3311
3311
|
function Mi(e, t) {
|
|
3312
|
-
return t =
|
|
3312
|
+
return t = Cn(t), Vi(e).then(function(n) {
|
|
3313
3313
|
var o = {
|
|
3314
3314
|
closed: !1,
|
|
3315
3315
|
lastCursorId: 0,
|
|
@@ -3386,7 +3386,7 @@ var qi = {
|
|
|
3386
3386
|
canBeUsed: Hi,
|
|
3387
3387
|
type: Di,
|
|
3388
3388
|
averageResponseTime: zi,
|
|
3389
|
-
microSeconds:
|
|
3389
|
+
microSeconds: Pi
|
|
3390
3390
|
}, Gi = Mt, Ji = "pubkey.broadcastChannel-", Yi = "localstorage";
|
|
3391
3391
|
function Nr() {
|
|
3392
3392
|
var e;
|
|
@@ -3425,7 +3425,7 @@ function Xi(e) {
|
|
|
3425
3425
|
window.removeEventListener("storage", e);
|
|
3426
3426
|
}
|
|
3427
3427
|
function Zi(e, t) {
|
|
3428
|
-
if (t =
|
|
3428
|
+
if (t = Cn(t), !xr())
|
|
3429
3429
|
throw new Error("BroadcastChannel: localstorage cannot be used");
|
|
3430
3430
|
var n = Sn(), o = new br(t.localstorage.removeTimeout), r = {
|
|
3431
3431
|
channelName: e,
|
|
@@ -3541,7 +3541,7 @@ function fc(e) {
|
|
|
3541
3541
|
})));
|
|
3542
3542
|
}
|
|
3543
3543
|
var Sr = /* @__PURE__ */ new Set(), hc = 0, Dn = function(e, t) {
|
|
3544
|
-
this.id = hc++, Sr.add(this), this.name = e, this.options =
|
|
3544
|
+
this.id = hc++, Sr.add(this), this.name = e, this.options = Cn(t), this.method = fc(this.options), this._iL = !1, this._onML = null, this._addEL = {
|
|
3545
3545
|
message: [],
|
|
3546
3546
|
internal: []
|
|
3547
3547
|
}, this._uMP = /* @__PURE__ */ new Set(), this._befC = [], this._prepP = null, mc(this);
|
|
@@ -3623,7 +3623,7 @@ function mc(e) {
|
|
|
3623
3623
|
e._state = n;
|
|
3624
3624
|
})) : e._state = t;
|
|
3625
3625
|
}
|
|
3626
|
-
function
|
|
3626
|
+
function Cr(e) {
|
|
3627
3627
|
return e._addEL.message.length > 0 || e._addEL.internal.length > 0;
|
|
3628
3628
|
}
|
|
3629
3629
|
function yo(e, t, n) {
|
|
@@ -3635,7 +3635,7 @@ function wo(e, t, n) {
|
|
|
3635
3635
|
}), gc(e);
|
|
3636
3636
|
}
|
|
3637
3637
|
function vc(e) {
|
|
3638
|
-
if (!e._iL &&
|
|
3638
|
+
if (!e._iL && Cr(e)) {
|
|
3639
3639
|
var t = function(o) {
|
|
3640
3640
|
e._addEL[o.type].forEach(function(r) {
|
|
3641
3641
|
var s = 1e5, a = r.time - s;
|
|
@@ -3648,7 +3648,7 @@ function vc(e) {
|
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
3650
3650
|
function gc(e) {
|
|
3651
|
-
if (e._iL && !
|
|
3651
|
+
if (e._iL && !Cr(e)) {
|
|
3652
3652
|
e._iL = !1;
|
|
3653
3653
|
var t = e.method.microSeconds();
|
|
3654
3654
|
e.method.onMessage(e._state, null, t);
|
|
@@ -3712,7 +3712,7 @@ function He(e) {
|
|
|
3712
3712
|
}
|
|
3713
3713
|
return `"${n === 0 ? e : t + e.slice(n)}"`;
|
|
3714
3714
|
}
|
|
3715
|
-
const Vn = -1,
|
|
3715
|
+
const Vn = -1, Pr = -2, Ir = -3, Dr = -4, Vr = -5, An = -6;
|
|
3716
3716
|
function _o(e, t) {
|
|
3717
3717
|
return Ec(JSON.parse(e));
|
|
3718
3718
|
}
|
|
@@ -3777,7 +3777,7 @@ function Ec(e, t) {
|
|
|
3777
3777
|
o[s] = c;
|
|
3778
3778
|
for (let l = 0; l < i.length; l += 1) {
|
|
3779
3779
|
const p = i[l];
|
|
3780
|
-
p !==
|
|
3780
|
+
p !== Pr && (c[l] = r(p));
|
|
3781
3781
|
}
|
|
3782
3782
|
}
|
|
3783
3783
|
else {
|
|
@@ -3837,7 +3837,7 @@ function Eo(e, t) {
|
|
|
3837
3837
|
case "Array":
|
|
3838
3838
|
u = "[";
|
|
3839
3839
|
for (let h = 0; h < l.length; h += 1)
|
|
3840
|
-
h > 0 && (u += ","), h in l ? (s.push(`[${h}]`), u += i(l[h]), s.pop()) : u +=
|
|
3840
|
+
h > 0 && (u += ","), h in l ? (s.push(`[${h}]`), u += i(l[h]), s.pop()) : u += Pr;
|
|
3841
3841
|
u += "]";
|
|
3842
3842
|
break;
|
|
3843
3843
|
case "Set":
|
|
@@ -3953,7 +3953,7 @@ function Zt(e, t) {
|
|
|
3953
3953
|
* @license MIT
|
|
3954
3954
|
*/
|
|
3955
3955
|
let ot;
|
|
3956
|
-
const At = (e) => ot = e,
|
|
3956
|
+
const At = (e) => ot = e, Cc = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
3957
3957
|
/* istanbul ignore next */
|
|
3958
3958
|
Symbol()
|
|
3959
3959
|
);
|
|
@@ -3990,7 +3990,7 @@ function Ue(e, ...t) {
|
|
|
3990
3990
|
n(...t);
|
|
3991
3991
|
});
|
|
3992
3992
|
}
|
|
3993
|
-
const
|
|
3993
|
+
const Pc = (e) => e(), $o = Symbol(), en = Symbol();
|
|
3994
3994
|
function hn(e, t) {
|
|
3995
3995
|
e instanceof Map && t instanceof Map ? t.forEach((n, o) => e.set(o, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
3996
3996
|
for (const n in t) {
|
|
@@ -4019,8 +4019,8 @@ function Oo(e, t, n, o) {
|
|
|
4019
4019
|
!i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
|
|
4020
4020
|
const p = process.env.NODE_ENV !== "production" && o ? (
|
|
4021
4021
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
4022
|
-
|
|
4023
|
-
) :
|
|
4022
|
+
Ct(C(r ? r() : {}).value)
|
|
4023
|
+
) : Ct(n.state.value[e]);
|
|
4024
4024
|
return ne(p, s, Object.keys(a || {}).reduce((u, d) => (process.env.NODE_ENV !== "production" && d in p && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${d}" in store "${e}".`), u[d] = re(B(() => {
|
|
4025
4025
|
At(n);
|
|
4026
4026
|
const f = n._s.get(e);
|
|
@@ -4136,7 +4136,7 @@ function mn(e, t, n = {}, o, r, s) {
|
|
|
4136
4136
|
// setupStore
|
|
4137
4137
|
) : P);
|
|
4138
4138
|
o._s.set(e, g);
|
|
4139
|
-
const b = (o._a && o._a.runWithContext ||
|
|
4139
|
+
const b = (o._a && o._a.runWithContext || Pc)(() => o._e.run(() => (a = bn()).run(() => t({ action: F }))));
|
|
4140
4140
|
for (const m in b) {
|
|
4141
4141
|
const w = b[m];
|
|
4142
4142
|
if (de(w) && !No(w) || Xe(w))
|
|
@@ -4231,7 +4231,7 @@ function Vc(e, t, n) {
|
|
|
4231
4231
|
const l = Ro();
|
|
4232
4232
|
if (i = // in test mode, ignore the argument provided as we can always retrieve a
|
|
4233
4233
|
// pinia instance with getActivePinia()
|
|
4234
|
-
(process.env.NODE_ENV === "test" && ot && ot._testing ? null : i) || (l ? Oe(
|
|
4234
|
+
(process.env.NODE_ENV === "test" && ot && ot._testing ? null : i) || (l ? Oe(Cc, null) : null), i && At(i), process.env.NODE_ENV !== "production" && !ot)
|
|
4235
4235
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
4236
4236
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
4237
4237
|
This will fail in production.`);
|
|
@@ -4449,7 +4449,7 @@ const we = (e) => {
|
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
4451
4451
|
return o && (!be(o) || !we(o)) ? Rn(o) : o;
|
|
4452
|
-
},
|
|
4452
|
+
}, Co = (e) => {
|
|
4453
4453
|
const t = e.target;
|
|
4454
4454
|
return Ln(t);
|
|
4455
4455
|
}, Ln = (e) => {
|
|
@@ -4462,7 +4462,7 @@ const we = (e) => {
|
|
|
4462
4462
|
n = o == null ? void 0 : o.lastElementChild;
|
|
4463
4463
|
}
|
|
4464
4464
|
return n && (!be(n) || !we(n)) ? Ln(n) : n;
|
|
4465
|
-
},
|
|
4465
|
+
}, Po = (e) => {
|
|
4466
4466
|
const t = e.target;
|
|
4467
4467
|
return Mn(t);
|
|
4468
4468
|
}, Mn = (e) => {
|
|
@@ -4496,11 +4496,11 @@ const we = (e) => {
|
|
|
4496
4496
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
4497
4497
|
},
|
|
4498
4498
|
"keydown.left": (e) => {
|
|
4499
|
-
const t =
|
|
4499
|
+
const t = Co(e);
|
|
4500
4500
|
e.preventDefault(), e.stopPropagation(), t && t.focus();
|
|
4501
4501
|
},
|
|
4502
4502
|
"keydown.right": (e) => {
|
|
4503
|
-
const t =
|
|
4503
|
+
const t = Po(e);
|
|
4504
4504
|
e.preventDefault(), e.stopPropagation(), t && t.focus();
|
|
4505
4505
|
},
|
|
4506
4506
|
"keydown.control.up": (e) => {
|
|
@@ -4542,11 +4542,11 @@ const we = (e) => {
|
|
|
4542
4542
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
4543
4543
|
},
|
|
4544
4544
|
"keydown.tab": (e) => {
|
|
4545
|
-
const t =
|
|
4545
|
+
const t = Po(e);
|
|
4546
4546
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
4547
4547
|
},
|
|
4548
4548
|
"keydown.shift.tab": (e) => {
|
|
4549
|
-
const t =
|
|
4549
|
+
const t = Co(e);
|
|
4550
4550
|
t && (e.preventDefault(), e.stopPropagation(), t.focus());
|
|
4551
4551
|
}
|
|
4552
4552
|
};
|
|
@@ -4777,7 +4777,14 @@ const sl = (e) => {
|
|
|
4777
4777
|
pinned: { type: Boolean }
|
|
4778
4778
|
},
|
|
4779
4779
|
setup(e) {
|
|
4780
|
-
const t = jt("cell"), { bottom: n, left: o } = rl(t), r = e.store.getCellData(e.colIndex, e.rowIndex), s = e.store.getCellDisplayValue(e.colIndex, e.rowIndex), a = C(""), i = C(!1), c = e.store.columns[e.colIndex], l = e.store.rows[e.rowIndex], p = c.align || "center", u = c.width || "40ch"
|
|
4780
|
+
const t = jt("cell"), { bottom: n, left: o } = rl(t), r = e.store.getCellData(e.colIndex, e.rowIndex), s = C(e.store.getCellDisplayValue(e.colIndex, e.rowIndex)), a = C(""), i = C(!1), c = e.store.columns[e.colIndex], l = e.store.rows[e.rowIndex], p = c.align || "center", u = c.width || "40ch";
|
|
4781
|
+
J(
|
|
4782
|
+
() => e.store.getCellData(e.colIndex, e.rowIndex),
|
|
4783
|
+
(_) => {
|
|
4784
|
+
s.value = e.store.getFormattedValue(e.colIndex, e.rowIndex, _);
|
|
4785
|
+
}
|
|
4786
|
+
);
|
|
4787
|
+
const d = B(() => typeof s.value == "string" ? sl(s.value) : !1), f = B(() => {
|
|
4781
4788
|
var _;
|
|
4782
4789
|
return {
|
|
4783
4790
|
textAlign: p,
|
|
@@ -4833,11 +4840,11 @@ const sl = (e) => {
|
|
|
4833
4840
|
}, [
|
|
4834
4841
|
S(c).cellComponent ? (A(), Ie(yn(S(c).cellComponent), wn({
|
|
4835
4842
|
key: 0,
|
|
4836
|
-
value:
|
|
4843
|
+
value: s.value
|
|
4837
4844
|
}, S(c).cellComponentProps), null, 16, ["value"])) : d.value ? (A(), M("span", {
|
|
4838
4845
|
key: 1,
|
|
4839
|
-
innerHTML:
|
|
4840
|
-
}, null, 8, il)) : (A(), M("span", cl, ve(
|
|
4846
|
+
innerHTML: s.value
|
|
4847
|
+
}, null, 8, il)) : (A(), M("span", cl, ve(s.value), 1))
|
|
4841
4848
|
], 46, al));
|
|
4842
4849
|
}
|
|
4843
4850
|
}), ul = ["tabindex"], dl = /* @__PURE__ */ ae({
|
|
@@ -5235,7 +5242,7 @@ const vl = {
|
|
|
5235
5242
|
style: le({ width: S(a).config.fullWidth ? "100%" : "auto" })
|
|
5236
5243
|
}, [
|
|
5237
5244
|
ke(c.$slots, "header", { data: S(a) }, () => [
|
|
5238
|
-
|
|
5245
|
+
Pt(yl, {
|
|
5239
5246
|
columns: S(a).columns,
|
|
5240
5247
|
store: S(a)
|
|
5241
5248
|
}, null, 8, ["columns", "store"])
|
|
@@ -5271,7 +5278,7 @@ const vl = {
|
|
|
5271
5278
|
]),
|
|
5272
5279
|
ke(c.$slots, "footer", { data: S(a) }, void 0, !0),
|
|
5273
5280
|
ke(c.$slots, "modal", { data: S(a) }, () => [
|
|
5274
|
-
lt(
|
|
5281
|
+
lt(Pt(wl, {
|
|
5275
5282
|
colIndex: S(a).modal.colIndex,
|
|
5276
5283
|
rowIndex: S(a).modal.rowIndex,
|
|
5277
5284
|
store: S(a),
|
|
@@ -5324,7 +5331,7 @@ const vl = {
|
|
|
5324
5331
|
viewBox: "0 0 424.098 424.098",
|
|
5325
5332
|
style: { "enable-background": "new 0 0 424.098 424.098" },
|
|
5326
5333
|
"xml:space": "preserve"
|
|
5327
|
-
}, Sl = { tabindex: "0" },
|
|
5334
|
+
}, Sl = { tabindex: "0" }, Cl = { style: { width: "11pt" } }, Pl = /* @__PURE__ */ ae({
|
|
5328
5335
|
__name: "SheetNav",
|
|
5329
5336
|
props: {
|
|
5330
5337
|
breadcrumbs: { default: () => [] }
|
|
@@ -5363,7 +5370,7 @@ const vl = {
|
|
|
5363
5370
|
onKeydown: gt(p, ["enter"]),
|
|
5364
5371
|
style: le({ display: t.value ? "block" : "none" })
|
|
5365
5372
|
}, [
|
|
5366
|
-
|
|
5373
|
+
Pt(f, {
|
|
5367
5374
|
to: "/home",
|
|
5368
5375
|
tabindex: "0"
|
|
5369
5376
|
}, {
|
|
@@ -5398,7 +5405,7 @@ const vl = {
|
|
|
5398
5405
|
U("span", {
|
|
5399
5406
|
style: le({ display: n.value ? "none" : "block" })
|
|
5400
5407
|
}, [
|
|
5401
|
-
(A(), M("svg",
|
|
5408
|
+
(A(), M("svg", Cl, d[6] || (d[6] = [
|
|
5402
5409
|
U("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
|
|
5403
5410
|
U("path", {
|
|
5404
5411
|
d: "M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",
|
|
@@ -5426,7 +5433,7 @@ const vl = {
|
|
|
5426
5433
|
key: h.title,
|
|
5427
5434
|
style: le({ display: t.value ? "block" : "none" })
|
|
5428
5435
|
}, [
|
|
5429
|
-
|
|
5436
|
+
Pt(f, {
|
|
5430
5437
|
tabindex: "0",
|
|
5431
5438
|
to: h.to
|
|
5432
5439
|
}, {
|
|
@@ -5440,7 +5447,7 @@ const vl = {
|
|
|
5440
5447
|
]);
|
|
5441
5448
|
};
|
|
5442
5449
|
}
|
|
5443
|
-
}), Il = /* @__PURE__ */ En(
|
|
5450
|
+
}), Il = /* @__PURE__ */ En(Pl, [["__scopeId", "data-v-a650f215"]]), Al = {
|
|
5444
5451
|
install: (e) => {
|
|
5445
5452
|
e.component("ActionSet", ls), e.component("CommandPalette", ps), e.component("Doctype", xc), e.component("Records", $l), e.component("SheetNav", Il);
|
|
5446
5453
|
}
|