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

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();
@@ -27246,7 +27246,7 @@ const tJ = ["value", "placeholder", "disabled", "readonly", "inputmode", "maxlen
27246
27246
  ], 512)
27247
27247
  ], 512));
27248
27248
  }
27249
- }), Ip = /* @__PURE__ */ Ct(LJ, [["__scopeId", "data-v-aab33e10"]]), VJ = /* @__PURE__ */ st({
27249
+ }), Ip = /* @__PURE__ */ Ct(LJ, [["__scopeId", "data-v-a587bb19"]]), VJ = /* @__PURE__ */ st({
27250
27250
  __name: "AssignneeUpdateButton",
27251
27251
  props: {
27252
27252
  disabled: { type: Boolean },
@@ -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());
@@ -36990,7 +36992,11 @@ const Dne = (e, t, n, o, s, r, i) => {
36990
36992
  default: he(() => [
36991
36993
  l.value ? Xe("", !0) : (K(), ie("div", {
36992
36994
  key: 0,
36993
- class: te({ [g.$style["status-renderer"]]: !0, [g.$style["has-status"]]: a.value, [g.$style["has-suffix"]]: !!g.$slots.suffix })
36995
+ class: te({
36996
+ [g.$style["status-renderer"]]: !0,
36997
+ [g.$style["has-status"]]: a.value,
36998
+ [g.$style["has-suffix"]]: !!g.$slots.suffix
36999
+ })
36994
37000
  }, [
36995
37001
  a.value ? (K(), ie(It, { key: 0 }, [
36996
37002
  Ke((K(), ie("div", {
@@ -41026,7 +41032,7 @@ const nae = /* @__PURE__ */ st({
41026
41032
  me("a", {
41027
41033
  href: h.value,
41028
41034
  onClick: n
41029
- }, "My Settings > Preferences", 8, wae),
41035
+ }, " My Settings > Preferences ", 8, wae),
41030
41036
  p[0] || (p[0] = Qe(" . ", -1))
41031
41037
  ]),
41032
41038
  me("div", {
@@ -41777,7 +41783,7 @@ const Zy = /* @__PURE__ */ Vc("userStore", () => {
41777
41783
  empty: Zae
41778
41784
  }, Jae = {
41779
41785
  $style: Xae
41780
- }, Qae = /* @__PURE__ */ Ct(qae, [["__cssModules", Jae], ["__scopeId", "data-v-5d0d3e7c"]]), ele = /* @__PURE__ */ st({
41786
+ }, Qae = /* @__PURE__ */ Ct(qae, [["__cssModules", Jae], ["__scopeId", "data-v-c2a73a7b"]]), ele = /* @__PURE__ */ st({
41781
41787
  __name: "CreateNewScene",
41782
41788
  emits: ["create-new-item", "focus-on-id", "search-for-code"],
41783
41789
  setup(e, { expose: t, emit: n }) {
@@ -88996,9 +89002,7 @@ const hIe = {
88996
89002
  }
88997
89003
  }), sk = /* @__PURE__ */ Ct(RIe, [["__scopeId", "data-v-db9bdf1b"]]), Ih = "xlsx_toolbox", DIe = "TOOLBOX_EXPORT_DATA", TIe = "https://app.arbocollab.com", IIe = (e) => {
88998
89004
  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 };
89005
+ const { source: a, template: l } = i ?? {}, c = { showLoad: !1 };
89002
89006
  if (t ? t(Ih, "", c) : window.appManager.switchInstance(Ih, "", c), !l)
89003
89007
  throw new Error("template file is missing");
89004
89008
  setTimeout(() => {
@@ -89012,7 +89016,6 @@ const hIe = {
89012
89016
  );
89013
89017
  }, 1e3);
89014
89018
  }, o = (i, a) => {
89015
- console.log(" sendBackErrorFile", { file: i, fileName: a });
89016
89019
  const l = { showLoad: !1 };
89017
89020
  if (t ? t(Ih, "", l) : window.appManager.switchInstance(Ih, "", l), !i)
89018
89021
  throw new Error("Error file is missing");
@@ -89034,7 +89037,7 @@ const hIe = {
89034
89037
  let s;
89035
89038
  const r = (i) => {
89036
89039
  var a;
89037
- if (console.log("Received postMessage event:", i), ((a = i.data) == null ? void 0 : a.type) === DIe) {
89040
+ if (((a = i.data) == null ? void 0 : a.type) === DIe) {
89038
89041
  const { file: l, fileName: c } = i.data.payload;
89039
89042
  e(new File([l], c, { type: l.type }), c), window.appManager.hide(Ih);
89040
89043
  }
@@ -89074,11 +89077,13 @@ const hIe = {
89074
89077
  },
89075
89078
  emits: ["import-success"],
89076
89079
  setup(e, { expose: t, emit: n }) {
89077
- const o = Jt, s = q(() => [
89078
- 1,
89079
- 2
89080
- /* SELECT_STATUS */
89081
- ].includes(f.value)), r = q(() => YM()), i = q(() => ({
89080
+ const o = Jt, s = q(
89081
+ () => [
89082
+ 1,
89083
+ 2
89084
+ /* SELECT_STATUS */
89085
+ ].includes(f.value)
89086
+ ), r = q(() => YM()), i = q(() => ({
89082
89087
  1: { title: `Create ${r.value} in bulk`, description: "" },
89083
89088
  2: {
89084
89089
  title: "Select status",
@@ -89344,7 +89349,10 @@ const hIe = {
89344
89349
  _: 1
89345
89350
  }, 8, ["loading", "disabled"])
89346
89351
  ])), [
89347
- [H(o), { content: W.value || !p.value ? "Select a status first" : void 0, bypassOverflowCheck: !0 }]
89352
+ [H(o), {
89353
+ content: W.value || !p.value ? "Select a status first" : void 0,
89354
+ bypassOverflowCheck: !0
89355
+ }]
89348
89356
  ]) : Xe("", !0),
89349
89357
  f.value === 4 ? (K(), Ue(H(at), {
89350
89358
  key: 3,
@@ -89360,7 +89368,7 @@ const hIe = {
89360
89368
  } : void 0
89361
89369
  ]), 1040));
89362
89370
  }
89363
- }), HIe = /* @__PURE__ */ Ct($Ie, [["__scopeId", "data-v-474db5c4"]]), GIe = /* @__PURE__ */ st({
89371
+ }), HIe = /* @__PURE__ */ Ct($Ie, [["__scopeId", "data-v-07cd96e2"]]), GIe = /* @__PURE__ */ st({
89364
89372
  __name: "item-table",
89365
89373
  props: {
89366
89374
  entityId: {},
@@ -89972,7 +89980,7 @@ const hIe = {
89972
89980
  "beta-tag": "_beta-tag_1sow5_56"
89973
89981
  }, YIe = {
89974
89982
  $style: qIe
89975
- }, ZIe = /* @__PURE__ */ Ct(GIe, [["__cssModules", YIe]]), fH = "0.1.178", XIe = { key: 0 }, JIe = /* @__PURE__ */ st({
89983
+ }, ZIe = /* @__PURE__ */ Ct(GIe, [["__cssModules", YIe]]), fH = "0.1.180", XIe = { key: 0 }, JIe = /* @__PURE__ */ st({
89976
89984
  __name: "app",
89977
89985
  setup(e) {
89978
89986
  const t = q(() => n.id.length === 0 || n.workspaceId.length === 0), n = ws({