@arbocollab/arbo-plugin-item-table 0.1.114 → 0.1.115
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 +54 -48
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +3 -3
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -42405,94 +42405,99 @@ const Iy = /* @__PURE__ */ Fu("userStore", () => {
|
|
|
42405
42405
|
tooltip: {},
|
|
42406
42406
|
__checkboxSelection: { type: Boolean }
|
|
42407
42407
|
},
|
|
42408
|
-
|
|
42409
|
-
|
|
42410
|
-
|
|
42411
|
-
|
|
42412
|
-
|
|
42413
|
-
|
|
42414
|
-
|
|
42408
|
+
emits: ["close"],
|
|
42409
|
+
setup(e, { emit: t }) {
|
|
42410
|
+
const n = Qt, o = e, s = B(null), r = B(DC);
|
|
42411
|
+
let i = null;
|
|
42412
|
+
const a = () => {
|
|
42413
|
+
i && (clearTimeout(i), i = null);
|
|
42414
|
+
}, l = async () => {
|
|
42415
|
+
const f = rM(String(o.value ?? ""));
|
|
42415
42416
|
try {
|
|
42416
|
-
await navigator.clipboard.writeText(
|
|
42417
|
-
} catch (
|
|
42418
|
-
console.error("[NotePreviewer] Failed to copy note to clipboard:",
|
|
42417
|
+
await navigator.clipboard.writeText(f), r.value = eae;
|
|
42418
|
+
} catch (p) {
|
|
42419
|
+
console.error("[NotePreviewer] Failed to copy note to clipboard:", p);
|
|
42419
42420
|
return;
|
|
42420
42421
|
}
|
|
42421
|
-
|
|
42422
|
-
|
|
42422
|
+
a(), i = setTimeout(() => {
|
|
42423
|
+
r.value = DC;
|
|
42423
42424
|
}, tae);
|
|
42424
42425
|
};
|
|
42425
42426
|
et(
|
|
42426
|
-
() =>
|
|
42427
|
-
(
|
|
42428
|
-
|
|
42427
|
+
() => o.isOpen,
|
|
42428
|
+
(f) => {
|
|
42429
|
+
f || (a(), r.value = DC);
|
|
42429
42430
|
}
|
|
42430
42431
|
);
|
|
42431
|
-
const
|
|
42432
|
-
|
|
42433
|
-
|
|
42434
|
-
|
|
42435
|
-
|
|
42436
|
-
|
|
42437
|
-
|
|
42438
|
-
|
|
42439
|
-
|
|
42440
|
-
|
|
42441
|
-
|
|
42442
|
-
|
|
42443
|
-
|
|
42444
|
-
|
|
42445
|
-
|
|
42432
|
+
const u = Id(), { switchInstanceFunc: c } = jo(u), d = t, h = () => {
|
|
42433
|
+
if (window.switchApploader)
|
|
42434
|
+
window.switchApploader(
|
|
42435
|
+
"scene_hub",
|
|
42436
|
+
{ tab: "home", id: o.sceneId || "" },
|
|
42437
|
+
{ showLoading: !1 }
|
|
42438
|
+
);
|
|
42439
|
+
else {
|
|
42440
|
+
const f = dn.getInstance().getItem("ws.code") || "", p = dn.getInstance().getItem("BASE_URL"), g = ts({
|
|
42441
|
+
type: "scene_hub",
|
|
42442
|
+
config: {
|
|
42443
|
+
baseDomain: p,
|
|
42444
|
+
ws_code: f,
|
|
42445
|
+
scene_id: String(o.sceneId)
|
|
42446
|
+
}
|
|
42447
|
+
}).url;
|
|
42448
|
+
window.open(g, "_blank");
|
|
42449
|
+
}
|
|
42450
|
+
d("close");
|
|
42446
42451
|
};
|
|
42447
|
-
return (
|
|
42448
|
-
class: J(
|
|
42452
|
+
return (f, p) => (z(), ue("div", {
|
|
42453
|
+
class: J(f.$style["note-previewer"]),
|
|
42449
42454
|
ref_key: "popupRef",
|
|
42450
|
-
ref:
|
|
42455
|
+
ref: s
|
|
42451
42456
|
}, [
|
|
42452
42457
|
be("div", {
|
|
42453
|
-
class: J(
|
|
42458
|
+
class: J(f.$style["note-preview-header"])
|
|
42454
42459
|
}, [
|
|
42455
42460
|
be("div", {
|
|
42456
|
-
class: J(
|
|
42461
|
+
class: J(f.$style["note-preview-title"])
|
|
42457
42462
|
}, "Notes", 2),
|
|
42458
42463
|
be("div", {
|
|
42459
|
-
class: J(
|
|
42464
|
+
class: J(f.$style["note-preview-actions"])
|
|
42460
42465
|
}, [
|
|
42461
42466
|
qe((z(), Ke(U(mt), {
|
|
42462
42467
|
variant: ["secondary", "icon"],
|
|
42463
42468
|
size: "small",
|
|
42464
|
-
onClick:
|
|
42469
|
+
onClick: l
|
|
42465
42470
|
}, {
|
|
42466
42471
|
default: me(() => [
|
|
42467
42472
|
fe(lt, { src: "Copy" })
|
|
42468
42473
|
]),
|
|
42469
42474
|
_: 1
|
|
42470
42475
|
})), [
|
|
42471
|
-
[U(
|
|
42472
|
-
content:
|
|
42476
|
+
[U(n), {
|
|
42477
|
+
content: r.value
|
|
42473
42478
|
}]
|
|
42474
42479
|
]),
|
|
42475
|
-
|
|
42480
|
+
o.canEdit ? qe((z(), Ke(U(mt), {
|
|
42476
42481
|
key: 0,
|
|
42477
42482
|
variant: ["secondary", "icon"],
|
|
42478
42483
|
size: "small",
|
|
42479
|
-
onClick:
|
|
42484
|
+
onClick: h
|
|
42480
42485
|
}, {
|
|
42481
42486
|
default: me(() => [
|
|
42482
42487
|
fe(lt, { src: "Pen" })
|
|
42483
42488
|
]),
|
|
42484
42489
|
_: 1
|
|
42485
42490
|
})), [
|
|
42486
|
-
[U(
|
|
42491
|
+
[U(n), "Edit"]
|
|
42487
42492
|
]) : Je("", !0)
|
|
42488
42493
|
], 2)
|
|
42489
42494
|
], 2),
|
|
42490
42495
|
be("div", {
|
|
42491
|
-
class: J(
|
|
42496
|
+
class: J(f.$style["note-preview-content"])
|
|
42492
42497
|
}, [
|
|
42493
42498
|
be("div", {
|
|
42494
|
-
class: J(
|
|
42495
|
-
innerHTML:
|
|
42499
|
+
class: J(f.$style["note-preview-text"]),
|
|
42500
|
+
innerHTML: o.value
|
|
42496
42501
|
}, null, 10, Qie)
|
|
42497
42502
|
], 2)
|
|
42498
42503
|
], 2));
|
|
@@ -42587,16 +42592,17 @@ const Iy = /* @__PURE__ */ Fu("userStore", () => {
|
|
|
42587
42592
|
ref: d
|
|
42588
42593
|
}, [
|
|
42589
42594
|
fe(rae, {
|
|
42595
|
+
onClose: U(p),
|
|
42590
42596
|
value: t.value,
|
|
42591
42597
|
"read-only": !1,
|
|
42592
42598
|
sceneId: t.id,
|
|
42593
42599
|
"is-open": U(g),
|
|
42594
42600
|
"can-edit": a.value
|
|
42595
|
-
}, null, 8, ["value", "sceneId", "is-open", "can-edit"])
|
|
42601
|
+
}, null, 8, ["onClose", "value", "sceneId", "is-open", "can-edit"])
|
|
42596
42602
|
], 512)) : Je("", !0)
|
|
42597
42603
|
], 512));
|
|
42598
42604
|
}
|
|
42599
|
-
}), lae = /* @__PURE__ */ _t(aae, [["__scopeId", "data-v-
|
|
42605
|
+
}), lae = /* @__PURE__ */ _t(aae, [["__scopeId", "data-v-2c62f42f"]]);
|
|
42600
42606
|
/*!
|
|
42601
42607
|
* shared v9.14.5
|
|
42602
42608
|
* (c) 2025 kazuya kawaguchi
|
|
@@ -87843,7 +87849,7 @@ const WDe = {
|
|
|
87843
87849
|
"beta-tag": "_beta-tag_1sow5_56"
|
|
87844
87850
|
}, iTe = {
|
|
87845
87851
|
$style: rTe
|
|
87846
|
-
}, aTe = /* @__PURE__ */ _t(QDe, [["__cssModules", iTe]]), a$ = "0.1.
|
|
87852
|
+
}, aTe = /* @__PURE__ */ _t(QDe, [["__cssModules", iTe]]), a$ = "0.1.115", lTe = { key: 0 }, uTe = /* @__PURE__ */ st({
|
|
87847
87853
|
__name: "app",
|
|
87848
87854
|
setup(e) {
|
|
87849
87855
|
const t = q(() => n.id.length === 0 || n.workspaceId.length === 0), n = ys({
|