@johnhalazonetis/data-table 1.25.2 → 1.25.4
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/dist/data-table.js +6 -1
- package/package.json +1 -1
package/dist/data-table.js
CHANGED
|
@@ -1848,6 +1848,7 @@ var Tt = { class: "flex items-center gap-1.5 px-2 py-1.5 cursor-default overflow
|
|
|
1848
1848
|
let i = [
|
|
1849
1849
|
"badge",
|
|
1850
1850
|
"cellButtons",
|
|
1851
|
+
"dblClick",
|
|
1851
1852
|
"progressBar",
|
|
1852
1853
|
"segmentedBar",
|
|
1853
1854
|
"suffixIcon",
|
|
@@ -1865,7 +1866,7 @@ var Tt = { class: "flex items-center gap-1.5 px-2 py-1.5 cursor-default overflow
|
|
|
1865
1866
|
...n
|
|
1866
1867
|
};
|
|
1867
1868
|
for (let e of i) (r[e] === void 0 || r[e] === null) && t[e] != null && (r[e] = t[e]);
|
|
1868
|
-
return typeof r.badge != "function" && r.badge !== !0 && typeof t.badge == "function" && (r.badge = t.badge), r.suffixIcon == null && t.suffixIcon != null && (r.suffixIcon = t.suffixIcon), r.secondaryText == null && t.secondaryText != null && (r.secondaryText = t.secondaryText), typeof r.secondaryText != "function" && typeof r.secondaryText != "string" && typeof t.secondaryText == "function" && (r.secondaryText = t.secondaryText), typeof r.segmentedBar != "function" && typeof t.segmentedBar == "function" && (r.segmentedBar = t.segmentedBar), r;
|
|
1869
|
+
return typeof r.badge != "function" && r.badge !== !0 && typeof t.badge == "function" && (r.badge = t.badge), r.suffixIcon == null && t.suffixIcon != null && (r.suffixIcon = t.suffixIcon), r.secondaryText == null && t.secondaryText != null && (r.secondaryText = t.secondaryText), typeof r.secondaryText != "function" && typeof r.secondaryText != "string" && typeof t.secondaryText == "function" && (r.secondaryText = t.secondaryText), typeof r.segmentedBar != "function" && typeof t.segmentedBar == "function" && (r.segmentedBar = t.segmentedBar), typeof r.dblClick != "function" && typeof t.dblClick == "function" && (r.dblClick = t.dblClick), r;
|
|
1869
1870
|
}), te = r(() => H.value.type === "boolean"), ne = r(() => {
|
|
1870
1871
|
let e = H.value;
|
|
1871
1872
|
if (!e.progressBar) return null;
|
|
@@ -1934,6 +1935,10 @@ var Tt = { class: "flex items-center gap-1.5 px-2 py-1.5 cursor-default overflow
|
|
|
1934
1935
|
L.value || I("select");
|
|
1935
1936
|
}
|
|
1936
1937
|
function ue() {
|
|
1938
|
+
if (typeof H.value.dblClick == "function") {
|
|
1939
|
+
H.value.dblClick(c.cell.row.original);
|
|
1940
|
+
return;
|
|
1941
|
+
}
|
|
1937
1942
|
!u.value?.update || ie.value || H.value.progressBar || H.value.segmentedBar || K.value.length > 0 || (L.value = !0, I("editing-change", !0), R.value = c.cell.getValue() ?? "", m(() => {
|
|
1938
1943
|
z.value && (z.value.focus(), z.value.select(), de());
|
|
1939
1944
|
}));
|