@bagelink/vue 1.15.261 → 1.15.265
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/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +13 -8
- 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/AppSidebar.vue +5 -2
- package/src/components/layout/SidebarNavItem.vue +1 -1
- 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: {},
|
|
@@ -41077,7 +41082,7 @@ var kI = {
|
|
|
41077
41082
|
}), DW = /* @__PURE__ */ Re(RI, [["__scopeId", "data-v-58f7f4a4"]]), BI = { class: "nav-text" }, FI = {
|
|
41078
41083
|
key: 1,
|
|
41079
41084
|
class: "w100p"
|
|
41080
|
-
}, VI = { class: "nav-text flex-grow" }, zI = { class: "sidebar-flyout
|
|
41085
|
+
}, VI = { class: "nav-text flex-grow" }, zI = { class: "sidebar-flyout px-05 pb-05 pb-025 min-w-180px display-flex gap-025 column" }, UI = { class: "sidebar-flyout-label m-0 semi opacity-5 uppercase" }, HI = { class: "sidebar-children-inner ps-1" }, WI = { class: "nav-text" }, jI = /* @__PURE__ */ Se({
|
|
41081
41086
|
__name: "SidebarNavItem",
|
|
41082
41087
|
props: {
|
|
41083
41088
|
link: {},
|
|
@@ -41225,10 +41230,10 @@ var kI = {
|
|
|
41225
41230
|
"onClick"
|
|
41226
41231
|
]));
|
|
41227
41232
|
}
|
|
41228
|
-
}), GI = /* @__PURE__ */ Re(jI, [["__scopeId", "data-v-
|
|
41233
|
+
}), GI = /* @__PURE__ */ Re(jI, [["__scopeId", "data-v-06356aba"]]), qI = ["src", "alt"], YI = ["src", "alt"], ZI = { class: "nav-text flex column line-height-1 gap-025 align-items-start" }, XI = { class: "line-height-14" }, KI = {
|
|
41229
41234
|
key: 0,
|
|
41230
41235
|
class: "txt11 opacity-6"
|
|
41231
|
-
}, JI = { class: "sidebar-footer flex column flex-stretch gap-025 px-05 mx-auto mt-auto" }, QI = { class: "nav-text" }, e0 = "0.5rem", eN = /* @__PURE__ */ Se({
|
|
41236
|
+
}, JI = { class: "sidebar-footer flex column flex-stretch gap-025 px-05 mx-auto mt-auto m_border-top" }, QI = { class: "nav-text" }, e0 = "0.5rem", eN = /* @__PURE__ */ Se({
|
|
41232
41237
|
__name: "AppSidebar",
|
|
41233
41238
|
props: {
|
|
41234
41239
|
navLinks: {},
|
|
@@ -41369,7 +41374,7 @@ var kI = {
|
|
|
41369
41374
|
}),
|
|
41370
41375
|
fullWidth: "",
|
|
41371
41376
|
alignTxt: "start",
|
|
41372
|
-
class: le(["sidebar-link-btn flex-shrink-0 px-075", { "nav-btn-active": f(m) }]),
|
|
41377
|
+
class: le(["sidebar-link-btn flex-shrink-0 px-075", [m.class, { "nav-btn-active": f(m) }]]),
|
|
41373
41378
|
to: m.to || void 0,
|
|
41374
41379
|
onClick: m.action
|
|
41375
41380
|
}, {
|
|
@@ -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({
|