@platforma-sdk/ui-vue 1.22.30 → 1.22.34
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 +12 -0
- package/dist/lib.js +17 -12
- package/dist/lib.js.map +1 -1
- package/dist/lib.umd.cjs +2 -2
- package/dist/lib.umd.cjs.map +1 -1
- package/dist/src/components/PlAgDataTable/PlAgDataTable.vue.d.ts.map +1 -1
- package/dist/src/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/PlAgColumnHeader/pl-ag-column-header.scss +1 -1
- package/src/components/PlAgDataTable/PlAgDataTable.vue +3 -1
- package/src/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue +8 -1
package/CHANGELOG.md
CHANGED
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
|
-
|
|
20911
|
-
|
|
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
|
|
20916
|
+
const c = () => {
|
|
20914
20917
|
r.value = !!e.params.node.isSelected();
|
|
20915
|
-
},
|
|
20916
|
-
n.getGridOption("rowSelection") && (e.params.node.setSelected(
|
|
20918
|
+
}, f = (p) => {
|
|
20919
|
+
n.getGridOption("rowSelection") && (e.params.node.setSelected(p), c());
|
|
20917
20920
|
};
|
|
20918
|
-
return (
|
|
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(
|
|
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
|
-
|
|
20930
|
-
|
|
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
|
-
|
|
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-
|
|
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({
|