@arbocollab/arbo-plugin-item-table 0.1.128 → 0.1.129

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.
@@ -86556,7 +86556,7 @@ const LDe = () => [...[
86556
86556
  const c = await o(t);
86557
86557
  if (c && typeof c == "string")
86558
86558
  try {
86559
- return JSON.parse(c);
86559
+ return console.log("Cached column config:", c), JSON.parse(c);
86560
86560
  } catch (d) {
86561
86561
  return console.error("Failed to parse cached column config:", d), null;
86562
86562
  }
@@ -86615,7 +86615,7 @@ const LDe = () => [...[
86615
86615
  width: A.width
86616
86616
  }), R.delete(A.field);
86617
86617
  }
86618
- const I = Array.from(R.values()), x = [...T, ...I], F = S.map((A) => {
86618
+ const I = Array.from(R.values()), x = [...T, ...I].map((A) => ({ ...A, lockPinned: !0 })), F = S.map((A) => {
86619
86619
  const k = D.get(A.field);
86620
86620
  return k != null && k.width ? { ...A, width: k.width } : A;
86621
86621
  }), E = b.map((A) => {
@@ -86654,7 +86654,7 @@ const LDe = () => [...[
86654
86654
  pinned: b.pinned
86655
86655
  })
86656
86656
  )) || [];
86657
- d && s(t, JSON.stringify(v));
86657
+ console.log("Serialized column config:", v), d && s(t, JSON.stringify(v));
86658
86658
  }, xi);
86659
86659
  return { columnDefs: i, checkboxColumn: a, saveColumnConfig: u };
86660
86660
  }, HDe = () => {
@@ -87616,7 +87616,7 @@ const jDe = {
87616
87616
  const Ye = le(ke);
87617
87617
  return Ye && (Ye.addEventListener("modelUpdated", Ut), Ye.addEventListener("bodyScroll", () => Ye.stopEditing()), Ye.addEventListener("selectionChanged", Ve), Ye.addEventListener("columnMoved", (Kt) => X(Kt, !0)), Ye.addEventListener("columnResized", (Kt) => X(Kt, !0)), Ye.addEventListener("firstDataRendered", () => {
87618
87618
  Ue.value = !1;
87619
- }), !document.querySelector(".ag-body-viewport")), Ye;
87619
+ }), !document.querySelector(".ag-body-viewport")) || ke == null || ke.setColumnsVisible(["ag-Grid-SelectionColumn"], !1), Ye;
87620
87620
  }, Ur = () => {
87621
87621
  var ke;
87622
87622
  c.value = (((ke = document.getElementById("item-table-layout-id")) == null ? void 0 : ke.clientHeight) ?? 0) - 78 + "px";
@@ -87906,7 +87906,7 @@ const jDe = {
87906
87906
  "beta-tag": "_beta-tag_1sow5_56"
87907
87907
  }, lTe = {
87908
87908
  $style: aTe
87909
- }, uTe = /* @__PURE__ */ _t(tTe, [["__cssModules", lTe]]), d$ = "0.1.128", cTe = { key: 0 }, dTe = /* @__PURE__ */ st({
87909
+ }, uTe = /* @__PURE__ */ _t(tTe, [["__cssModules", lTe]]), d$ = "0.1.129", cTe = { key: 0 }, dTe = /* @__PURE__ */ st({
87910
87910
  __name: "app",
87911
87911
  setup(e) {
87912
87912
  const t = Y(() => n.id.length === 0 || n.workspaceId.length === 0), n = ys({