@arbocollab/arbo-plugin-item-table 0.1.44 → 0.1.45
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 +16 -11
- package/lib/umd/index.umd.js +59 -59
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -19764,8 +19764,8 @@ const eM = (e) => {
|
|
|
19764
19764
|
return !1;
|
|
19765
19765
|
}, a9 = (e, t) => {
|
|
19766
19766
|
var i;
|
|
19767
|
-
const n = Sn.getInstance().getItem("ws.terminology");
|
|
19768
|
-
return ` ${((i =
|
|
19767
|
+
const n = Sn.getInstance().getItem("ws.terminology"), o = n ? JSON.parse(n) : null;
|
|
19768
|
+
return ` ${((i = o == null ? void 0 : o.find((r) => r.code === "scene")) == null ? void 0 : i.name) || "Scene"} ${t}`.trim();
|
|
19769
19769
|
};
|
|
19770
19770
|
/*! js-cookie v3.0.5 | MIT */
|
|
19771
19771
|
function ig(e) {
|
|
@@ -24830,12 +24830,14 @@ const gy = /* @__PURE__ */ _u("permissionStore", () => {
|
|
|
24830
24830
|
update: Go({ type: "update", config: r.value }).url,
|
|
24831
24831
|
scene_hub: Go({ type: "scene_hub", config: r.value }).url
|
|
24832
24832
|
})), u = (J, Y) => {
|
|
24833
|
-
const ie = J
|
|
24834
|
-
if (ne)
|
|
24835
|
-
if (
|
|
24836
|
-
|
|
24837
|
-
|
|
24838
|
-
|
|
24833
|
+
const ie = J.metaKey || J.ctrlKey, ne = l.value[Y] || "";
|
|
24834
|
+
if (ne) {
|
|
24835
|
+
if (Y === "scene_hub") {
|
|
24836
|
+
if (ie) {
|
|
24837
|
+
window.open(ne, "_blank");
|
|
24838
|
+
return;
|
|
24839
|
+
}
|
|
24840
|
+
if (!o) {
|
|
24839
24841
|
console.error("Switch instance not found.", {
|
|
24840
24842
|
openSceneHub: o,
|
|
24841
24843
|
windowFunc: globalThis.window.$switchInstance
|
|
@@ -24843,7 +24845,10 @@ const gy = /* @__PURE__ */ _u("permissionStore", () => {
|
|
|
24843
24845
|
return;
|
|
24844
24846
|
}
|
|
24845
24847
|
o(r.value.scene_id || "");
|
|
24848
|
+
return;
|
|
24846
24849
|
}
|
|
24850
|
+
ie ? window.open(ne, "_blank") : window.location.href = ne;
|
|
24851
|
+
}
|
|
24847
24852
|
}, c = async (J, Y) => {
|
|
24848
24853
|
var ie;
|
|
24849
24854
|
try {
|
|
@@ -86120,8 +86125,8 @@ const SRe = {
|
|
|
86120
86125
|
A.value = Oe || [], ie({}, !0);
|
|
86121
86126
|
}, Au = K(() => {
|
|
86122
86127
|
var qt;
|
|
86123
|
-
const Oe = Sn.getInstance().getItem("ws.terminology");
|
|
86124
|
-
return `New ${((qt =
|
|
86128
|
+
const Oe = Sn.getInstance().getItem("ws.terminology"), Ke = Oe ? JSON.parse(Oe) : null;
|
|
86129
|
+
return `New ${((qt = Ke == null ? void 0 : Ke.find((Yo) => Yo.code === "scene")) == null ? void 0 : qt.name) || "Scene"}`;
|
|
86125
86130
|
});
|
|
86126
86131
|
return (Oe, Ke) => {
|
|
86127
86132
|
const tn = Os("focusable");
|
|
@@ -86316,7 +86321,7 @@ const SRe = {
|
|
|
86316
86321
|
"beta-tag": "_beta-tag_1sow5_56"
|
|
86317
86322
|
}, zRe = {
|
|
86318
86323
|
$style: WRe
|
|
86319
|
-
}, jRe = /* @__PURE__ */ _t(VRe, [["__cssModules", zRe]]), WB = "0.1.
|
|
86324
|
+
}, jRe = /* @__PURE__ */ _t(VRe, [["__cssModules", zRe]]), WB = "0.1.45", KRe = { key: 0 }, qRe = /* @__PURE__ */ pt({
|
|
86320
86325
|
__name: "app",
|
|
86321
86326
|
setup(e) {
|
|
86322
86327
|
const t = K(() => n.id.length === 0 || n.workspaceId.length === 0), n = si({
|