@soft-stech/bootsman-ui-shadcn 2.0.13 → 2.0.14
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/{BuiTable.vue_vue_type_script_setup_true_lang-C3hr0DBS.js → BuiTable.vue_vue_type_script_setup_true_lang-Dd_dkcy4.js} +5 -5
- package/dist/components/table/BuiTable.js +1 -1
- package/dist/components/table/index.js +365 -358
- package/dist/index.js +1 -1
- package/dist/lib/useResizeColumns.d.ts +4 -2
- package/dist/lib/useResizeColumns.js +57 -53
- package/package.json +1 -1
- package/src/components/table/BuiDataTable.vue +11 -3
- package/src/components/table/BuiTable.vue +1 -1
- package/src/lib/useResizeColumns.ts +20 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as a, createBlock as n, openBlock as i, unref as o, withCtx as c, renderSlot as r, createElementVNode as s, createVNode as m, normalizeClass as f } from "vue";
|
|
2
2
|
import { _ as p } from "./BuiScrollArea.vue_vue_type_script_setup_true_lang-XkIzRs-G.js";
|
|
3
3
|
import { _ } from "./BuiScrollBar.vue_vue_type_script_setup_true_lang-cV0od8j0.js";
|
|
4
4
|
import { g as d } from "./utils-DhVytAXN.js";
|
|
5
|
-
const u = { class: "min-h-[90px]" },
|
|
5
|
+
const u = { class: "flex min-h-[90px] grow flex-col" }, g = /* @__PURE__ */ a({
|
|
6
6
|
__name: "BuiTable",
|
|
7
7
|
props: {
|
|
8
8
|
class: {}
|
|
9
9
|
},
|
|
10
10
|
setup(t) {
|
|
11
|
-
const
|
|
11
|
+
const l = t;
|
|
12
12
|
return (e, b) => (i(), n(o(p), { class: "border-border/16 w-full grow overflow-auto rounded-sm border" }, {
|
|
13
13
|
default: c(() => [
|
|
14
14
|
r(e.$slots, "columnVisibility"),
|
|
15
15
|
s("div", u, [
|
|
16
16
|
s("table", {
|
|
17
|
-
class: f(o(d)("h-full w-full caption-top text-sm",
|
|
17
|
+
class: f(o(d)("h-full w-full caption-top text-sm", l.class))
|
|
18
18
|
}, [
|
|
19
19
|
r(e.$slots, "default")
|
|
20
20
|
], 2)
|
|
@@ -26,5 +26,5 @@ const u = { class: "min-h-[90px]" }, B = /* @__PURE__ */ l({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
g as _
|
|
30
30
|
};
|