@arbocollab/arbo-plugin-item-table 0.0.175 → 0.0.177
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 +13 -4
- package/lib/umd/index.umd.js +3 -3
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -32881,7 +32881,16 @@ const bd = /* @__PURE__ */ Eu("toast", () => {
|
|
|
32881
32881
|
...l,
|
|
32882
32882
|
id: l.id ?? Date.now() + Math.random()
|
|
32883
32883
|
};
|
|
32884
|
-
t.value.push(c)
|
|
32884
|
+
if (t.value.push(c), u > 0) {
|
|
32885
|
+
const d = Date.now(), h = setTimeout(() => {
|
|
32886
|
+
i(c.id), o.delete(c.id);
|
|
32887
|
+
}, u);
|
|
32888
|
+
o.set(c.id, {
|
|
32889
|
+
timeoutId: h,
|
|
32890
|
+
remainingTime: u,
|
|
32891
|
+
startTime: d
|
|
32892
|
+
});
|
|
32893
|
+
}
|
|
32885
32894
|
};
|
|
32886
32895
|
function i(l) {
|
|
32887
32896
|
t.value = t.value.filter((c) => c.id !== l);
|
|
@@ -36250,7 +36259,7 @@ const ly = /* @__PURE__ */ Eu("userStore", () => {
|
|
|
36250
36259
|
return;
|
|
36251
36260
|
}
|
|
36252
36261
|
if (re.key === "Escape") {
|
|
36253
|
-
|
|
36262
|
+
C.value = null, G();
|
|
36254
36263
|
return;
|
|
36255
36264
|
}
|
|
36256
36265
|
}, Q = (re, O) => {
|
|
@@ -36302,7 +36311,7 @@ const ly = /* @__PURE__ */ Eu("userStore", () => {
|
|
|
36302
36311
|
}, j = (re, O) => {
|
|
36303
36312
|
P.value || (O.metaKey || O.ctrlKey ? U("close") : O.shiftKey ? U("keep") : U("clear"));
|
|
36304
36313
|
}, ve = (re = !1) => {
|
|
36305
|
-
!P.value && !c.error ? U(re ? "close" : "clear") : G();
|
|
36314
|
+
c.isCreating && (!P.value && !c.error ? U(re ? "close" : "clear") : G());
|
|
36306
36315
|
}, Re = () => f();
|
|
36307
36316
|
return MM(i, () => ve(!0)), nt(
|
|
36308
36317
|
() => c.isCreating,
|
|
@@ -85302,7 +85311,7 @@ const X_e = {
|
|
|
85302
85311
|
"beta-tag": "_beta-tag_1lefh_57"
|
|
85303
85312
|
}, pRe = {
|
|
85304
85313
|
$style: fRe
|
|
85305
|
-
}, gRe = /* @__PURE__ */ Et(aRe, [["__cssModules", pRe]]), TB = "0.0.
|
|
85314
|
+
}, gRe = /* @__PURE__ */ Et(aRe, [["__cssModules", pRe]]), TB = "0.0.177", mRe = { key: 0 }, vRe = /* @__PURE__ */ dt({
|
|
85306
85315
|
__name: "app",
|
|
85307
85316
|
setup(e) {
|
|
85308
85317
|
const t = K(() => n.id.length === 0 || n.workspaceId.length === 0), n = Qs({
|