@arbocollab/arbo-plugin-item-table 0.1.178 → 0.1.179

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.
@@ -20333,7 +20333,7 @@ function Oq(e = {}) {
20333
20333
  `;
20334
20334
  }, c = () => {
20335
20335
  const p = xg(n), g = e.zIndex ? e.zIndex - 1 : 998;
20336
- if (console.log("overlayZIndex:", g), t.centered && p) {
20336
+ if (t.centered && p) {
20337
20337
  if (r.value = !0, l(p), t.showOverlay) {
20338
20338
  const v = () => {
20339
20339
  t.closeOnOverlayClick && u();
@@ -27268,8 +27268,10 @@ const tJ = ["value", "placeholder", "disabled", "readonly", "inputmode", "maxlen
27268
27268
  const n = e;
27269
27269
  Ti("bulkUpdate", !0);
27270
27270
  const o = B(!1), s = t, r = B(null), i = () => {
27271
- var d;
27272
- (d = l.value) == null || d.hide(), o.value = !0, s("update-start");
27271
+ o.value = !0, s("update-start"), setTimeout(() => {
27272
+ var d;
27273
+ (d = l.value) == null || d.hide();
27274
+ }, 0);
27273
27275
  }, a = (d) => {
27274
27276
  var h, f;
27275
27277
  o.value = !1, d ? (s("update-completed"), (h = l.value) == null || h.destroy()) : (s("update-failed"), (f = l.value) == null || f.open());
@@ -33012,7 +33014,7 @@ class OL extends Ene {
33012
33014
  responseType: i
33013
33015
  }), (((u = c.headers) == null ? void 0 : u["content-type"]) || "").includes("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")) {
33014
33016
  const f = ((d = c.headers) == null ? void 0 : d["content-disposition"]) || "", p = f.includes("filename=") ? f.split("filename=")[1] : "exported_items.xlsx";
33015
- a && (console.log("Auto-downloading Excel file:", p, a), Rne(c.data, p));
33017
+ a && Rne(c.data, p);
33016
33018
  }
33017
33019
  if (c.status >= 400 && c.status <= 500)
33018
33020
  throw new Error(`Client error (${c.status}): ${c.statusText}`);
@@ -33448,7 +33450,7 @@ class OL extends Ene {
33448
33450
  return this.request("getEntityDetail", { workspaceId: t, entityId: n });
33449
33451
  }
33450
33452
  async downloadTemplate(t, n, o = !0) {
33451
- return console.log("Downloading template for entity:", n, "autoDownload:", o), this.request(
33453
+ return this.request(
33452
33454
  "downloadTemplate",
33453
33455
  { workspaceId: t, entityId: n },
33454
33456
  {
@@ -34039,7 +34041,7 @@ const Dne = (e, t, n, o, s, r, i) => {
34039
34041
  Ti("bulkUpdate", !0);
34040
34042
  const c = (f) => {
34041
34043
  var p, g;
34042
- r.value = !1, f ? (s("update-completed"), (p = i.value) == null || p.destroy()) : (s("update-failed"), (g = i.value) == null || g.open());
34044
+ console.trace("handleUpdateCompleted called with success:", f), r.value = !1, f ? (s("update-completed"), (p = i.value) == null || p.destroy()) : (s("update-failed"), (g = i.value) == null || g.open());
34043
34045
  }, u = B(null), d = (f, p) => {
34044
34046
  var g;
34045
34047
  f && ((g = u.value) == null || g.focus());
@@ -88996,9 +88998,7 @@ const hIe = {
88996
88998
  }
88997
88999
  }), sk = /* @__PURE__ */ Ct(RIe, [["__scopeId", "data-v-db9bdf1b"]]), Ih = "xlsx_toolbox", DIe = "TOOLBOX_EXPORT_DATA", TIe = "https://app.arbocollab.com", IIe = (e) => {
88998
89000
  const t = Cn("switchInstance", void 0), n = (i) => {
88999
- const { source: a, template: l } = i ?? {};
89000
- console.log("Opening toolbox with payload:", i);
89001
- const c = { showLoad: !1 };
89001
+ const { source: a, template: l } = i ?? {}, c = { showLoad: !1 };
89002
89002
  if (t ? t(Ih, "", c) : window.appManager.switchInstance(Ih, "", c), !l)
89003
89003
  throw new Error("template file is missing");
89004
89004
  setTimeout(() => {
@@ -89012,7 +89012,6 @@ const hIe = {
89012
89012
  );
89013
89013
  }, 1e3);
89014
89014
  }, o = (i, a) => {
89015
- console.log(" sendBackErrorFile", { file: i, fileName: a });
89016
89015
  const l = { showLoad: !1 };
89017
89016
  if (t ? t(Ih, "", l) : window.appManager.switchInstance(Ih, "", l), !i)
89018
89017
  throw new Error("Error file is missing");
@@ -89034,7 +89033,7 @@ const hIe = {
89034
89033
  let s;
89035
89034
  const r = (i) => {
89036
89035
  var a;
89037
- if (console.log("Received postMessage event:", i), ((a = i.data) == null ? void 0 : a.type) === DIe) {
89036
+ if (((a = i.data) == null ? void 0 : a.type) === DIe) {
89038
89037
  const { file: l, fileName: c } = i.data.payload;
89039
89038
  e(new File([l], c, { type: l.type }), c), window.appManager.hide(Ih);
89040
89039
  }
@@ -89972,7 +89971,7 @@ const hIe = {
89972
89971
  "beta-tag": "_beta-tag_1sow5_56"
89973
89972
  }, YIe = {
89974
89973
  $style: qIe
89975
- }, ZIe = /* @__PURE__ */ Ct(GIe, [["__cssModules", YIe]]), fH = "0.1.178", XIe = { key: 0 }, JIe = /* @__PURE__ */ st({
89974
+ }, ZIe = /* @__PURE__ */ Ct(GIe, [["__cssModules", YIe]]), fH = "0.1.179", XIe = { key: 0 }, JIe = /* @__PURE__ */ st({
89976
89975
  __name: "app",
89977
89976
  setup(e) {
89978
89977
  const t = q(() => n.id.length === 0 || n.workspaceId.length === 0), n = ws({