@stonecrop/desktop 0.3.4 → 0.3.5
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 +7 -1
- 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
|
@@ -1269,7 +1269,13 @@ const Qs = /* @__PURE__ */ Ys("data", () => {
|
|
|
1269
1269
|
});
|
|
1270
1270
|
function Zo(e) {
|
|
1271
1271
|
e || (e = Ne("$registry"));
|
|
1272
|
-
|
|
1272
|
+
let t;
|
|
1273
|
+
try {
|
|
1274
|
+
t = Qs();
|
|
1275
|
+
} catch {
|
|
1276
|
+
throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable");
|
|
1277
|
+
}
|
|
1278
|
+
const n = C(new ws(e, t)), o = C(!1);
|
|
1273
1279
|
return zr(async () => {
|
|
1274
1280
|
var r, s;
|
|
1275
1281
|
const a = e.router.currentRoute.value, i = (r = a.params.records) == null ? void 0 : r.toString().toLowerCase(), l = (s = a.params.record) == null ? void 0 : s.toString().toLowerCase();
|