@stonecrop/desktop 0.8.2 → 0.8.4
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 +70 -71
- package/dist/desktop.js.map +1 -1
- package/dist/desktop.umd.cjs +3 -3
- package/dist/desktop.umd.cjs.map +1 -1
- package/package.json +7 -7
package/dist/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Se, ref as C, onMounted as xe,
|
|
1
|
+
import { defineComponent as Se, ref as C, onMounted as xe, openBlock as j, createElementBlock as F, normalizeClass as Ne, createElementVNode as T, Fragment as ue, renderList as be, toDisplayString as ee, createCommentVNode as ce, withDirectives as Re, vShow as ze, useTemplateRef as vt, computed as I, watch as H, nextTick as re, createBlock as Qe, Teleport as At, createVNode as ae, Transition as It, withCtx as we, withModifiers as ft, vModelText as ht, renderSlot as Me, createTextVNode as Ce, inject as Je, provide as Ge, reactive as gt, toRaw as mt, isRef as de, isReactive as Pe, toRef as ne, hasInjectionContext as Tt, getCurrentInstance as yt, markRaw as fe, effectScope as xt, getCurrentScope as Xe, onScopeDispose as Ye, toRefs as ot, shallowRef as $e, toValue as X, readonly as Ve, customRef as et, unref as De, useModel as Pt, watchEffect as Ee, resolveComponent as bt, resolveDynamicComponent as Vt, mergeProps as Mt, mergeModels as at, withKeys as ve, normalizeStyle as je } from "vue";
|
|
2
2
|
const jt = { class: "action-menu-icon" }, Ft = ["disabled", "onClick"], Lt = { key: 1 }, Bt = ["onClick"], Ht = { class: "dropdown-container" }, Ut = { class: "dropdown" }, Wt = ["onClick"], Kt = ["href"], zt = { class: "dropdown-item" }, Jt = /* @__PURE__ */ Se({
|
|
3
3
|
__name: "ActionSet",
|
|
4
4
|
props: {
|
|
@@ -588,18 +588,17 @@ function mo(t, e, o = {}) {
|
|
|
588
588
|
isActive: u
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
|
-
|
|
592
|
-
function bo(t, e = !0, o) {
|
|
591
|
+
function yo(t, e = !0, o) {
|
|
593
592
|
ho() ? xe(t, o) : e ? t() : re(t);
|
|
594
593
|
}
|
|
595
|
-
function
|
|
594
|
+
function bo(t, e, o) {
|
|
596
595
|
return H(t, e, {
|
|
597
596
|
...o,
|
|
598
597
|
immediate: !0
|
|
599
598
|
});
|
|
600
599
|
}
|
|
601
600
|
const Ie = io ? window : void 0;
|
|
602
|
-
function
|
|
601
|
+
function wo(t) {
|
|
603
602
|
var e;
|
|
604
603
|
const o = X(t);
|
|
605
604
|
return (e = o?.$el) !== null && e !== void 0 ? e : o;
|
|
@@ -609,10 +608,10 @@ function lt(...t) {
|
|
|
609
608
|
const a = Le(X(t[0])).filter((n) => n != null);
|
|
610
609
|
return a.every((n) => typeof n != "string") ? a : void 0;
|
|
611
610
|
});
|
|
612
|
-
return
|
|
611
|
+
return bo(() => {
|
|
613
612
|
var a, n;
|
|
614
613
|
return [
|
|
615
|
-
(a = (n = o.value) === null || n === void 0 ? void 0 : n.map((i) =>
|
|
614
|
+
(a = (n = o.value) === null || n === void 0 ? void 0 : n.map((i) => wo(i))) !== null && a !== void 0 ? a : [Ie].filter((i) => i != null),
|
|
616
615
|
Le(X(o.value ? t[1] : t[0])),
|
|
617
616
|
Le(De(o.value ? t[2] : t[1])),
|
|
618
617
|
X(o.value ? t[3] : t[2])
|
|
@@ -625,17 +624,17 @@ function lt(...t) {
|
|
|
625
624
|
});
|
|
626
625
|
}, { flush: "post" });
|
|
627
626
|
}
|
|
628
|
-
const _e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ke = "__vueuse_ssr_handlers__",
|
|
629
|
-
function
|
|
627
|
+
const _e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ke = "__vueuse_ssr_handlers__", So = /* @__PURE__ */ $o();
|
|
628
|
+
function $o() {
|
|
630
629
|
return ke in _e || (_e[ke] = _e[ke] || {}), _e[ke];
|
|
631
630
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
631
|
+
function Eo(t, e) {
|
|
632
|
+
return So[t] || e;
|
|
634
633
|
}
|
|
635
|
-
function
|
|
634
|
+
function _o(t) {
|
|
636
635
|
return t == null ? "any" : t instanceof Set ? "set" : t instanceof Map ? "map" : t instanceof Date ? "date" : typeof t == "boolean" ? "boolean" : typeof t == "string" ? "string" : typeof t == "object" ? "object" : Number.isNaN(t) ? "any" : "number";
|
|
637
636
|
}
|
|
638
|
-
const
|
|
637
|
+
const ko = {
|
|
639
638
|
boolean: {
|
|
640
639
|
read: (t) => t === "true",
|
|
641
640
|
write: (t) => String(t)
|
|
@@ -669,18 +668,18 @@ const Oo = {
|
|
|
669
668
|
write: (t) => t.toISOString()
|
|
670
669
|
}
|
|
671
670
|
}, ct = "vueuse-storage";
|
|
672
|
-
function
|
|
671
|
+
function Oo(t, e, o, a = {}) {
|
|
673
672
|
var n;
|
|
674
673
|
const { flush: i = "pre", deep: r = !0, listenToStorageChanges: c = !0, writeDefaults: s = !0, mergeDefaults: u = !1, shallow: p, window: h = Ie, eventFilter: b, onError: O = (D) => {
|
|
675
674
|
console.error(D);
|
|
676
675
|
}, initOnMounted: k } = a, N = (p ? $e : C)(e), V = I(() => X(t));
|
|
677
676
|
if (!o) try {
|
|
678
|
-
o =
|
|
677
|
+
o = Eo("getDefaultStorage", () => Ie?.localStorage)();
|
|
679
678
|
} catch (D) {
|
|
680
679
|
O(D);
|
|
681
680
|
}
|
|
682
681
|
if (!o) return N;
|
|
683
|
-
const M = X(e), x =
|
|
682
|
+
const M = X(e), x = _o(M), W = (n = a.serializer) !== null && n !== void 0 ? n : ko[x], { pause: Z, resume: J } = mo(N, (D) => g(D), {
|
|
684
683
|
flush: i,
|
|
685
684
|
deep: r,
|
|
686
685
|
eventFilter: b
|
|
@@ -692,7 +691,7 @@ function Do(t, e, o, a = {}) {
|
|
|
692
691
|
}, U = (D) => {
|
|
693
692
|
k && !K || G(D);
|
|
694
693
|
};
|
|
695
|
-
h && c && (o instanceof Storage ? lt(h, "storage", E, { passive: !0 }) : lt(h, ct, U)), k ?
|
|
694
|
+
h && c && (o instanceof Storage ? lt(h, "storage", E, { passive: !0 }) : lt(h, ct, U)), k ? yo(() => {
|
|
696
695
|
K = !0, L();
|
|
697
696
|
}) : L();
|
|
698
697
|
function m(D, P) {
|
|
@@ -755,9 +754,9 @@ function Do(t, e, o, a = {}) {
|
|
|
755
754
|
}
|
|
756
755
|
return N;
|
|
757
756
|
}
|
|
758
|
-
function
|
|
757
|
+
function Do(t, e, o = {}) {
|
|
759
758
|
const { window: a = Ie } = o;
|
|
760
|
-
return
|
|
759
|
+
return Oo(t, e, a?.localStorage, o);
|
|
761
760
|
}
|
|
762
761
|
function Be() {
|
|
763
762
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
|
|
@@ -776,7 +775,7 @@ function Oe(t) {
|
|
|
776
775
|
timestamp: o.timestamp.toISOString()
|
|
777
776
|
}))), e;
|
|
778
777
|
}
|
|
779
|
-
function
|
|
778
|
+
function No(t) {
|
|
780
779
|
const e = {
|
|
781
780
|
type: t.type,
|
|
782
781
|
clientId: t.clientId,
|
|
@@ -946,7 +945,7 @@ const Ot = /* @__PURE__ */ ro("hst-operation-log", () => {
|
|
|
946
945
|
typeof window > "u" || !window.BroadcastChannel || (g = new BroadcastChannel("stonecrop-operation-log"), g.addEventListener("message", (v) => {
|
|
947
946
|
const f = v.data;
|
|
948
947
|
if (!f || typeof f != "object") return;
|
|
949
|
-
const y =
|
|
948
|
+
const y = No(f);
|
|
950
949
|
y.clientId !== a.value && (y.type === "operation" && y.operation ? (e.value.push({ ...y.operation, source: "sync" }), o.value = e.value.length - 1) : y.type === "operation" && y.operations && (e.value.push(...y.operations.map((l) => ({ ...l, source: "sync" }))), o.value = e.value.length - 1));
|
|
951
950
|
}));
|
|
952
951
|
}
|
|
@@ -990,7 +989,7 @@ const Ot = /* @__PURE__ */ ro("hst-operation-log", () => {
|
|
|
990
989
|
};
|
|
991
990
|
g.postMessage(Oe(f));
|
|
992
991
|
}
|
|
993
|
-
const B =
|
|
992
|
+
const B = Do("stonecrop-ops-operations", null, {
|
|
994
993
|
serializer: {
|
|
995
994
|
read: (v) => {
|
|
996
995
|
try {
|
|
@@ -1687,10 +1686,10 @@ class Te {
|
|
|
1687
1686
|
return e ? e.replace(/\[(\d+)\]/g, ".$1").split(".").filter((o) => o.length > 0) : [];
|
|
1688
1687
|
}
|
|
1689
1688
|
}
|
|
1690
|
-
function
|
|
1689
|
+
function Ro(t, e, o) {
|
|
1691
1690
|
return new Te(t, e, "", null, o);
|
|
1692
1691
|
}
|
|
1693
|
-
class
|
|
1692
|
+
class Co {
|
|
1694
1693
|
hstStore;
|
|
1695
1694
|
_operationLogStore;
|
|
1696
1695
|
_operationLogConfig;
|
|
@@ -1718,7 +1717,7 @@ class Ao {
|
|
|
1718
1717
|
const e = {};
|
|
1719
1718
|
Object.keys(this.registry.registry).forEach((o) => {
|
|
1720
1719
|
e[o] = {};
|
|
1721
|
-
}), this.hstStore =
|
|
1720
|
+
}), this.hstStore = Ro(gt(e), "StonecropStore");
|
|
1722
1721
|
}
|
|
1723
1722
|
/**
|
|
1724
1723
|
* Setup automatic sync with Registry when doctypes are added
|
|
@@ -1862,7 +1861,7 @@ class Ao {
|
|
|
1862
1861
|
return this.hstStore;
|
|
1863
1862
|
}
|
|
1864
1863
|
}
|
|
1865
|
-
function
|
|
1864
|
+
function Ao(t) {
|
|
1866
1865
|
t || (t = {});
|
|
1867
1866
|
const e = t.registry || Je("$registry"), o = Je("$stonecrop"), a = C(), n = C(), i = C({}), r = C(), c = C(), s = C([]);
|
|
1868
1867
|
if (t.doctype && e) {
|
|
@@ -1896,7 +1895,7 @@ function Io(t) {
|
|
|
1896
1895
|
};
|
|
1897
1896
|
xe(async () => {
|
|
1898
1897
|
if (e) {
|
|
1899
|
-
a.value = o || new
|
|
1898
|
+
a.value = o || new Co(e);
|
|
1900
1899
|
try {
|
|
1901
1900
|
const w = a.value.getOperationLogStore(), $ = so(w);
|
|
1902
1901
|
u.value = $.operations.value, p.value = $.currentIndex.value, H(
|
|
@@ -1989,7 +1988,7 @@ function Io(t) {
|
|
|
1989
1988
|
}
|
|
1990
1989
|
n.value.set(w.path, w.value);
|
|
1991
1990
|
const v = w.fieldname.split("."), f = { ...i.value };
|
|
1992
|
-
v.length === 1 ? f[v[0]] = w.value :
|
|
1991
|
+
v.length === 1 ? f[v[0]] = w.value : Io(f, v, w.value), i.value = f;
|
|
1993
1992
|
} catch {
|
|
1994
1993
|
}
|
|
1995
1994
|
};
|
|
@@ -2114,7 +2113,7 @@ function pt(t, e, o, a) {
|
|
|
2114
2113
|
{ deep: !0 }
|
|
2115
2114
|
);
|
|
2116
2115
|
}
|
|
2117
|
-
function
|
|
2116
|
+
function Io(t, e, o) {
|
|
2118
2117
|
let a = t;
|
|
2119
2118
|
for (let i = 0; i < e.length - 1; i++) {
|
|
2120
2119
|
const r = e[i];
|
|
@@ -2134,28 +2133,28 @@ function Dt(t, e, o) {
|
|
|
2134
2133
|
return a;
|
|
2135
2134
|
}
|
|
2136
2135
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2137
|
-
function
|
|
2136
|
+
function To(t, e) {
|
|
2138
2137
|
return Xe() ? (Ye(t, e), !0) : !1;
|
|
2139
2138
|
}
|
|
2140
2139
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2141
|
-
const
|
|
2140
|
+
const xo = () => {
|
|
2142
2141
|
};
|
|
2143
|
-
function
|
|
2142
|
+
function Po(...t) {
|
|
2144
2143
|
if (t.length !== 1) return ne(...t);
|
|
2145
2144
|
const e = t[0];
|
|
2146
2145
|
return typeof e == "function" ? Ve(et(() => ({
|
|
2147
2146
|
get: e,
|
|
2148
|
-
set:
|
|
2147
|
+
set: xo
|
|
2149
2148
|
}))) : C(e);
|
|
2150
2149
|
}
|
|
2151
2150
|
function He(t) {
|
|
2152
2151
|
return typeof Window < "u" && t instanceof Window ? t.document.documentElement : typeof Document < "u" && t instanceof Document ? t.documentElement : t;
|
|
2153
2152
|
}
|
|
2154
2153
|
const Ue = /* @__PURE__ */ new WeakMap();
|
|
2155
|
-
function
|
|
2154
|
+
function Vo(t, e = !1) {
|
|
2156
2155
|
const o = $e(e);
|
|
2157
2156
|
let a = "";
|
|
2158
|
-
H(
|
|
2157
|
+
H(Po(t), (r) => {
|
|
2159
2158
|
const c = He(X(r));
|
|
2160
2159
|
if (c) {
|
|
2161
2160
|
const s = c;
|
|
@@ -2170,7 +2169,7 @@ function Mo(t, e = !1) {
|
|
|
2170
2169
|
const r = He(X(t));
|
|
2171
2170
|
!r || !o.value || (r.style.overflow = a, Ue.delete(r), o.value = !1);
|
|
2172
2171
|
};
|
|
2173
|
-
return
|
|
2172
|
+
return To(i), I({
|
|
2174
2173
|
get() {
|
|
2175
2174
|
return o.value;
|
|
2176
2175
|
},
|
|
@@ -2179,45 +2178,45 @@ function Mo(t, e = !1) {
|
|
|
2179
2178
|
}
|
|
2180
2179
|
});
|
|
2181
2180
|
}
|
|
2182
|
-
function
|
|
2181
|
+
function Mo() {
|
|
2183
2182
|
let t = !1;
|
|
2184
2183
|
const e = $e(!1);
|
|
2185
2184
|
return (o, a) => {
|
|
2186
2185
|
if (e.value = a.value, t) return;
|
|
2187
2186
|
t = !0;
|
|
2188
|
-
const n =
|
|
2187
|
+
const n = Vo(o, a.value);
|
|
2189
2188
|
H(e, (i) => n.value = i);
|
|
2190
2189
|
};
|
|
2191
2190
|
}
|
|
2192
|
-
|
|
2193
|
-
const
|
|
2191
|
+
Mo();
|
|
2192
|
+
const jo = (t, e) => {
|
|
2194
2193
|
const o = t.__vccOpts || t;
|
|
2195
2194
|
for (const [a, n] of e)
|
|
2196
2195
|
o[a] = n;
|
|
2197
2196
|
return o;
|
|
2198
2197
|
};
|
|
2199
|
-
function
|
|
2198
|
+
function Fo(t, e) {
|
|
2200
2199
|
return Xe() ? (Ye(t, e), !0) : !1;
|
|
2201
2200
|
}
|
|
2202
2201
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2203
|
-
const
|
|
2202
|
+
const Lo = () => {
|
|
2204
2203
|
};
|
|
2205
|
-
function
|
|
2204
|
+
function Bo(...t) {
|
|
2206
2205
|
if (t.length !== 1) return ne(...t);
|
|
2207
2206
|
const e = t[0];
|
|
2208
2207
|
return typeof e == "function" ? Ve(et(() => ({
|
|
2209
2208
|
get: e,
|
|
2210
|
-
set:
|
|
2209
|
+
set: Lo
|
|
2211
2210
|
}))) : C(e);
|
|
2212
2211
|
}
|
|
2213
2212
|
function We(t) {
|
|
2214
2213
|
return typeof Window < "u" && t instanceof Window ? t.document.documentElement : typeof Document < "u" && t instanceof Document ? t.documentElement : t;
|
|
2215
2214
|
}
|
|
2216
2215
|
const Ke = /* @__PURE__ */ new WeakMap();
|
|
2217
|
-
function
|
|
2216
|
+
function Ho(t, e = !1) {
|
|
2218
2217
|
const o = $e(e);
|
|
2219
2218
|
let a = "";
|
|
2220
|
-
H(
|
|
2219
|
+
H(Bo(t), (r) => {
|
|
2221
2220
|
const c = We(X(r));
|
|
2222
2221
|
if (c) {
|
|
2223
2222
|
const s = c;
|
|
@@ -2232,7 +2231,7 @@ function Uo(t, e = !1) {
|
|
|
2232
2231
|
const r = We(X(t));
|
|
2233
2232
|
!r || !o.value || (r.style.overflow = a, Ke.delete(r), o.value = !1);
|
|
2234
2233
|
};
|
|
2235
|
-
return
|
|
2234
|
+
return Fo(i), I({
|
|
2236
2235
|
get() {
|
|
2237
2236
|
return o.value;
|
|
2238
2237
|
},
|
|
@@ -2241,25 +2240,25 @@ function Uo(t, e = !1) {
|
|
|
2241
2240
|
}
|
|
2242
2241
|
});
|
|
2243
2242
|
}
|
|
2244
|
-
function
|
|
2243
|
+
function Uo() {
|
|
2245
2244
|
let t = !1;
|
|
2246
2245
|
const e = $e(!1);
|
|
2247
2246
|
return (o, a) => {
|
|
2248
2247
|
if (e.value = a.value, t) return;
|
|
2249
2248
|
t = !0;
|
|
2250
|
-
const n =
|
|
2249
|
+
const n = Ho(o, a.value);
|
|
2251
2250
|
H(e, (i) => n.value = i);
|
|
2252
2251
|
};
|
|
2253
2252
|
}
|
|
2254
|
-
|
|
2253
|
+
Uo();
|
|
2255
2254
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2256
|
-
const
|
|
2255
|
+
const Wo = { class: "aform" }, Ko = {
|
|
2257
2256
|
key: 0,
|
|
2258
2257
|
class: "aform-nested-section"
|
|
2259
|
-
},
|
|
2258
|
+
}, zo = {
|
|
2260
2259
|
key: 0,
|
|
2261
2260
|
class: "aform-nested-label"
|
|
2262
|
-
},
|
|
2261
|
+
}, Jo = /* @__PURE__ */ Se({
|
|
2263
2262
|
__name: "AForm",
|
|
2264
2263
|
props: /* @__PURE__ */ at({
|
|
2265
2264
|
schema: {},
|
|
@@ -2304,10 +2303,10 @@ const Ko = { class: "aform" }, zo = {
|
|
|
2304
2303
|
const c = I(() => r.value);
|
|
2305
2304
|
return (s, u) => {
|
|
2306
2305
|
const p = bt("AForm", !0);
|
|
2307
|
-
return j(), F("form",
|
|
2306
|
+
return j(), F("form", Wo, [
|
|
2308
2307
|
(j(!0), F(ue, null, be(t.schema, (h, b) => (j(), F(ue, { key: b }, [
|
|
2309
|
-
"schema" in h && Array.isArray(h.schema) && h.schema.length > 0 ? (j(), F("div",
|
|
2310
|
-
h.label ? (j(), F("h4",
|
|
2308
|
+
"schema" in h && Array.isArray(h.schema) && h.schema.length > 0 ? (j(), F("div", Ko, [
|
|
2309
|
+
h.label ? (j(), F("h4", zo, ee(h.label), 1)) : ce("", !0),
|
|
2311
2310
|
ae(p, {
|
|
2312
2311
|
data: n.value[h.fieldname],
|
|
2313
2312
|
"onUpdate:data": (O) => n.value[h.fieldname] = O,
|
|
@@ -2326,7 +2325,7 @@ const Ko = { class: "aform" }, zo = {
|
|
|
2326
2325
|
]);
|
|
2327
2326
|
};
|
|
2328
2327
|
}
|
|
2329
|
-
}),
|
|
2328
|
+
}), Go = /* @__PURE__ */ jo(Jo, [["__scopeId", "data-v-06e17c5b"]]), qo = { class: "tabs" }, Zo = { tabindex: "0" }, Qo = { tabindex: "0" }, Xo = /* @__PURE__ */ Se({
|
|
2330
2329
|
__name: "SheetNav",
|
|
2331
2330
|
props: {
|
|
2332
2331
|
breadcrumbs: { default: () => [] }
|
|
@@ -2347,13 +2346,13 @@ const Ko = { class: "aform" }, zo = {
|
|
|
2347
2346
|
return (h, b) => {
|
|
2348
2347
|
const O = bt("router-link");
|
|
2349
2348
|
return j(), F("footer", null, [
|
|
2350
|
-
T("ul",
|
|
2349
|
+
T("ul", qo, [
|
|
2351
2350
|
T("li", {
|
|
2352
2351
|
class: "hidebreadcrumbs",
|
|
2353
2352
|
onClick: r,
|
|
2354
2353
|
onKeydown: ve(r, ["enter"])
|
|
2355
2354
|
}, [
|
|
2356
|
-
T("a",
|
|
2355
|
+
T("a", Zo, [
|
|
2357
2356
|
T("div", {
|
|
2358
2357
|
class: Ne(i.value)
|
|
2359
2358
|
}, "×", 2)
|
|
@@ -2389,7 +2388,7 @@ const Ko = { class: "aform" }, zo = {
|
|
|
2389
2388
|
class: Ne(["searchtab", { "search-active": o.value }]),
|
|
2390
2389
|
style: je({ display: e.value ? "block" : "none" })
|
|
2391
2390
|
}, [
|
|
2392
|
-
T("a",
|
|
2391
|
+
T("a", Qo, [
|
|
2393
2392
|
Re((j(), F("svg", {
|
|
2394
2393
|
class: "icon search-icon",
|
|
2395
2394
|
role: "button",
|
|
@@ -2447,19 +2446,19 @@ const Ko = { class: "aform" }, zo = {
|
|
|
2447
2446
|
]);
|
|
2448
2447
|
};
|
|
2449
2448
|
}
|
|
2450
|
-
}), Nt = /* @__PURE__ */ wt(
|
|
2449
|
+
}), Nt = /* @__PURE__ */ wt(Xo, [["__scopeId", "data-v-eb5bcbb6"]]), Yo = {
|
|
2451
2450
|
key: 1,
|
|
2452
2451
|
class: "loading"
|
|
2453
|
-
},
|
|
2452
|
+
}, ea = {
|
|
2454
2453
|
key: 2,
|
|
2455
2454
|
class: "loading"
|
|
2456
|
-
},
|
|
2455
|
+
}, ta = /* @__PURE__ */ Se({
|
|
2457
2456
|
__name: "Desktop",
|
|
2458
2457
|
props: {
|
|
2459
2458
|
availableDoctypes: { default: () => [] }
|
|
2460
2459
|
},
|
|
2461
2460
|
setup(t) {
|
|
2462
|
-
const { stonecrop: e } =
|
|
2461
|
+
const { stonecrop: e } = Ao(), o = C(!1), a = C(!1), n = C(!1), i = I({
|
|
2463
2462
|
get() {
|
|
2464
2463
|
if (!e.value || !s.value || !p.value)
|
|
2465
2464
|
return {};
|
|
@@ -3108,14 +3107,14 @@ const Ko = { class: "aform" }, zo = {
|
|
|
3108
3107
|
elements: k.value,
|
|
3109
3108
|
onActionClick: $
|
|
3110
3109
|
}, null, 8, ["elements"]),
|
|
3111
|
-
P.value.length > 0 ? (j(), Qe(De(
|
|
3110
|
+
P.value.length > 0 ? (j(), Qe(De(Go), {
|
|
3112
3111
|
key: 0,
|
|
3113
3112
|
modelValue: P.value,
|
|
3114
3113
|
"onUpdate:modelValue": d[0] || (d[0] = (S) => P.value = S),
|
|
3115
3114
|
data: i.value
|
|
3116
|
-
}, null, 8, ["modelValue", "data"])) : De(e) ? (j(), F("div",
|
|
3115
|
+
}, null, 8, ["modelValue", "data"])) : De(e) ? (j(), F("div", ea, [
|
|
3117
3116
|
T("p", null, "Loading " + ee(b.value) + " data...", 1)
|
|
3118
|
-
])) : (j(), F("div",
|
|
3117
|
+
])) : (j(), F("div", Yo, [...d[2] || (d[2] = [
|
|
3119
3118
|
T("p", null, "Initializing Stonecrop...", -1)
|
|
3120
3119
|
])])),
|
|
3121
3120
|
ae(Nt, { breadcrumbs: N.value }, null, 8, ["breadcrumbs"]),
|
|
@@ -3136,16 +3135,16 @@ const Ko = { class: "aform" }, zo = {
|
|
|
3136
3135
|
}, 8, ["is-open"])
|
|
3137
3136
|
]));
|
|
3138
3137
|
}
|
|
3139
|
-
}),
|
|
3138
|
+
}), na = {
|
|
3140
3139
|
install: (t) => {
|
|
3141
|
-
t.component("ActionSet", St), t.component("CommandPalette", $t), t.component("Desktop",
|
|
3140
|
+
t.component("ActionSet", St), t.component("CommandPalette", $t), t.component("Desktop", ta), t.component("SheetNav", Nt);
|
|
3142
3141
|
}
|
|
3143
3142
|
};
|
|
3144
3143
|
export {
|
|
3145
3144
|
St as ActionSet,
|
|
3146
3145
|
$t as CommandPalette,
|
|
3147
|
-
|
|
3146
|
+
ta as Desktop,
|
|
3148
3147
|
Nt as SheetNav,
|
|
3149
|
-
|
|
3148
|
+
na as StonecropDesktop
|
|
3150
3149
|
};
|
|
3151
3150
|
//# sourceMappingURL=desktop.js.map
|