@bagelink/vue 1.15.261 → 1.15.263
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/components/EmptyState.vue.d.ts.map +1 -1
- package/dist/components/dataTable/useTableSelection.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +9 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/EmptyState.vue +10 -10
- package/src/components/dataTable/useTableSelection.ts +6 -0
- package/src/components/layout/TabsNav.vue +5 -5
package/dist/index.mjs
CHANGED
|
@@ -15067,6 +15067,10 @@ function iw(e) {
|
|
|
15067
15067
|
}
|
|
15068
15068
|
function s(u, d) {
|
|
15069
15069
|
const c = o.value.findIndex((p) => p.id === u.id);
|
|
15070
|
+
if (!e.selectable) {
|
|
15071
|
+
e.onSelect(e.cleanData ? e.cleanData(u) : { ...u }), n.value = c;
|
|
15072
|
+
return;
|
|
15073
|
+
}
|
|
15070
15074
|
if (d?.shiftKey && n.value !== null && c !== -1) {
|
|
15071
15075
|
const p = Math.min(n.value, c), h = Math.max(n.value, c), v = o.value.slice(p, h + 1).map((L) => L.id);
|
|
15072
15076
|
if (v.every((L) => e.selectedItems.value.includes(L))) e.selectedItems.value = e.selectedItems.value.filter((L) => !v.includes(L));
|
|
@@ -16520,7 +16524,7 @@ var t$ = {
|
|
|
16520
16524
|
class: "bgl-empty-icon flex-center"
|
|
16521
16525
|
}, c$ = {
|
|
16522
16526
|
key: 1,
|
|
16523
|
-
class: "bgl-empty-title m-0"
|
|
16527
|
+
class: "bgl-empty-title m-0 opacity-7"
|
|
16524
16528
|
}, f$ = {
|
|
16525
16529
|
key: 2,
|
|
16526
16530
|
class: "bgl-empty-desc m-0"
|
|
@@ -16550,7 +16554,8 @@ var t$ = {
|
|
|
16550
16554
|
return (r, o) => (_(), $("div", { class: le(["bgl-empty txt-center", [{ "bgl-empty--compact": e.compact }, e.class]]) }, [
|
|
16551
16555
|
b(a).icon || e.icon !== "none" ? (_(), $("div", d$, [Le(r.$slots, "icon", {}, () => [ne(b(Be), {
|
|
16552
16556
|
icon: e.icon,
|
|
16553
|
-
size: e.compact ? 1.
|
|
16557
|
+
size: e.compact ? 1.9 : 2.4,
|
|
16558
|
+
weight: "300"
|
|
16554
16559
|
}, null, 8, ["icon", "size"])], !0)])) : z("", !0),
|
|
16555
16560
|
e.title ? (_(), $("p", c$, re(e.title), 1)) : z("", !0),
|
|
16556
16561
|
e.description || b(a).default ? (_(), $("p", f$, [Le(r.$slots, "default", {}, () => [ze(re(e.description), 1)], !0)])) : z("", !0),
|
|
@@ -16571,7 +16576,7 @@ var t$ = {
|
|
|
16571
16576
|
])], !0)])) : z("", !0)
|
|
16572
16577
|
], 2));
|
|
16573
16578
|
}
|
|
16574
|
-
}), D5 = /* @__PURE__ */ Re(h$, [["__scopeId", "data-v-
|
|
16579
|
+
}), D5 = /* @__PURE__ */ Re(h$, [["__scopeId", "data-v-37819753"]]), m$ = { class: "px-1 pt-025 pb-1" }, g$ = { class: "ms-1" }, v$ = /* @__PURE__ */ Se({
|
|
16575
16580
|
__name: "FieldSetVue",
|
|
16576
16581
|
props: {
|
|
16577
16582
|
label: {},
|
|
@@ -42147,7 +42152,7 @@ var bN = { class: "bgl_tabs" }, yN = { key: 0 }, _N = /* @__PURE__ */ Se({
|
|
|
42147
42152
|
])) : z("", !0)
|
|
42148
42153
|
], 10, IN))), 128))], !0)], 2));
|
|
42149
42154
|
}
|
|
42150
|
-
}), Qc = /* @__PURE__ */ Re(NN, [["__scopeId", "data-v-
|
|
42155
|
+
}), Qc = /* @__PURE__ */ Re(NN, [["__scopeId", "data-v-c4630c01"]]), ON = {
|
|
42151
42156
|
key: 0,
|
|
42152
42157
|
class: "list-item-start flex align-items-center flex-shrink-0"
|
|
42153
42158
|
}, RN = { class: "txt-start flex-grow-1 list-item-body" }, BN = { class: "list-item-end flex align-items-center gap-05 flex-shrink-0" }, FN = ["textContent"], VN = /* @__PURE__ */ Se({
|