@platforma-sdk/ui-vue 1.22.30 → 1.22.32

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.22.32
4
+
5
+ ### Patch Changes
6
+
7
+ - c39eeee: fixed row numbers display
8
+
3
9
  ## 1.22.30
4
10
 
5
11
  ### Patch Changes
package/dist/lib.js CHANGED
@@ -20906,28 +20906,31 @@ const Z6 = { class: "pl-ag-column-header__title d-flex align-center gap-6 flex-g
20906
20906
  params: {}
20907
20907
  },
20908
20908
  setup(t) {
20909
- const e = t, n = e.params.api, r = ne(!!e.params.node.isSelected()), i = $(() => r.value || n.getGridOption("rowSelection")), o = ne(n.getGridOption("rowSelection"));
20910
- n.getGridOption("rowSelection").mode === "singleRow" && e.params.node.addEventListener("rowSelected", (c) => {
20911
- r.value = !!c.node.isSelected();
20909
+ const e = t, n = e.params.api, r = ne(!!e.params.node.isSelected()), i = $(() => r.value || n.getGridOption("rowSelection")), o = ne(n.getGridOption("rowSelection")), l = n.getGridOption("rowSelection");
20910
+ function u(p) {
20911
+ return p && typeof p == "object" && "mode" in p;
20912
+ }
20913
+ u(l) && l.mode === "singleRow" && e.params.node.addEventListener("rowSelected", (p) => {
20914
+ r.value = !!p.node.isSelected();
20912
20915
  });
20913
- const l = () => {
20916
+ const c = () => {
20914
20917
  r.value = !!e.params.node.isSelected();
20915
- }, u = (c) => {
20916
- n.getGridOption("rowSelection") && (e.params.node.setSelected(c), l());
20918
+ }, f = (p) => {
20919
+ n.getGridOption("rowSelection") && (e.params.node.setSelected(p), c());
20917
20920
  };
20918
- return (c, f) => (_(), E("div", {
20921
+ return (p, m) => (_(), E("div", {
20919
20922
  class: Q([k(ya).container, { [k(ya)["allowed-selection"]]: o.value }, "d-flex", "justify-center", "align-center"])
20920
20923
  }, [
20921
20924
  r.value ? K("", !0) : (_(), E("div", {
20922
20925
  key: 0,
20923
20926
  class: Q([k(ya).text])
20924
- }, le(c.params.value), 3)),
20927
+ }, le(p.params.value), 3)),
20925
20928
  i.value ? (_(), ue(k(lR), {
20926
20929
  key: 1,
20927
20930
  modelValue: r.value,
20928
20931
  "onUpdate:modelValue": [
20929
- f[0] || (f[0] = (p) => r.value = p),
20930
- u
20932
+ m[0] || (m[0] = (g) => r.value = g),
20933
+ f
20931
20934
  ],
20932
20935
  class: Q([k(ya).checkbox, r.value && k(ya).checked])
20933
20936
  }, null, 8, ["modelValue", "class"])) : K("", !0)
@@ -21622,7 +21625,9 @@ const wB = /* @__PURE__ */ ie({
21622
21625
  autoSizeStrategy: { type: "fitCellContents" },
21623
21626
  rowSelection: i.value !== void 0 ? {
21624
21627
  mode: "multiRow",
21625
- enableClickSelection: !0
21628
+ checkboxes: !1,
21629
+ headerCheckbox: !1,
21630
+ enableClickSelection: !1
21626
21631
  } : void 0,
21627
21632
  selectionColumnDef: {
21628
21633
  mainMenuItems: [],
@@ -21850,7 +21855,7 @@ const wB = /* @__PURE__ */ ie({
21850
21855
  ]);
21851
21856
  };
21852
21857
  }
21853
- }), Qz = /* @__PURE__ */ Hf(EB, [["__scopeId", "data-v-4d556051"]]), CB = {
21858
+ }), Qz = /* @__PURE__ */ Hf(EB, [["__scopeId", "data-v-87bd54ce"]]), CB = {
21854
21859
  key: 1,
21855
21860
  class: "alert-error"
21856
21861
  }, SB = { key: 2 }, e7 = /* @__PURE__ */ ie({