vlite3 0.5.8 → 0.5.10

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.
@@ -0,0 +1,24 @@
1
+ import { ButtonSize } from '../types';
2
+ export interface BackButtonProps {
3
+ /** Icon to display, defaults to a left arrow */
4
+ icon?: string;
5
+ /** Button size variant */
6
+ size?: ButtonSize;
7
+ /** Tooltip text shown on hover */
8
+ tooltip?: string;
9
+ /** Custom CSS classes */
10
+ class?: string;
11
+ /**
12
+ * Fallback path when there's no browser history to go back to.
13
+ * Defaults to '/'
14
+ */
15
+ fallback?: string;
16
+ }
17
+ declare const _default: import('vue').DefineComponent<BackButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BackButtonProps> & Readonly<{}>, {
18
+ size: ButtonSize;
19
+ icon: string;
20
+ class: string;
21
+ fallback: string;
22
+ tooltip: string;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
24
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { defineComponent as l, openBlock as c, createBlock as s, normalizeClass as i } from "vue";
2
+ import { useRouter as n } from "vue-router";
3
+ import r from "./Button.vue.js";
4
+ const p = /* @__PURE__ */ l({
5
+ __name: "BackButton",
6
+ props: {
7
+ icon: { default: "heroicons-solid:arrow-left" },
8
+ size: { default: "sm" },
9
+ tooltip: { default: "Go back" },
10
+ class: { default: "" },
11
+ fallback: { default: "/" }
12
+ },
13
+ setup(o) {
14
+ const t = o, e = n();
15
+ function a() {
16
+ window.history.state?.back ? e.back() : e.push(t.fallback);
17
+ }
18
+ return (f, u) => (c(), s(r, {
19
+ variant: "ghost",
20
+ icon: o.icon,
21
+ size: o.size,
22
+ rounded: "full",
23
+ title: o.tooltip,
24
+ class: i(t.class),
25
+ onClick: a
26
+ }, null, 8, ["icon", "size", "title", "class"]));
27
+ }
28
+ });
29
+ export {
30
+ p as default
31
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./BackButton.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -31,7 +31,7 @@ const V = ["role", "tabindex"], j = {
31
31
  case "small":
32
32
  return "h-5.5 text-[11px] px-2.5 gap-1";
33
33
  case "large":
34
- return "h-8 text-sm px-3 gap-2";
34
+ return "h-7 text-sm px-3 gap-2";
35
35
  default:
36
36
  return "h-6 text-xs px-2.5 gap-1.5";
37
37
  }
@@ -1,5 +1,5 @@
1
- import o from "./ColorIro.vue.js";
2
- /* empty css */
1
+ import o from "./ColorIro.vue2.js";
2
+ /* empty css */
3
3
  export {
4
4
  o as default
5
5
  };
@@ -5,8 +5,8 @@ import O from "../Input.vue.js";
5
5
  /* empty css */
6
6
  import "../../core/config.js";
7
7
  import y from "../Button.vue.js";
8
- import E from "./ColorIro.vue.js";
9
- /* empty css */
8
+ import E from "./ColorIro.vue2.js";
9
+ /* empty css */
10
10
  import { useEyeDropper as P } from "@vueuse/core";
11
11
  const I = {
12
12
  key: 0,
@@ -7,6 +7,7 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
7
7
  loading: boolean;
8
8
  columns: import('./types').ListColumns;
9
9
  showColon: boolean;
10
+ stackedBorderStyle: import('./types').StackedBorderStyle;
10
11
  skeletonRows: number;
11
12
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,18 +1,21 @@
1
- import { defineComponent as D, useSlots as E, computed as i, openBlock as r, createElementBlock as l, normalizeClass as v, renderSlot as g, createBlock as y, createCommentVNode as c, createElementVNode as b, toDisplayString as O, Fragment as m, renderList as f, createSlots as C, withCtx as I, mergeProps as $ } from "vue";
2
- import R from "../Icon.vue.js";
3
- import x from "./ListFieldRow.vue.js";
4
- import { $t as T } from "../../utils/i18n.js";
5
- import { getObjectValue as z } from "./utils.js";
6
- const A = {
1
+ import { defineComponent as T, useSlots as z, computed as v, openBlock as t, createElementBlock as r, normalizeClass as g, renderSlot as k, createBlock as y, createCommentVNode as m, createElementVNode as u, toDisplayString as A, Fragment as c, renderList as f, createSlots as p, withCtx as C, mergeProps as x } from "vue";
2
+ import G from "../Icon.vue.js";
3
+ import $ from "./ListFieldRow.vue.js";
4
+ import { $t as P } from "../../utils/i18n.js";
5
+ import { getObjectValue as q } from "./utils.js";
6
+ const H = {
7
7
  key: 0,
8
8
  class: "px-3 py-2.5 border-b border-border/70 flex items-center gap-2 bg-gray-50"
9
- }, N = { class: "text-sm font-semibold text-gray-900 tracking-tight" }, P = { key: 1 }, q = { key: 2 }, G = {
9
+ }, J = { class: "text-sm font-semibold text-gray-900 tracking-tight" }, K = { class: "sm:hidden" }, N = { class: "hidden sm:block" }, Q = { class: "sm:hidden" }, U = { class: "hidden sm:block" }, W = {
10
+ key: 0,
11
+ class: "px-3 py-8 text-center text-sm text-muted-foreground"
12
+ }, X = { key: 1 }, Y = { key: 2 }, Z = {
10
13
  key: 1,
11
14
  class: "px-3 py-8 text-center text-sm text-muted-foreground"
12
- }, H = {
15
+ }, _ = {
13
16
  key: 3,
14
17
  class: "border-t border-border/70 px-3 py-2.5"
15
- }, X = /* @__PURE__ */ D({
18
+ }, ne = /* @__PURE__ */ T({
16
19
  __name: "List",
17
20
  props: {
18
21
  fields: {},
@@ -25,165 +28,243 @@ const A = {
25
28
  class: { default: "" },
26
29
  showColon: { type: Boolean, default: !0 },
27
30
  loading: { type: Boolean, default: !1 },
28
- skeletonRows: { default: 6 }
31
+ skeletonRows: { default: 6 },
32
+ stackedBorderStyle: { default: "none" }
29
33
  },
30
- setup(a) {
31
- const o = a, F = E(), w = i(() => o.fields.filter((e) => {
32
- const u = z(e.key, o.data);
33
- return e.whenTrue && !u ? !1 : e.when ? e.when(u, o.data) : !0;
34
- })), n = i(() => {
34
+ setup(d) {
35
+ const o = d, D = z(), h = v(() => o.fields.filter((l) => {
36
+ const a = q(l.key, o.data);
37
+ return l.whenTrue && !a ? !1 : l.when ? l.when(a, o.data) : !0;
38
+ })), i = v(() => {
35
39
  if (o.columns === 1)
36
- return { left: [], right: [], full: w.value };
37
- const e = [], u = [], d = [];
38
- for (const s of w.value) {
40
+ return { left: [], right: [], full: h.value };
41
+ const l = [], a = [], n = [];
42
+ for (const s of h.value) {
39
43
  if (s.lineByLine) {
40
- d.push(s);
44
+ n.push(s);
41
45
  continue;
42
46
  }
43
- e.length <= u.length ? e.push(s) : u.push(s);
47
+ l.length <= a.length ? l.push(s) : a.push(s);
44
48
  }
45
- const t = Math.abs(e.length - u.length);
46
- if (t >= 2) {
47
- const s = e.length > u.length ? e : u, h = s.splice(s.length - Math.floor(t / 2));
48
- d.unshift(...h);
49
+ const e = Math.abs(l.length - a.length);
50
+ if (e >= 2) {
51
+ const s = l.length > a.length ? l : a, b = s.splice(s.length - Math.floor(e / 2));
52
+ n.unshift(...b);
49
53
  }
50
- return { left: e, right: u, full: d };
51
- }), k = i(() => n.value.full.length > 0), M = i(
52
- () => n.value.left.length > 0 || n.value.right.length > 0
53
- ), B = i(() => o.titleI18n ? T(o.titleI18n) : o.title ?? ""), V = i(() => {
54
- const e = {
54
+ return { left: l, right: a, full: n };
55
+ }), S = v(() => i.value.full.length > 0), E = v(
56
+ () => i.value.left.length > 0 || i.value.right.length > 0
57
+ ), B = v(() => o.titleI18n ? P(o.titleI18n) : o.title ?? ""), j = v(() => o.variant === "stacked"), O = v(() => {
58
+ const l = {
55
59
  default: "border border-border rounded",
56
- card: "border border-border rounded-xl bg-card shadow-sm",
60
+ card: "border border-border rounded bg-card shadow-sm",
57
61
  minimal: "rounded",
58
62
  striped: "border border-border rounded",
59
63
  compact: "border border-border rounded",
60
- "bordered-rows": "rounded border border-border"
64
+ "bordered-rows": "rounded border border-border",
65
+ stacked: "border border-border rounded"
61
66
  };
62
67
  return [
63
68
  "list-component w-full overflow-hidden",
64
- e[o.variant] ?? e.default,
69
+ l[o.variant] ?? l.default,
65
70
  o.class
66
71
  ].join(" ");
67
- }), j = i(() => o.columns === 1 ? "grid grid-cols-1" : o.columns === 3 ? "grid grid-cols-1 md:grid-cols-3" : "grid grid-cols-1 md:grid-cols-2"), S = i(() => o.columns === 1 ? "" : (o.columns === 3, "border-r border-border/70")), p = i(
68
- () => Object.keys(F).filter((e) => !["title", "header", "footer"].includes(e))
69
- ), L = i(() => Array.from({ length: o.skeletonRows }));
70
- return (e, u) => (r(), l("div", {
71
- class: v(V.value),
72
+ }), L = v(() => o.columns === 1 ? "grid grid-cols-1" : o.columns === 3 ? "grid grid-cols-1 md:grid-cols-3" : "grid grid-cols-1 md:grid-cols-2"), F = v(() => o.columns === 1 ? "" : "border-r border-border/70"), M = v(() => o.columns === 1 ? 1 : o.columns === 3 ? 3 : 2), V = v(() => o.columns === 1 ? "grid grid-cols-1 pb-2.5 pt-1 px-1" : o.columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 pb-2.5 pt-1 px-1" : "grid grid-cols-1 sm:grid-cols-2 pb-2.5 pt-1 px-1"), w = v(
73
+ () => Object.keys(D).filter((l) => !["title", "header", "footer"].includes(l))
74
+ ), I = v(() => Array.from({ length: o.skeletonRows }));
75
+ function R(l) {
76
+ return o.stackedBorderStyle === "divider" && l % M.value !== 0 ? "flex flex-col gap-1.5 py-2 border-l border-border pl-4 pr-3.5" : "flex flex-col gap-1.5 px-3.5 py-2";
77
+ }
78
+ return (l, a) => (t(), r("div", {
79
+ class: g(O.value),
72
80
  role: "table",
73
81
  "aria-label": "Information list"
74
82
  }, [
75
- B.value || a.titleIcon || e.$slots.title ? (r(), l("div", A, [
76
- g(e.$slots, "title", {}, () => [
77
- a.titleIcon ? (r(), y(R, {
83
+ B.value || d.titleIcon || l.$slots.title ? (t(), r("div", H, [
84
+ k(l.$slots, "title", {}, () => [
85
+ d.titleIcon ? (t(), y(G, {
78
86
  key: 0,
79
- icon: a.titleIcon,
87
+ icon: d.titleIcon,
80
88
  class: "w-4 h-4 text-muted-foreground shrink-0"
81
- }, null, 8, ["icon"])) : c("", !0),
82
- b("h3", N, O(B.value), 1)
89
+ }, null, 8, ["icon"])) : m("", !0),
90
+ u("h3", J, A(B.value), 1)
83
91
  ])
84
- ])) : c("", !0),
85
- a.loading ? (r(), l("div", {
86
- key: 1,
87
- class: v(j.value)
88
- }, [
89
- b("div", null, [
90
- (r(!0), l(m, null, f(L.value, (d, t) => (r(), l("div", {
91
- key: "sk-l-" + t,
92
- class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
93
- }, [...u[0] || (u[0] = [
94
- b("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
95
- b("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
96
- ])]))), 128))
97
- ]),
98
- a.columns !== 1 ? (r(), l("div", {
99
- key: 0,
100
- class: v(S.value)
92
+ ])) : m("", !0),
93
+ d.loading ? (t(), r(c, { key: 1 }, [
94
+ j.value ? (t(), r(c, { key: 0 }, [
95
+ u("div", K, [
96
+ (t(!0), r(c, null, f(I.value, (n, e) => (t(), r("div", {
97
+ key: "sk-sm-" + e,
98
+ class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
99
+ }, [...a[0] || (a[0] = [
100
+ u("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
101
+ u("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
102
+ ])]))), 128))
103
+ ]),
104
+ u("div", N, [
105
+ u("div", {
106
+ class: g(V.value)
107
+ }, [
108
+ (t(!0), r(c, null, f(I.value, (n, e) => (t(), r("div", {
109
+ key: "sk-s-" + e,
110
+ class: g(R(e))
111
+ }, [...a[1] || (a[1] = [
112
+ u("div", { class: "h-3 w-1/3 rounded bg-muted/60 animate-pulse" }, null, -1),
113
+ u("div", { class: "h-4 w-2/3 rounded bg-muted animate-pulse" }, null, -1)
114
+ ])], 2))), 128))
115
+ ], 2)
116
+ ])
117
+ ], 64)) : (t(), r("div", {
118
+ key: 1,
119
+ class: g(L.value)
101
120
  }, [
102
- (r(!0), l(m, null, f(L.value, (d, t) => (r(), l("div", {
103
- key: "sk-r-" + t,
104
- class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
105
- }, [...u[1] || (u[1] = [
106
- b("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
107
- b("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
108
- ])]))), 128))
109
- ], 2)) : c("", !0)
110
- ], 2)) : (r(), l(m, { key: 2 }, [
111
- b("div", {
112
- class: v(j.value)
113
- }, [
114
- n.value.left.length > 0 ? (r(), l("div", {
121
+ u("div", null, [
122
+ (t(!0), r(c, null, f(I.value, (n, e) => (t(), r("div", {
123
+ key: "sk-l-" + e,
124
+ class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
125
+ }, [...a[2] || (a[2] = [
126
+ u("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
127
+ u("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
128
+ ])]))), 128))
129
+ ]),
130
+ d.columns !== 1 ? (t(), r("div", {
115
131
  key: 0,
116
- class: v(S.value)
132
+ class: g(F.value)
117
133
  }, [
118
- (r(!0), l(m, null, f(n.value.left, (d, t) => (r(), y(x, {
119
- key: d.key + t,
120
- field: d,
134
+ (t(!0), r(c, null, f(I.value, (n, e) => (t(), r("div", {
135
+ key: "sk-r-" + e,
136
+ class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
137
+ }, [...a[3] || (a[3] = [
138
+ u("div", { class: "h-4 w-1/3 rounded bg-muted animate-pulse" }, null, -1),
139
+ u("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
140
+ ])]))), 128))
141
+ ], 2)) : m("", !0)
142
+ ], 2))
143
+ ], 64)) : (t(), r(c, { key: 2 }, [
144
+ j.value ? (t(), r(c, { key: 0 }, [
145
+ u("div", Q, [
146
+ (t(!0), r(c, null, f(h.value, (n, e) => (t(), y($, {
147
+ key: "mob-" + n.key + e,
148
+ field: n,
121
149
  data: o.data,
122
- index: t,
123
- variant: a.variant,
124
- "show-colon": a.showColon,
125
- "is-last": t === n.value.left.length - 1,
126
- "show-border-bottom": t < n.value.left.length - 1 || t === n.value.left.length - 1 && !k.value
127
- }, C({ _: 2 }, [
128
- f(p.value, (s) => ({
150
+ index: e,
151
+ variant: "default",
152
+ "show-colon": d.showColon,
153
+ "is-last": e === h.value.length - 1,
154
+ "show-border-bottom": e < h.value.length - 1
155
+ }, p({ _: 2 }, [
156
+ f(w.value, (s) => ({
129
157
  name: s,
130
- fn: I((h) => [
131
- g(e.$slots, s, $({ ref_for: !0 }, h))
158
+ fn: C((b) => [
159
+ k(l.$slots, s, x({ ref_for: !0 }, b))
132
160
  ])
133
161
  }))
134
- ]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
135
- ], 2)) : c("", !0),
136
- a.columns !== 1 && n.value.right.length > 0 ? (r(), l("div", P, [
137
- (r(!0), l(m, null, f(n.value.right, (d, t) => (r(), y(x, {
138
- key: d.key + t,
139
- field: d,
162
+ ]), 1032, ["field", "data", "index", "show-colon", "is-last", "show-border-bottom"]))), 128))
163
+ ]),
164
+ u("div", U, [
165
+ u("div", {
166
+ class: g(V.value)
167
+ }, [
168
+ (t(!0), r(c, null, f(h.value, (n, e) => (t(), y($, {
169
+ key: n.key + e,
170
+ field: n,
171
+ data: o.data,
172
+ index: e,
173
+ variant: d.variant,
174
+ "show-colon": !1,
175
+ "is-last": e === h.value.length - 1,
176
+ "show-border-bottom": !1,
177
+ "stacked-col-index": e % M.value,
178
+ "stacked-border-style": d.stackedBorderStyle
179
+ }, p({ _: 2 }, [
180
+ f(w.value, (s) => ({
181
+ name: s,
182
+ fn: C((b) => [
183
+ k(l.$slots, s, x({ ref_for: !0 }, b))
184
+ ])
185
+ }))
186
+ ]), 1032, ["field", "data", "index", "variant", "is-last", "stacked-col-index", "stacked-border-style"]))), 128))
187
+ ], 2)
188
+ ]),
189
+ h.value.length === 0 ? (t(), r("div", W, " No information to display. ")) : m("", !0)
190
+ ], 64)) : (t(), r(c, { key: 1 }, [
191
+ u("div", {
192
+ class: g(L.value)
193
+ }, [
194
+ i.value.left.length > 0 ? (t(), r("div", {
195
+ key: 0,
196
+ class: g(F.value)
197
+ }, [
198
+ (t(!0), r(c, null, f(i.value.left, (n, e) => (t(), y($, {
199
+ key: n.key + e,
200
+ field: n,
201
+ data: o.data,
202
+ index: e,
203
+ variant: d.variant,
204
+ "show-colon": d.showColon,
205
+ "is-last": e === i.value.left.length - 1,
206
+ "show-border-bottom": e < i.value.left.length - 1 || e === i.value.left.length - 1 && !S.value
207
+ }, p({ _: 2 }, [
208
+ f(w.value, (s) => ({
209
+ name: s,
210
+ fn: C((b) => [
211
+ k(l.$slots, s, x({ ref_for: !0 }, b))
212
+ ])
213
+ }))
214
+ ]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
215
+ ], 2)) : m("", !0),
216
+ d.columns !== 1 && i.value.right.length > 0 ? (t(), r("div", X, [
217
+ (t(!0), r(c, null, f(i.value.right, (n, e) => (t(), y($, {
218
+ key: n.key + e,
219
+ field: n,
220
+ data: o.data,
221
+ index: e,
222
+ variant: d.variant,
223
+ "show-colon": d.showColon,
224
+ "is-last": e === i.value.right.length - 1,
225
+ "show-border-bottom": e < i.value.right.length - 1 || e === i.value.right.length - 1 && !S.value
226
+ }, p({ _: 2 }, [
227
+ f(w.value, (s) => ({
228
+ name: s,
229
+ fn: C((b) => [
230
+ k(l.$slots, s, x({ ref_for: !0 }, b))
231
+ ])
232
+ }))
233
+ ]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
234
+ ])) : m("", !0),
235
+ d.columns === 3 ? (t(), r("div", Y)) : m("", !0)
236
+ ], 2),
237
+ S.value ? (t(), r("div", {
238
+ key: 0,
239
+ class: g(E.value ? "border-t border-border" : "")
240
+ }, [
241
+ (t(!0), r(c, null, f(i.value.full, (n, e) => (t(), y($, {
242
+ key: n.key + e,
243
+ field: n,
140
244
  data: o.data,
141
- index: t,
142
- variant: a.variant,
143
- "show-colon": a.showColon,
144
- "is-last": t === n.value.right.length - 1,
145
- "show-border-bottom": t < n.value.right.length - 1 || t === n.value.right.length - 1 && !k.value
146
- }, C({ _: 2 }, [
147
- f(p.value, (s) => ({
245
+ index: e,
246
+ variant: d.variant,
247
+ "show-colon": d.showColon,
248
+ "is-last": e === i.value.full.length - 1,
249
+ "show-border-bottom": e < i.value.full.length - 1
250
+ }, p({ _: 2 }, [
251
+ f(w.value, (s) => ({
148
252
  name: s,
149
- fn: I((h) => [
150
- g(e.$slots, s, $({ ref_for: !0 }, h))
253
+ fn: C((b) => [
254
+ k(l.$slots, s, x({ ref_for: !0 }, b))
151
255
  ])
152
256
  }))
153
257
  ]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
154
- ])) : c("", !0),
155
- a.columns === 3 ? (r(), l("div", q)) : c("", !0)
156
- ], 2),
157
- k.value ? (r(), l("div", {
158
- key: 0,
159
- class: v(M.value ? "border-t border-border" : "")
160
- }, [
161
- (r(!0), l(m, null, f(n.value.full, (d, t) => (r(), y(x, {
162
- key: d.key + t,
163
- field: d,
164
- data: o.data,
165
- index: t,
166
- variant: a.variant,
167
- "show-colon": a.showColon,
168
- "is-last": t === n.value.full.length - 1,
169
- "show-border-bottom": t < n.value.full.length - 1
170
- }, C({ _: 2 }, [
171
- f(p.value, (s) => ({
172
- name: s,
173
- fn: I((h) => [
174
- g(e.$slots, s, $({ ref_for: !0 }, h))
175
- ])
176
- }))
177
- ]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]))), 128))
178
- ], 2)) : c("", !0),
179
- w.value.length === 0 ? (r(), l("div", G, " No information to display. ")) : c("", !0)
258
+ ], 2)) : m("", !0),
259
+ h.value.length === 0 ? (t(), r("div", Z, " No information to display. ")) : m("", !0)
260
+ ], 64))
180
261
  ], 64)),
181
- e.$slots.footer ? (r(), l("div", H, [
182
- g(e.$slots, "footer")
183
- ])) : c("", !0)
262
+ l.$slots.footer ? (t(), r("div", _, [
263
+ k(l.$slots, "footer")
264
+ ])) : m("", !0)
184
265
  ], 2));
185
266
  }
186
267
  });
187
268
  export {
188
- X as default
269
+ ne as default
189
270
  };
@@ -1,4 +1,4 @@
1
- import { ListField } from './types';
1
+ import { ListField, StackedBorderStyle } from './types';
2
2
  interface Props {
3
3
  field: ListField;
4
4
  data: Record<string, any>;
@@ -7,6 +7,19 @@ interface Props {
7
7
  variant?: string;
8
8
  showColon?: boolean;
9
9
  index?: number;
10
+ /**
11
+ * For the stacked variant only.
12
+ * The column position of this item within its row (0-based).
13
+ * Passed down from List.vue as `idx % stackedColCount`.
14
+ */
15
+ stackedColIndex?: number;
16
+ /**
17
+ * For the stacked variant only.
18
+ * Controls whether left border dividers appear between cells.
19
+ * - `'none'` — No borders (default, stock look).
20
+ * - `'divider'` — Left border on non-first cells per row + extra left padding.
21
+ */
22
+ stackedBorderStyle?: StackedBorderStyle;
10
23
  }
11
24
  declare function __VLS_template(): {
12
25
  attrs: Partial<{}>;
@@ -14,9 +27,13 @@ declare function __VLS_template(): {
14
27
  value: any;
15
28
  resolved: string;
16
29
  data: Record<string, any>;
30
+ }) => any>> & Partial<Record<string, (_: {
31
+ value: any;
32
+ resolved: string;
33
+ data: Record<string, any>;
17
34
  }) => any>>;
18
35
  refs: {};
19
- rootEl: HTMLDivElement;
36
+ rootEl: any;
20
37
  };
21
38
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
39
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
@@ -25,7 +42,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
25
42
  isLast: boolean;
26
43
  showBorderBottom: boolean;
27
44
  showColon: boolean;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
45
+ stackedColIndex: number;
46
+ stackedBorderStyle: StackedBorderStyle;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
48
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
49
  export default _default;
31
50
  type __VLS_WithTemplateSlots<T, S> = T & {