@atelier-ui/vue 0.0.21 → 0.0.23

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as p, ref as B, provide as E, computed as v, openBlock as s, createElementBlock as n, normalizeClass as g, renderSlot as h, useId as j, inject as R, onMounted as H, watch as A, onBeforeUnmount as F, createElementVNode as c, createCommentVNode as k, toDisplayString as x, useSlots as ie, Fragment as D, renderList as z, createBlock as N, resolveDynamicComponent as re, normalizeStyle as P, unref as q, withModifiers as U, onUnmounted as Z, createTextVNode as O, createVNode as de, nextTick as ue } from "vue";
2
- const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1
+ import { defineComponent as p, ref as B, provide as H, computed as v, openBlock as s, createElementBlock as n, normalizeClass as g, renderSlot as h, useId as O, inject as R, onMounted as E, watch as A, onBeforeUnmount as F, createElementVNode as c, toDisplayString as L, createCommentVNode as k, useSlots as ie, Fragment as I, renderList as z, createBlock as N, resolveDynamicComponent as re, normalizeStyle as P, unref as q, withModifiers as U, onUnmounted as Z, createTextVNode as G, createVNode as de, nextTick as ue } from "vue";
2
+ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), ot = /* @__PURE__ */ p({
3
3
  name: "LlmAccordionGroup",
4
4
  __name: "llm-accordion-group",
5
5
  props: {
@@ -7,18 +7,18 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
7
7
  variant: { default: "default" }
8
8
  },
9
9
  setup(e) {
10
- const t = e, a = B(/* @__PURE__ */ new Set()), r = /* @__PURE__ */ new Map();
10
+ const t = e, a = B(/* @__PURE__ */ new Set()), i = /* @__PURE__ */ new Map();
11
11
  function l(o) {
12
12
  const m = new Set(a.value);
13
13
  m.has(o) ? m.delete(o) : (t.multi || m.clear(), m.add(o)), a.value = m;
14
14
  }
15
15
  function d(o, m) {
16
- r.set(o, m);
16
+ i.set(o, m);
17
17
  }
18
18
  function u(o) {
19
- r.delete(o);
19
+ i.delete(o);
20
20
  }
21
- E(J, {
21
+ H(J, {
22
22
  get multi() {
23
23
  return t.multi;
24
24
  },
@@ -27,14 +27,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
27
27
  registerItem: d,
28
28
  unregisterItem: u
29
29
  });
30
- const i = v(() => ["llm-accordion-group", `variant-${t.variant}`]);
30
+ const r = v(() => ["llm-accordion-group", `variant-${t.variant}`]);
31
31
  return (o, m) => (s(), n("div", {
32
- class: g(i.value)
32
+ class: g(r.value)
33
33
  }, [
34
34
  h(o.$slots, "default")
35
35
  ], 2));
36
36
  }
37
- }), ce = { class: "accordion-heading" }, me = ["aria-expanded", "disabled"], nt = /* @__PURE__ */ p({
37
+ }), ce = { class: "accordion-heading" }, me = ["aria-expanded", "disabled"], it = /* @__PURE__ */ p({
38
38
  name: "LlmAccordionItem",
39
39
  __name: "llm-accordion-item",
40
40
  props: {
@@ -43,35 +43,35 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
43
43
  },
44
44
  emits: ["update:expanded"],
45
45
  setup(e, { emit: t }) {
46
- const a = e, r = t, l = j(), d = `llm-accordion-trigger-${l}`, u = `llm-accordion-panel-${l}`, i = R(J, null), o = B(null), m = v(() => i ? i.openItems.value.has(l) : a.expanded ?? !1);
46
+ const a = e, i = t, l = O(), d = `llm-accordion-trigger-${l}`, u = `llm-accordion-panel-${l}`, r = R(J, null), o = B(null), m = v(() => r ? r.openItems.value.has(l) : a.expanded ?? !1);
47
47
  function $() {
48
- a.disabled || (i ? i.toggleItem(l) : r("update:expanded", !m.value));
48
+ a.disabled || (r ? r.toggleItem(l) : i("update:expanded", !m.value));
49
49
  }
50
50
  function y(_) {
51
- if (!i) return;
51
+ if (!r) return;
52
52
  const f = Array.from(
53
53
  document.querySelectorAll(".llm-accordion-item:not(.is-disabled) .accordion-trigger")
54
54
  ), C = f.indexOf(_.currentTarget);
55
55
  _.key === "ArrowDown" ? (_.preventDefault(), f[(C + 1) % f.length]?.focus()) : _.key === "ArrowUp" ? (_.preventDefault(), f[(C - 1 + f.length) % f.length]?.focus()) : _.key === "Home" ? (_.preventDefault(), f[0]?.focus()) : _.key === "End" && (_.preventDefault(), f[f.length - 1]?.focus());
56
56
  }
57
- H(() => {
58
- i && o.value && i.registerItem(l, o.value), !i && a.expanded;
57
+ E(() => {
58
+ r && o.value && r.registerItem(l, o.value), !r && a.expanded;
59
59
  }), A(
60
60
  () => a.expanded,
61
61
  (_) => {
62
- if (!i || _ === void 0) return;
63
- const f = i.openItems.value.has(l);
64
- (_ && !f || !_ && f) && i.toggleItem(l);
62
+ if (!r || _ === void 0) return;
63
+ const f = r.openItems.value.has(l);
64
+ (_ && !f || !_ && f) && r.toggleItem(l);
65
65
  },
66
66
  { immediate: !0 }
67
67
  ), F(() => {
68
- i && i.unregisterItem(l);
68
+ r && r.unregisterItem(l);
69
69
  });
70
70
  const b = v(() => [
71
71
  "llm-accordion-item",
72
72
  m.value && "is-expanded",
73
73
  a.disabled && "is-disabled"
74
- ]), L = v(() => ["chevron", m.value && "is-expanded"]);
74
+ ]), x = v(() => ["chevron", m.value && "is-expanded"]);
75
75
  return (_, f) => (s(), n("div", {
76
76
  class: g(b.value)
77
77
  }, [
@@ -90,7 +90,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
90
90
  }, [
91
91
  h(_.$slots, "header"),
92
92
  (s(), n("svg", {
93
- class: g(L.value),
93
+ class: g(x.value),
94
94
  width: "16",
95
95
  height: "16",
96
96
  viewBox: "0 0 16 16",
@@ -121,7 +121,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
121
121
  ], 2)
122
122
  ], 2));
123
123
  }
124
- }), fe = { class: "accordion-header-content" }, ot = /* @__PURE__ */ p({
124
+ }), fe = { class: "accordion-header-content" }, rt = /* @__PURE__ */ p({
125
125
  name: "LlmAccordionHeader",
126
126
  __name: "llm-accordion-header",
127
127
  setup(e) {
@@ -129,7 +129,10 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
129
129
  h(t.$slots, "default")
130
130
  ]));
131
131
  }
132
- }), ve = ["aria-live"], pe = { class: "content" }, it = /* @__PURE__ */ p({
132
+ }), ve = ["aria-live"], pe = { class: "content" }, be = {
133
+ class: "variant-icon",
134
+ "aria-hidden": "true"
135
+ }, dt = /* @__PURE__ */ p({
133
136
  name: "LlmAlert",
134
137
  __name: "llm-alert",
135
138
  props: {
@@ -138,24 +141,30 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
138
141
  },
139
142
  emits: ["dismissed"],
140
143
  setup(e, { emit: t }) {
141
- const a = e, r = t, l = v(() => ["llm-alert", `variant-${a.variant}`]), d = v(
142
- () => a.variant === "danger" || a.variant === "warning" ? "assertive" : "polite"
143
- );
144
- return (u, i) => (s(), n("div", {
145
- class: g(l.value),
144
+ const a = {
145
+ info: "",
146
+ success: "✓",
147
+ warning: "",
148
+ danger: "✕"
149
+ }, i = e, l = t, d = v(() => ["llm-alert", `variant-${i.variant}`]), u = v(
150
+ () => i.variant === "danger" || i.variant === "warning" ? "assertive" : "polite"
151
+ ), r = v(() => a[i.variant]);
152
+ return (o, m) => (s(), n("div", {
153
+ class: g(d.value),
146
154
  role: "alert",
147
- "aria-live": d.value
155
+ "aria-live": u.value
148
156
  }, [
149
157
  c("span", pe, [
150
- h(u.$slots, "default")
158
+ c("span", be, L(r.value), 1),
159
+ h(o.$slots, "default")
151
160
  ]),
152
161
  e.dismissible ? (s(), n("button", {
153
162
  key: 0,
154
163
  class: "dismiss",
155
164
  type: "button",
156
165
  "aria-label": "Dismiss",
157
- onClick: i[0] || (i[0] = (o) => r("dismissed"))
158
- }, [...i[1] || (i[1] = [
166
+ onClick: m[0] || (m[0] = ($) => l("dismissed"))
167
+ }, [...m[1] || (m[1] = [
159
168
  c("svg", {
160
169
  xmlns: "http://www.w3.org/2000/svg",
161
170
  width: "16",
@@ -184,17 +193,17 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
184
193
  ])])) : k("", !0)
185
194
  ], 10, ve));
186
195
  }
187
- }), be = ["aria-label"], he = ["src", "alt"], ge = {
196
+ }), he = ["aria-label"], ge = ["src", "alt"], ye = {
188
197
  key: 1,
189
198
  class: "initials"
190
- }, ye = {
199
+ }, $e = {
191
200
  key: 2,
192
201
  class: "icon",
193
202
  xmlns: "http://www.w3.org/2000/svg",
194
203
  viewBox: "0 0 24 24",
195
204
  fill: "currentColor",
196
205
  "aria-hidden": "true"
197
- }, rt = /* @__PURE__ */ p({
206
+ }, ut = /* @__PURE__ */ p({
198
207
  name: "LlmAvatar",
199
208
  __name: "llm-avatar",
200
209
  props: {
@@ -210,15 +219,15 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
210
219
  A(() => t.src, () => {
211
220
  a.value = !1;
212
221
  });
213
- function r(i) {
214
- return i.split(" ").filter(Boolean).slice(0, 2).map((o) => o[0].toUpperCase()).join("");
222
+ function i(r) {
223
+ return r.split(" ").filter(Boolean).slice(0, 2).map((o) => o[0].toUpperCase()).join("");
215
224
  }
216
- const l = v(() => t.name ? r(t.name) : ""), d = v(() => t.alt || t.name || "Avatar"), u = v(() => [
225
+ const l = v(() => t.name ? i(t.name) : ""), d = v(() => t.alt || t.name || "Avatar"), u = v(() => [
217
226
  "llm-avatar",
218
227
  `size-${t.size}`,
219
228
  `shape-${t.shape}`
220
229
  ]);
221
- return (i, o) => (s(), n("div", {
230
+ return (r, o) => (s(), n("div", {
222
231
  class: g(u.value),
223
232
  "aria-label": d.value,
224
233
  role: "img"
@@ -228,7 +237,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
228
237
  src: e.src,
229
238
  alt: e.alt || e.name,
230
239
  onError: o[0] || (o[0] = (m) => a.value = !0)
231
- }, null, 40, he)) : l.value ? (s(), n("span", ge, x(l.value), 1)) : (s(), n("svg", ye, [...o[1] || (o[1] = [
240
+ }, null, 40, ge)) : l.value ? (s(), n("span", ye, L(l.value), 1)) : (s(), n("svg", $e, [...o[1] || (o[1] = [
232
241
  c("path", { d: "M12 12c2.761 0 5-2.239 5-5s-2.239-5-5-5-5 2.239-5 5 2.239 5 5 5zm0 2c-3.314 0-10 1.343-10 4v2h20v-2c0-2.657-6.686-4-10-4z" }, null, -1)
233
242
  ])])),
234
243
  e.status ? (s(), n("span", {
@@ -236,9 +245,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
236
245
  class: g(`status-dot status-${e.status}`),
237
246
  "aria-hidden": "true"
238
247
  }, null, 2)) : k("", !0)
239
- ], 10, be));
248
+ ], 10, he));
240
249
  }
241
- }), $e = ["aria-label"], dt = /* @__PURE__ */ p({
250
+ }), ke = ["aria-label"], ct = /* @__PURE__ */ p({
242
251
  name: "LlmAvatarGroup",
243
252
  __name: "llm-avatar-group",
244
253
  props: {
@@ -246,19 +255,23 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
246
255
  size: { default: "md" }
247
256
  },
248
257
  setup(e) {
249
- const t = e, a = ie(), r = v(() => a.default?.() ?? []), l = v(() => r.value.slice(0, t.max)), d = v(() => Math.max(0, r.value.length - t.max));
250
- return (u, i) => (s(), n("div", {
258
+ const t = e, a = ie(), i = v(() => a.default?.() ?? []), l = v(() => i.value.slice(0, t.max)), d = v(() => Math.max(0, i.value.length - t.max));
259
+ return (u, r) => (s(), n("div", {
251
260
  class: g(["llm-avatar-group", `size-${e.size}`])
252
261
  }, [
253
- (s(!0), n(D, null, z(l.value, (o, m) => (s(), N(re(o), { key: m }))), 128)),
262
+ (s(!0), n(I, null, z(l.value, (o, m) => (s(), N(re(o), { key: m }))), 128)),
254
263
  d.value > 0 ? (s(), n("div", {
255
264
  key: 0,
256
265
  class: g(`overflow-badge size-${e.size}`),
257
266
  "aria-label": `+${d.value} more`
258
- }, " +" + x(d.value), 11, $e)) : k("", !0)
267
+ }, " +" + L(d.value), 11, ke)) : k("", !0)
259
268
  ], 2));
260
269
  }
261
- }), ut = /* @__PURE__ */ p({
270
+ }), _e = {
271
+ key: 0,
272
+ class: "variant-icon",
273
+ "aria-hidden": "true"
274
+ }, mt = /* @__PURE__ */ p({
262
275
  name: "LlmBadge",
263
276
  __name: "llm-badge",
264
277
  props: {
@@ -266,19 +279,26 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
266
279
  size: { default: "md" }
267
280
  },
268
281
  setup(e) {
269
- const t = e, a = v(() => [
282
+ const t = {
283
+ default: null,
284
+ success: "✓",
285
+ warning: "⚠",
286
+ danger: "✕",
287
+ info: "ℹ"
288
+ }, a = e, i = v(() => [
270
289
  "llm-badge",
271
- `variant-${t.variant}`,
272
- `size-${t.size}`
273
- ]);
274
- return (r, l) => (s(), n("span", {
275
- class: g(a.value),
290
+ `variant-${a.variant}`,
291
+ `size-${a.size}`
292
+ ]), l = v(() => t[a.variant]);
293
+ return (d, u) => (s(), n("span", {
294
+ class: g(i.value),
276
295
  role: "status"
277
296
  }, [
278
- h(r.$slots, "default")
297
+ l.value ? (s(), n("span", _e, L(l.value), 1)) : k("", !0),
298
+ h(d.$slots, "default")
279
299
  ], 2));
280
300
  }
281
- }), ke = { class: "breadcrumbs-list" }, ct = /* @__PURE__ */ p({
301
+ }), we = { class: "breadcrumbs-list" }, ft = /* @__PURE__ */ p({
282
302
  name: "LlmBreadcrumbs",
283
303
  __name: "llm-breadcrumbs",
284
304
  props: {
@@ -286,17 +306,17 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
286
306
  },
287
307
  setup(e) {
288
308
  const t = e;
289
- return (a, r) => (s(), n("nav", {
309
+ return (a, i) => (s(), n("nav", {
290
310
  class: "llm-breadcrumbs",
291
311
  "aria-label": "Breadcrumb",
292
312
  style: P({ "--llm-separator": `'${t.separator}'` })
293
313
  }, [
294
- c("ol", ke, [
314
+ c("ol", we, [
295
315
  h(a.$slots, "default")
296
316
  ])
297
317
  ], 4));
298
318
  }
299
- }), _e = ["href"], we = ["aria-current"], mt = /* @__PURE__ */ p({
319
+ }), Le = ["href"], xe = ["aria-current"], vt = /* @__PURE__ */ p({
300
320
  name: "LlmBreadcrumbItem",
301
321
  __name: "llm-breadcrumb-item",
302
322
  props: {
@@ -308,7 +328,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
308
328
  "llm-breadcrumb-item",
309
329
  t.current && "is-current"
310
330
  ].filter(Boolean));
311
- return (r, l) => (s(), n("li", {
331
+ return (i, l) => (s(), n("li", {
312
332
  class: g(a.value)
313
333
  }, [
314
334
  e.href && !e.current ? (s(), n("a", {
@@ -316,21 +336,21 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
316
336
  href: e.href,
317
337
  class: "breadcrumb-link"
318
338
  }, [
319
- h(r.$slots, "default")
320
- ], 8, _e)) : (s(), n("span", {
339
+ h(i.$slots, "default")
340
+ ], 8, Le)) : (s(), n("span", {
321
341
  key: 1,
322
342
  class: "breadcrumb-current",
323
343
  "aria-current": e.current ? "page" : void 0
324
344
  }, [
325
- h(r.$slots, "default")
326
- ], 8, we))
345
+ h(i.$slots, "default")
346
+ ], 8, xe))
327
347
  ], 2));
328
348
  }
329
- }), Le = ["type", "disabled", "aria-disabled"], xe = {
349
+ }), Be = ["type", "disabled", "aria-disabled"], Ce = {
330
350
  key: 0,
331
351
  class: "spinner",
332
352
  "aria-hidden": "true"
333
- }, ft = /* @__PURE__ */ p({
353
+ }, pt = /* @__PURE__ */ p({
334
354
  name: "LlmButton",
335
355
  __name: "llm-button",
336
356
  props: {
@@ -341,7 +361,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
341
361
  type: { default: "button" }
342
362
  },
343
363
  setup(e) {
344
- const t = e, a = v(() => t.disabled || t.loading), r = v(() => [
364
+ const t = e, a = v(() => t.disabled || t.loading), i = v(() => [
345
365
  "llm-button",
346
366
  `variant-${t.variant}`,
347
367
  `size-${t.size}`,
@@ -349,16 +369,16 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
349
369
  t.loading && "is-loading"
350
370
  ].filter(Boolean));
351
371
  return (l, d) => (s(), n("button", {
352
- class: g(r.value),
372
+ class: g(i.value),
353
373
  type: e.type,
354
374
  disabled: a.value,
355
375
  "aria-disabled": a.value || void 0
356
376
  }, [
357
- e.loading ? (s(), n("span", xe)) : k("", !0),
377
+ e.loading ? (s(), n("span", Ce)) : k("", !0),
358
378
  h(l.$slots, "default")
359
- ], 10, Le));
379
+ ], 10, Be));
360
380
  }
361
- }), vt = /* @__PURE__ */ p({
381
+ }), bt = /* @__PURE__ */ p({
362
382
  name: "LlmCard",
363
383
  __name: "llm-card",
364
384
  props: {
@@ -371,41 +391,41 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
371
391
  `variant-${t.variant}`,
372
392
  `padding-${t.padding}`
373
393
  ]);
374
- return (r, l) => (s(), n("div", {
394
+ return (i, l) => (s(), n("div", {
375
395
  class: g(a.value)
376
396
  }, [
377
- h(r.$slots, "default")
397
+ h(i.$slots, "default")
378
398
  ], 2));
379
399
  }
380
- }), Be = { class: "llm-card-header" }, pt = /* @__PURE__ */ p({
400
+ }), Te = { class: "llm-card-header" }, ht = /* @__PURE__ */ p({
381
401
  name: "LlmCardHeader",
382
402
  __name: "llm-card-header",
383
403
  setup(e) {
384
- return (t, a) => (s(), n("div", Be, [
404
+ return (t, a) => (s(), n("div", Te, [
385
405
  h(t.$slots, "default")
386
406
  ]));
387
407
  }
388
- }), Ce = { class: "llm-card-content" }, bt = /* @__PURE__ */ p({
408
+ }), Ie = { class: "llm-card-content" }, gt = /* @__PURE__ */ p({
389
409
  name: "LlmCardContent",
390
410
  __name: "llm-card-content",
391
411
  setup(e) {
392
- return (t, a) => (s(), n("div", Ce, [
412
+ return (t, a) => (s(), n("div", Ie, [
393
413
  h(t.$slots, "default")
394
414
  ]));
395
415
  }
396
- }), Te = { class: "llm-card-footer" }, ht = /* @__PURE__ */ p({
416
+ }), De = { class: "llm-card-footer" }, yt = /* @__PURE__ */ p({
397
417
  name: "LlmCardFooter",
398
418
  __name: "llm-card-footer",
399
419
  setup(e) {
400
- return (t, a) => (s(), n("div", Te, [
420
+ return (t, a) => (s(), n("div", De, [
401
421
  h(t.$slots, "default")
402
422
  ]));
403
423
  }
404
- }), De = ["for"], Ie = ["id", "checked", "disabled", "readonly", "required", "name", "aria-invalid"], Se = {
424
+ }), Se = ["for"], Me = ["id", "checked", "disabled", "readonly", "required", "name", "aria-invalid"], ze = {
405
425
  key: 0,
406
426
  class: "errors",
407
427
  "aria-live": "polite"
408
- }, Me = /* @__PURE__ */ p({
428
+ }, qe = /* @__PURE__ */ p({
409
429
  name: "LlmCheckbox",
410
430
  __name: "llm-checkbox",
411
431
  props: {
@@ -421,20 +441,20 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
421
441
  },
422
442
  emits: ["update:checked"],
423
443
  setup(e, { emit: t }) {
424
- const a = e, r = t, l = B(null), d = v(() => a.id || `checkbox-${Math.random().toString(36).slice(2)}`);
444
+ const a = e, i = t, l = B(null), d = v(() => a.id || `checkbox-${Math.random().toString(36).slice(2)}`);
425
445
  A(
426
446
  () => a.indeterminate,
427
- (i) => {
428
- l.value && (l.value.indeterminate = i);
447
+ (r) => {
448
+ l.value && (l.value.indeterminate = r);
429
449
  }
430
- ), H(() => {
450
+ ), E(() => {
431
451
  l.value && (l.value.indeterminate = a.indeterminate);
432
452
  });
433
- function u(i) {
434
- const o = i.target;
435
- r("update:checked", o.checked);
453
+ function u(r) {
454
+ const o = r.target;
455
+ i("update:checked", o.checked);
436
456
  }
437
- return (i, o) => (s(), n("div", {
457
+ return (r, o) => (s(), n("div", {
438
458
  class: g(["llm-checkbox", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
439
459
  }, [
440
460
  c("label", {
@@ -453,18 +473,18 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
453
473
  name: e.name,
454
474
  "aria-invalid": e.invalid || void 0,
455
475
  onChange: u
456
- }, null, 40, Ie),
457
- h(i.$slots, "default")
458
- ], 8, De),
459
- e.errors.length ? (s(), n("ul", Se, [
460
- (s(!0), n(D, null, z(e.errors, (m, $) => (s(), n("li", {
476
+ }, null, 40, Me),
477
+ h(r.$slots, "default")
478
+ ], 8, Se),
479
+ e.errors.length ? (s(), n("ul", ze, [
480
+ (s(!0), n(I, null, z(e.errors, (m, $) => (s(), n("li", {
461
481
  key: $,
462
482
  class: "error"
463
- }, x(m), 1))), 128))
483
+ }, L(m), 1))), 128))
464
484
  ])) : k("", !0)
465
485
  ], 2));
466
486
  }
467
- }), ze = ["aria-label", "aria-labelledby"], Q = /* @__PURE__ */ Symbol("LlmDialog"), gt = /* @__PURE__ */ p({
487
+ }), Ae = ["aria-label", "aria-labelledby"], Q = /* @__PURE__ */ Symbol("LlmDialog"), $t = /* @__PURE__ */ p({
468
488
  name: "LlmDialog",
469
489
  __name: "llm-dialog",
470
490
  props: {
@@ -475,14 +495,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
475
495
  },
476
496
  emits: ["update:open"],
477
497
  setup(e, { emit: t }) {
478
- const a = e, r = t, l = B(null), d = j();
498
+ const a = e, i = t, l = B(null), d = O();
479
499
  function u() {
480
- r("update:open", !1);
500
+ i("update:open", !1);
481
501
  }
482
- E(Q, {
502
+ H(Q, {
483
503
  headerId: d,
484
504
  close: u
485
- }), H(() => {
505
+ }), E(() => {
486
506
  a.open && l.value && l.value.showModal();
487
507
  }), A(
488
508
  () => a.open,
@@ -492,14 +512,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
492
512
  },
493
513
  { flush: "post" }
494
514
  );
495
- function i() {
496
- r("update:open", !1);
515
+ function r() {
516
+ i("update:open", !1);
497
517
  }
498
518
  function o(y) {
499
- y.preventDefault(), r("update:open", !1);
519
+ y.preventDefault(), i("update:open", !1);
500
520
  }
501
521
  function m(y) {
502
- a.closeOnBackdrop && y.target === l.value && r("update:open", !1);
522
+ a.closeOnBackdrop && y.target === l.value && i("update:open", !1);
503
523
  }
504
524
  const $ = v(() => ["panel", `size-${a.size}`]);
505
525
  return (y, b) => (s(), n("dialog", {
@@ -509,7 +529,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
509
529
  "aria-label": e.ariaLabel || void 0,
510
530
  "aria-labelledby": e.ariaLabel ? void 0 : q(d),
511
531
  "aria-modal": "true",
512
- onClose: i,
532
+ onClose: r,
513
533
  onCancel: o,
514
534
  onClick: m
515
535
  }, [
@@ -520,27 +540,27 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
520
540
  }, [
521
541
  h(y.$slots, "default")
522
542
  ], 2)
523
- ], 40, ze));
543
+ ], 40, Ae));
524
544
  }
525
- }), qe = ["id"], Ae = { class: "header-content" }, yt = /* @__PURE__ */ p({
545
+ }), Re = ["id"], He = { class: "header-content" }, kt = /* @__PURE__ */ p({
526
546
  name: "LlmDialogHeader",
527
547
  __name: "llm-dialog-header",
528
548
  setup(e) {
529
549
  const t = R(Q, { headerId: "", close: () => {
530
550
  } });
531
- return (a, r) => (s(), n("div", {
551
+ return (a, i) => (s(), n("div", {
532
552
  id: q(t).headerId,
533
553
  class: "llm-dialog-header"
534
554
  }, [
535
- c("span", Ae, [
555
+ c("span", He, [
536
556
  h(a.$slots, "default")
537
557
  ]),
538
558
  c("button", {
539
559
  class: "close-btn",
540
560
  type: "button",
541
561
  "aria-label": "Close dialog",
542
- onClick: r[0] || (r[0] = (l) => q(t).close())
543
- }, [...r[1] || (r[1] = [
562
+ onClick: i[0] || (i[0] = (l) => q(t).close())
563
+ }, [...i[1] || (i[1] = [
544
564
  c("svg", {
545
565
  xmlns: "http://www.w3.org/2000/svg",
546
566
  width: "14",
@@ -567,25 +587,25 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
567
587
  })
568
588
  ], -1)
569
589
  ])])
570
- ], 8, qe));
590
+ ], 8, Re));
571
591
  }
572
- }), Re = { class: "llm-dialog-content" }, $t = /* @__PURE__ */ p({
592
+ }), Ee = { class: "llm-dialog-content" }, _t = /* @__PURE__ */ p({
573
593
  name: "LlmDialogContent",
574
594
  __name: "llm-dialog-content",
575
595
  setup(e) {
576
- return (t, a) => (s(), n("div", Re, [
596
+ return (t, a) => (s(), n("div", Ee, [
577
597
  h(t.$slots, "default")
578
598
  ]));
579
599
  }
580
- }), Ee = { class: "llm-dialog-footer" }, kt = /* @__PURE__ */ p({
600
+ }), Oe = { class: "llm-dialog-footer" }, wt = /* @__PURE__ */ p({
581
601
  name: "LlmDialogFooter",
582
602
  __name: "llm-dialog-footer",
583
603
  setup(e) {
584
- return (t, a) => (s(), n("div", Ee, [
604
+ return (t, a) => (s(), n("div", Oe, [
585
605
  h(t.$slots, "default")
586
606
  ]));
587
607
  }
588
- }), He = ["aria-labelledby"], W = /* @__PURE__ */ Symbol("LlmDrawer"), _t = /* @__PURE__ */ p({
608
+ }), je = ["aria-labelledby"], W = /* @__PURE__ */ Symbol("LlmDrawer"), Lt = /* @__PURE__ */ p({
589
609
  name: "LlmDrawer",
590
610
  __name: "llm-drawer",
591
611
  props: {
@@ -596,14 +616,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
596
616
  },
597
617
  emits: ["update:open"],
598
618
  setup(e, { emit: t }) {
599
- const a = e, r = t, l = B(null), d = j();
619
+ const a = e, i = t, l = B(null), d = O();
600
620
  function u() {
601
- r("update:open", !1);
621
+ i("update:open", !1);
602
622
  }
603
- E(W, {
623
+ H(W, {
604
624
  headerId: d,
605
625
  close: u
606
- }), H(() => {
626
+ }), E(() => {
607
627
  a.open && l.value && l.value.showModal();
608
628
  }), A(
609
629
  () => a.open,
@@ -613,14 +633,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
613
633
  },
614
634
  { flush: "post" }
615
635
  );
616
- function i() {
617
- r("update:open", !1);
636
+ function r() {
637
+ i("update:open", !1);
618
638
  }
619
639
  function o(y) {
620
- y.preventDefault(), r("update:open", !1);
640
+ y.preventDefault(), i("update:open", !1);
621
641
  }
622
642
  function m(y) {
623
- a.closeOnBackdrop && y.target === l.value && r("update:open", !1);
643
+ a.closeOnBackdrop && y.target === l.value && i("update:open", !1);
624
644
  }
625
645
  const $ = v(() => [
626
646
  "llm-drawer-host",
@@ -634,7 +654,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
634
654
  class: g($.value),
635
655
  "aria-labelledby": q(d),
636
656
  "aria-modal": "true",
637
- onClose: i,
657
+ onClose: r,
638
658
  onCancel: o,
639
659
  onClick: m
640
660
  }, [
@@ -645,27 +665,27 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
645
665
  }, [
646
666
  h(y.$slots, "default")
647
667
  ])
648
- ], 42, He));
668
+ ], 42, je));
649
669
  }
650
- }), je = ["id"], Ge = { class: "header-content" }, wt = /* @__PURE__ */ p({
670
+ }), Ge = ["id"], Fe = { class: "header-content" }, xt = /* @__PURE__ */ p({
651
671
  name: "LlmDrawerHeader",
652
672
  __name: "llm-drawer-header",
653
673
  setup(e) {
654
674
  const t = R(W, { headerId: "", close: () => {
655
675
  } });
656
- return (a, r) => (s(), n("div", {
676
+ return (a, i) => (s(), n("div", {
657
677
  id: q(t).headerId,
658
678
  class: "llm-drawer-header"
659
679
  }, [
660
- c("span", Ge, [
680
+ c("span", Fe, [
661
681
  h(a.$slots, "default")
662
682
  ]),
663
683
  c("button", {
664
684
  class: "close-btn",
665
685
  type: "button",
666
686
  "aria-label": "Close drawer",
667
- onClick: r[0] || (r[0] = (l) => q(t).close())
668
- }, [...r[1] || (r[1] = [
687
+ onClick: i[0] || (i[0] = (l) => q(t).close())
688
+ }, [...i[1] || (i[1] = [
669
689
  c("svg", {
670
690
  xmlns: "http://www.w3.org/2000/svg",
671
691
  width: "14",
@@ -692,29 +712,29 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
692
712
  })
693
713
  ], -1)
694
714
  ])])
695
- ], 8, je));
715
+ ], 8, Ge));
696
716
  }
697
- }), Oe = { class: "llm-drawer-content" }, Lt = /* @__PURE__ */ p({
717
+ }), Pe = { class: "llm-drawer-content" }, Bt = /* @__PURE__ */ p({
698
718
  name: "LlmDrawerContent",
699
719
  __name: "llm-drawer-content",
700
720
  setup(e) {
701
- return (t, a) => (s(), n("div", Oe, [
721
+ return (t, a) => (s(), n("div", Pe, [
702
722
  h(t.$slots, "default")
703
723
  ]));
704
724
  }
705
- }), Fe = { class: "llm-drawer-footer" }, xt = /* @__PURE__ */ p({
725
+ }), Ke = { class: "llm-drawer-footer" }, Ct = /* @__PURE__ */ p({
706
726
  name: "LlmDrawerFooter",
707
727
  __name: "llm-drawer-footer",
708
728
  setup(e) {
709
- return (t, a) => (s(), n("div", Fe, [
729
+ return (t, a) => (s(), n("div", Ke, [
710
730
  h(t.$slots, "default")
711
731
  ]));
712
732
  }
713
- }), Pe = ["for"], Ke = { class: "input-field" }, Ve = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Ne = {
733
+ }), Ve = ["for"], Ne = { class: "input-field" }, Ue = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Ze = {
714
734
  key: 1,
715
735
  class: "errors",
716
736
  "aria-live": "polite"
717
- }, Bt = /* @__PURE__ */ p({
737
+ }, Tt = /* @__PURE__ */ p({
718
738
  name: "LlmInput",
719
739
  __name: "llm-input",
720
740
  props: {
@@ -732,19 +752,19 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
732
752
  },
733
753
  emits: ["update:value"],
734
754
  setup(e, { emit: t }) {
735
- const a = e, r = t, l = v(() => a.id || (a.label ? `input-${Math.random().toString(36).slice(2)}` : void 0));
755
+ const a = e, i = t, l = v(() => a.id || (a.label ? `input-${Math.random().toString(36).slice(2)}` : void 0));
736
756
  function d(u) {
737
- r("update:value", u.target.value);
757
+ i("update:value", u.target.value);
738
758
  }
739
- return (u, i) => (s(), n("div", {
759
+ return (u, r) => (s(), n("div", {
740
760
  class: g(["llm-input", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
741
761
  }, [
742
762
  e.label ? (s(), n("label", {
743
763
  key: 0,
744
764
  for: l.value,
745
765
  class: "input-label"
746
- }, x(e.label), 9, Pe)) : k("", !0),
747
- c("div", Ke, [
766
+ }, L(e.label), 9, Ve)) : k("", !0),
767
+ c("div", Ne, [
748
768
  c("input", {
749
769
  id: l.value,
750
770
  type: e.type,
@@ -756,41 +776,41 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
756
776
  name: e.name,
757
777
  "aria-invalid": e.invalid || void 0,
758
778
  onInput: d
759
- }, null, 40, Ve)
779
+ }, null, 40, Ue)
760
780
  ]),
761
- e.errors.length ? (s(), n("ul", Ne, [
762
- (s(!0), n(D, null, z(e.errors, (o, m) => (s(), n("li", {
781
+ e.errors.length ? (s(), n("ul", Ze, [
782
+ (s(!0), n(I, null, z(e.errors, (o, m) => (s(), n("li", {
763
783
  key: m,
764
784
  class: "error"
765
- }, x(o), 1))), 128))
785
+ }, L(o), 1))), 128))
766
786
  ])) : k("", !0)
767
787
  ], 2));
768
788
  }
769
- }), Ue = { class: "llm-menu-trigger-wrapper" }, X = /* @__PURE__ */ Symbol("LlmMenuTrigger"), Ct = /* @__PURE__ */ p({
789
+ }), Je = { class: "llm-menu-trigger-wrapper" }, X = /* @__PURE__ */ Symbol("LlmMenuTrigger"), It = /* @__PURE__ */ p({
770
790
  name: "LlmMenuTrigger",
771
791
  __name: "llm-menu-trigger",
772
792
  setup(e) {
773
- const t = B(!1), a = B(null), r = B(null);
793
+ const t = B(!1), a = B(null), i = B(null);
774
794
  function l() {
775
795
  t.value = !t.value;
776
796
  }
777
797
  function d() {
778
798
  t.value = !1;
779
799
  }
780
- E(X, { close: d });
800
+ H(X, { close: d });
781
801
  function u(o) {
782
802
  if (!t.value) return;
783
- const m = o.target, $ = a.value?.contains(m), y = r.value?.contains(m);
803
+ const m = o.target, $ = a.value?.contains(m), y = i.value?.contains(m);
784
804
  !$ && !y && d();
785
805
  }
786
- function i(o) {
806
+ function r(o) {
787
807
  o.key === "Escape" && t.value && d();
788
808
  }
789
- return H(() => {
790
- document.addEventListener("mousedown", u), document.addEventListener("keydown", i);
809
+ return E(() => {
810
+ document.addEventListener("mousedown", u), document.addEventListener("keydown", r);
791
811
  }), F(() => {
792
- document.removeEventListener("mousedown", u), document.removeEventListener("keydown", i);
793
- }), (o, m) => (s(), n("div", Ue, [
812
+ document.removeEventListener("mousedown", u), document.removeEventListener("keydown", r);
813
+ }), (o, m) => (s(), n("div", Je, [
794
814
  c("span", {
795
815
  ref_key: "triggerRef",
796
816
  ref: a,
@@ -801,14 +821,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
801
821
  t.value ? (s(), n("div", {
802
822
  key: 0,
803
823
  ref_key: "menuRef",
804
- ref: r,
824
+ ref: i,
805
825
  class: "llm-menu-panel"
806
826
  }, [
807
827
  h(o.$slots, "menu")
808
828
  ], 512)) : k("", !0)
809
829
  ]));
810
830
  }
811
- }), Tt = /* @__PURE__ */ p({
831
+ }), Dt = /* @__PURE__ */ p({
812
832
  name: "LlmMenu",
813
833
  __name: "llm-menu",
814
834
  props: {
@@ -816,14 +836,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
816
836
  },
817
837
  setup(e) {
818
838
  const t = e, a = v(() => ["llm-menu", `variant-${t.variant}`]);
819
- return (r, l) => (s(), n("div", {
839
+ return (i, l) => (s(), n("div", {
820
840
  class: g(a.value),
821
841
  role: "menu"
822
842
  }, [
823
- h(r.$slots, "default")
843
+ h(i.$slots, "default")
824
844
  ], 2));
825
845
  }
826
- }), Ze = ["disabled"], Dt = /* @__PURE__ */ p({
846
+ }), Qe = ["disabled"], St = /* @__PURE__ */ p({
827
847
  name: "LlmMenuItem",
828
848
  __name: "llm-menu-item",
829
849
  props: {
@@ -831,38 +851,38 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
831
851
  },
832
852
  emits: ["triggered"],
833
853
  setup(e, { emit: t }) {
834
- const a = e, r = t, l = R(X, null);
854
+ const a = e, i = t, l = R(X, null);
835
855
  function d() {
836
- a.disabled || (r("triggered"), l?.close());
856
+ a.disabled || (i("triggered"), l?.close());
837
857
  }
838
858
  const u = v(() => ["llm-menu-item", a.disabled && "is-disabled"]);
839
- return (i, o) => (s(), n("button", {
859
+ return (r, o) => (s(), n("button", {
840
860
  class: g(u.value),
841
861
  role: "menuitem",
842
862
  type: "button",
843
863
  disabled: e.disabled,
844
864
  onClick: d
845
865
  }, [
846
- h(i.$slots, "default")
847
- ], 10, Ze));
866
+ h(r.$slots, "default")
867
+ ], 10, Qe));
848
868
  }
849
- }), Je = {
869
+ }), We = {
850
870
  class: "llm-menu-separator",
851
871
  role: "separator"
852
- }, It = /* @__PURE__ */ p({
872
+ }, Mt = /* @__PURE__ */ p({
853
873
  name: "LlmMenuSeparator",
854
874
  __name: "llm-menu-separator",
855
875
  setup(e) {
856
- return (t, a) => (s(), n("hr", Je));
876
+ return (t, a) => (s(), n("hr", We));
857
877
  }
858
- }), Qe = {
878
+ }), Xe = {
859
879
  class: "llm-pagination",
860
880
  "aria-label": "Pagination"
861
- }, We = ["disabled"], Xe = ["disabled"], Ye = {
881
+ }, Ye = ["disabled"], ea = ["disabled"], aa = {
862
882
  key: 0,
863
883
  class: "ellipsis",
864
884
  "aria-hidden": "true"
865
- }, ea = ["aria-label", "aria-current", "onClick"], aa = ["disabled"], ta = ["disabled"], St = /* @__PURE__ */ p({
885
+ }, ta = ["aria-label", "aria-current", "onClick"], la = ["disabled"], sa = ["disabled"], zt = /* @__PURE__ */ p({
866
886
  name: "LlmPagination",
867
887
  __name: "llm-pagination",
868
888
  props: {
@@ -873,62 +893,62 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
873
893
  },
874
894
  emits: ["pageChange"],
875
895
  setup(e, { emit: t }) {
876
- const a = e, r = t;
877
- function l(i, o, m) {
896
+ const a = e, i = t;
897
+ function l(r, o, m) {
878
898
  if (o <= 1) return [{ type: "page", page: 1 }];
879
899
  const $ = [];
880
900
  $.push({ type: "page", page: 1 });
881
- const y = Math.max(2, i - m), b = Math.min(o - 1, i + m);
901
+ const y = Math.max(2, r - m), b = Math.min(o - 1, r + m);
882
902
  y > 2 && $.push({ type: "ellipsis", key: "ellipsis-start" });
883
- for (let L = y; L <= b; L++) $.push({ type: "page", page: L });
903
+ for (let x = y; x <= b; x++) $.push({ type: "page", page: x });
884
904
  return b < o - 1 && $.push({ type: "ellipsis", key: "ellipsis-end" }), o > 1 && $.push({ type: "page", page: o }), $;
885
905
  }
886
906
  const d = v(() => l(a.page, a.pageCount, a.siblingCount));
887
- function u(i) {
888
- const o = Math.min(Math.max(i, 1), a.pageCount);
889
- o !== a.page && r("pageChange", o);
907
+ function u(r) {
908
+ const o = Math.min(Math.max(r, 1), a.pageCount);
909
+ o !== a.page && i("pageChange", o);
890
910
  }
891
- return (i, o) => (s(), n("nav", Qe, [
911
+ return (r, o) => (s(), n("nav", Xe, [
892
912
  e.showFirstLast ? (s(), n("button", {
893
913
  key: 0,
894
914
  class: "page-btn nav-btn",
895
915
  disabled: e.page <= 1,
896
916
  "aria-label": "First page",
897
917
  onClick: o[0] || (o[0] = (m) => u(1))
898
- }, " « ", 8, We)) : k("", !0),
918
+ }, " « ", 8, Ye)) : k("", !0),
899
919
  c("button", {
900
920
  class: "page-btn nav-btn",
901
921
  disabled: e.page <= 1,
902
922
  "aria-label": "Previous page",
903
923
  onClick: o[1] || (o[1] = (m) => u(e.page - 1))
904
- }, " ‹ ", 8, Xe),
905
- (s(!0), n(D, null, z(d.value, (m) => (s(), n(D, {
924
+ }, " ‹ ", 8, ea),
925
+ (s(!0), n(I, null, z(d.value, (m) => (s(), n(I, {
906
926
  key: m.type === "page" ? m.page : m.key
907
927
  }, [
908
- m.type === "ellipsis" ? (s(), n("span", Ye, "…")) : (s(), n("button", {
928
+ m.type === "ellipsis" ? (s(), n("span", aa, "…")) : (s(), n("button", {
909
929
  key: 1,
910
930
  class: g(["page-btn", { active: m.page === e.page }]),
911
931
  "aria-label": `Page ${m.page}`,
912
932
  "aria-current": m.page === e.page ? "page" : void 0,
913
933
  onClick: ($) => u(m.page)
914
- }, x(m.page), 11, ea))
934
+ }, L(m.page), 11, ta))
915
935
  ], 64))), 128)),
916
936
  c("button", {
917
937
  class: "page-btn nav-btn",
918
938
  disabled: e.page >= e.pageCount,
919
939
  "aria-label": "Next page",
920
940
  onClick: o[2] || (o[2] = (m) => u(e.page + 1))
921
- }, " › ", 8, aa),
941
+ }, " › ", 8, la),
922
942
  e.showFirstLast ? (s(), n("button", {
923
943
  key: 1,
924
944
  class: "page-btn nav-btn",
925
945
  disabled: e.page >= e.pageCount,
926
946
  "aria-label": "Last page",
927
947
  onClick: o[3] || (o[3] = (m) => u(e.pageCount))
928
- }, " » ", 8, ta)) : k("", !0)
948
+ }, " » ", 8, sa)) : k("", !0)
929
949
  ]));
930
950
  }
931
- }), la = ["aria-valuenow", "aria-valuemax"], sa = { class: "track" }, Mt = /* @__PURE__ */ p({
951
+ }), na = ["aria-valuenow", "aria-valuemax"], oa = { class: "track" }, qt = /* @__PURE__ */ p({
932
952
  name: "LlmProgress",
933
953
  __name: "llm-progress",
934
954
  props: {
@@ -939,7 +959,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
939
959
  indeterminate: { type: Boolean, default: !1 }
940
960
  },
941
961
  setup(e) {
942
- const t = e, a = v(() => Math.min(Math.max(t.value, 0), t.max)), r = v(
962
+ const t = e, a = v(() => Math.min(Math.max(t.value, 0), t.max)), i = v(
943
963
  () => t.indeterminate ? "100%" : `${a.value / t.max * 100}%`
944
964
  ), l = v(() => [
945
965
  "llm-progress",
@@ -954,15 +974,15 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
954
974
  "aria-valuenow": e.indeterminate ? void 0 : a.value,
955
975
  "aria-valuemax": e.indeterminate ? void 0 : e.max
956
976
  }, [
957
- c("div", sa, [
977
+ c("div", oa, [
958
978
  c("div", {
959
979
  class: "fill",
960
- style: P({ width: r.value })
980
+ style: P({ width: i.value })
961
981
  }, null, 4)
962
982
  ])
963
- ], 10, la));
983
+ ], 10, na));
964
984
  }
965
- }), na = { class: "llm-combobox-wrapper" }, oa = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], ia = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], ra = {
985
+ }), ia = { class: "llm-combobox-wrapper" }, ra = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], da = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], ua = {
966
986
  key: 0,
967
987
  class: "llm-combobox-check",
968
988
  width: "14",
@@ -970,17 +990,17 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
970
990
  viewBox: "0 0 14 14",
971
991
  fill: "none",
972
992
  "aria-hidden": "true"
973
- }, da = {
993
+ }, ca = {
974
994
  key: 1,
975
995
  class: "llm-combobox-no-results",
976
996
  role: "option",
977
997
  "aria-disabled": "true"
978
- }, ua = {
998
+ }, ma = {
979
999
  key: 1,
980
1000
  class: "llm-combobox-errors",
981
1001
  role: "alert",
982
1002
  "aria-live": "polite"
983
- }, zt = /* @__PURE__ */ p({
1003
+ }, At = /* @__PURE__ */ p({
984
1004
  name: "LlmCombobox",
985
1005
  __name: "llm-combobox",
986
1006
  props: {
@@ -996,46 +1016,46 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
996
1016
  },
997
1017
  emits: ["update:value"],
998
1018
  setup(e, { emit: t }) {
999
- const a = e, r = t, l = B(null), d = B(null), u = B(""), i = B(!1), o = B(-1);
1019
+ const a = e, i = t, l = B(null), d = B(null), u = B(""), r = B(!1), o = B(-1);
1000
1020
  let m = Math.random().toString(36).slice(2);
1001
1021
  const $ = `llm-combobox-input-${m}`, y = `llm-combobox-panel-${m}`, b = v(
1002
- () => a.options.find((I) => I.value === a.value)?.label ?? ""
1003
- ), L = v(() => {
1004
- const I = u.value.toLowerCase();
1005
- return I ? a.options.filter((M) => M.label.toLowerCase().includes(I)) : a.options;
1022
+ () => a.options.find((D) => D.value === a.value)?.label ?? ""
1023
+ ), x = v(() => {
1024
+ const D = u.value.toLowerCase();
1025
+ return D ? a.options.filter((M) => M.label.toLowerCase().includes(D)) : a.options;
1006
1026
  }), _ = v(
1007
1027
  () => o.value >= 0 ? `${y}-option-${o.value}` : void 0
1008
1028
  ), f = v(() => [
1009
1029
  "llm-combobox",
1010
- i.value && "is-open",
1030
+ r.value && "is-open",
1011
1031
  a.disabled && "is-disabled",
1012
1032
  a.invalid && "is-invalid"
1013
1033
  ]);
1014
1034
  A(
1015
1035
  () => a.value,
1016
1036
  () => {
1017
- i.value || (u.value = b.value);
1037
+ r.value || (u.value = b.value);
1018
1038
  },
1019
1039
  { immediate: !0 }
1020
1040
  );
1021
1041
  function C() {
1022
- a.disabled || a.readonly || i.value || (i.value = !0, o.value = -1, document.addEventListener("click", S));
1042
+ a.disabled || a.readonly || r.value || (r.value = !0, o.value = -1, document.addEventListener("click", S));
1023
1043
  }
1024
1044
  function w() {
1025
- i.value && (i.value = !1, o.value = -1, document.removeEventListener("click", S));
1045
+ r.value && (r.value = !1, o.value = -1, document.removeEventListener("click", S));
1026
1046
  }
1027
- function S(I) {
1028
- d.value?.contains(I.target) || (u.value = b.value, w());
1047
+ function S(D) {
1048
+ d.value?.contains(D.target) || (u.value = b.value, w());
1029
1049
  }
1030
1050
  Z(() => {
1031
1051
  document.removeEventListener("click", S);
1032
1052
  });
1033
- function K(I) {
1034
- I.disabled || a.disabled || a.readonly || (r("update:value", I.value), u.value = I.label, w(), l.value?.focus());
1053
+ function K(D) {
1054
+ D.disabled || a.disabled || a.readonly || (i("update:value", D.value), u.value = D.label, w(), l.value?.focus());
1035
1055
  }
1036
- function te(I) {
1037
- const M = I.target.value;
1038
- u.value = M, o.value = -1, M === "" && r("update:value", ""), i.value || C();
1056
+ function te(D) {
1057
+ const M = D.target.value;
1058
+ u.value = M, o.value = -1, M === "" && i("update:value", ""), r.value || C();
1039
1059
  }
1040
1060
  function le() {
1041
1061
  C();
@@ -1043,11 +1063,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1043
1063
  function se() {
1044
1064
  u.value = b.value;
1045
1065
  }
1046
- function ne(I) {
1047
- const M = L.value;
1048
- switch (I.key) {
1066
+ function ne(D) {
1067
+ const M = x.value;
1068
+ switch (D.key) {
1049
1069
  case "ArrowDown": {
1050
- if (I.preventDefault(), !i.value) {
1070
+ if (D.preventDefault(), !r.value) {
1051
1071
  C();
1052
1072
  return;
1053
1073
  }
@@ -1056,7 +1076,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1056
1076
  break;
1057
1077
  }
1058
1078
  case "ArrowUp": {
1059
- if (I.preventDefault(), !i.value) {
1079
+ if (D.preventDefault(), !r.value) {
1060
1080
  C();
1061
1081
  return;
1062
1082
  }
@@ -1065,13 +1085,13 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1065
1085
  break;
1066
1086
  }
1067
1087
  case "Enter": {
1068
- I.preventDefault();
1088
+ D.preventDefault();
1069
1089
  const T = o.value;
1070
- i.value && T >= 0 && T < M.length && K(M[T]);
1090
+ r.value && T >= 0 && T < M.length && K(M[T]);
1071
1091
  break;
1072
1092
  }
1073
1093
  case "Escape": {
1074
- I.preventDefault(), u.value = b.value, w();
1094
+ D.preventDefault(), u.value = b.value, w();
1075
1095
  break;
1076
1096
  }
1077
1097
  case "Tab": {
@@ -1080,12 +1100,12 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1080
1100
  }
1081
1101
  }
1082
1102
  }
1083
- return (I, M) => (s(), n("div", {
1103
+ return (D, M) => (s(), n("div", {
1084
1104
  ref_key: "containerRef",
1085
1105
  ref: d,
1086
1106
  class: g(f.value)
1087
1107
  }, [
1088
- c("div", na, [
1108
+ c("div", ia, [
1089
1109
  c("input", {
1090
1110
  ref_key: "inputRef",
1091
1111
  ref: l,
@@ -1094,7 +1114,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1094
1114
  autocomplete: "off",
1095
1115
  role: "combobox",
1096
1116
  id: $,
1097
- "aria-expanded": i.value,
1117
+ "aria-expanded": r.value,
1098
1118
  "aria-controls": y,
1099
1119
  "aria-autocomplete": "list",
1100
1120
  "aria-activedescendant": _.value,
@@ -1109,7 +1129,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1109
1129
  onFocus: le,
1110
1130
  onBlur: se,
1111
1131
  onKeydown: ne
1112
- }, null, 40, oa),
1132
+ }, null, 40, ra),
1113
1133
  M[0] || (M[0] = c("span", {
1114
1134
  class: "llm-combobox-icon",
1115
1135
  "aria-hidden": "true"
@@ -1130,30 +1150,30 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1130
1150
  ])
1131
1151
  ], -1))
1132
1152
  ]),
1133
- i.value ? (s(), n("ul", {
1153
+ r.value ? (s(), n("ul", {
1134
1154
  key: 0,
1135
1155
  id: y,
1136
1156
  class: "llm-combobox-panel",
1137
1157
  role: "listbox",
1138
1158
  "aria-labelledby": $
1139
1159
  }, [
1140
- L.value.length > 0 ? (s(!0), n(D, { key: 0 }, z(L.value, (T, G) => (s(), n("li", {
1160
+ x.value.length > 0 ? (s(!0), n(I, { key: 0 }, z(x.value, (T, j) => (s(), n("li", {
1141
1161
  key: T.value,
1142
- id: `${y}-option-${G}`,
1162
+ id: `${y}-option-${j}`,
1143
1163
  role: "option",
1144
1164
  class: g([
1145
1165
  "llm-combobox-option",
1146
- o.value === G && "is-active",
1166
+ o.value === j && "is-active",
1147
1167
  T.value === e.value && "is-selected",
1148
1168
  T.disabled && "is-disabled"
1149
1169
  ]),
1150
1170
  "aria-selected": T.value === e.value,
1151
1171
  "aria-disabled": T.disabled || void 0,
1152
1172
  onMousedown: (oe) => K(T),
1153
- onMouseenter: (oe) => o.value = G
1173
+ onMouseenter: (oe) => o.value = j
1154
1174
  }, [
1155
- c("span", null, x(T.label), 1),
1156
- T.value === e.value ? (s(), n("svg", ra, [...M[1] || (M[1] = [
1175
+ c("span", null, L(T.label), 1),
1176
+ T.value === e.value ? (s(), n("svg", ua, [...M[1] || (M[1] = [
1157
1177
  c("path", {
1158
1178
  d: "M2 7l4 4 6-7",
1159
1179
  stroke: "currentColor",
@@ -1162,21 +1182,21 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1162
1182
  "stroke-linejoin": "round"
1163
1183
  }, null, -1)
1164
1184
  ])])) : k("", !0)
1165
- ], 42, ia))), 128)) : (s(), n("li", da, " No results found. "))
1185
+ ], 42, da))), 128)) : (s(), n("li", ca, " No results found. "))
1166
1186
  ])) : k("", !0),
1167
- e.invalid && e.errors.length > 0 ? (s(), n("div", ua, [
1168
- (s(!0), n(D, null, z(e.errors, (T, G) => (s(), n("p", {
1169
- key: G,
1187
+ e.invalid && e.errors.length > 0 ? (s(), n("div", ma, [
1188
+ (s(!0), n(I, null, z(e.errors, (T, j) => (s(), n("p", {
1189
+ key: j,
1170
1190
  class: "llm-combobox-error-message"
1171
- }, x(T), 1))), 128))
1191
+ }, L(T), 1))), 128))
1172
1192
  ])) : k("", !0)
1173
1193
  ], 2));
1174
1194
  }
1175
- }), ca = ["aria-invalid", "aria-required"], ma = {
1195
+ }), fa = ["aria-invalid", "aria-required"], va = {
1176
1196
  key: 0,
1177
1197
  class: "errors",
1178
1198
  role: "alert"
1179
- }, Y = /* @__PURE__ */ Symbol("LlmRadioGroup"), qt = /* @__PURE__ */ p({
1199
+ }, Y = /* @__PURE__ */ Symbol("LlmRadioGroup"), Rt = /* @__PURE__ */ p({
1180
1200
  name: "LlmRadioGroup",
1181
1201
  __name: "llm-radio-group",
1182
1202
  props: {
@@ -1190,8 +1210,8 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1190
1210
  },
1191
1211
  emits: ["update:value"],
1192
1212
  setup(e, { emit: t }) {
1193
- const a = e, r = t;
1194
- E(Y, {
1213
+ const a = e, i = t;
1214
+ H(Y, {
1195
1215
  get value() {
1196
1216
  return a.value ?? "";
1197
1217
  },
@@ -1208,7 +1228,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1208
1228
  return a.invalid ?? !1;
1209
1229
  },
1210
1230
  onSelect(d) {
1211
- !a.disabled && !a.readonly && r("update:value", d);
1231
+ !a.disabled && !a.readonly && i("update:value", d);
1212
1232
  }
1213
1233
  });
1214
1234
  const l = v(() => [
@@ -1223,18 +1243,18 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1223
1243
  "aria-required": e.required || void 0
1224
1244
  }, [
1225
1245
  h(d.$slots, "default"),
1226
- e.errors.length > 0 ? (s(), n("div", ma, [
1227
- (s(!0), n(D, null, z(e.errors, (i, o) => (s(), n("p", {
1246
+ e.errors.length > 0 ? (s(), n("div", va, [
1247
+ (s(!0), n(I, null, z(e.errors, (r, o) => (s(), n("p", {
1228
1248
  key: o,
1229
1249
  class: "error-message"
1230
- }, x(i), 1))), 128))
1250
+ }, L(r), 1))), 128))
1231
1251
  ])) : k("", !0)
1232
- ], 10, ca));
1252
+ ], 10, fa));
1233
1253
  }
1234
- }), fa = ["name", "value", "checked", "disabled"], va = {
1254
+ }), pa = ["name", "value", "checked", "disabled"], ba = {
1235
1255
  key: 0,
1236
1256
  class: "radio-text"
1237
- }, At = /* @__PURE__ */ p({
1257
+ }, Ht = /* @__PURE__ */ p({
1238
1258
  name: "LlmRadio",
1239
1259
  __name: "llm-radio",
1240
1260
  props: {
@@ -1250,16 +1270,16 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1250
1270
  invalid: !1,
1251
1271
  onSelect: () => {
1252
1272
  }
1253
- }), r = v(() => t.disabled || a.disabled), l = v(() => a.value === t.radioValue), d = v(() => [
1273
+ }), i = v(() => t.disabled || a.disabled), l = v(() => a.value === t.radioValue), d = v(() => [
1254
1274
  "llm-radio",
1255
- r.value && "is-disabled",
1275
+ i.value && "is-disabled",
1256
1276
  l.value && "is-checked",
1257
1277
  a.invalid && "is-invalid"
1258
1278
  ].filter(Boolean));
1259
1279
  function u() {
1260
- !r.value && !a.readonly && a.onSelect(t.radioValue);
1280
+ !i.value && !a.readonly && a.onSelect(t.radioValue);
1261
1281
  }
1262
- return (i, o) => (s(), n("label", {
1282
+ return (r, o) => (s(), n("label", {
1263
1283
  class: g(d.value)
1264
1284
  }, [
1265
1285
  c("input", {
@@ -1267,25 +1287,25 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1267
1287
  name: q(a).name || void 0,
1268
1288
  value: e.radioValue,
1269
1289
  checked: l.value,
1270
- disabled: r.value,
1290
+ disabled: i.value,
1271
1291
  class: "radio-input",
1272
1292
  onChange: u
1273
- }, null, 40, fa),
1293
+ }, null, 40, pa),
1274
1294
  o[0] || (o[0] = c("span", {
1275
1295
  class: "radio-indicator",
1276
1296
  "aria-hidden": "true"
1277
1297
  }, null, -1)),
1278
- i.$slots.default ? (s(), n("span", va, [
1279
- h(i.$slots, "default")
1298
+ r.$slots.default ? (s(), n("span", ba, [
1299
+ h(r.$slots, "default")
1280
1300
  ])) : k("", !0)
1281
1301
  ], 2));
1282
1302
  }
1283
- }), pa = ["for"], ba = { class: "select-wrapper" }, ha = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], ga = {
1303
+ }), ha = ["for"], ga = { class: "select-wrapper" }, ya = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], $a = {
1284
1304
  key: 0,
1285
1305
  value: "",
1286
1306
  disabled: "",
1287
1307
  hidden: ""
1288
- }, ya = ["id"], Rt = /* @__PURE__ */ p({
1308
+ }, ka = ["id"], Et = /* @__PURE__ */ p({
1289
1309
  name: "LlmSelect",
1290
1310
  __name: "llm-select",
1291
1311
  props: {
@@ -1301,13 +1321,13 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1301
1321
  },
1302
1322
  emits: ["update:value"],
1303
1323
  setup(e, { emit: t }) {
1304
- const a = e, r = t, l = j(), d = j(), u = v(() => [
1324
+ const a = e, i = t, l = O(), d = O(), u = v(() => [
1305
1325
  "llm-select",
1306
1326
  a.invalid && "is-invalid",
1307
1327
  a.disabled && "is-disabled"
1308
1328
  ]);
1309
- function i(o) {
1310
- a.readonly || a.disabled || r("update:value", o.target.value);
1329
+ function r(o) {
1330
+ a.readonly || a.disabled || i("update:value", o.target.value);
1311
1331
  }
1312
1332
  return (o, m) => (s(), n("div", {
1313
1333
  class: g(u.value)
@@ -1316,8 +1336,8 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1316
1336
  key: 0,
1317
1337
  for: q(l),
1318
1338
  class: "select-label"
1319
- }, x(e.label), 9, pa)) : k("", !0),
1320
- c("div", ba, [
1339
+ }, L(e.label), 9, ha)) : k("", !0),
1340
+ c("div", ga, [
1321
1341
  c("select", {
1322
1342
  id: q(l),
1323
1343
  name: e.name,
@@ -1327,11 +1347,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1327
1347
  "aria-invalid": e.invalid || void 0,
1328
1348
  "aria-describedby": e.errors.length > 0 ? q(d) : void 0,
1329
1349
  class: "select-native",
1330
- onChange: i
1350
+ onChange: r
1331
1351
  }, [
1332
- e.placeholder ? (s(), n("option", ga, x(e.placeholder), 1)) : k("", !0),
1352
+ e.placeholder ? (s(), n("option", $a, L(e.placeholder), 1)) : k("", !0),
1333
1353
  h(o.$slots, "default")
1334
- ], 40, ha),
1354
+ ], 40, ya),
1335
1355
  m[0] || (m[0] = c("span", {
1336
1356
  class: "select-arrow",
1337
1357
  "aria-hidden": "true"
@@ -1343,14 +1363,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1343
1363
  class: "errors",
1344
1364
  role: "alert"
1345
1365
  }, [
1346
- (s(!0), n(D, null, z(e.errors, ($, y) => (s(), n("p", {
1366
+ (s(!0), n(I, null, z(e.errors, ($, y) => (s(), n("p", {
1347
1367
  key: y,
1348
1368
  class: "error-message"
1349
- }, x($), 1))), 128))
1350
- ], 8, ya)) : k("", !0)
1369
+ }, L($), 1))), 128))
1370
+ ], 8, ka)) : k("", !0)
1351
1371
  ], 2));
1352
1372
  }
1353
- }), $a = ["value", "disabled"], Et = /* @__PURE__ */ p({
1373
+ }), _a = ["value", "disabled"], Ot = /* @__PURE__ */ p({
1354
1374
  name: "LlmOption",
1355
1375
  __name: "llm-option",
1356
1376
  props: {
@@ -1363,9 +1383,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1363
1383
  disabled: e.disabled
1364
1384
  }, [
1365
1385
  h(t.$slots, "default")
1366
- ], 8, $a));
1386
+ ], 8, _a));
1367
1387
  }
1368
- }), Ht = /* @__PURE__ */ p({
1388
+ }), jt = /* @__PURE__ */ p({
1369
1389
  name: "LlmSkeleton",
1370
1390
  __name: "llm-skeleton",
1371
1391
  props: {
@@ -1376,8 +1396,8 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1376
1396
  },
1377
1397
  setup(e) {
1378
1398
  const t = e;
1379
- function a(d, u, i) {
1380
- if (i) return i;
1399
+ function a(d, u, r) {
1400
+ if (r) return r;
1381
1401
  switch (d) {
1382
1402
  case "text":
1383
1403
  return "1em";
@@ -1389,7 +1409,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1389
1409
  return "1em";
1390
1410
  }
1391
1411
  }
1392
- const r = v(() => [
1412
+ const i = v(() => [
1393
1413
  "llm-skeleton",
1394
1414
  `variant-${t.variant}`,
1395
1415
  t.animated && "is-animated"
@@ -1398,35 +1418,35 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1398
1418
  height: a(t.variant, t.width, t.height)
1399
1419
  }));
1400
1420
  return (d, u) => (s(), n("div", {
1401
- class: g(r.value),
1421
+ class: g(i.value),
1402
1422
  style: P(l.value),
1403
1423
  "aria-hidden": "true"
1404
1424
  }, null, 6));
1405
1425
  }
1406
- }), ka = {
1426
+ }), wa = {
1407
1427
  class: "stepper-header",
1408
1428
  role: "tablist"
1409
- }, _a = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], wa = {
1429
+ }, La = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], xa = {
1410
1430
  key: 0,
1411
1431
  width: "14",
1412
1432
  height: "14",
1413
1433
  viewBox: "0 0 14 14",
1414
1434
  fill: "none",
1415
1435
  "aria-hidden": "true"
1416
- }, La = {
1436
+ }, Ba = {
1417
1437
  key: 1,
1418
1438
  width: "14",
1419
1439
  height: "14",
1420
1440
  viewBox: "0 0 14 14",
1421
1441
  fill: "none",
1422
1442
  "aria-hidden": "true"
1423
- }, xa = { class: "step-text" }, Ba = { class: "step-label" }, Ca = {
1443
+ }, Ca = { class: "step-text" }, Ta = { class: "step-label" }, Ia = {
1424
1444
  key: 0,
1425
1445
  class: "step-description"
1426
- }, Ta = {
1446
+ }, Da = {
1427
1447
  key: 1,
1428
1448
  class: "step-optional"
1429
- }, Da = { class: "stepper-content" }, ee = /* @__PURE__ */ Symbol("LlmStepper"), jt = /* @__PURE__ */ p({
1449
+ }, Sa = { class: "stepper-content" }, ee = /* @__PURE__ */ Symbol("LlmStepper"), Gt = /* @__PURE__ */ p({
1430
1450
  name: "LlmStepper",
1431
1451
  __name: "llm-stepper",
1432
1452
  props: {
@@ -1436,14 +1456,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1436
1456
  },
1437
1457
  emits: ["update:activeStep"],
1438
1458
  setup(e, { emit: t }) {
1439
- const a = e, r = t, l = B(a.activeStep), d = B([]), u = v(() => a.linear);
1459
+ const a = e, i = t, l = B(a.activeStep), d = B([]), u = v(() => a.linear);
1440
1460
  A(
1441
1461
  () => a.activeStep,
1442
1462
  (f) => {
1443
1463
  l.value = f;
1444
1464
  }
1445
1465
  );
1446
- function i(f) {
1466
+ function r(f) {
1447
1467
  d.value.push(f);
1448
1468
  }
1449
1469
  function o(f) {
@@ -1454,35 +1474,35 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1454
1474
  w !== -1 && (d.value[w] = { ...d.value[w], ...C });
1455
1475
  }
1456
1476
  function $(f) {
1457
- f < 0 || f >= d.value.length || d.value[f].disabled || a.linear && f > l.value && !d.value.slice(0, f).every((w) => w.completed || w.optional) || (l.value = f, r("update:activeStep", f));
1477
+ f < 0 || f >= d.value.length || d.value[f].disabled || a.linear && f > l.value && !d.value.slice(0, f).every((w) => w.completed || w.optional) || (l.value = f, i("update:activeStep", f));
1458
1478
  }
1459
1479
  function y() {
1460
1480
  $(l.value + 1);
1461
1481
  }
1462
1482
  function b() {
1463
1483
  const f = l.value - 1;
1464
- f >= 0 && !d.value[f]?.disabled && (l.value = f, r("update:activeStep", f));
1484
+ f >= 0 && !d.value[f]?.disabled && (l.value = f, i("update:activeStep", f));
1465
1485
  }
1466
- E(ee, {
1486
+ H(ee, {
1467
1487
  activeStep: l,
1468
1488
  steps: d,
1469
1489
  linear: u,
1470
- registerStep: i,
1490
+ registerStep: r,
1471
1491
  unregisterStep: o,
1472
1492
  updateStep: m,
1473
1493
  goTo: $,
1474
1494
  next: y,
1475
1495
  prev: b
1476
1496
  });
1477
- const L = v(() => ["llm-stepper", `orientation-${a.orientation}`]);
1497
+ const x = v(() => ["llm-stepper", `orientation-${a.orientation}`]);
1478
1498
  function _(f) {
1479
1499
  return l.value > f || d.value[f]?.completed;
1480
1500
  }
1481
1501
  return (f, C) => (s(), n("div", {
1482
- class: g(L.value)
1502
+ class: g(x.value)
1483
1503
  }, [
1484
- c("div", ka, [
1485
- (s(!0), n(D, null, z(d.value, (w, S) => (s(), n(D, {
1504
+ c("div", wa, [
1505
+ (s(!0), n(I, null, z(d.value, (w, S) => (s(), n(I, {
1486
1506
  key: w.id
1487
1507
  }, [
1488
1508
  c("div", {
@@ -1506,7 +1526,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1506
1526
  disabled: w.disabled || void 0,
1507
1527
  onClick: (K) => $(S)
1508
1528
  }, [
1509
- w.completed && !w.error ? (s(), n("svg", wa, [...C[0] || (C[0] = [
1529
+ w.completed && !w.error ? (s(), n("svg", xa, [...C[0] || (C[0] = [
1510
1530
  c("path", {
1511
1531
  d: "M2 7L5.5 10.5L12 3.5",
1512
1532
  stroke: "currentColor",
@@ -1514,21 +1534,21 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1514
1534
  "stroke-linecap": "round",
1515
1535
  "stroke-linejoin": "round"
1516
1536
  }, null, -1)
1517
- ])])) : w.error ? (s(), n("svg", La, [...C[1] || (C[1] = [
1537
+ ])])) : w.error ? (s(), n("svg", Ba, [...C[1] || (C[1] = [
1518
1538
  c("path", {
1519
1539
  d: "M3 3L11 11M11 3L3 11",
1520
1540
  stroke: "currentColor",
1521
1541
  "stroke-width": "2",
1522
1542
  "stroke-linecap": "round"
1523
1543
  }, null, -1)
1524
- ])])) : (s(), n(D, { key: 2 }, [
1525
- O(x(S + 1), 1)
1544
+ ])])) : (s(), n(I, { key: 2 }, [
1545
+ G(L(S + 1), 1)
1526
1546
  ], 64))
1527
- ], 8, _a),
1528
- c("div", xa, [
1529
- c("span", Ba, x(w.label), 1),
1530
- w.description ? (s(), n("span", Ca, x(w.description), 1)) : k("", !0),
1531
- w.optional && !w.completed ? (s(), n("span", Ta, "Optional")) : k("", !0)
1547
+ ], 8, La),
1548
+ c("div", Ca, [
1549
+ c("span", Ta, L(w.label), 1),
1550
+ w.description ? (s(), n("span", Ia, L(w.description), 1)) : k("", !0),
1551
+ w.optional && !w.completed ? (s(), n("span", Da, "Optional")) : k("", !0)
1532
1552
  ])
1533
1553
  ], 2),
1534
1554
  S < d.value.length - 1 ? (s(), n("div", {
@@ -1537,12 +1557,12 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1537
1557
  }, null, 2)) : k("", !0)
1538
1558
  ], 64))), 128))
1539
1559
  ]),
1540
- c("div", Da, [
1560
+ c("div", Sa, [
1541
1561
  h(f.$slots, "default")
1542
1562
  ])
1543
1563
  ], 2));
1544
1564
  }
1545
- }), Ia = ["id", "aria-labelledby", "hidden"], Gt = /* @__PURE__ */ p({
1565
+ }), Ma = ["id", "aria-labelledby", "hidden"], Ft = /* @__PURE__ */ p({
1546
1566
  name: "LlmStep",
1547
1567
  __name: "llm-step",
1548
1568
  props: {
@@ -1554,10 +1574,10 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1554
1574
  disabled: { type: Boolean, default: !1 }
1555
1575
  },
1556
1576
  setup(e) {
1557
- const t = e, a = R(ee), r = j();
1558
- H(() => {
1577
+ const t = e, a = R(ee), i = O();
1578
+ E(() => {
1559
1579
  a.registerStep({
1560
- id: r,
1580
+ id: i,
1561
1581
  label: t.label,
1562
1582
  description: t.description,
1563
1583
  completed: t.completed,
@@ -1566,7 +1586,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1566
1586
  disabled: t.disabled
1567
1587
  });
1568
1588
  }), F(() => {
1569
- a.unregisterStep(r);
1589
+ a.unregisterStep(i);
1570
1590
  }), A(
1571
1591
  () => ({
1572
1592
  label: t.label,
@@ -1577,11 +1597,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1577
1597
  disabled: t.disabled
1578
1598
  }),
1579
1599
  (u) => {
1580
- a.updateStep(r, u);
1600
+ a.updateStep(i, u);
1581
1601
  }
1582
1602
  );
1583
- const l = v(() => a.steps.value.findIndex((u) => u.id === r)), d = v(() => l.value === a.activeStep.value);
1584
- return (u, i) => l.value >= 0 ? (s(), n("div", {
1603
+ const l = v(() => a.steps.value.findIndex((u) => u.id === i)), d = v(() => l.value === a.activeStep.value);
1604
+ return (u, r) => l.value >= 0 ? (s(), n("div", {
1585
1605
  key: 0,
1586
1606
  id: `llm-step-panel-${l.value}`,
1587
1607
  role: "tabpanel",
@@ -1590,9 +1610,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1590
1610
  tabindex: "0"
1591
1611
  }, [
1592
1612
  h(u.$slots, "default")
1593
- ], 8, Ia)) : k("", !0);
1613
+ ], 8, Ma)) : k("", !0);
1594
1614
  }
1595
- }), Sa = { class: "llm-table-wrapper" }, Ot = /* @__PURE__ */ p({
1615
+ }), za = { class: "llm-table-wrapper" }, Pt = /* @__PURE__ */ p({
1596
1616
  name: "LlmTable",
1597
1617
  __name: "llm-table",
1598
1618
  props: {
@@ -1607,17 +1627,17 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1607
1627
  `size-${t.size}`,
1608
1628
  t.stickyHeader && "is-sticky-header"
1609
1629
  ]);
1610
- return (r, l) => (s(), n("div", {
1630
+ return (i, l) => (s(), n("div", {
1611
1631
  class: g(a.value)
1612
1632
  }, [
1613
- c("div", Sa, [
1633
+ c("div", za, [
1614
1634
  c("table", null, [
1615
- h(r.$slots, "default")
1635
+ h(i.$slots, "default")
1616
1636
  ])
1617
1637
  ])
1618
1638
  ], 2));
1619
1639
  }
1620
- }), Ft = /* @__PURE__ */ p({
1640
+ }), Kt = /* @__PURE__ */ p({
1621
1641
  name: "LlmThead",
1622
1642
  __name: "llm-thead",
1623
1643
  setup(e) {
@@ -1625,7 +1645,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1625
1645
  h(t.$slots, "default")
1626
1646
  ]));
1627
1647
  }
1628
- }), Ma = { key: 1 }, za = ["colspan"], Pt = /* @__PURE__ */ p({
1648
+ }), qa = { key: 1 }, Aa = ["colspan"], Vt = /* @__PURE__ */ p({
1629
1649
  name: "LlmTbody",
1630
1650
  __name: "llm-tbody",
1631
1651
  props: {
@@ -1634,20 +1654,20 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1634
1654
  },
1635
1655
  setup(e) {
1636
1656
  return (t, a) => (s(), n("tbody", null, [
1637
- e.empty ? (s(), n("tr", Ma, [
1657
+ e.empty ? (s(), n("tr", qa, [
1638
1658
  c("td", {
1639
1659
  colspan: e.colSpan,
1640
1660
  class: "llm-tbody-empty-cell"
1641
1661
  }, [
1642
1662
  h(t.$slots, "empty")
1643
- ], 8, za)
1663
+ ], 8, Aa)
1644
1664
  ])) : h(t.$slots, "default", { key: 0 })
1645
1665
  ]));
1646
1666
  }
1647
- }), qa = ["aria-selected"], Aa = {
1667
+ }), Ra = ["aria-selected"], Ha = {
1648
1668
  key: 0,
1649
1669
  class: "llm-tr-select-cell"
1650
- }, Kt = /* @__PURE__ */ p({
1670
+ }, Nt = /* @__PURE__ */ p({
1651
1671
  name: "LlmTr",
1652
1672
  __name: "llm-tr",
1653
1673
  props: {
@@ -1657,20 +1677,20 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1657
1677
  emits: ["update:selected"],
1658
1678
  setup(e, { emit: t }) {
1659
1679
  const a = t;
1660
- return (r, l) => (s(), n("tr", {
1680
+ return (i, l) => (s(), n("tr", {
1661
1681
  "aria-selected": e.selectable ? e.selected : void 0,
1662
1682
  class: g({ "is-selected": e.selected })
1663
1683
  }, [
1664
- e.selectable ? (s(), n("td", Aa, [
1665
- de(Me, {
1684
+ e.selectable ? (s(), n("td", Ha, [
1685
+ de(qe, {
1666
1686
  checked: e.selected,
1667
1687
  "onUpdate:checked": l[0] || (l[0] = (d) => a("update:selected", d))
1668
1688
  }, null, 8, ["checked"])
1669
1689
  ])) : k("", !0),
1670
- h(r.$slots, "default")
1671
- ], 10, qa));
1690
+ h(i.$slots, "default")
1691
+ ], 10, Ra));
1672
1692
  }
1673
- }), Ra = ["aria-sort"], Vt = /* @__PURE__ */ p({
1693
+ }), Ea = ["aria-sort"], Ut = /* @__PURE__ */ p({
1674
1694
  name: "LlmTh",
1675
1695
  __name: "llm-th",
1676
1696
  props: {
@@ -1681,7 +1701,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1681
1701
  },
1682
1702
  emits: ["sort"],
1683
1703
  setup(e, { emit: t }) {
1684
- const a = e, r = t, l = v(
1704
+ const a = e, i = t, l = v(
1685
1705
  () => [
1686
1706
  `align-${a.align}`,
1687
1707
  a.sortDirection && "is-sorted",
@@ -1693,10 +1713,10 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1693
1713
  return a.sortDirection === "asc" ? "ascending" : a.sortDirection === "desc" ? "descending" : "none";
1694
1714
  });
1695
1715
  function u() {
1696
- const i = a.sortDirection === null ? "asc" : a.sortDirection === "asc" ? "desc" : null;
1697
- r("sort", i);
1716
+ const r = a.sortDirection === null ? "asc" : a.sortDirection === "asc" ? "desc" : null;
1717
+ i("sort", r);
1698
1718
  }
1699
- return (i, o) => (s(), n("th", {
1719
+ return (r, o) => (s(), n("th", {
1700
1720
  class: g(l.value),
1701
1721
  "aria-sort": d.value,
1702
1722
  style: P(e.width ? { width: e.width } : void 0)
@@ -1707,7 +1727,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1707
1727
  class: "llm-th-sort-btn",
1708
1728
  onClick: u
1709
1729
  }, [
1710
- h(i.$slots, "default"),
1730
+ h(r.$slots, "default"),
1711
1731
  o[0] || (o[0] = c("svg", {
1712
1732
  class: "llm-th-sort-icon",
1713
1733
  "aria-hidden": "true",
@@ -1727,10 +1747,10 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1727
1747
  fill: "currentColor"
1728
1748
  })
1729
1749
  ], -1))
1730
- ])) : h(i.$slots, "default", { key: 1 })
1731
- ], 14, Ra));
1750
+ ])) : h(r.$slots, "default", { key: 1 })
1751
+ ], 14, Ea));
1732
1752
  }
1733
- }), Nt = /* @__PURE__ */ p({
1753
+ }), Zt = /* @__PURE__ */ p({
1734
1754
  name: "LlmTd",
1735
1755
  __name: "llm-td",
1736
1756
  props: {
@@ -1738,13 +1758,13 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1738
1758
  },
1739
1759
  setup(e) {
1740
1760
  const t = e, a = v(() => [`align-${t.align}`]);
1741
- return (r, l) => (s(), n("td", {
1761
+ return (i, l) => (s(), n("td", {
1742
1762
  class: g(a.value)
1743
1763
  }, [
1744
- h(r.$slots, "default")
1764
+ h(i.$slots, "default")
1745
1765
  ], 2));
1746
1766
  }
1747
- }), Ea = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], Ha = { class: "tab-panels" }, ae = /* @__PURE__ */ Symbol("LlmTabGroup"), Ut = /* @__PURE__ */ p({
1767
+ }), Oa = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], ja = { class: "tab-panels" }, ae = /* @__PURE__ */ Symbol("LlmTabGroup"), Jt = /* @__PURE__ */ p({
1748
1768
  name: "LlmTabGroup",
1749
1769
  __name: "llm-tab-group",
1750
1770
  props: {
@@ -1753,7 +1773,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1753
1773
  },
1754
1774
  emits: ["update:selectedIndex"],
1755
1775
  setup(e, { emit: t }) {
1756
- const a = e, r = t, l = B(a.selectedIndex), d = B([]);
1776
+ const a = e, i = t, l = B(a.selectedIndex), d = B([]);
1757
1777
  A(
1758
1778
  () => a.selectedIndex,
1759
1779
  (b) => {
@@ -1763,39 +1783,39 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1763
1783
  function u(b) {
1764
1784
  d.value.push(b);
1765
1785
  }
1766
- function i(b) {
1767
- d.value = d.value.filter((L) => L.id !== b);
1786
+ function r(b) {
1787
+ d.value = d.value.filter((x) => x.id !== b);
1768
1788
  }
1769
1789
  function o(b) {
1770
- l.value = b, r("update:selectedIndex", b);
1790
+ l.value = b, i("update:selectedIndex", b);
1771
1791
  }
1772
- E(ae, {
1792
+ H(ae, {
1773
1793
  selectedIndex: l,
1774
1794
  tabs: d,
1775
1795
  registerTab: u,
1776
- unregisterTab: i,
1796
+ unregisterTab: r,
1777
1797
  selectTab: o
1778
1798
  });
1779
1799
  function m(b) {
1780
- const L = d.value.map((f, C) => ({ i: C, disabled: f.disabled })).filter((f) => !f.disabled).map((f) => f.i), _ = L.indexOf(l.value);
1800
+ const x = d.value.map((f, C) => ({ i: C, disabled: f.disabled })).filter((f) => !f.disabled).map((f) => f.i), _ = x.indexOf(l.value);
1781
1801
  if (b.key === "ArrowRight") {
1782
1802
  b.preventDefault();
1783
- const f = L[(_ + 1) % L.length];
1803
+ const f = x[(_ + 1) % x.length];
1784
1804
  f !== void 0 && o(f);
1785
1805
  } else if (b.key === "ArrowLeft") {
1786
1806
  b.preventDefault();
1787
- const f = L[(_ - 1 + L.length) % L.length];
1807
+ const f = x[(_ - 1 + x.length) % x.length];
1788
1808
  f !== void 0 && o(f);
1789
1809
  } else if (b.key === "Home")
1790
- b.preventDefault(), L[0] !== void 0 && o(L[0]);
1810
+ b.preventDefault(), x[0] !== void 0 && o(x[0]);
1791
1811
  else if (b.key === "End") {
1792
1812
  b.preventDefault();
1793
- const f = L[L.length - 1];
1813
+ const f = x[x.length - 1];
1794
1814
  f !== void 0 && o(f);
1795
1815
  }
1796
1816
  }
1797
1817
  const $ = `llm-tab-group-${Math.random().toString(36).slice(2, 9)}`, y = v(() => ["llm-tab-group", `variant-${a.variant}`]);
1798
- return (b, L) => (s(), n("div", {
1818
+ return (b, x) => (s(), n("div", {
1799
1819
  class: g(y.value)
1800
1820
  }, [
1801
1821
  c("div", {
@@ -1803,7 +1823,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1803
1823
  role: "tablist",
1804
1824
  onKeydown: m
1805
1825
  }, [
1806
- (s(!0), n(D, null, z(d.value, (_, f) => (s(), n("button", {
1826
+ (s(!0), n(I, null, z(d.value, (_, f) => (s(), n("button", {
1807
1827
  key: _.id,
1808
1828
  role: "tab",
1809
1829
  id: `${$}-tab-${f}`,
@@ -1814,14 +1834,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1814
1834
  class: g(["tab-button", f === l.value && "is-active", _.disabled && "is-disabled"]),
1815
1835
  type: "button",
1816
1836
  onClick: (C) => !_.disabled && o(f)
1817
- }, x(_.label), 11, Ea))), 128))
1837
+ }, L(_.label), 11, Oa))), 128))
1818
1838
  ], 32),
1819
- c("div", Ha, [
1839
+ c("div", ja, [
1820
1840
  h(b.$slots, "default", { groupId: $ })
1821
1841
  ])
1822
1842
  ], 2));
1823
1843
  }
1824
- }), ja = ["hidden"], Zt = /* @__PURE__ */ p({
1844
+ }), Ga = ["hidden"], Qt = /* @__PURE__ */ p({
1825
1845
  name: "LlmTab",
1826
1846
  __name: "llm-tab",
1827
1847
  props: {
@@ -1829,15 +1849,15 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1829
1849
  disabled: { type: Boolean, default: !1 }
1830
1850
  },
1831
1851
  setup(e) {
1832
- const t = e, a = R(ae), r = j();
1833
- H(() => {
1834
- a.registerTab({ id: r, label: t.label, disabled: t.disabled });
1852
+ const t = e, a = R(ae), i = O();
1853
+ E(() => {
1854
+ a.registerTab({ id: i, label: t.label, disabled: t.disabled });
1835
1855
  }), F(() => {
1836
- a.unregisterTab(r);
1856
+ a.unregisterTab(i);
1837
1857
  });
1838
- const l = v(() => a.tabs.value.findIndex((u) => u.id === r)), d = v(() => l.value === a.selectedIndex.value);
1858
+ const l = v(() => a.tabs.value.findIndex((u) => u.id === i)), d = v(() => l.value === a.selectedIndex.value);
1839
1859
  return v(() => {
1840
- }), (u, i) => l.value >= 0 ? (s(), n("div", {
1860
+ }), (u, r) => l.value >= 0 ? (s(), n("div", {
1841
1861
  key: 0,
1842
1862
  role: "tabpanel",
1843
1863
  hidden: !d.value,
@@ -1846,13 +1866,13 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1846
1866
  tabindex: "0"
1847
1867
  }, [
1848
1868
  h(u.$slots, "default")
1849
- ], 8, ja)) : k("", !0);
1869
+ ], 8, Ga)) : k("", !0);
1850
1870
  }
1851
- }), Ga = ["for"], Oa = { class: "textarea-field" }, Fa = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Pa = {
1871
+ }), Fa = ["for"], Pa = { class: "textarea-field" }, Ka = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Va = {
1852
1872
  key: 1,
1853
1873
  class: "errors",
1854
1874
  "aria-live": "polite"
1855
- }, Jt = /* @__PURE__ */ p({
1875
+ }, Wt = /* @__PURE__ */ p({
1856
1876
  name: "LlmTextarea",
1857
1877
  __name: "llm-textarea",
1858
1878
  props: {
@@ -1871,15 +1891,15 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1871
1891
  },
1872
1892
  emits: ["update:value"],
1873
1893
  setup(e, { emit: t }) {
1874
- const a = e, r = t, l = B(null), d = v(() => a.id || (a.label ? `textarea-${Math.random().toString(36).slice(2)}` : void 0));
1894
+ const a = e, i = t, l = B(null), d = v(() => a.id || (a.label ? `textarea-${Math.random().toString(36).slice(2)}` : void 0));
1875
1895
  function u() {
1876
1896
  a.autoResize && l.value && (l.value.style.height = "auto", l.value.style.height = `${l.value.scrollHeight}px`);
1877
1897
  }
1878
1898
  A(() => a.value, async () => {
1879
1899
  await ue(), u();
1880
- }), H(() => u());
1881
- function i(o) {
1882
- r("update:value", o.target.value), u();
1900
+ }), E(() => u());
1901
+ function r(o) {
1902
+ i("update:value", o.target.value), u();
1883
1903
  }
1884
1904
  return (o, m) => (s(), n("div", {
1885
1905
  class: g(["llm-textarea", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
@@ -1888,8 +1908,8 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1888
1908
  key: 0,
1889
1909
  for: d.value,
1890
1910
  class: "textarea-label"
1891
- }, x(e.label), 9, Ga)) : k("", !0),
1892
- c("div", Oa, [
1911
+ }, L(e.label), 9, Fa)) : k("", !0),
1912
+ c("div", Pa, [
1893
1913
  c("textarea", {
1894
1914
  id: d.value,
1895
1915
  ref_key: "textareaRef",
@@ -1902,19 +1922,19 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
1902
1922
  required: e.required,
1903
1923
  name: e.name,
1904
1924
  "aria-invalid": e.invalid || void 0,
1905
- onInput: i
1906
- }, null, 40, Fa)
1925
+ onInput: r
1926
+ }, null, 40, Ka)
1907
1927
  ]),
1908
- e.errors.length ? (s(), n("ul", Pa, [
1909
- (s(!0), n(D, null, z(e.errors, ($, y) => (s(), n("li", {
1928
+ e.errors.length ? (s(), n("ul", Va, [
1929
+ (s(!0), n(I, null, z(e.errors, ($, y) => (s(), n("li", {
1910
1930
  key: y,
1911
1931
  class: "error"
1912
- }, x($), 1))), 128))
1932
+ }, L($), 1))), 128))
1913
1933
  ])) : k("", !0)
1914
1934
  ], 2));
1915
1935
  }
1916
1936
  }), V = /* @__PURE__ */ Symbol("LlmToast");
1917
- function Qt() {
1937
+ function Xt() {
1918
1938
  const e = R(V);
1919
1939
  if (!e)
1920
1940
  throw new Error(
@@ -1922,18 +1942,18 @@ function Qt() {
1922
1942
  );
1923
1943
  return { show: e.show, dismiss: e.dismiss, clear: e.clear };
1924
1944
  }
1925
- const Wt = /* @__PURE__ */ p({
1945
+ const Yt = /* @__PURE__ */ p({
1926
1946
  name: "LlmToastProvider",
1927
1947
  __name: "llm-toast-provider",
1928
1948
  setup(e) {
1929
1949
  const t = B([]), a = /* @__PURE__ */ new Map();
1930
- function r(u, i = {}) {
1931
- const o = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, m = i.duration ?? 5e3, $ = {
1950
+ function i(u, r = {}) {
1951
+ const o = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, m = r.duration ?? 5e3, $ = {
1932
1952
  id: o,
1933
1953
  message: u,
1934
- variant: i.variant ?? "default",
1954
+ variant: r.variant ?? "default",
1935
1955
  duration: m,
1936
- dismissible: i.dismissible ?? !0
1956
+ dismissible: r.dismissible ?? !0
1937
1957
  };
1938
1958
  if (t.value = [...t.value, $], m > 0) {
1939
1959
  const y = setTimeout(() => {
@@ -1945,17 +1965,17 @@ const Wt = /* @__PURE__ */ p({
1945
1965
  }
1946
1966
  function l(u) {
1947
1967
  t.value = t.value.filter((o) => o.id !== u);
1948
- const i = a.get(u);
1949
- i !== void 0 && (clearTimeout(i), a.delete(u));
1968
+ const r = a.get(u);
1969
+ r !== void 0 && (clearTimeout(r), a.delete(u));
1950
1970
  }
1951
1971
  function d() {
1952
1972
  for (const u of a.values())
1953
1973
  clearTimeout(u);
1954
1974
  a.clear(), t.value = [];
1955
1975
  }
1956
- return E(V, { toasts: t, show: r, dismiss: l, clear: d }), (u, i) => h(u.$slots, "default");
1976
+ return H(V, { toasts: t, show: i, dismiss: l, clear: d }), (u, r) => h(u.$slots, "default");
1957
1977
  }
1958
- }), Ka = { class: "message" }, Va = /* @__PURE__ */ p({
1978
+ }), Na = { class: "message" }, Ua = /* @__PURE__ */ p({
1959
1979
  name: "LlmToastItem",
1960
1980
  __name: "llm-toast-item",
1961
1981
  props: {
@@ -1963,18 +1983,18 @@ const Wt = /* @__PURE__ */ p({
1963
1983
  },
1964
1984
  emits: ["dismiss"],
1965
1985
  setup(e, { emit: t }) {
1966
- const a = e, r = t, l = v(() => ["llm-toast", `variant-${a.data.variant}`]);
1986
+ const a = e, i = t, l = v(() => ["llm-toast", `variant-${a.data.variant}`]);
1967
1987
  return (d, u) => (s(), n("div", {
1968
1988
  class: g(l.value),
1969
1989
  role: "status"
1970
1990
  }, [
1971
- c("span", Ka, x(e.data.message), 1),
1991
+ c("span", Na, L(e.data.message), 1),
1972
1992
  e.data.dismissible ? (s(), n("button", {
1973
1993
  key: 0,
1974
1994
  class: "dismiss",
1975
1995
  type: "button",
1976
1996
  "aria-label": "Dismiss",
1977
- onClick: u[0] || (u[0] = (i) => r("dismiss", e.data.id))
1997
+ onClick: u[0] || (u[0] = (r) => i("dismiss", e.data.id))
1978
1998
  }, [...u[1] || (u[1] = [
1979
1999
  c("svg", {
1980
2000
  xmlns: "http://www.w3.org/2000/svg",
@@ -2004,35 +2024,35 @@ const Wt = /* @__PURE__ */ p({
2004
2024
  ])])) : k("", !0)
2005
2025
  ], 2));
2006
2026
  }
2007
- }), Xt = /* @__PURE__ */ p({
2027
+ }), el = /* @__PURE__ */ p({
2008
2028
  name: "LlmToastContainer",
2009
2029
  __name: "llm-toast-container",
2010
2030
  props: {
2011
2031
  position: { default: "bottom-right" }
2012
2032
  },
2013
2033
  setup(e) {
2014
- const t = e, a = R(V), r = v(() => a.toasts.value);
2034
+ const t = e, a = R(V), i = v(() => a.toasts.value);
2015
2035
  function l(u) {
2016
2036
  a.dismiss(u);
2017
2037
  }
2018
2038
  const d = v(() => ["llm-toast-container", `position-${t.position}`]);
2019
- return (u, i) => (s(), n("div", {
2039
+ return (u, r) => (s(), n("div", {
2020
2040
  class: g(d.value),
2021
2041
  "aria-live": "polite",
2022
2042
  role: "status"
2023
2043
  }, [
2024
- (s(!0), n(D, null, z(r.value, (o) => (s(), N(Va, {
2044
+ (s(!0), n(I, null, z(i.value, (o) => (s(), N(Ua, {
2025
2045
  key: o.id,
2026
2046
  data: o,
2027
- onDismiss: i[0] || (i[0] = (m) => l(m))
2047
+ onDismiss: r[0] || (r[0] = (m) => l(m))
2028
2048
  }, null, 8, ["data"]))), 128))
2029
2049
  ], 2));
2030
2050
  }
2031
- }), Na = ["for"], Ua = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], Za = {
2051
+ }), Za = ["for"], Ja = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], Qa = {
2032
2052
  key: 0,
2033
2053
  class: "errors",
2034
2054
  "aria-live": "polite"
2035
- }, Yt = /* @__PURE__ */ p({
2055
+ }, al = /* @__PURE__ */ p({
2036
2056
  name: "LlmToggle",
2037
2057
  __name: "llm-toggle",
2038
2058
  props: {
@@ -2047,11 +2067,11 @@ const Wt = /* @__PURE__ */ p({
2047
2067
  },
2048
2068
  emits: ["update:checked"],
2049
2069
  setup(e, { emit: t }) {
2050
- const a = e, r = t, l = v(() => a.id || `toggle-${Math.random().toString(36).slice(2)}`);
2070
+ const a = e, i = t, l = v(() => a.id || `toggle-${Math.random().toString(36).slice(2)}`);
2051
2071
  function d(u) {
2052
- a.readonly || r("update:checked", u.target.checked);
2072
+ a.readonly || i("update:checked", u.target.checked);
2053
2073
  }
2054
- return (u, i) => (s(), n("div", {
2074
+ return (u, r) => (s(), n("div", {
2055
2075
  class: g(["llm-toggle", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
2056
2076
  }, [
2057
2077
  c("label", {
@@ -2069,21 +2089,21 @@ const Wt = /* @__PURE__ */ p({
2069
2089
  "aria-invalid": e.invalid || void 0,
2070
2090
  "aria-checked": e.checked,
2071
2091
  onChange: d
2072
- }, null, 40, Ua),
2073
- i[0] || (i[0] = c("span", { class: "track" }, [
2092
+ }, null, 40, Ja),
2093
+ r[0] || (r[0] = c("span", { class: "track" }, [
2074
2094
  c("span", { class: "thumb" })
2075
2095
  ], -1)),
2076
2096
  h(u.$slots, "default")
2077
- ], 8, Na),
2078
- e.errors.length ? (s(), n("ul", Za, [
2079
- (s(!0), n(D, null, z(e.errors, (o, m) => (s(), n("li", {
2097
+ ], 8, Za),
2098
+ e.errors.length ? (s(), n("ul", Qa, [
2099
+ (s(!0), n(I, null, z(e.errors, (o, m) => (s(), n("li", {
2080
2100
  key: m,
2081
2101
  class: "error"
2082
- }, x(o), 1))), 128))
2102
+ }, L(o), 1))), 128))
2083
2103
  ])) : k("", !0)
2084
2104
  ], 2));
2085
2105
  }
2086
- }), el = /* @__PURE__ */ p({
2106
+ }), tl = /* @__PURE__ */ p({
2087
2107
  name: "LlmTooltip",
2088
2108
  __name: "llm-tooltip",
2089
2109
  props: {
@@ -2095,16 +2115,16 @@ const Wt = /* @__PURE__ */ p({
2095
2115
  },
2096
2116
  setup(e) {
2097
2117
  const t = e, a = B(!1);
2098
- let r = null, l = null;
2118
+ let i = null, l = null;
2099
2119
  function d() {
2100
- r && (clearTimeout(r), r = null), l && (clearTimeout(l), l = null);
2120
+ i && (clearTimeout(i), i = null), l && (clearTimeout(l), l = null);
2101
2121
  }
2102
2122
  function u() {
2103
- t.llmTooltipDisabled || !t.llmTooltip || (d(), r = setTimeout(() => {
2123
+ t.llmTooltipDisabled || !t.llmTooltip || (d(), i = setTimeout(() => {
2104
2124
  a.value = !0;
2105
2125
  }, t.llmTooltipShowDelay));
2106
2126
  }
2107
- function i() {
2127
+ function r() {
2108
2128
  d(), l = setTimeout(() => {
2109
2129
  a.value = !1;
2110
2130
  }, t.llmTooltipHideDelay);
@@ -2115,9 +2135,9 @@ const Wt = /* @__PURE__ */ p({
2115
2135
  return Z(() => d()), (m, $) => (s(), n("span", {
2116
2136
  class: "llm-tooltip-wrapper",
2117
2137
  onMouseenter: u,
2118
- onMouseleave: i,
2138
+ onMouseleave: r,
2119
2139
  onFocus: u,
2120
- onBlur: i,
2140
+ onBlur: r,
2121
2141
  onKeydown: o
2122
2142
  }, [
2123
2143
  h(m.$slots, "default"),
@@ -2125,10 +2145,10 @@ const Wt = /* @__PURE__ */ p({
2125
2145
  key: 0,
2126
2146
  role: "tooltip",
2127
2147
  class: g(`llm-tooltip position-${e.llmTooltipPosition}`)
2128
- }, x(e.llmTooltip), 3)) : k("", !0)
2148
+ }, L(e.llmTooltip), 3)) : k("", !0)
2129
2149
  ], 32));
2130
2150
  }
2131
- }), Ja = { class: "llm-code-block" }, Qa = { class: "code-block-header" }, Wa = { class: "code-block-label" }, Xa = ["aria-label"], Ya = { class: "code-block-body" }, et = { class: "code-block-pre" }, at = { class: "code-line-number" }, tt = { class: "code-line-text" }, al = /* @__PURE__ */ p({
2151
+ }), Wa = { class: "llm-code-block" }, Xa = { class: "code-block-header" }, Ya = { class: "code-block-label" }, et = ["aria-label"], at = { class: "code-block-body" }, tt = { class: "code-block-pre" }, lt = { class: "code-line-number" }, st = { class: "code-line-text" }, ll = /* @__PURE__ */ p({
2132
2152
  name: "LlmCodeBlock",
2133
2153
  __name: "llm-code-block",
2134
2154
  props: {
@@ -2139,7 +2159,7 @@ const Wt = /* @__PURE__ */ p({
2139
2159
  showLineNumbers: { type: Boolean, default: !1 }
2140
2160
  },
2141
2161
  setup(e) {
2142
- const t = e, a = B(!1), r = v(() => t.filename || t.language), l = v(() => t.code.split(`
2162
+ const t = e, a = B(!1), i = v(() => t.filename || t.language), l = v(() => t.code.split(`
2143
2163
  `));
2144
2164
  function d() {
2145
2165
  navigator.clipboard.writeText(t.code).then(() => {
@@ -2148,9 +2168,9 @@ const Wt = /* @__PURE__ */ p({
2148
2168
  }, 1800);
2149
2169
  });
2150
2170
  }
2151
- return (u, i) => (s(), n("div", Ja, [
2152
- c("div", Qa, [
2153
- c("span", Wa, x(r.value), 1),
2171
+ return (u, r) => (s(), n("div", Wa, [
2172
+ c("div", Xa, [
2173
+ c("span", Ya, L(i.value), 1),
2154
2174
  e.copyable ? (s(), n("button", {
2155
2175
  key: 0,
2156
2176
  class: "code-block-copy",
@@ -2158,8 +2178,8 @@ const Wt = /* @__PURE__ */ p({
2158
2178
  "aria-label": a.value ? "Copied" : "Copy code",
2159
2179
  onClick: d
2160
2180
  }, [
2161
- a.value ? (s(), n(D, { key: 0 }, [
2162
- i[0] || (i[0] = c("svg", {
2181
+ a.value ? (s(), n(I, { key: 0 }, [
2182
+ r[0] || (r[0] = c("svg", {
2163
2183
  xmlns: "http://www.w3.org/2000/svg",
2164
2184
  width: "14",
2165
2185
  height: "14",
@@ -2173,9 +2193,9 @@ const Wt = /* @__PURE__ */ p({
2173
2193
  }, [
2174
2194
  c("polyline", { points: "20 6 9 17 4 12" })
2175
2195
  ], -1)),
2176
- i[1] || (i[1] = O(" Copied ", -1))
2177
- ], 64)) : (s(), n(D, { key: 1 }, [
2178
- i[2] || (i[2] = c("svg", {
2196
+ r[1] || (r[1] = G(" Copied ", -1))
2197
+ ], 64)) : (s(), n(I, { key: 1 }, [
2198
+ r[2] || (r[2] = c("svg", {
2179
2199
  xmlns: "http://www.w3.org/2000/svg",
2180
2200
  width: "14",
2181
2201
  height: "14",
@@ -2197,21 +2217,21 @@ const Wt = /* @__PURE__ */ p({
2197
2217
  }),
2198
2218
  c("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
2199
2219
  ], -1)),
2200
- i[3] || (i[3] = O(" Copy ", -1))
2220
+ r[3] || (r[3] = G(" Copy ", -1))
2201
2221
  ], 64))
2202
- ], 8, Xa)) : k("", !0)
2222
+ ], 8, et)) : k("", !0)
2203
2223
  ]),
2204
- c("div", Ya, [
2205
- c("pre", et, [
2224
+ c("div", at, [
2225
+ c("pre", tt, [
2206
2226
  c("code", null, [
2207
- e.showLineNumbers ? (s(!0), n(D, { key: 0 }, z(l.value, (o, m) => (s(), n("span", {
2227
+ e.showLineNumbers ? (s(!0), n(I, { key: 0 }, z(l.value, (o, m) => (s(), n("span", {
2208
2228
  key: m,
2209
2229
  class: "code-line"
2210
2230
  }, [
2211
- c("span", at, x(m + 1), 1),
2212
- c("span", tt, x(o), 1)
2213
- ]))), 128)) : (s(), n(D, { key: 1 }, [
2214
- O(x(e.code), 1)
2231
+ c("span", lt, L(m + 1), 1),
2232
+ c("span", st, L(o), 1)
2233
+ ]))), 128)) : (s(), n(I, { key: 1 }, [
2234
+ G(L(e.code), 1)
2215
2235
  ], 64))
2216
2236
  ])
2217
2237
  ])
@@ -2220,58 +2240,58 @@ const Wt = /* @__PURE__ */ p({
2220
2240
  }
2221
2241
  });
2222
2242
  export {
2223
- st as LlmAccordionGroup,
2224
- ot as LlmAccordionHeader,
2225
- nt as LlmAccordionItem,
2226
- it as LlmAlert,
2227
- rt as LlmAvatar,
2228
- dt as LlmAvatarGroup,
2229
- ut as LlmBadge,
2230
- mt as LlmBreadcrumbItem,
2231
- ct as LlmBreadcrumbs,
2232
- ft as LlmButton,
2233
- vt as LlmCard,
2234
- bt as LlmCardContent,
2235
- ht as LlmCardFooter,
2236
- pt as LlmCardHeader,
2237
- Me as LlmCheckbox,
2238
- al as LlmCodeBlock,
2239
- zt as LlmCombobox,
2240
- gt as LlmDialog,
2241
- $t as LlmDialogContent,
2242
- kt as LlmDialogFooter,
2243
- yt as LlmDialogHeader,
2244
- _t as LlmDrawer,
2245
- Lt as LlmDrawerContent,
2246
- xt as LlmDrawerFooter,
2247
- wt as LlmDrawerHeader,
2248
- Bt as LlmInput,
2249
- Tt as LlmMenu,
2250
- Dt as LlmMenuItem,
2251
- It as LlmMenuSeparator,
2252
- Ct as LlmMenuTrigger,
2253
- Et as LlmOption,
2254
- St as LlmPagination,
2255
- Mt as LlmProgress,
2256
- At as LlmRadio,
2257
- qt as LlmRadioGroup,
2258
- Rt as LlmSelect,
2259
- Ht as LlmSkeleton,
2260
- Gt as LlmStep,
2261
- jt as LlmStepper,
2262
- Zt as LlmTab,
2263
- Ut as LlmTabGroup,
2264
- Ot as LlmTable,
2265
- Pt as LlmTbody,
2266
- Nt as LlmTd,
2267
- Jt as LlmTextarea,
2268
- Vt as LlmTh,
2269
- Ft as LlmThead,
2270
- Xt as LlmToastContainer,
2271
- Va as LlmToastItem,
2272
- Wt as LlmToastProvider,
2273
- Yt as LlmToggle,
2274
- el as LlmTooltip,
2275
- Kt as LlmTr,
2276
- Qt as useLlmToast
2243
+ ot as LlmAccordionGroup,
2244
+ rt as LlmAccordionHeader,
2245
+ it as LlmAccordionItem,
2246
+ dt as LlmAlert,
2247
+ ut as LlmAvatar,
2248
+ ct as LlmAvatarGroup,
2249
+ mt as LlmBadge,
2250
+ vt as LlmBreadcrumbItem,
2251
+ ft as LlmBreadcrumbs,
2252
+ pt as LlmButton,
2253
+ bt as LlmCard,
2254
+ gt as LlmCardContent,
2255
+ yt as LlmCardFooter,
2256
+ ht as LlmCardHeader,
2257
+ qe as LlmCheckbox,
2258
+ ll as LlmCodeBlock,
2259
+ At as LlmCombobox,
2260
+ $t as LlmDialog,
2261
+ _t as LlmDialogContent,
2262
+ wt as LlmDialogFooter,
2263
+ kt as LlmDialogHeader,
2264
+ Lt as LlmDrawer,
2265
+ Bt as LlmDrawerContent,
2266
+ Ct as LlmDrawerFooter,
2267
+ xt as LlmDrawerHeader,
2268
+ Tt as LlmInput,
2269
+ Dt as LlmMenu,
2270
+ St as LlmMenuItem,
2271
+ Mt as LlmMenuSeparator,
2272
+ It as LlmMenuTrigger,
2273
+ Ot as LlmOption,
2274
+ zt as LlmPagination,
2275
+ qt as LlmProgress,
2276
+ Ht as LlmRadio,
2277
+ Rt as LlmRadioGroup,
2278
+ Et as LlmSelect,
2279
+ jt as LlmSkeleton,
2280
+ Ft as LlmStep,
2281
+ Gt as LlmStepper,
2282
+ Qt as LlmTab,
2283
+ Jt as LlmTabGroup,
2284
+ Pt as LlmTable,
2285
+ Vt as LlmTbody,
2286
+ Zt as LlmTd,
2287
+ Wt as LlmTextarea,
2288
+ Ut as LlmTh,
2289
+ Kt as LlmThead,
2290
+ el as LlmToastContainer,
2291
+ Ua as LlmToastItem,
2292
+ Yt as LlmToastProvider,
2293
+ al as LlmToggle,
2294
+ tl as LlmTooltip,
2295
+ Nt as LlmTr,
2296
+ Xt as useLlmToast
2277
2297
  };