@atelier-ui/vue 0.0.28 → 0.0.29
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/CHANGELOG.md +11 -0
- package/index.mjs +611 -586
- package/libs/vue/src/lib/chat/llm-chat-messages.vue.d.ts +6 -2
- package/libs/vue/src/lib/chat/llm-chat-messages.vue.d.ts.map +1 -1
- package/libs/vue/src/lib/chat/llm-chat.vue.d.ts +1 -0
- package/libs/vue/src/lib/chat/llm-chat.vue.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as v, ref as C, provide as H, computed as p, openBlock as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as v, ref as C, provide as H, computed as p, openBlock as s, createElementBlock as n, normalizeClass as y, renderSlot as b, useId as O, inject as q, onMounted as E, watch as z, onBeforeUnmount as j, createElementVNode as c, toDisplayString as L, createCommentVNode as w, useSlots as ue, Fragment as B, renderList as R, createBlock as W, resolveDynamicComponent as ce, normalizeStyle as G, unref as M, withModifiers as V, onUnmounted as J, createTextVNode as F, createVNode as me, nextTick as Z, useTemplateRef as Q, toRef as fe } from "vue";
|
|
2
|
+
const X = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
3
3
|
name: "LlmAccordionGroup",
|
|
4
4
|
__name: "llm-accordion-group",
|
|
5
5
|
props: {
|
|
@@ -8,7 +8,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
8
8
|
},
|
|
9
9
|
setup(e) {
|
|
10
10
|
const t = e, a = C(/* @__PURE__ */ new Set()), o = /* @__PURE__ */ new Map();
|
|
11
|
-
function
|
|
11
|
+
function l(i) {
|
|
12
12
|
const m = new Set(a.value);
|
|
13
13
|
m.has(i) ? m.delete(i) : (t.multi || m.clear(), m.add(i)), a.value = m;
|
|
14
14
|
}
|
|
@@ -18,23 +18,23 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
18
18
|
function u(i) {
|
|
19
19
|
o.delete(i);
|
|
20
20
|
}
|
|
21
|
-
H(
|
|
21
|
+
H(X, {
|
|
22
22
|
get multi() {
|
|
23
23
|
return t.multi;
|
|
24
24
|
},
|
|
25
25
|
openItems: a,
|
|
26
|
-
toggleItem:
|
|
26
|
+
toggleItem: l,
|
|
27
27
|
registerItem: d,
|
|
28
28
|
unregisterItem: u
|
|
29
29
|
});
|
|
30
30
|
const r = p(() => ["llm-accordion-group", `variant-${t.variant}`]);
|
|
31
|
-
return (i, m) => (
|
|
32
|
-
class:
|
|
31
|
+
return (i, m) => (s(), n("div", {
|
|
32
|
+
class: y(r.value)
|
|
33
33
|
}, [
|
|
34
34
|
b(i.$slots, "default")
|
|
35
35
|
], 2));
|
|
36
36
|
}
|
|
37
|
-
}),
|
|
37
|
+
}), pe = { class: "accordion-heading" }, ve = ["aria-expanded", "disabled"], wt = /* @__PURE__ */ v({
|
|
38
38
|
name: "LlmAccordionItem",
|
|
39
39
|
__name: "llm-accordion-item",
|
|
40
40
|
props: {
|
|
@@ -43,39 +43,39 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["update:expanded"],
|
|
45
45
|
setup(e, { emit: t }) {
|
|
46
|
-
const a = e, o = t,
|
|
47
|
-
function
|
|
48
|
-
a.disabled || (r ? r.toggleItem(
|
|
46
|
+
const a = e, o = t, l = O(), d = `llm-accordion-trigger-${l}`, u = `llm-accordion-panel-${l}`, r = q(X, null), i = C(null), m = p(() => r ? r.openItems.value.has(l) : a.expanded ?? !1);
|
|
47
|
+
function $() {
|
|
48
|
+
a.disabled || (r ? r.toggleItem(l) : o("update:expanded", !m.value));
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function k(g) {
|
|
51
51
|
if (!r) return;
|
|
52
52
|
const f = Array.from(
|
|
53
53
|
document.querySelectorAll(".llm-accordion-item:not(.is-disabled) .accordion-trigger")
|
|
54
|
-
),
|
|
55
|
-
|
|
54
|
+
), T = f.indexOf(g.currentTarget);
|
|
55
|
+
g.key === "ArrowDown" ? (g.preventDefault(), f[(T + 1) % f.length]?.focus()) : g.key === "ArrowUp" ? (g.preventDefault(), f[(T - 1 + f.length) % f.length]?.focus()) : g.key === "Home" ? (g.preventDefault(), f[0]?.focus()) : g.key === "End" && (g.preventDefault(), f[f.length - 1]?.focus());
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
r && i.value && r.registerItem(
|
|
59
|
-
}),
|
|
57
|
+
E(() => {
|
|
58
|
+
r && i.value && r.registerItem(l, i.value), !r && a.expanded;
|
|
59
|
+
}), z(
|
|
60
60
|
() => a.expanded,
|
|
61
|
-
(
|
|
62
|
-
if (!r ||
|
|
63
|
-
const f = r.openItems.value.has(
|
|
64
|
-
(
|
|
61
|
+
(g) => {
|
|
62
|
+
if (!r || g === void 0) return;
|
|
63
|
+
const f = r.openItems.value.has(l);
|
|
64
|
+
(g && !f || !g && f) && r.toggleItem(l);
|
|
65
65
|
},
|
|
66
66
|
{ immediate: !0 }
|
|
67
|
-
),
|
|
68
|
-
r && r.unregisterItem(
|
|
67
|
+
), j(() => {
|
|
68
|
+
r && r.unregisterItem(l);
|
|
69
69
|
});
|
|
70
70
|
const h = p(() => [
|
|
71
71
|
"llm-accordion-item",
|
|
72
72
|
m.value && "is-expanded",
|
|
73
73
|
a.disabled && "is-disabled"
|
|
74
|
-
]),
|
|
75
|
-
return (
|
|
76
|
-
class:
|
|
74
|
+
]), _ = p(() => ["chevron", m.value && "is-expanded"]);
|
|
75
|
+
return (g, f) => (s(), n("div", {
|
|
76
|
+
class: y(h.value)
|
|
77
77
|
}, [
|
|
78
|
-
c("h3",
|
|
78
|
+
c("h3", pe, [
|
|
79
79
|
c("button", {
|
|
80
80
|
id: d,
|
|
81
81
|
ref_key: "triggerRef",
|
|
@@ -85,12 +85,12 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
85
85
|
"aria-expanded": m.value,
|
|
86
86
|
"aria-controls": u,
|
|
87
87
|
disabled: e.disabled,
|
|
88
|
-
onClick:
|
|
89
|
-
onKeydown:
|
|
88
|
+
onClick: $,
|
|
89
|
+
onKeydown: k
|
|
90
90
|
}, [
|
|
91
|
-
b(
|
|
92
|
-
(
|
|
93
|
-
class:
|
|
91
|
+
b(g.$slots, "header"),
|
|
92
|
+
(s(), n("svg", {
|
|
93
|
+
class: y(_.value),
|
|
94
94
|
width: "16",
|
|
95
95
|
height: "16",
|
|
96
96
|
viewBox: "0 0 16 16",
|
|
@@ -105,10 +105,10 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
105
105
|
"stroke-linejoin": "round"
|
|
106
106
|
}, null, -1)
|
|
107
107
|
])], 2))
|
|
108
|
-
], 40,
|
|
108
|
+
], 40, ve)
|
|
109
109
|
]),
|
|
110
110
|
c("div", {
|
|
111
|
-
class:
|
|
111
|
+
class: y(["accordion-panel-wrapper", m.value && "is-expanded"])
|
|
112
112
|
}, [
|
|
113
113
|
c("div", {
|
|
114
114
|
id: u,
|
|
@@ -116,20 +116,20 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
116
116
|
"aria-labelledby": d,
|
|
117
117
|
class: "accordion-panel"
|
|
118
118
|
}, [
|
|
119
|
-
b(
|
|
119
|
+
b(g.$slots, "default")
|
|
120
120
|
])
|
|
121
121
|
], 2)
|
|
122
122
|
], 2));
|
|
123
123
|
}
|
|
124
|
-
}),
|
|
124
|
+
}), he = { class: "accordion-header-content" }, Lt = /* @__PURE__ */ v({
|
|
125
125
|
name: "LlmAccordionHeader",
|
|
126
126
|
__name: "llm-accordion-header",
|
|
127
127
|
setup(e) {
|
|
128
|
-
return (t, a) => (
|
|
128
|
+
return (t, a) => (s(), n("span", he, [
|
|
129
129
|
b(t.$slots, "default")
|
|
130
130
|
]));
|
|
131
131
|
}
|
|
132
|
-
}),
|
|
132
|
+
}), be = ["aria-live"], ge = { class: "content" }, ye = {
|
|
133
133
|
class: "variant-icon",
|
|
134
134
|
"aria-hidden": "true"
|
|
135
135
|
}, xt = /* @__PURE__ */ v({
|
|
@@ -146,24 +146,24 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
146
146
|
success: "✓",
|
|
147
147
|
warning: "⚠",
|
|
148
148
|
danger: "✕"
|
|
149
|
-
}, o = e,
|
|
149
|
+
}, o = e, l = t, d = p(() => ["llm-alert", `variant-${o.variant}`]), u = p(
|
|
150
150
|
() => o.variant === "danger" || o.variant === "warning" ? "assertive" : "polite"
|
|
151
151
|
), r = p(() => a[o.variant]);
|
|
152
|
-
return (i, m) => (
|
|
153
|
-
class:
|
|
152
|
+
return (i, m) => (s(), n("div", {
|
|
153
|
+
class: y(d.value),
|
|
154
154
|
role: "alert",
|
|
155
155
|
"aria-live": u.value
|
|
156
156
|
}, [
|
|
157
|
-
c("span",
|
|
158
|
-
c("span",
|
|
157
|
+
c("span", ge, [
|
|
158
|
+
c("span", ye, L(r.value), 1),
|
|
159
159
|
b(i.$slots, "default")
|
|
160
160
|
]),
|
|
161
|
-
e.dismissible ? (
|
|
161
|
+
e.dismissible ? (s(), n("button", {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "dismiss",
|
|
164
164
|
type: "button",
|
|
165
165
|
"aria-label": "Dismiss",
|
|
166
|
-
onClick: m[0] || (m[0] = (
|
|
166
|
+
onClick: m[0] || (m[0] = ($) => l("dismissed"))
|
|
167
167
|
}, [...m[1] || (m[1] = [
|
|
168
168
|
c("svg", {
|
|
169
169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -191,12 +191,12 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
191
191
|
})
|
|
192
192
|
], -1)
|
|
193
193
|
])])) : w("", !0)
|
|
194
|
-
], 10,
|
|
194
|
+
], 10, be));
|
|
195
195
|
}
|
|
196
|
-
}),
|
|
196
|
+
}), $e = ["aria-label"], ke = ["src", "alt"], _e = {
|
|
197
197
|
key: 1,
|
|
198
198
|
class: "initials"
|
|
199
|
-
},
|
|
199
|
+
}, we = {
|
|
200
200
|
key: 2,
|
|
201
201
|
class: "icon",
|
|
202
202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -216,38 +216,38 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
216
216
|
},
|
|
217
217
|
setup(e) {
|
|
218
218
|
const t = e, a = C(!1);
|
|
219
|
-
|
|
219
|
+
z(() => t.src, () => {
|
|
220
220
|
a.value = !1;
|
|
221
221
|
});
|
|
222
222
|
function o(r) {
|
|
223
223
|
return r.split(" ").filter(Boolean).slice(0, 2).map((i) => i[0].toUpperCase()).join("");
|
|
224
224
|
}
|
|
225
|
-
const
|
|
225
|
+
const l = p(() => t.name ? o(t.name) : ""), d = p(() => t.alt || t.name || "Avatar"), u = p(() => [
|
|
226
226
|
"llm-avatar",
|
|
227
227
|
`size-${t.size}`,
|
|
228
228
|
`shape-${t.shape}`
|
|
229
229
|
]);
|
|
230
|
-
return (r, i) => (
|
|
231
|
-
class:
|
|
230
|
+
return (r, i) => (s(), n("div", {
|
|
231
|
+
class: y(u.value),
|
|
232
232
|
"aria-label": d.value,
|
|
233
233
|
role: "img"
|
|
234
234
|
}, [
|
|
235
|
-
e.src && !a.value ? (
|
|
235
|
+
e.src && !a.value ? (s(), n("img", {
|
|
236
236
|
key: 0,
|
|
237
237
|
src: e.src,
|
|
238
238
|
alt: e.alt || e.name,
|
|
239
239
|
onError: i[0] || (i[0] = (m) => a.value = !0)
|
|
240
|
-
}, null, 40,
|
|
240
|
+
}, null, 40, ke)) : l.value ? (s(), n("span", _e, L(l.value), 1)) : (s(), n("svg", we, [...i[1] || (i[1] = [
|
|
241
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)
|
|
242
242
|
])])),
|
|
243
|
-
e.status ? (
|
|
243
|
+
e.status ? (s(), n("span", {
|
|
244
244
|
key: 3,
|
|
245
|
-
class:
|
|
245
|
+
class: y(`status-dot status-${e.status}`),
|
|
246
246
|
"aria-hidden": "true"
|
|
247
247
|
}, null, 2)) : w("", !0)
|
|
248
|
-
], 10,
|
|
248
|
+
], 10, $e));
|
|
249
249
|
}
|
|
250
|
-
}),
|
|
250
|
+
}), Le = ["aria-label"], Bt = /* @__PURE__ */ v({
|
|
251
251
|
name: "LlmAvatarGroup",
|
|
252
252
|
__name: "llm-avatar-group",
|
|
253
253
|
props: {
|
|
@@ -255,23 +255,23 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
255
255
|
size: { default: "md" }
|
|
256
256
|
},
|
|
257
257
|
setup(e) {
|
|
258
|
-
const t = e, a =
|
|
259
|
-
return (u, r) => (
|
|
260
|
-
class:
|
|
258
|
+
const t = e, a = ue(), o = p(() => a.default?.() ?? []), l = p(() => o.value.slice(0, t.max)), d = p(() => Math.max(0, o.value.length - t.max));
|
|
259
|
+
return (u, r) => (s(), n("div", {
|
|
260
|
+
class: y(["llm-avatar-group", `size-${e.size}`])
|
|
261
261
|
}, [
|
|
262
|
-
(
|
|
263
|
-
d.value > 0 ? (
|
|
262
|
+
(s(!0), n(B, null, R(l.value, (i, m) => (s(), W(ce(i), { key: m }))), 128)),
|
|
263
|
+
d.value > 0 ? (s(), n("div", {
|
|
264
264
|
key: 0,
|
|
265
|
-
class:
|
|
265
|
+
class: y(`overflow-badge size-${e.size}`),
|
|
266
266
|
"aria-label": `+${d.value} more`
|
|
267
|
-
}, " +" + L(d.value), 11,
|
|
267
|
+
}, " +" + L(d.value), 11, Le)) : w("", !0)
|
|
268
268
|
], 2));
|
|
269
269
|
}
|
|
270
|
-
}),
|
|
270
|
+
}), xe = {
|
|
271
271
|
key: 0,
|
|
272
272
|
class: "variant-icon",
|
|
273
273
|
"aria-hidden": "true"
|
|
274
|
-
},
|
|
274
|
+
}, Tt = /* @__PURE__ */ v({
|
|
275
275
|
name: "LlmBadge",
|
|
276
276
|
__name: "llm-badge",
|
|
277
277
|
props: {
|
|
@@ -289,16 +289,16 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
289
289
|
"llm-badge",
|
|
290
290
|
`variant-${a.variant}`,
|
|
291
291
|
`size-${a.size}`
|
|
292
|
-
]),
|
|
293
|
-
return (d, u) => (
|
|
294
|
-
class:
|
|
292
|
+
]), l = p(() => t[a.variant]);
|
|
293
|
+
return (d, u) => (s(), n("span", {
|
|
294
|
+
class: y(o.value),
|
|
295
295
|
role: "status"
|
|
296
296
|
}, [
|
|
297
|
-
|
|
297
|
+
l.value ? (s(), n("span", xe, L(l.value), 1)) : w("", !0),
|
|
298
298
|
b(d.$slots, "default")
|
|
299
299
|
], 2));
|
|
300
300
|
}
|
|
301
|
-
}),
|
|
301
|
+
}), Ce = { class: "breadcrumbs-list" }, It = /* @__PURE__ */ v({
|
|
302
302
|
name: "LlmBreadcrumbs",
|
|
303
303
|
__name: "llm-breadcrumbs",
|
|
304
304
|
props: {
|
|
@@ -306,17 +306,17 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
306
306
|
},
|
|
307
307
|
setup(e) {
|
|
308
308
|
const t = e;
|
|
309
|
-
return (a, o) => (
|
|
309
|
+
return (a, o) => (s(), n("nav", {
|
|
310
310
|
class: "llm-breadcrumbs",
|
|
311
311
|
"aria-label": "Breadcrumb",
|
|
312
|
-
style:
|
|
312
|
+
style: G({ "--llm-separator": `'${t.separator}'` })
|
|
313
313
|
}, [
|
|
314
|
-
c("ol",
|
|
314
|
+
c("ol", Ce, [
|
|
315
315
|
b(a.$slots, "default")
|
|
316
316
|
])
|
|
317
317
|
], 4));
|
|
318
318
|
}
|
|
319
|
-
}),
|
|
319
|
+
}), Be = ["href"], Te = ["aria-current"], Dt = /* @__PURE__ */ v({
|
|
320
320
|
name: "LlmBreadcrumbItem",
|
|
321
321
|
__name: "llm-breadcrumb-item",
|
|
322
322
|
props: {
|
|
@@ -328,25 +328,25 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
328
328
|
"llm-breadcrumb-item",
|
|
329
329
|
t.current && "is-current"
|
|
330
330
|
].filter(Boolean));
|
|
331
|
-
return (o,
|
|
332
|
-
class:
|
|
331
|
+
return (o, l) => (s(), n("li", {
|
|
332
|
+
class: y(a.value)
|
|
333
333
|
}, [
|
|
334
|
-
e.href && !e.current ? (
|
|
334
|
+
e.href && !e.current ? (s(), n("a", {
|
|
335
335
|
key: 0,
|
|
336
336
|
href: e.href,
|
|
337
337
|
class: "breadcrumb-link"
|
|
338
338
|
}, [
|
|
339
339
|
b(o.$slots, "default")
|
|
340
|
-
], 8,
|
|
340
|
+
], 8, Be)) : (s(), n("span", {
|
|
341
341
|
key: 1,
|
|
342
342
|
class: "breadcrumb-current",
|
|
343
343
|
"aria-current": e.current ? "page" : void 0
|
|
344
344
|
}, [
|
|
345
345
|
b(o.$slots, "default")
|
|
346
|
-
], 8,
|
|
346
|
+
], 8, Te))
|
|
347
347
|
], 2));
|
|
348
348
|
}
|
|
349
|
-
}), Ie = ["type", "disabled", "aria-disabled"],
|
|
349
|
+
}), Ie = ["type", "disabled", "aria-disabled"], De = {
|
|
350
350
|
key: 0,
|
|
351
351
|
class: "spinner",
|
|
352
352
|
"aria-hidden": "true"
|
|
@@ -368,14 +368,14 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
368
368
|
a.value && "is-disabled",
|
|
369
369
|
t.loading && "is-loading"
|
|
370
370
|
].filter(Boolean));
|
|
371
|
-
return (
|
|
372
|
-
class:
|
|
371
|
+
return (l, d) => (s(), n("button", {
|
|
372
|
+
class: y(o.value),
|
|
373
373
|
type: e.type,
|
|
374
374
|
disabled: a.value,
|
|
375
375
|
"aria-disabled": a.value || void 0
|
|
376
376
|
}, [
|
|
377
|
-
e.loading ? (
|
|
378
|
-
b(
|
|
377
|
+
e.loading ? (s(), n("span", De)) : w("", !0),
|
|
378
|
+
b(l.$slots, "default")
|
|
379
379
|
], 10, Ie));
|
|
380
380
|
}
|
|
381
381
|
}), Mt = /* @__PURE__ */ v({
|
|
@@ -391,41 +391,41 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
391
391
|
`variant-${t.variant}`,
|
|
392
392
|
`padding-${t.padding}`
|
|
393
393
|
]);
|
|
394
|
-
return (o,
|
|
395
|
-
class:
|
|
394
|
+
return (o, l) => (s(), n("div", {
|
|
395
|
+
class: y(a.value)
|
|
396
396
|
}, [
|
|
397
397
|
b(o.$slots, "default")
|
|
398
398
|
], 2));
|
|
399
399
|
}
|
|
400
|
-
}),
|
|
400
|
+
}), Se = { class: "llm-card-header" }, At = /* @__PURE__ */ v({
|
|
401
401
|
name: "LlmCardHeader",
|
|
402
402
|
__name: "llm-card-header",
|
|
403
403
|
setup(e) {
|
|
404
|
-
return (t, a) => (
|
|
404
|
+
return (t, a) => (s(), n("div", Se, [
|
|
405
405
|
b(t.$slots, "default")
|
|
406
406
|
]));
|
|
407
407
|
}
|
|
408
|
-
}),
|
|
408
|
+
}), Me = { class: "llm-card-content" }, Rt = /* @__PURE__ */ v({
|
|
409
409
|
name: "LlmCardContent",
|
|
410
410
|
__name: "llm-card-content",
|
|
411
411
|
setup(e) {
|
|
412
|
-
return (t, a) => (
|
|
412
|
+
return (t, a) => (s(), n("div", Me, [
|
|
413
413
|
b(t.$slots, "default")
|
|
414
414
|
]));
|
|
415
415
|
}
|
|
416
|
-
}),
|
|
416
|
+
}), Ae = { class: "llm-card-footer" }, zt = /* @__PURE__ */ v({
|
|
417
417
|
name: "LlmCardFooter",
|
|
418
418
|
__name: "llm-card-footer",
|
|
419
419
|
setup(e) {
|
|
420
|
-
return (t, a) => (
|
|
420
|
+
return (t, a) => (s(), n("div", Ae, [
|
|
421
421
|
b(t.$slots, "default")
|
|
422
422
|
]));
|
|
423
423
|
}
|
|
424
|
-
}),
|
|
424
|
+
}), Re = ["for"], ze = ["id", "checked", "disabled", "readonly", "required", "name", "aria-invalid"], qe = {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "errors",
|
|
427
427
|
"aria-live": "polite"
|
|
428
|
-
},
|
|
428
|
+
}, He = /* @__PURE__ */ v({
|
|
429
429
|
name: "LlmCheckbox",
|
|
430
430
|
__name: "llm-checkbox",
|
|
431
431
|
props: {
|
|
@@ -441,21 +441,21 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
441
441
|
},
|
|
442
442
|
emits: ["update:checked"],
|
|
443
443
|
setup(e, { emit: t }) {
|
|
444
|
-
const a = e, o = t,
|
|
445
|
-
|
|
444
|
+
const a = e, o = t, l = C(null), d = p(() => a.id || `checkbox-${Math.random().toString(36).slice(2)}`);
|
|
445
|
+
z(
|
|
446
446
|
() => a.indeterminate,
|
|
447
447
|
(r) => {
|
|
448
|
-
|
|
448
|
+
l.value && (l.value.indeterminate = r);
|
|
449
449
|
}
|
|
450
|
-
),
|
|
451
|
-
|
|
450
|
+
), E(() => {
|
|
451
|
+
l.value && (l.value.indeterminate = a.indeterminate);
|
|
452
452
|
});
|
|
453
453
|
function u(r) {
|
|
454
454
|
const i = r.target;
|
|
455
455
|
o("update:checked", i.checked);
|
|
456
456
|
}
|
|
457
|
-
return (r, i) => (
|
|
458
|
-
class:
|
|
457
|
+
return (r, i) => (s(), n("div", {
|
|
458
|
+
class: y(["llm-checkbox", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
|
|
459
459
|
}, [
|
|
460
460
|
c("label", {
|
|
461
461
|
for: d.value,
|
|
@@ -464,7 +464,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
464
464
|
c("input", {
|
|
465
465
|
id: d.value,
|
|
466
466
|
ref_key: "inputRef",
|
|
467
|
-
ref:
|
|
467
|
+
ref: l,
|
|
468
468
|
type: "checkbox",
|
|
469
469
|
checked: e.checked,
|
|
470
470
|
disabled: e.disabled,
|
|
@@ -475,16 +475,16 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
475
475
|
onChange: u
|
|
476
476
|
}, null, 40, ze),
|
|
477
477
|
b(r.$slots, "default")
|
|
478
|
-
], 8,
|
|
479
|
-
e.errors.length ? (
|
|
480
|
-
(
|
|
481
|
-
key:
|
|
478
|
+
], 8, Re),
|
|
479
|
+
e.errors.length ? (s(), n("ul", qe, [
|
|
480
|
+
(s(!0), n(B, null, R(e.errors, (m, $) => (s(), n("li", {
|
|
481
|
+
key: $,
|
|
482
482
|
class: "error"
|
|
483
483
|
}, L(m), 1))), 128))
|
|
484
484
|
])) : w("", !0)
|
|
485
485
|
], 2));
|
|
486
486
|
}
|
|
487
|
-
}),
|
|
487
|
+
}), Ee = ["aria-label", "aria-labelledby"], Y = /* @__PURE__ */ Symbol("LlmDialog"), qt = /* @__PURE__ */ v({
|
|
488
488
|
name: "LlmDialog",
|
|
489
489
|
__name: "llm-dialog",
|
|
490
490
|
props: {
|
|
@@ -495,36 +495,36 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
495
495
|
},
|
|
496
496
|
emits: ["update:open"],
|
|
497
497
|
setup(e, { emit: t }) {
|
|
498
|
-
const a = e, o = t,
|
|
498
|
+
const a = e, o = t, l = C(null), d = O();
|
|
499
499
|
function u() {
|
|
500
500
|
o("update:open", !1);
|
|
501
501
|
}
|
|
502
|
-
H(
|
|
502
|
+
H(Y, {
|
|
503
503
|
headerId: d,
|
|
504
504
|
close: u
|
|
505
|
-
}),
|
|
506
|
-
a.open &&
|
|
507
|
-
}),
|
|
505
|
+
}), E(() => {
|
|
506
|
+
a.open && l.value && l.value.showModal();
|
|
507
|
+
}), z(
|
|
508
508
|
() => a.open,
|
|
509
|
-
(
|
|
510
|
-
const h =
|
|
511
|
-
h && (
|
|
509
|
+
(k) => {
|
|
510
|
+
const h = l.value;
|
|
511
|
+
h && (k ? h.open || h.showModal() : h.open && h.close());
|
|
512
512
|
},
|
|
513
513
|
{ flush: "post" }
|
|
514
514
|
);
|
|
515
515
|
function r() {
|
|
516
516
|
o("update:open", !1);
|
|
517
517
|
}
|
|
518
|
-
function i(
|
|
519
|
-
|
|
518
|
+
function i(k) {
|
|
519
|
+
k.preventDefault(), o("update:open", !1);
|
|
520
520
|
}
|
|
521
|
-
function m(
|
|
522
|
-
a.closeOnBackdrop &&
|
|
521
|
+
function m(k) {
|
|
522
|
+
a.closeOnBackdrop && k.target === l.value && o("update:open", !1);
|
|
523
523
|
}
|
|
524
|
-
const
|
|
525
|
-
return (
|
|
524
|
+
const $ = p(() => ["panel", `size-${a.size}`]);
|
|
525
|
+
return (k, h) => (s(), n("dialog", {
|
|
526
526
|
ref_key: "dialogRef",
|
|
527
|
-
ref:
|
|
527
|
+
ref: l,
|
|
528
528
|
class: "llm-dialog",
|
|
529
529
|
"aria-label": e.ariaLabel || void 0,
|
|
530
530
|
"aria-labelledby": e.ariaLabel ? void 0 : M(d),
|
|
@@ -534,32 +534,32 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
534
534
|
onClick: m
|
|
535
535
|
}, [
|
|
536
536
|
c("div", {
|
|
537
|
-
class:
|
|
537
|
+
class: y($.value),
|
|
538
538
|
onClick: h[0] || (h[0] = V(() => {
|
|
539
539
|
}, ["stop"]))
|
|
540
540
|
}, [
|
|
541
|
-
b(
|
|
541
|
+
b(k.$slots, "default")
|
|
542
542
|
], 2)
|
|
543
|
-
], 40,
|
|
543
|
+
], 40, Ee));
|
|
544
544
|
}
|
|
545
|
-
}),
|
|
545
|
+
}), Oe = ["id"], Ke = { class: "header-content" }, Ht = /* @__PURE__ */ v({
|
|
546
546
|
name: "LlmDialogHeader",
|
|
547
547
|
__name: "llm-dialog-header",
|
|
548
548
|
setup(e) {
|
|
549
|
-
const t =
|
|
549
|
+
const t = q(Y, { headerId: "", close: () => {
|
|
550
550
|
} });
|
|
551
|
-
return (a, o) => (
|
|
551
|
+
return (a, o) => (s(), n("div", {
|
|
552
552
|
id: M(t).headerId,
|
|
553
553
|
class: "llm-dialog-header"
|
|
554
554
|
}, [
|
|
555
|
-
c("span",
|
|
555
|
+
c("span", Ke, [
|
|
556
556
|
b(a.$slots, "default")
|
|
557
557
|
]),
|
|
558
558
|
c("button", {
|
|
559
559
|
class: "close-btn",
|
|
560
560
|
type: "button",
|
|
561
561
|
"aria-label": "Close dialog",
|
|
562
|
-
onClick: o[0] || (o[0] = (
|
|
562
|
+
onClick: o[0] || (o[0] = (l) => M(t).close())
|
|
563
563
|
}, [...o[1] || (o[1] = [
|
|
564
564
|
c("svg", {
|
|
565
565
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -587,25 +587,25 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
587
587
|
})
|
|
588
588
|
], -1)
|
|
589
589
|
])])
|
|
590
|
-
], 8,
|
|
590
|
+
], 8, Oe));
|
|
591
591
|
}
|
|
592
|
-
}),
|
|
592
|
+
}), je = { class: "llm-dialog-content" }, Et = /* @__PURE__ */ v({
|
|
593
593
|
name: "LlmDialogContent",
|
|
594
594
|
__name: "llm-dialog-content",
|
|
595
595
|
setup(e) {
|
|
596
|
-
return (t, a) => (
|
|
596
|
+
return (t, a) => (s(), n("div", je, [
|
|
597
597
|
b(t.$slots, "default")
|
|
598
598
|
]));
|
|
599
599
|
}
|
|
600
|
-
}),
|
|
600
|
+
}), Fe = { class: "llm-dialog-footer" }, Ot = /* @__PURE__ */ v({
|
|
601
601
|
name: "LlmDialogFooter",
|
|
602
602
|
__name: "llm-dialog-footer",
|
|
603
603
|
setup(e) {
|
|
604
|
-
return (t, a) => (
|
|
604
|
+
return (t, a) => (s(), n("div", Fe, [
|
|
605
605
|
b(t.$slots, "default")
|
|
606
606
|
]));
|
|
607
607
|
}
|
|
608
|
-
}), Ge = ["aria-labelledby"],
|
|
608
|
+
}), Ge = ["aria-labelledby"], ee = /* @__PURE__ */ Symbol("LlmDrawer"), Kt = /* @__PURE__ */ v({
|
|
609
609
|
name: "LlmDrawer",
|
|
610
610
|
__name: "llm-drawer",
|
|
611
611
|
props: {
|
|
@@ -616,42 +616,42 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
616
616
|
},
|
|
617
617
|
emits: ["update:open"],
|
|
618
618
|
setup(e, { emit: t }) {
|
|
619
|
-
const a = e, o = t,
|
|
619
|
+
const a = e, o = t, l = C(null), d = O();
|
|
620
620
|
function u() {
|
|
621
621
|
o("update:open", !1);
|
|
622
622
|
}
|
|
623
|
-
H(
|
|
623
|
+
H(ee, {
|
|
624
624
|
headerId: d,
|
|
625
625
|
close: u
|
|
626
|
-
}),
|
|
627
|
-
a.open &&
|
|
628
|
-
}),
|
|
626
|
+
}), E(() => {
|
|
627
|
+
a.open && l.value && l.value.showModal();
|
|
628
|
+
}), z(
|
|
629
629
|
() => a.open,
|
|
630
|
-
(
|
|
631
|
-
const h =
|
|
632
|
-
h && (
|
|
630
|
+
(k) => {
|
|
631
|
+
const h = l.value;
|
|
632
|
+
h && (k ? h.open || h.showModal() : h.open && h.close());
|
|
633
633
|
},
|
|
634
634
|
{ flush: "post" }
|
|
635
635
|
);
|
|
636
636
|
function r() {
|
|
637
637
|
o("update:open", !1);
|
|
638
638
|
}
|
|
639
|
-
function i(
|
|
640
|
-
|
|
639
|
+
function i(k) {
|
|
640
|
+
k.preventDefault(), o("update:open", !1);
|
|
641
641
|
}
|
|
642
|
-
function m(
|
|
643
|
-
a.closeOnBackdrop &&
|
|
642
|
+
function m(k) {
|
|
643
|
+
a.closeOnBackdrop && k.target === l.value && o("update:open", !1);
|
|
644
644
|
}
|
|
645
|
-
const
|
|
645
|
+
const $ = p(() => [
|
|
646
646
|
"llm-drawer-host",
|
|
647
647
|
`position-${a.position}`,
|
|
648
648
|
`size-${a.size}`,
|
|
649
649
|
a.open && "is-open"
|
|
650
650
|
]);
|
|
651
|
-
return (
|
|
651
|
+
return (k, h) => (s(), n("dialog", {
|
|
652
652
|
ref_key: "dialogRef",
|
|
653
|
-
ref:
|
|
654
|
-
class:
|
|
653
|
+
ref: l,
|
|
654
|
+
class: y($.value),
|
|
655
655
|
"aria-labelledby": M(d),
|
|
656
656
|
"aria-modal": "true",
|
|
657
657
|
onClose: r,
|
|
@@ -663,28 +663,28 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
663
663
|
onClick: h[0] || (h[0] = V(() => {
|
|
664
664
|
}, ["stop"]))
|
|
665
665
|
}, [
|
|
666
|
-
b(
|
|
666
|
+
b(k.$slots, "default")
|
|
667
667
|
])
|
|
668
668
|
], 42, Ge));
|
|
669
669
|
}
|
|
670
|
-
}), Pe = ["id"],
|
|
670
|
+
}), Pe = ["id"], Ve = { class: "header-content" }, jt = /* @__PURE__ */ v({
|
|
671
671
|
name: "LlmDrawerHeader",
|
|
672
672
|
__name: "llm-drawer-header",
|
|
673
673
|
setup(e) {
|
|
674
|
-
const t =
|
|
674
|
+
const t = q(ee, { headerId: "", close: () => {
|
|
675
675
|
} });
|
|
676
|
-
return (a, o) => (
|
|
676
|
+
return (a, o) => (s(), n("div", {
|
|
677
677
|
id: M(t).headerId,
|
|
678
678
|
class: "llm-drawer-header"
|
|
679
679
|
}, [
|
|
680
|
-
c("span",
|
|
680
|
+
c("span", Ve, [
|
|
681
681
|
b(a.$slots, "default")
|
|
682
682
|
]),
|
|
683
683
|
c("button", {
|
|
684
684
|
class: "close-btn",
|
|
685
685
|
type: "button",
|
|
686
686
|
"aria-label": "Close drawer",
|
|
687
|
-
onClick: o[0] || (o[0] = (
|
|
687
|
+
onClick: o[0] || (o[0] = (l) => M(t).close())
|
|
688
688
|
}, [...o[1] || (o[1] = [
|
|
689
689
|
c("svg", {
|
|
690
690
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -714,27 +714,27 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
714
714
|
])])
|
|
715
715
|
], 8, Pe));
|
|
716
716
|
}
|
|
717
|
-
}),
|
|
717
|
+
}), Ne = { class: "llm-drawer-content" }, Ft = /* @__PURE__ */ v({
|
|
718
718
|
name: "LlmDrawerContent",
|
|
719
719
|
__name: "llm-drawer-content",
|
|
720
720
|
setup(e) {
|
|
721
|
-
return (t, a) => (
|
|
721
|
+
return (t, a) => (s(), n("div", Ne, [
|
|
722
722
|
b(t.$slots, "default")
|
|
723
723
|
]));
|
|
724
724
|
}
|
|
725
|
-
}),
|
|
725
|
+
}), Ue = { class: "llm-drawer-footer" }, Gt = /* @__PURE__ */ v({
|
|
726
726
|
name: "LlmDrawerFooter",
|
|
727
727
|
__name: "llm-drawer-footer",
|
|
728
728
|
setup(e) {
|
|
729
|
-
return (t, a) => (
|
|
729
|
+
return (t, a) => (s(), n("div", Ue, [
|
|
730
730
|
b(t.$slots, "default")
|
|
731
731
|
]));
|
|
732
732
|
}
|
|
733
|
-
}),
|
|
733
|
+
}), We = ["for"], Je = { class: "input-field" }, Ze = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Qe = {
|
|
734
734
|
key: 1,
|
|
735
735
|
class: "errors",
|
|
736
736
|
"aria-live": "polite"
|
|
737
|
-
},
|
|
737
|
+
}, Pt = /* @__PURE__ */ v({
|
|
738
738
|
name: "LlmInput",
|
|
739
739
|
__name: "llm-input",
|
|
740
740
|
props: {
|
|
@@ -752,21 +752,21 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
752
752
|
},
|
|
753
753
|
emits: ["update:value"],
|
|
754
754
|
setup(e, { emit: t }) {
|
|
755
|
-
const a = e, o = t,
|
|
755
|
+
const a = e, o = t, l = p(() => a.id || (a.label ? `input-${Math.random().toString(36).slice(2)}` : void 0));
|
|
756
756
|
function d(u) {
|
|
757
757
|
o("update:value", u.target.value);
|
|
758
758
|
}
|
|
759
|
-
return (u, r) => (
|
|
760
|
-
class:
|
|
759
|
+
return (u, r) => (s(), n("div", {
|
|
760
|
+
class: y(["llm-input", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
|
|
761
761
|
}, [
|
|
762
|
-
e.label ? (
|
|
762
|
+
e.label ? (s(), n("label", {
|
|
763
763
|
key: 0,
|
|
764
|
-
for:
|
|
764
|
+
for: l.value,
|
|
765
765
|
class: "input-label"
|
|
766
|
-
}, L(e.label), 9,
|
|
767
|
-
c("div",
|
|
766
|
+
}, L(e.label), 9, We)) : w("", !0),
|
|
767
|
+
c("div", Je, [
|
|
768
768
|
c("input", {
|
|
769
|
-
id:
|
|
769
|
+
id: l.value,
|
|
770
770
|
type: e.type,
|
|
771
771
|
value: e.value,
|
|
772
772
|
placeholder: e.placeholder,
|
|
@@ -776,49 +776,49 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
776
776
|
name: e.name,
|
|
777
777
|
"aria-invalid": e.invalid || void 0,
|
|
778
778
|
onInput: d
|
|
779
|
-
}, null, 40,
|
|
779
|
+
}, null, 40, Ze)
|
|
780
780
|
]),
|
|
781
|
-
e.errors.length ? (
|
|
782
|
-
(
|
|
781
|
+
e.errors.length ? (s(), n("ul", Qe, [
|
|
782
|
+
(s(!0), n(B, null, R(e.errors, (i, m) => (s(), n("li", {
|
|
783
783
|
key: m,
|
|
784
784
|
class: "error"
|
|
785
785
|
}, L(i), 1))), 128))
|
|
786
786
|
])) : w("", !0)
|
|
787
787
|
], 2));
|
|
788
788
|
}
|
|
789
|
-
}),
|
|
789
|
+
}), Xe = { class: "llm-menu-trigger-wrapper" }, ae = /* @__PURE__ */ Symbol("LlmMenuTrigger"), Vt = /* @__PURE__ */ v({
|
|
790
790
|
name: "LlmMenuTrigger",
|
|
791
791
|
__name: "llm-menu-trigger",
|
|
792
792
|
setup(e) {
|
|
793
793
|
const t = C(!1), a = C(null), o = C(null);
|
|
794
|
-
function
|
|
794
|
+
function l() {
|
|
795
795
|
t.value = !t.value;
|
|
796
796
|
}
|
|
797
797
|
function d() {
|
|
798
798
|
t.value = !1;
|
|
799
799
|
}
|
|
800
|
-
H(
|
|
800
|
+
H(ae, { close: d });
|
|
801
801
|
function u(i) {
|
|
802
802
|
if (!t.value) return;
|
|
803
|
-
const m = i.target,
|
|
804
|
-
|
|
803
|
+
const m = i.target, $ = a.value?.contains(m), k = o.value?.contains(m);
|
|
804
|
+
!$ && !k && d();
|
|
805
805
|
}
|
|
806
806
|
function r(i) {
|
|
807
807
|
i.key === "Escape" && t.value && d();
|
|
808
808
|
}
|
|
809
|
-
return
|
|
809
|
+
return E(() => {
|
|
810
810
|
document.addEventListener("mousedown", u), document.addEventListener("keydown", r);
|
|
811
|
-
}),
|
|
811
|
+
}), j(() => {
|
|
812
812
|
document.removeEventListener("mousedown", u), document.removeEventListener("keydown", r);
|
|
813
|
-
}), (i, m) => (
|
|
813
|
+
}), (i, m) => (s(), n("div", Xe, [
|
|
814
814
|
c("span", {
|
|
815
815
|
ref_key: "triggerRef",
|
|
816
816
|
ref: a,
|
|
817
|
-
onClick:
|
|
817
|
+
onClick: l
|
|
818
818
|
}, [
|
|
819
819
|
b(i.$slots, "trigger")
|
|
820
820
|
], 512),
|
|
821
|
-
t.value ? (
|
|
821
|
+
t.value ? (s(), n("div", {
|
|
822
822
|
key: 0,
|
|
823
823
|
ref_key: "menuRef",
|
|
824
824
|
ref: o,
|
|
@@ -836,14 +836,14 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
836
836
|
},
|
|
837
837
|
setup(e) {
|
|
838
838
|
const t = e, a = p(() => ["llm-menu", `variant-${t.variant}`]);
|
|
839
|
-
return (o,
|
|
840
|
-
class:
|
|
839
|
+
return (o, l) => (s(), n("div", {
|
|
840
|
+
class: y(a.value),
|
|
841
841
|
role: "menu"
|
|
842
842
|
}, [
|
|
843
843
|
b(o.$slots, "default")
|
|
844
844
|
], 2));
|
|
845
845
|
}
|
|
846
|
-
}),
|
|
846
|
+
}), Ye = ["disabled"], Ut = /* @__PURE__ */ v({
|
|
847
847
|
name: "LlmMenuItem",
|
|
848
848
|
__name: "llm-menu-item",
|
|
849
849
|
props: {
|
|
@@ -851,38 +851,38 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
851
851
|
},
|
|
852
852
|
emits: ["triggered"],
|
|
853
853
|
setup(e, { emit: t }) {
|
|
854
|
-
const a = e, o = t,
|
|
854
|
+
const a = e, o = t, l = q(ae, null);
|
|
855
855
|
function d() {
|
|
856
|
-
a.disabled || (o("triggered"),
|
|
856
|
+
a.disabled || (o("triggered"), l?.close());
|
|
857
857
|
}
|
|
858
858
|
const u = p(() => ["llm-menu-item", a.disabled && "is-disabled"]);
|
|
859
|
-
return (r, i) => (
|
|
860
|
-
class:
|
|
859
|
+
return (r, i) => (s(), n("button", {
|
|
860
|
+
class: y(u.value),
|
|
861
861
|
role: "menuitem",
|
|
862
862
|
type: "button",
|
|
863
863
|
disabled: e.disabled,
|
|
864
864
|
onClick: d
|
|
865
865
|
}, [
|
|
866
866
|
b(r.$slots, "default")
|
|
867
|
-
], 10,
|
|
867
|
+
], 10, Ye));
|
|
868
868
|
}
|
|
869
|
-
}),
|
|
869
|
+
}), ea = {
|
|
870
870
|
class: "llm-menu-separator",
|
|
871
871
|
role: "separator"
|
|
872
872
|
}, Wt = /* @__PURE__ */ v({
|
|
873
873
|
name: "LlmMenuSeparator",
|
|
874
874
|
__name: "llm-menu-separator",
|
|
875
875
|
setup(e) {
|
|
876
|
-
return (t, a) => (
|
|
876
|
+
return (t, a) => (s(), n("hr", ea));
|
|
877
877
|
}
|
|
878
|
-
}),
|
|
878
|
+
}), aa = {
|
|
879
879
|
class: "llm-pagination",
|
|
880
880
|
"aria-label": "Pagination"
|
|
881
|
-
},
|
|
881
|
+
}, ta = ["disabled"], la = ["disabled"], sa = {
|
|
882
882
|
key: 0,
|
|
883
883
|
class: "ellipsis",
|
|
884
884
|
"aria-hidden": "true"
|
|
885
|
-
},
|
|
885
|
+
}, na = ["aria-label", "aria-current", "onClick"], oa = ["disabled"], ia = ["disabled"], Jt = /* @__PURE__ */ v({
|
|
886
886
|
name: "LlmPagination",
|
|
887
887
|
__name: "llm-pagination",
|
|
888
888
|
props: {
|
|
@@ -894,61 +894,61 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
894
894
|
emits: ["pageChange"],
|
|
895
895
|
setup(e, { emit: t }) {
|
|
896
896
|
const a = e, o = t;
|
|
897
|
-
function
|
|
897
|
+
function l(r, i, m) {
|
|
898
898
|
if (i <= 1) return [{ type: "page", page: 1 }];
|
|
899
|
-
const
|
|
900
|
-
|
|
901
|
-
const
|
|
902
|
-
|
|
903
|
-
for (let
|
|
904
|
-
return h < i - 1 &&
|
|
905
|
-
}
|
|
906
|
-
const d = p(() =>
|
|
899
|
+
const $ = [];
|
|
900
|
+
$.push({ type: "page", page: 1 });
|
|
901
|
+
const k = Math.max(2, r - m), h = Math.min(i - 1, r + m);
|
|
902
|
+
k > 2 && $.push({ type: "ellipsis", key: "ellipsis-start" });
|
|
903
|
+
for (let _ = k; _ <= h; _++) $.push({ type: "page", page: _ });
|
|
904
|
+
return h < i - 1 && $.push({ type: "ellipsis", key: "ellipsis-end" }), i > 1 && $.push({ type: "page", page: i }), $;
|
|
905
|
+
}
|
|
906
|
+
const d = p(() => l(a.page, a.pageCount, a.siblingCount));
|
|
907
907
|
function u(r) {
|
|
908
908
|
const i = Math.min(Math.max(r, 1), a.pageCount);
|
|
909
909
|
i !== a.page && o("pageChange", i);
|
|
910
910
|
}
|
|
911
|
-
return (r, i) => (
|
|
912
|
-
e.showFirstLast ? (
|
|
911
|
+
return (r, i) => (s(), n("nav", aa, [
|
|
912
|
+
e.showFirstLast ? (s(), n("button", {
|
|
913
913
|
key: 0,
|
|
914
914
|
class: "page-btn nav-btn",
|
|
915
915
|
disabled: e.page <= 1,
|
|
916
916
|
"aria-label": "First page",
|
|
917
917
|
onClick: i[0] || (i[0] = (m) => u(1))
|
|
918
|
-
}, " « ", 8,
|
|
918
|
+
}, " « ", 8, ta)) : w("", !0),
|
|
919
919
|
c("button", {
|
|
920
920
|
class: "page-btn nav-btn",
|
|
921
921
|
disabled: e.page <= 1,
|
|
922
922
|
"aria-label": "Previous page",
|
|
923
923
|
onClick: i[1] || (i[1] = (m) => u(e.page - 1))
|
|
924
|
-
}, " ‹ ", 8,
|
|
925
|
-
(
|
|
924
|
+
}, " ‹ ", 8, la),
|
|
925
|
+
(s(!0), n(B, null, R(d.value, (m) => (s(), n(B, {
|
|
926
926
|
key: m.type === "page" ? m.page : m.key
|
|
927
927
|
}, [
|
|
928
|
-
m.type === "ellipsis" ? (
|
|
928
|
+
m.type === "ellipsis" ? (s(), n("span", sa, "…")) : (s(), n("button", {
|
|
929
929
|
key: 1,
|
|
930
|
-
class:
|
|
930
|
+
class: y(["page-btn", { active: m.page === e.page }]),
|
|
931
931
|
"aria-label": `Page ${m.page}`,
|
|
932
932
|
"aria-current": m.page === e.page ? "page" : void 0,
|
|
933
|
-
onClick: (
|
|
934
|
-
}, L(m.page), 11,
|
|
933
|
+
onClick: ($) => u(m.page)
|
|
934
|
+
}, L(m.page), 11, na))
|
|
935
935
|
], 64))), 128)),
|
|
936
936
|
c("button", {
|
|
937
937
|
class: "page-btn nav-btn",
|
|
938
938
|
disabled: e.page >= e.pageCount,
|
|
939
939
|
"aria-label": "Next page",
|
|
940
940
|
onClick: i[2] || (i[2] = (m) => u(e.page + 1))
|
|
941
|
-
}, " › ", 8,
|
|
942
|
-
e.showFirstLast ? (
|
|
941
|
+
}, " › ", 8, oa),
|
|
942
|
+
e.showFirstLast ? (s(), n("button", {
|
|
943
943
|
key: 1,
|
|
944
944
|
class: "page-btn nav-btn",
|
|
945
945
|
disabled: e.page >= e.pageCount,
|
|
946
946
|
"aria-label": "Last page",
|
|
947
947
|
onClick: i[3] || (i[3] = (m) => u(e.pageCount))
|
|
948
|
-
}, " » ", 8,
|
|
948
|
+
}, " » ", 8, ia)) : w("", !0)
|
|
949
949
|
]));
|
|
950
950
|
}
|
|
951
|
-
}),
|
|
951
|
+
}), ra = ["aria-valuenow", "aria-valuemax"], da = { class: "track" }, Zt = /* @__PURE__ */ v({
|
|
952
952
|
name: "LlmProgress",
|
|
953
953
|
__name: "llm-progress",
|
|
954
954
|
props: {
|
|
@@ -961,28 +961,28 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
961
961
|
setup(e) {
|
|
962
962
|
const t = e, a = p(() => Math.min(Math.max(t.value, 0), t.max)), o = p(
|
|
963
963
|
() => t.indeterminate ? "100%" : `${a.value / t.max * 100}%`
|
|
964
|
-
),
|
|
964
|
+
), l = p(() => [
|
|
965
965
|
"llm-progress",
|
|
966
966
|
`variant-${t.variant}`,
|
|
967
967
|
`size-${t.size}`,
|
|
968
968
|
t.indeterminate && "is-indeterminate"
|
|
969
969
|
].filter(Boolean));
|
|
970
|
-
return (d, u) => (
|
|
971
|
-
class:
|
|
970
|
+
return (d, u) => (s(), n("div", {
|
|
971
|
+
class: y(l.value),
|
|
972
972
|
role: "progressbar",
|
|
973
973
|
"aria-valuemin": 0,
|
|
974
974
|
"aria-valuenow": e.indeterminate ? void 0 : a.value,
|
|
975
975
|
"aria-valuemax": e.indeterminate ? void 0 : e.max
|
|
976
976
|
}, [
|
|
977
|
-
c("div",
|
|
977
|
+
c("div", da, [
|
|
978
978
|
c("div", {
|
|
979
979
|
class: "fill",
|
|
980
|
-
style:
|
|
980
|
+
style: G({ width: o.value })
|
|
981
981
|
}, null, 4)
|
|
982
982
|
])
|
|
983
|
-
], 10,
|
|
983
|
+
], 10, ra));
|
|
984
984
|
}
|
|
985
|
-
}),
|
|
985
|
+
}), ua = { class: "llm-combobox-wrapper" }, ca = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], ma = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], fa = {
|
|
986
986
|
key: 0,
|
|
987
987
|
class: "llm-combobox-check",
|
|
988
988
|
width: "14",
|
|
@@ -990,12 +990,12 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
990
990
|
viewBox: "0 0 14 14",
|
|
991
991
|
fill: "none",
|
|
992
992
|
"aria-hidden": "true"
|
|
993
|
-
},
|
|
993
|
+
}, pa = {
|
|
994
994
|
key: 1,
|
|
995
995
|
class: "llm-combobox-no-results",
|
|
996
996
|
role: "option",
|
|
997
997
|
"aria-disabled": "true"
|
|
998
|
-
},
|
|
998
|
+
}, va = {
|
|
999
999
|
key: 1,
|
|
1000
1000
|
class: "llm-combobox-errors",
|
|
1001
1001
|
role: "alert",
|
|
@@ -1016,29 +1016,29 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1016
1016
|
},
|
|
1017
1017
|
emits: ["update:value"],
|
|
1018
1018
|
setup(e, { emit: t }) {
|
|
1019
|
-
const a = e, o = t,
|
|
1019
|
+
const a = e, o = t, l = C(null), d = C(null), u = C(""), r = C(!1), i = C(-1);
|
|
1020
1020
|
let m = Math.random().toString(36).slice(2);
|
|
1021
|
-
const
|
|
1021
|
+
const $ = `llm-combobox-input-${m}`, k = `llm-combobox-panel-${m}`, h = p(
|
|
1022
1022
|
() => a.options.find((D) => D.value === a.value)?.label ?? ""
|
|
1023
|
-
),
|
|
1023
|
+
), _ = p(() => {
|
|
1024
1024
|
const D = u.value.toLowerCase();
|
|
1025
1025
|
return D ? a.options.filter((A) => A.label.toLowerCase().includes(D)) : a.options;
|
|
1026
|
-
}),
|
|
1027
|
-
() => i.value >= 0 ? `${
|
|
1026
|
+
}), g = p(
|
|
1027
|
+
() => i.value >= 0 ? `${k}-option-${i.value}` : void 0
|
|
1028
1028
|
), f = p(() => [
|
|
1029
1029
|
"llm-combobox",
|
|
1030
1030
|
r.value && "is-open",
|
|
1031
1031
|
a.disabled && "is-disabled",
|
|
1032
1032
|
a.invalid && "is-invalid"
|
|
1033
1033
|
]);
|
|
1034
|
-
|
|
1034
|
+
z(
|
|
1035
1035
|
() => a.value,
|
|
1036
1036
|
() => {
|
|
1037
1037
|
r.value || (u.value = h.value);
|
|
1038
1038
|
},
|
|
1039
1039
|
{ immediate: !0 }
|
|
1040
1040
|
);
|
|
1041
|
-
function
|
|
1041
|
+
function T() {
|
|
1042
1042
|
a.disabled || a.readonly || r.value || (r.value = !0, i.value = -1, document.addEventListener("click", S));
|
|
1043
1043
|
}
|
|
1044
1044
|
function x() {
|
|
@@ -1050,44 +1050,44 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1050
1050
|
J(() => {
|
|
1051
1051
|
document.removeEventListener("click", S);
|
|
1052
1052
|
});
|
|
1053
|
-
function
|
|
1054
|
-
D.disabled || a.disabled || a.readonly || (o("update:value", D.value), u.value = D.label, x(),
|
|
1053
|
+
function P(D) {
|
|
1054
|
+
D.disabled || a.disabled || a.readonly || (o("update:value", D.value), u.value = D.label, x(), l.value?.focus());
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function ne(D) {
|
|
1057
1057
|
const A = D.target.value;
|
|
1058
|
-
u.value = A, i.value = -1, A === "" && o("update:value", ""), r.value ||
|
|
1058
|
+
u.value = A, i.value = -1, A === "" && o("update:value", ""), r.value || T();
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1060
|
+
function oe() {
|
|
1061
|
+
T();
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function ie() {
|
|
1064
1064
|
u.value = h.value;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1067
|
-
const A =
|
|
1066
|
+
function re(D) {
|
|
1067
|
+
const A = _.value;
|
|
1068
1068
|
switch (D.key) {
|
|
1069
1069
|
case "ArrowDown": {
|
|
1070
1070
|
if (D.preventDefault(), !r.value) {
|
|
1071
|
-
|
|
1071
|
+
T();
|
|
1072
1072
|
return;
|
|
1073
1073
|
}
|
|
1074
|
-
const
|
|
1075
|
-
i.value =
|
|
1074
|
+
const I = i.value + 1;
|
|
1075
|
+
i.value = I >= A.length ? 0 : I;
|
|
1076
1076
|
break;
|
|
1077
1077
|
}
|
|
1078
1078
|
case "ArrowUp": {
|
|
1079
1079
|
if (D.preventDefault(), !r.value) {
|
|
1080
|
-
|
|
1080
|
+
T();
|
|
1081
1081
|
return;
|
|
1082
1082
|
}
|
|
1083
|
-
const
|
|
1084
|
-
i.value =
|
|
1083
|
+
const I = i.value - 1;
|
|
1084
|
+
i.value = I < 0 ? A.length - 1 : I;
|
|
1085
1085
|
break;
|
|
1086
1086
|
}
|
|
1087
1087
|
case "Enter": {
|
|
1088
1088
|
D.preventDefault();
|
|
1089
|
-
const
|
|
1090
|
-
r.value &&
|
|
1089
|
+
const I = i.value;
|
|
1090
|
+
r.value && I >= 0 && I < A.length && P(A[I]);
|
|
1091
1091
|
break;
|
|
1092
1092
|
}
|
|
1093
1093
|
case "Escape": {
|
|
@@ -1100,24 +1100,24 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
|
-
return (D, A) => (
|
|
1103
|
+
return (D, A) => (s(), n("div", {
|
|
1104
1104
|
ref_key: "containerRef",
|
|
1105
1105
|
ref: d,
|
|
1106
|
-
class:
|
|
1106
|
+
class: y(f.value)
|
|
1107
1107
|
}, [
|
|
1108
|
-
c("div",
|
|
1108
|
+
c("div", ua, [
|
|
1109
1109
|
c("input", {
|
|
1110
1110
|
ref_key: "inputRef",
|
|
1111
|
-
ref:
|
|
1111
|
+
ref: l,
|
|
1112
1112
|
class: "llm-combobox-input",
|
|
1113
1113
|
type: "text",
|
|
1114
1114
|
autocomplete: "off",
|
|
1115
1115
|
role: "combobox",
|
|
1116
|
-
id:
|
|
1116
|
+
id: $,
|
|
1117
1117
|
"aria-expanded": r.value,
|
|
1118
|
-
"aria-controls":
|
|
1118
|
+
"aria-controls": k,
|
|
1119
1119
|
"aria-autocomplete": "list",
|
|
1120
|
-
"aria-activedescendant":
|
|
1120
|
+
"aria-activedescendant": g.value,
|
|
1121
1121
|
"aria-invalid": e.invalid || void 0,
|
|
1122
1122
|
disabled: e.disabled,
|
|
1123
1123
|
readonly: e.readonly,
|
|
@@ -1125,11 +1125,11 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1125
1125
|
name: e.name || void 0,
|
|
1126
1126
|
placeholder: e.placeholder,
|
|
1127
1127
|
value: u.value,
|
|
1128
|
-
onInput:
|
|
1129
|
-
onFocus:
|
|
1130
|
-
onBlur:
|
|
1131
|
-
onKeydown:
|
|
1132
|
-
}, null, 40,
|
|
1128
|
+
onInput: ne,
|
|
1129
|
+
onFocus: oe,
|
|
1130
|
+
onBlur: ie,
|
|
1131
|
+
onKeydown: re
|
|
1132
|
+
}, null, 40, ca),
|
|
1133
1133
|
A[0] || (A[0] = c("span", {
|
|
1134
1134
|
class: "llm-combobox-icon",
|
|
1135
1135
|
"aria-hidden": "true"
|
|
@@ -1150,30 +1150,30 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1150
1150
|
])
|
|
1151
1151
|
], -1))
|
|
1152
1152
|
]),
|
|
1153
|
-
r.value ? (
|
|
1153
|
+
r.value ? (s(), n("ul", {
|
|
1154
1154
|
key: 0,
|
|
1155
|
-
id:
|
|
1155
|
+
id: k,
|
|
1156
1156
|
class: "llm-combobox-panel",
|
|
1157
1157
|
role: "listbox",
|
|
1158
|
-
"aria-labelledby":
|
|
1158
|
+
"aria-labelledby": $
|
|
1159
1159
|
}, [
|
|
1160
|
-
|
|
1161
|
-
key:
|
|
1162
|
-
id: `${
|
|
1160
|
+
_.value.length > 0 ? (s(!0), n(B, { key: 0 }, R(_.value, (I, K) => (s(), n("li", {
|
|
1161
|
+
key: I.value,
|
|
1162
|
+
id: `${k}-option-${K}`,
|
|
1163
1163
|
role: "option",
|
|
1164
|
-
class:
|
|
1164
|
+
class: y([
|
|
1165
1165
|
"llm-combobox-option",
|
|
1166
1166
|
i.value === K && "is-active",
|
|
1167
|
-
|
|
1168
|
-
|
|
1167
|
+
I.value === e.value && "is-selected",
|
|
1168
|
+
I.disabled && "is-disabled"
|
|
1169
1169
|
]),
|
|
1170
|
-
"aria-selected":
|
|
1171
|
-
"aria-disabled":
|
|
1172
|
-
onMousedown: (
|
|
1173
|
-
onMouseenter: (
|
|
1170
|
+
"aria-selected": I.value === e.value,
|
|
1171
|
+
"aria-disabled": I.disabled || void 0,
|
|
1172
|
+
onMousedown: (de) => P(I),
|
|
1173
|
+
onMouseenter: (de) => i.value = K
|
|
1174
1174
|
}, [
|
|
1175
|
-
c("span", null, L(
|
|
1176
|
-
|
|
1175
|
+
c("span", null, L(I.label), 1),
|
|
1176
|
+
I.value === e.value ? (s(), n("svg", fa, [...A[1] || (A[1] = [
|
|
1177
1177
|
c("path", {
|
|
1178
1178
|
d: "M2 7l4 4 6-7",
|
|
1179
1179
|
stroke: "currentColor",
|
|
@@ -1182,21 +1182,21 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1182
1182
|
"stroke-linejoin": "round"
|
|
1183
1183
|
}, null, -1)
|
|
1184
1184
|
])])) : w("", !0)
|
|
1185
|
-
], 42,
|
|
1185
|
+
], 42, ma))), 128)) : (s(), n("li", pa, " No results found. "))
|
|
1186
1186
|
])) : w("", !0),
|
|
1187
|
-
e.invalid && e.errors.length > 0 ? (
|
|
1188
|
-
(
|
|
1187
|
+
e.invalid && e.errors.length > 0 ? (s(), n("div", va, [
|
|
1188
|
+
(s(!0), n(B, null, R(e.errors, (I, K) => (s(), n("p", {
|
|
1189
1189
|
key: K,
|
|
1190
1190
|
class: "llm-combobox-error-message"
|
|
1191
|
-
}, L(
|
|
1191
|
+
}, L(I), 1))), 128))
|
|
1192
1192
|
])) : w("", !0)
|
|
1193
1193
|
], 2));
|
|
1194
1194
|
}
|
|
1195
|
-
}),
|
|
1195
|
+
}), ha = ["aria-invalid", "aria-required"], ba = {
|
|
1196
1196
|
key: 0,
|
|
1197
1197
|
class: "errors",
|
|
1198
1198
|
role: "alert"
|
|
1199
|
-
},
|
|
1199
|
+
}, te = /* @__PURE__ */ Symbol("LlmRadioGroup"), Xt = /* @__PURE__ */ v({
|
|
1200
1200
|
name: "LlmRadioGroup",
|
|
1201
1201
|
__name: "llm-radio-group",
|
|
1202
1202
|
props: {
|
|
@@ -1211,7 +1211,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1211
1211
|
emits: ["update:value"],
|
|
1212
1212
|
setup(e, { emit: t }) {
|
|
1213
1213
|
const a = e, o = t;
|
|
1214
|
-
H(
|
|
1214
|
+
H(te, {
|
|
1215
1215
|
get value() {
|
|
1216
1216
|
return a.value ?? "";
|
|
1217
1217
|
},
|
|
@@ -1231,27 +1231,27 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1231
1231
|
!a.disabled && !a.readonly && o("update:value", d);
|
|
1232
1232
|
}
|
|
1233
1233
|
});
|
|
1234
|
-
const
|
|
1234
|
+
const l = p(() => [
|
|
1235
1235
|
"llm-radio-group",
|
|
1236
1236
|
a.invalid && "is-invalid",
|
|
1237
1237
|
a.disabled && "is-disabled"
|
|
1238
1238
|
]);
|
|
1239
|
-
return (d, u) => (
|
|
1240
|
-
class:
|
|
1239
|
+
return (d, u) => (s(), n("div", {
|
|
1240
|
+
class: y(l.value),
|
|
1241
1241
|
role: "radiogroup",
|
|
1242
1242
|
"aria-invalid": e.invalid || void 0,
|
|
1243
1243
|
"aria-required": e.required || void 0
|
|
1244
1244
|
}, [
|
|
1245
1245
|
b(d.$slots, "default"),
|
|
1246
|
-
e.errors.length > 0 ? (
|
|
1247
|
-
(
|
|
1246
|
+
e.errors.length > 0 ? (s(), n("div", ba, [
|
|
1247
|
+
(s(!0), n(B, null, R(e.errors, (r, i) => (s(), n("p", {
|
|
1248
1248
|
key: i,
|
|
1249
1249
|
class: "error-message"
|
|
1250
1250
|
}, L(r), 1))), 128))
|
|
1251
1251
|
])) : w("", !0)
|
|
1252
|
-
], 10,
|
|
1252
|
+
], 10, ha));
|
|
1253
1253
|
}
|
|
1254
|
-
}),
|
|
1254
|
+
}), ga = ["name", "value", "checked", "disabled"], ya = {
|
|
1255
1255
|
key: 0,
|
|
1256
1256
|
class: "radio-text"
|
|
1257
1257
|
}, Yt = /* @__PURE__ */ v({
|
|
@@ -1262,7 +1262,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1262
1262
|
disabled: { type: Boolean, default: !1 }
|
|
1263
1263
|
},
|
|
1264
1264
|
setup(e) {
|
|
1265
|
-
const t = e, a =
|
|
1265
|
+
const t = e, a = q(te, {
|
|
1266
1266
|
value: "",
|
|
1267
1267
|
name: "",
|
|
1268
1268
|
disabled: !1,
|
|
@@ -1270,42 +1270,42 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1270
1270
|
invalid: !1,
|
|
1271
1271
|
onSelect: () => {
|
|
1272
1272
|
}
|
|
1273
|
-
}), o = p(() => t.disabled || a.disabled),
|
|
1273
|
+
}), o = p(() => t.disabled || a.disabled), l = p(() => a.value === t.radioValue), d = p(() => [
|
|
1274
1274
|
"llm-radio",
|
|
1275
1275
|
o.value && "is-disabled",
|
|
1276
|
-
|
|
1276
|
+
l.value && "is-checked",
|
|
1277
1277
|
a.invalid && "is-invalid"
|
|
1278
1278
|
].filter(Boolean));
|
|
1279
1279
|
function u() {
|
|
1280
1280
|
!o.value && !a.readonly && a.onSelect(t.radioValue);
|
|
1281
1281
|
}
|
|
1282
|
-
return (r, i) => (
|
|
1283
|
-
class:
|
|
1282
|
+
return (r, i) => (s(), n("label", {
|
|
1283
|
+
class: y(d.value)
|
|
1284
1284
|
}, [
|
|
1285
1285
|
c("input", {
|
|
1286
1286
|
type: "radio",
|
|
1287
1287
|
name: M(a).name || void 0,
|
|
1288
1288
|
value: e.radioValue,
|
|
1289
|
-
checked:
|
|
1289
|
+
checked: l.value,
|
|
1290
1290
|
disabled: o.value,
|
|
1291
1291
|
class: "radio-input",
|
|
1292
1292
|
onChange: u
|
|
1293
|
-
}, null, 40,
|
|
1293
|
+
}, null, 40, ga),
|
|
1294
1294
|
i[0] || (i[0] = c("span", {
|
|
1295
1295
|
class: "radio-indicator",
|
|
1296
1296
|
"aria-hidden": "true"
|
|
1297
1297
|
}, null, -1)),
|
|
1298
|
-
r.$slots.default ? (
|
|
1298
|
+
r.$slots.default ? (s(), n("span", ya, [
|
|
1299
1299
|
b(r.$slots, "default")
|
|
1300
1300
|
])) : w("", !0)
|
|
1301
1301
|
], 2));
|
|
1302
1302
|
}
|
|
1303
|
-
}),
|
|
1303
|
+
}), $a = ["for"], ka = { class: "select-wrapper" }, _a = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], wa = {
|
|
1304
1304
|
key: 0,
|
|
1305
1305
|
value: "",
|
|
1306
1306
|
disabled: "",
|
|
1307
1307
|
hidden: ""
|
|
1308
|
-
},
|
|
1308
|
+
}, La = ["id"], el = /* @__PURE__ */ v({
|
|
1309
1309
|
name: "LlmSelect",
|
|
1310
1310
|
__name: "llm-select",
|
|
1311
1311
|
props: {
|
|
@@ -1321,7 +1321,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1321
1321
|
},
|
|
1322
1322
|
emits: ["update:value"],
|
|
1323
1323
|
setup(e, { emit: t }) {
|
|
1324
|
-
const a = e, o = t,
|
|
1324
|
+
const a = e, o = t, l = O(), d = O(), u = p(() => [
|
|
1325
1325
|
"llm-select",
|
|
1326
1326
|
a.invalid && "is-invalid",
|
|
1327
1327
|
a.disabled && "is-disabled"
|
|
@@ -1329,17 +1329,17 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1329
1329
|
function r(i) {
|
|
1330
1330
|
a.readonly || a.disabled || o("update:value", i.target.value);
|
|
1331
1331
|
}
|
|
1332
|
-
return (i, m) => (
|
|
1333
|
-
class:
|
|
1332
|
+
return (i, m) => (s(), n("div", {
|
|
1333
|
+
class: y(u.value)
|
|
1334
1334
|
}, [
|
|
1335
|
-
e.label ? (
|
|
1335
|
+
e.label ? (s(), n("label", {
|
|
1336
1336
|
key: 0,
|
|
1337
|
-
for: M(
|
|
1337
|
+
for: M(l),
|
|
1338
1338
|
class: "select-label"
|
|
1339
|
-
}, L(e.label), 9,
|
|
1340
|
-
c("div",
|
|
1339
|
+
}, L(e.label), 9, $a)) : w("", !0),
|
|
1340
|
+
c("div", ka, [
|
|
1341
1341
|
c("select", {
|
|
1342
|
-
id: M(
|
|
1342
|
+
id: M(l),
|
|
1343
1343
|
name: e.name,
|
|
1344
1344
|
value: e.value,
|
|
1345
1345
|
disabled: e.disabled,
|
|
@@ -1349,28 +1349,28 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1349
1349
|
class: "select-native",
|
|
1350
1350
|
onChange: r
|
|
1351
1351
|
}, [
|
|
1352
|
-
e.placeholder ? (
|
|
1352
|
+
e.placeholder ? (s(), n("option", wa, L(e.placeholder), 1)) : w("", !0),
|
|
1353
1353
|
b(i.$slots, "default")
|
|
1354
|
-
], 40,
|
|
1354
|
+
], 40, _a),
|
|
1355
1355
|
m[0] || (m[0] = c("span", {
|
|
1356
1356
|
class: "select-arrow",
|
|
1357
1357
|
"aria-hidden": "true"
|
|
1358
1358
|
}, "▾", -1))
|
|
1359
1359
|
]),
|
|
1360
|
-
e.errors.length > 0 ? (
|
|
1360
|
+
e.errors.length > 0 ? (s(), n("div", {
|
|
1361
1361
|
key: 1,
|
|
1362
1362
|
id: M(d),
|
|
1363
1363
|
class: "errors",
|
|
1364
1364
|
role: "alert"
|
|
1365
1365
|
}, [
|
|
1366
|
-
(
|
|
1367
|
-
key:
|
|
1366
|
+
(s(!0), n(B, null, R(e.errors, ($, k) => (s(), n("p", {
|
|
1367
|
+
key: k,
|
|
1368
1368
|
class: "error-message"
|
|
1369
|
-
}, L(
|
|
1370
|
-
], 8,
|
|
1369
|
+
}, L($), 1))), 128))
|
|
1370
|
+
], 8, La)) : w("", !0)
|
|
1371
1371
|
], 2));
|
|
1372
1372
|
}
|
|
1373
|
-
}),
|
|
1373
|
+
}), xa = ["value", "disabled"], al = /* @__PURE__ */ v({
|
|
1374
1374
|
name: "LlmOption",
|
|
1375
1375
|
__name: "llm-option",
|
|
1376
1376
|
props: {
|
|
@@ -1378,12 +1378,12 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1378
1378
|
disabled: { type: Boolean, default: !1 }
|
|
1379
1379
|
},
|
|
1380
1380
|
setup(e) {
|
|
1381
|
-
return (t, a) => (
|
|
1381
|
+
return (t, a) => (s(), n("option", {
|
|
1382
1382
|
value: e.optionValue,
|
|
1383
1383
|
disabled: e.disabled
|
|
1384
1384
|
}, [
|
|
1385
1385
|
b(t.$slots, "default")
|
|
1386
|
-
], 8,
|
|
1386
|
+
], 8, xa));
|
|
1387
1387
|
}
|
|
1388
1388
|
}), tl = /* @__PURE__ */ v({
|
|
1389
1389
|
name: "LlmSkeleton",
|
|
@@ -1413,20 +1413,20 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1413
1413
|
"llm-skeleton",
|
|
1414
1414
|
`variant-${t.variant}`,
|
|
1415
1415
|
t.animated && "is-animated"
|
|
1416
|
-
].filter(Boolean)),
|
|
1416
|
+
].filter(Boolean)), l = p(() => ({
|
|
1417
1417
|
width: t.width,
|
|
1418
1418
|
height: a(t.variant, t.width, t.height)
|
|
1419
1419
|
}));
|
|
1420
|
-
return (d, u) => (
|
|
1421
|
-
class:
|
|
1422
|
-
style:
|
|
1420
|
+
return (d, u) => (s(), n("div", {
|
|
1421
|
+
class: y(o.value),
|
|
1422
|
+
style: G(l.value),
|
|
1423
1423
|
"aria-hidden": "true"
|
|
1424
1424
|
}, null, 6));
|
|
1425
1425
|
}
|
|
1426
|
-
}),
|
|
1426
|
+
}), Ca = {
|
|
1427
1427
|
class: "stepper-header",
|
|
1428
1428
|
role: "tablist"
|
|
1429
|
-
},
|
|
1429
|
+
}, Ba = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], Ta = {
|
|
1430
1430
|
key: 0,
|
|
1431
1431
|
width: "14",
|
|
1432
1432
|
height: "14",
|
|
@@ -1440,13 +1440,13 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1440
1440
|
viewBox: "0 0 14 14",
|
|
1441
1441
|
fill: "none",
|
|
1442
1442
|
"aria-hidden": "true"
|
|
1443
|
-
},
|
|
1443
|
+
}, Da = { class: "step-text" }, Sa = { class: "step-label" }, Ma = {
|
|
1444
1444
|
key: 0,
|
|
1445
1445
|
class: "step-description"
|
|
1446
|
-
},
|
|
1446
|
+
}, Aa = {
|
|
1447
1447
|
key: 1,
|
|
1448
1448
|
class: "step-optional"
|
|
1449
|
-
},
|
|
1449
|
+
}, Ra = { class: "stepper-content" }, le = /* @__PURE__ */ Symbol("LlmStepper"), ll = /* @__PURE__ */ v({
|
|
1450
1450
|
name: "LlmStepper",
|
|
1451
1451
|
__name: "llm-stepper",
|
|
1452
1452
|
props: {
|
|
@@ -1456,59 +1456,59 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1456
1456
|
},
|
|
1457
1457
|
emits: ["update:activeStep"],
|
|
1458
1458
|
setup(e, { emit: t }) {
|
|
1459
|
-
const a = e, o = t,
|
|
1460
|
-
|
|
1459
|
+
const a = e, o = t, l = C(a.activeStep), d = C([]), u = p(() => a.linear);
|
|
1460
|
+
z(
|
|
1461
1461
|
() => a.activeStep,
|
|
1462
1462
|
(f) => {
|
|
1463
|
-
|
|
1463
|
+
l.value = f;
|
|
1464
1464
|
}
|
|
1465
1465
|
);
|
|
1466
1466
|
function r(f) {
|
|
1467
1467
|
d.value.push(f);
|
|
1468
1468
|
}
|
|
1469
1469
|
function i(f) {
|
|
1470
|
-
d.value = d.value.filter((
|
|
1470
|
+
d.value = d.value.filter((T) => T.id !== f);
|
|
1471
1471
|
}
|
|
1472
|
-
function m(f,
|
|
1472
|
+
function m(f, T) {
|
|
1473
1473
|
const x = d.value.findIndex((S) => S.id === f);
|
|
1474
|
-
x !== -1 && (d.value[x] = { ...d.value[x], ...
|
|
1474
|
+
x !== -1 && (d.value[x] = { ...d.value[x], ...T });
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1477
|
-
f < 0 || f >= d.value.length || d.value[f].disabled || a.linear && f >
|
|
1476
|
+
function $(f) {
|
|
1477
|
+
f < 0 || f >= d.value.length || d.value[f].disabled || a.linear && f > l.value && !d.value.slice(0, f).every((x) => x.completed || x.optional) || (l.value = f, o("update:activeStep", f));
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1480
|
-
|
|
1479
|
+
function k() {
|
|
1480
|
+
$(l.value + 1);
|
|
1481
1481
|
}
|
|
1482
1482
|
function h() {
|
|
1483
|
-
const f =
|
|
1484
|
-
f >= 0 && !d.value[f]?.disabled && (
|
|
1483
|
+
const f = l.value - 1;
|
|
1484
|
+
f >= 0 && !d.value[f]?.disabled && (l.value = f, o("update:activeStep", f));
|
|
1485
1485
|
}
|
|
1486
|
-
H(
|
|
1487
|
-
activeStep:
|
|
1486
|
+
H(le, {
|
|
1487
|
+
activeStep: l,
|
|
1488
1488
|
steps: d,
|
|
1489
1489
|
linear: u,
|
|
1490
1490
|
registerStep: r,
|
|
1491
1491
|
unregisterStep: i,
|
|
1492
1492
|
updateStep: m,
|
|
1493
|
-
goTo:
|
|
1494
|
-
next:
|
|
1493
|
+
goTo: $,
|
|
1494
|
+
next: k,
|
|
1495
1495
|
prev: h
|
|
1496
1496
|
});
|
|
1497
|
-
const
|
|
1498
|
-
function
|
|
1499
|
-
return
|
|
1497
|
+
const _ = p(() => ["llm-stepper", `orientation-${a.orientation}`]);
|
|
1498
|
+
function g(f) {
|
|
1499
|
+
return l.value > f || d.value[f]?.completed;
|
|
1500
1500
|
}
|
|
1501
|
-
return (f,
|
|
1502
|
-
class:
|
|
1501
|
+
return (f, T) => (s(), n("div", {
|
|
1502
|
+
class: y(_.value)
|
|
1503
1503
|
}, [
|
|
1504
|
-
c("div",
|
|
1505
|
-
(
|
|
1504
|
+
c("div", Ca, [
|
|
1505
|
+
(s(!0), n(B, null, R(d.value, (x, S) => (s(), n(B, {
|
|
1506
1506
|
key: x.id
|
|
1507
1507
|
}, [
|
|
1508
1508
|
c("div", {
|
|
1509
|
-
class:
|
|
1510
|
-
"is-active":
|
|
1511
|
-
"is-completed": x.completed &&
|
|
1509
|
+
class: y(["step-item", {
|
|
1510
|
+
"is-active": l.value === S,
|
|
1511
|
+
"is-completed": x.completed && l.value !== S,
|
|
1512
1512
|
"is-error": x.error,
|
|
1513
1513
|
"is-disabled": x.disabled
|
|
1514
1514
|
}])
|
|
@@ -1519,14 +1519,14 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1519
1519
|
class: "step-circle",
|
|
1520
1520
|
id: `llm-step-${S}`,
|
|
1521
1521
|
"aria-label": x.label,
|
|
1522
|
-
"aria-selected":
|
|
1522
|
+
"aria-selected": l.value === S,
|
|
1523
1523
|
"aria-controls": `llm-step-panel-${S}`,
|
|
1524
1524
|
"aria-disabled": x.disabled || void 0,
|
|
1525
|
-
tabindex:
|
|
1525
|
+
tabindex: l.value === S ? 0 : -1,
|
|
1526
1526
|
disabled: x.disabled || void 0,
|
|
1527
|
-
onClick: (
|
|
1527
|
+
onClick: (P) => $(S)
|
|
1528
1528
|
}, [
|
|
1529
|
-
x.completed && !x.error ? (
|
|
1529
|
+
x.completed && !x.error ? (s(), n("svg", Ta, [...T[0] || (T[0] = [
|
|
1530
1530
|
c("path", {
|
|
1531
1531
|
d: "M2 7L5.5 10.5L12 3.5",
|
|
1532
1532
|
stroke: "currentColor",
|
|
@@ -1534,30 +1534,30 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1534
1534
|
"stroke-linecap": "round",
|
|
1535
1535
|
"stroke-linejoin": "round"
|
|
1536
1536
|
}, null, -1)
|
|
1537
|
-
])])) : x.error ? (
|
|
1537
|
+
])])) : x.error ? (s(), n("svg", Ia, [...T[1] || (T[1] = [
|
|
1538
1538
|
c("path", {
|
|
1539
1539
|
d: "M3 3L11 11M11 3L3 11",
|
|
1540
1540
|
stroke: "currentColor",
|
|
1541
1541
|
"stroke-width": "2",
|
|
1542
1542
|
"stroke-linecap": "round"
|
|
1543
1543
|
}, null, -1)
|
|
1544
|
-
])])) : (
|
|
1545
|
-
|
|
1544
|
+
])])) : (s(), n(B, { key: 2 }, [
|
|
1545
|
+
F(L(S + 1), 1)
|
|
1546
1546
|
], 64))
|
|
1547
|
-
], 8,
|
|
1548
|
-
c("div",
|
|
1549
|
-
c("span",
|
|
1550
|
-
x.description ? (
|
|
1551
|
-
x.optional && !x.completed ? (
|
|
1547
|
+
], 8, Ba),
|
|
1548
|
+
c("div", Da, [
|
|
1549
|
+
c("span", Sa, L(x.label), 1),
|
|
1550
|
+
x.description ? (s(), n("span", Ma, L(x.description), 1)) : w("", !0),
|
|
1551
|
+
x.optional && !x.completed ? (s(), n("span", Aa, "Optional")) : w("", !0)
|
|
1552
1552
|
])
|
|
1553
1553
|
], 2),
|
|
1554
|
-
S < d.value.length - 1 ? (
|
|
1554
|
+
S < d.value.length - 1 ? (s(), n("div", {
|
|
1555
1555
|
key: 0,
|
|
1556
|
-
class:
|
|
1556
|
+
class: y(["step-connector", { "is-active": g(S) }])
|
|
1557
1557
|
}, null, 2)) : w("", !0)
|
|
1558
1558
|
], 64))), 128))
|
|
1559
1559
|
]),
|
|
1560
|
-
c("div",
|
|
1560
|
+
c("div", Ra, [
|
|
1561
1561
|
b(f.$slots, "default")
|
|
1562
1562
|
])
|
|
1563
1563
|
], 2));
|
|
@@ -1574,8 +1574,8 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1574
1574
|
disabled: { type: Boolean, default: !1 }
|
|
1575
1575
|
},
|
|
1576
1576
|
setup(e) {
|
|
1577
|
-
const t = e, a =
|
|
1578
|
-
|
|
1577
|
+
const t = e, a = q(le), o = O();
|
|
1578
|
+
E(() => {
|
|
1579
1579
|
a.registerStep({
|
|
1580
1580
|
id: o,
|
|
1581
1581
|
label: t.label,
|
|
@@ -1585,9 +1585,9 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1585
1585
|
optional: t.optional,
|
|
1586
1586
|
disabled: t.disabled
|
|
1587
1587
|
});
|
|
1588
|
-
}),
|
|
1588
|
+
}), j(() => {
|
|
1589
1589
|
a.unregisterStep(o);
|
|
1590
|
-
}),
|
|
1590
|
+
}), z(
|
|
1591
1591
|
() => ({
|
|
1592
1592
|
label: t.label,
|
|
1593
1593
|
description: t.description,
|
|
@@ -1600,19 +1600,19 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1600
1600
|
a.updateStep(o, u);
|
|
1601
1601
|
}
|
|
1602
1602
|
);
|
|
1603
|
-
const
|
|
1604
|
-
return (u, r) =>
|
|
1603
|
+
const l = p(() => a.steps.value.findIndex((u) => u.id === o)), d = p(() => l.value === a.activeStep.value);
|
|
1604
|
+
return (u, r) => l.value >= 0 ? (s(), n("div", {
|
|
1605
1605
|
key: 0,
|
|
1606
|
-
id: `llm-step-panel-${
|
|
1606
|
+
id: `llm-step-panel-${l.value}`,
|
|
1607
1607
|
role: "tabpanel",
|
|
1608
|
-
"aria-labelledby": `llm-step-${
|
|
1608
|
+
"aria-labelledby": `llm-step-${l.value}`,
|
|
1609
1609
|
hidden: !d.value,
|
|
1610
1610
|
tabindex: "0"
|
|
1611
1611
|
}, [
|
|
1612
1612
|
b(u.$slots, "default")
|
|
1613
1613
|
], 8, za)) : w("", !0);
|
|
1614
1614
|
}
|
|
1615
|
-
}),
|
|
1615
|
+
}), qa = { class: "llm-table-wrapper" }, nl = /* @__PURE__ */ v({
|
|
1616
1616
|
name: "LlmTable",
|
|
1617
1617
|
__name: "llm-table",
|
|
1618
1618
|
props: {
|
|
@@ -1627,10 +1627,10 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1627
1627
|
`size-${t.size}`,
|
|
1628
1628
|
t.stickyHeader && "is-sticky-header"
|
|
1629
1629
|
]);
|
|
1630
|
-
return (o,
|
|
1631
|
-
class:
|
|
1630
|
+
return (o, l) => (s(), n("div", {
|
|
1631
|
+
class: y(a.value)
|
|
1632
1632
|
}, [
|
|
1633
|
-
c("div",
|
|
1633
|
+
c("div", qa, [
|
|
1634
1634
|
c("table", null, [
|
|
1635
1635
|
b(o.$slots, "default")
|
|
1636
1636
|
])
|
|
@@ -1641,11 +1641,11 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1641
1641
|
name: "LlmThead",
|
|
1642
1642
|
__name: "llm-thead",
|
|
1643
1643
|
setup(e) {
|
|
1644
|
-
return (t, a) => (
|
|
1644
|
+
return (t, a) => (s(), n("thead", null, [
|
|
1645
1645
|
b(t.$slots, "default")
|
|
1646
1646
|
]));
|
|
1647
1647
|
}
|
|
1648
|
-
}),
|
|
1648
|
+
}), Ha = { key: 1 }, Ea = ["colspan"], il = /* @__PURE__ */ v({
|
|
1649
1649
|
name: "LlmTbody",
|
|
1650
1650
|
__name: "llm-tbody",
|
|
1651
1651
|
props: {
|
|
@@ -1653,18 +1653,18 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1653
1653
|
colSpan: { default: 1 }
|
|
1654
1654
|
},
|
|
1655
1655
|
setup(e) {
|
|
1656
|
-
return (t, a) => (
|
|
1657
|
-
e.empty ? (
|
|
1656
|
+
return (t, a) => (s(), n("tbody", null, [
|
|
1657
|
+
e.empty ? (s(), n("tr", Ha, [
|
|
1658
1658
|
c("td", {
|
|
1659
1659
|
colspan: e.colSpan,
|
|
1660
1660
|
class: "llm-tbody-empty-cell"
|
|
1661
1661
|
}, [
|
|
1662
1662
|
b(t.$slots, "empty")
|
|
1663
|
-
], 8,
|
|
1663
|
+
], 8, Ea)
|
|
1664
1664
|
])) : b(t.$slots, "default", { key: 0 })
|
|
1665
1665
|
]));
|
|
1666
1666
|
}
|
|
1667
|
-
}),
|
|
1667
|
+
}), Oa = ["aria-selected"], Ka = {
|
|
1668
1668
|
key: 0,
|
|
1669
1669
|
class: "llm-tr-select-cell"
|
|
1670
1670
|
}, rl = /* @__PURE__ */ v({
|
|
@@ -1677,20 +1677,20 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1677
1677
|
emits: ["update:selected"],
|
|
1678
1678
|
setup(e, { emit: t }) {
|
|
1679
1679
|
const a = t;
|
|
1680
|
-
return (o,
|
|
1680
|
+
return (o, l) => (s(), n("tr", {
|
|
1681
1681
|
"aria-selected": e.selectable ? e.selected : void 0,
|
|
1682
|
-
class:
|
|
1682
|
+
class: y({ "is-selected": e.selected })
|
|
1683
1683
|
}, [
|
|
1684
|
-
e.selectable ? (
|
|
1685
|
-
|
|
1684
|
+
e.selectable ? (s(), n("td", Ka, [
|
|
1685
|
+
me(He, {
|
|
1686
1686
|
checked: e.selected,
|
|
1687
|
-
"onUpdate:checked":
|
|
1687
|
+
"onUpdate:checked": l[0] || (l[0] = (d) => a("update:selected", d))
|
|
1688
1688
|
}, null, 8, ["checked"])
|
|
1689
1689
|
])) : w("", !0),
|
|
1690
1690
|
b(o.$slots, "default")
|
|
1691
|
-
], 10,
|
|
1691
|
+
], 10, Oa));
|
|
1692
1692
|
}
|
|
1693
|
-
}),
|
|
1693
|
+
}), ja = ["aria-sort"], dl = /* @__PURE__ */ v({
|
|
1694
1694
|
name: "LlmTh",
|
|
1695
1695
|
__name: "llm-th",
|
|
1696
1696
|
props: {
|
|
@@ -1701,7 +1701,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1701
1701
|
},
|
|
1702
1702
|
emits: ["sort"],
|
|
1703
1703
|
setup(e, { emit: t }) {
|
|
1704
|
-
const a = e, o = t,
|
|
1704
|
+
const a = e, o = t, l = p(
|
|
1705
1705
|
() => [
|
|
1706
1706
|
`align-${a.align}`,
|
|
1707
1707
|
a.sortDirection && "is-sorted",
|
|
@@ -1716,12 +1716,12 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1716
1716
|
const r = a.sortDirection === null ? "asc" : a.sortDirection === "asc" ? "desc" : null;
|
|
1717
1717
|
o("sort", r);
|
|
1718
1718
|
}
|
|
1719
|
-
return (r, i) => (
|
|
1720
|
-
class:
|
|
1719
|
+
return (r, i) => (s(), n("th", {
|
|
1720
|
+
class: y(l.value),
|
|
1721
1721
|
"aria-sort": d.value,
|
|
1722
|
-
style:
|
|
1722
|
+
style: G(e.width ? { width: e.width } : void 0)
|
|
1723
1723
|
}, [
|
|
1724
|
-
e.sortable ? (
|
|
1724
|
+
e.sortable ? (s(), n("button", {
|
|
1725
1725
|
key: 0,
|
|
1726
1726
|
type: "button",
|
|
1727
1727
|
class: "llm-th-sort-btn",
|
|
@@ -1748,7 +1748,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1748
1748
|
})
|
|
1749
1749
|
], -1))
|
|
1750
1750
|
])) : b(r.$slots, "default", { key: 1 })
|
|
1751
|
-
], 14,
|
|
1751
|
+
], 14, ja));
|
|
1752
1752
|
}
|
|
1753
1753
|
}), ul = /* @__PURE__ */ v({
|
|
1754
1754
|
name: "LlmTd",
|
|
@@ -1758,13 +1758,13 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1758
1758
|
},
|
|
1759
1759
|
setup(e) {
|
|
1760
1760
|
const t = e, a = p(() => [`align-${t.align}`]);
|
|
1761
|
-
return (o,
|
|
1762
|
-
class:
|
|
1761
|
+
return (o, l) => (s(), n("td", {
|
|
1762
|
+
class: y(a.value)
|
|
1763
1763
|
}, [
|
|
1764
1764
|
b(o.$slots, "default")
|
|
1765
1765
|
], 2));
|
|
1766
1766
|
}
|
|
1767
|
-
}),
|
|
1767
|
+
}), Fa = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], Ga = { class: "tab-panels" }, se = /* @__PURE__ */ Symbol("LlmTabGroup"), cl = /* @__PURE__ */ v({
|
|
1768
1768
|
name: "LlmTabGroup",
|
|
1769
1769
|
__name: "llm-tab-group",
|
|
1770
1770
|
props: {
|
|
@@ -1773,71 +1773,71 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1773
1773
|
},
|
|
1774
1774
|
emits: ["update:selectedIndex"],
|
|
1775
1775
|
setup(e, { emit: t }) {
|
|
1776
|
-
const a = e, o = t,
|
|
1777
|
-
|
|
1776
|
+
const a = e, o = t, l = C(a.selectedIndex), d = C([]);
|
|
1777
|
+
z(
|
|
1778
1778
|
() => a.selectedIndex,
|
|
1779
1779
|
(h) => {
|
|
1780
|
-
|
|
1780
|
+
l.value = h;
|
|
1781
1781
|
}
|
|
1782
1782
|
);
|
|
1783
1783
|
function u(h) {
|
|
1784
1784
|
d.value.push(h);
|
|
1785
1785
|
}
|
|
1786
1786
|
function r(h) {
|
|
1787
|
-
d.value = d.value.filter((
|
|
1787
|
+
d.value = d.value.filter((_) => _.id !== h);
|
|
1788
1788
|
}
|
|
1789
1789
|
function i(h) {
|
|
1790
|
-
|
|
1790
|
+
l.value = h, o("update:selectedIndex", h);
|
|
1791
1791
|
}
|
|
1792
|
-
H(
|
|
1793
|
-
selectedIndex:
|
|
1792
|
+
H(se, {
|
|
1793
|
+
selectedIndex: l,
|
|
1794
1794
|
tabs: d,
|
|
1795
1795
|
registerTab: u,
|
|
1796
1796
|
unregisterTab: r,
|
|
1797
1797
|
selectTab: i
|
|
1798
1798
|
});
|
|
1799
1799
|
function m(h) {
|
|
1800
|
-
const
|
|
1800
|
+
const _ = d.value.map((f, T) => ({ i: T, disabled: f.disabled })).filter((f) => !f.disabled).map((f) => f.i), g = _.indexOf(l.value);
|
|
1801
1801
|
if (h.key === "ArrowRight") {
|
|
1802
1802
|
h.preventDefault();
|
|
1803
|
-
const f =
|
|
1803
|
+
const f = _[(g + 1) % _.length];
|
|
1804
1804
|
f !== void 0 && i(f);
|
|
1805
1805
|
} else if (h.key === "ArrowLeft") {
|
|
1806
1806
|
h.preventDefault();
|
|
1807
|
-
const f =
|
|
1807
|
+
const f = _[(g - 1 + _.length) % _.length];
|
|
1808
1808
|
f !== void 0 && i(f);
|
|
1809
1809
|
} else if (h.key === "Home")
|
|
1810
|
-
h.preventDefault(),
|
|
1810
|
+
h.preventDefault(), _[0] !== void 0 && i(_[0]);
|
|
1811
1811
|
else if (h.key === "End") {
|
|
1812
1812
|
h.preventDefault();
|
|
1813
|
-
const f =
|
|
1813
|
+
const f = _[_.length - 1];
|
|
1814
1814
|
f !== void 0 && i(f);
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
|
-
const
|
|
1818
|
-
return (h,
|
|
1819
|
-
class:
|
|
1817
|
+
const $ = `llm-tab-group-${Math.random().toString(36).slice(2, 9)}`, k = p(() => ["llm-tab-group", `variant-${a.variant}`]);
|
|
1818
|
+
return (h, _) => (s(), n("div", {
|
|
1819
|
+
class: y(k.value)
|
|
1820
1820
|
}, [
|
|
1821
1821
|
c("div", {
|
|
1822
1822
|
class: "tablist",
|
|
1823
1823
|
role: "tablist",
|
|
1824
1824
|
onKeydown: m
|
|
1825
1825
|
}, [
|
|
1826
|
-
(
|
|
1827
|
-
key:
|
|
1826
|
+
(s(!0), n(B, null, R(d.value, (g, f) => (s(), n("button", {
|
|
1827
|
+
key: g.id,
|
|
1828
1828
|
role: "tab",
|
|
1829
|
-
id: `${
|
|
1830
|
-
"aria-selected": f ===
|
|
1831
|
-
"aria-controls": `${
|
|
1832
|
-
tabindex: f ===
|
|
1833
|
-
disabled:
|
|
1834
|
-
class:
|
|
1829
|
+
id: `${$}-tab-${f}`,
|
|
1830
|
+
"aria-selected": f === l.value,
|
|
1831
|
+
"aria-controls": `${$}-panel-${f}`,
|
|
1832
|
+
tabindex: f === l.value ? 0 : -1,
|
|
1833
|
+
disabled: g.disabled,
|
|
1834
|
+
class: y(["tab-button", f === l.value && "is-active", g.disabled && "is-disabled"]),
|
|
1835
1835
|
type: "button",
|
|
1836
|
-
onClick: (
|
|
1837
|
-
}, L(
|
|
1836
|
+
onClick: (T) => !g.disabled && i(f)
|
|
1837
|
+
}, L(g.label), 11, Fa))), 128))
|
|
1838
1838
|
], 32),
|
|
1839
1839
|
c("div", Ga, [
|
|
1840
|
-
b(h.$slots, "default", { groupId:
|
|
1840
|
+
b(h.$slots, "default", { groupId: $ })
|
|
1841
1841
|
])
|
|
1842
1842
|
], 2));
|
|
1843
1843
|
}
|
|
@@ -1849,15 +1849,15 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1849
1849
|
disabled: { type: Boolean, default: !1 }
|
|
1850
1850
|
},
|
|
1851
1851
|
setup(e) {
|
|
1852
|
-
const t = e, a =
|
|
1853
|
-
|
|
1852
|
+
const t = e, a = q(se), o = O();
|
|
1853
|
+
E(() => {
|
|
1854
1854
|
a.registerTab({ id: o, label: t.label, disabled: t.disabled });
|
|
1855
|
-
}),
|
|
1855
|
+
}), j(() => {
|
|
1856
1856
|
a.unregisterTab(o);
|
|
1857
1857
|
});
|
|
1858
|
-
const
|
|
1858
|
+
const l = p(() => a.tabs.value.findIndex((u) => u.id === o)), d = p(() => l.value === a.selectedIndex.value);
|
|
1859
1859
|
return p(() => {
|
|
1860
|
-
}), (u, r) =>
|
|
1860
|
+
}), (u, r) => l.value >= 0 ? (s(), n("div", {
|
|
1861
1861
|
key: 0,
|
|
1862
1862
|
role: "tabpanel",
|
|
1863
1863
|
hidden: !d.value,
|
|
@@ -1868,7 +1868,7 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1868
1868
|
b(u.$slots, "default")
|
|
1869
1869
|
], 8, Pa)) : w("", !0);
|
|
1870
1870
|
}
|
|
1871
|
-
}),
|
|
1871
|
+
}), Va = ["for"], Na = { class: "textarea-field" }, Ua = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Wa = {
|
|
1872
1872
|
key: 1,
|
|
1873
1873
|
class: "errors",
|
|
1874
1874
|
"aria-live": "polite"
|
|
@@ -1891,29 +1891,29 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1891
1891
|
},
|
|
1892
1892
|
emits: ["update:value"],
|
|
1893
1893
|
setup(e, { emit: t }) {
|
|
1894
|
-
const a = e, o = t,
|
|
1894
|
+
const a = e, o = t, l = C(null), d = p(() => a.id || (a.label ? `textarea-${Math.random().toString(36).slice(2)}` : void 0));
|
|
1895
1895
|
function u() {
|
|
1896
|
-
a.autoResize &&
|
|
1896
|
+
a.autoResize && l.value && (l.value.style.height = "auto", l.value.style.height = `${l.value.scrollHeight}px`);
|
|
1897
1897
|
}
|
|
1898
|
-
|
|
1899
|
-
await
|
|
1900
|
-
}),
|
|
1898
|
+
z(() => a.value, async () => {
|
|
1899
|
+
await Z(), u();
|
|
1900
|
+
}), E(() => u());
|
|
1901
1901
|
function r(i) {
|
|
1902
1902
|
o("update:value", i.target.value), u();
|
|
1903
1903
|
}
|
|
1904
|
-
return (i, m) => (
|
|
1905
|
-
class:
|
|
1904
|
+
return (i, m) => (s(), n("div", {
|
|
1905
|
+
class: y(["llm-textarea", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
|
|
1906
1906
|
}, [
|
|
1907
|
-
e.label ? (
|
|
1907
|
+
e.label ? (s(), n("label", {
|
|
1908
1908
|
key: 0,
|
|
1909
1909
|
for: d.value,
|
|
1910
1910
|
class: "textarea-label"
|
|
1911
|
-
}, L(e.label), 9,
|
|
1912
|
-
c("div",
|
|
1911
|
+
}, L(e.label), 9, Va)) : w("", !0),
|
|
1912
|
+
c("div", Na, [
|
|
1913
1913
|
c("textarea", {
|
|
1914
1914
|
id: d.value,
|
|
1915
1915
|
ref_key: "textareaRef",
|
|
1916
|
-
ref:
|
|
1916
|
+
ref: l,
|
|
1917
1917
|
value: e.value,
|
|
1918
1918
|
rows: e.rows,
|
|
1919
1919
|
placeholder: e.placeholder,
|
|
@@ -1923,19 +1923,19 @@ const Z = /* @__PURE__ */ Symbol("LlmAccordionGroup"), _t = /* @__PURE__ */ v({
|
|
|
1923
1923
|
name: e.name,
|
|
1924
1924
|
"aria-invalid": e.invalid || void 0,
|
|
1925
1925
|
onInput: r
|
|
1926
|
-
}, null, 40,
|
|
1926
|
+
}, null, 40, Ua)
|
|
1927
1927
|
]),
|
|
1928
|
-
e.errors.length ? (
|
|
1929
|
-
(
|
|
1930
|
-
key:
|
|
1928
|
+
e.errors.length ? (s(), n("ul", Wa, [
|
|
1929
|
+
(s(!0), n(B, null, R(e.errors, ($, k) => (s(), n("li", {
|
|
1930
|
+
key: k,
|
|
1931
1931
|
class: "error"
|
|
1932
|
-
}, L(
|
|
1932
|
+
}, L($), 1))), 128))
|
|
1933
1933
|
])) : w("", !0)
|
|
1934
1934
|
], 2));
|
|
1935
1935
|
}
|
|
1936
1936
|
}), N = /* @__PURE__ */ Symbol("LlmToast");
|
|
1937
1937
|
function pl() {
|
|
1938
|
-
const e =
|
|
1938
|
+
const e = q(N);
|
|
1939
1939
|
if (!e)
|
|
1940
1940
|
throw new Error(
|
|
1941
1941
|
"useLlmToast() must be called inside a component that is a descendant of LlmToastProvider."
|
|
@@ -1948,22 +1948,22 @@ const vl = /* @__PURE__ */ v({
|
|
|
1948
1948
|
setup(e) {
|
|
1949
1949
|
const t = C([]), a = /* @__PURE__ */ new Map();
|
|
1950
1950
|
function o(u, r = {}) {
|
|
1951
|
-
const i = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, m = r.duration ?? 5e3,
|
|
1951
|
+
const i = `toast-${Date.now()}-${Math.random().toString(36).slice(2, 7)}`, m = r.duration ?? 5e3, $ = {
|
|
1952
1952
|
id: i,
|
|
1953
1953
|
message: u,
|
|
1954
1954
|
variant: r.variant ?? "default",
|
|
1955
1955
|
duration: m,
|
|
1956
1956
|
dismissible: r.dismissible ?? !0
|
|
1957
1957
|
};
|
|
1958
|
-
if (t.value = [...t.value,
|
|
1959
|
-
const
|
|
1960
|
-
|
|
1958
|
+
if (t.value = [...t.value, $], m > 0) {
|
|
1959
|
+
const k = setTimeout(() => {
|
|
1960
|
+
l(i);
|
|
1961
1961
|
}, m);
|
|
1962
|
-
a.set(i,
|
|
1962
|
+
a.set(i, k);
|
|
1963
1963
|
}
|
|
1964
1964
|
return i;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1966
|
+
function l(u) {
|
|
1967
1967
|
t.value = t.value.filter((i) => i.id !== u);
|
|
1968
1968
|
const r = a.get(u);
|
|
1969
1969
|
r !== void 0 && (clearTimeout(r), a.delete(u));
|
|
@@ -1973,9 +1973,9 @@ const vl = /* @__PURE__ */ v({
|
|
|
1973
1973
|
clearTimeout(u);
|
|
1974
1974
|
a.clear(), t.value = [];
|
|
1975
1975
|
}
|
|
1976
|
-
return H(N, { toasts: t, show: o, dismiss:
|
|
1976
|
+
return H(N, { toasts: t, show: o, dismiss: l, clear: d }), (u, r) => b(u.$slots, "default");
|
|
1977
1977
|
}
|
|
1978
|
-
}),
|
|
1978
|
+
}), Ja = { class: "message" }, Za = /* @__PURE__ */ v({
|
|
1979
1979
|
name: "LlmToastItem",
|
|
1980
1980
|
__name: "llm-toast-item",
|
|
1981
1981
|
props: {
|
|
@@ -1983,13 +1983,13 @@ const vl = /* @__PURE__ */ v({
|
|
|
1983
1983
|
},
|
|
1984
1984
|
emits: ["dismiss"],
|
|
1985
1985
|
setup(e, { emit: t }) {
|
|
1986
|
-
const a = e, o = t,
|
|
1987
|
-
return (d, u) => (
|
|
1988
|
-
class:
|
|
1986
|
+
const a = e, o = t, l = p(() => ["llm-toast", `variant-${a.data.variant}`]);
|
|
1987
|
+
return (d, u) => (s(), n("div", {
|
|
1988
|
+
class: y(l.value),
|
|
1989
1989
|
role: "status"
|
|
1990
1990
|
}, [
|
|
1991
|
-
c("span",
|
|
1992
|
-
e.data.dismissible ? (
|
|
1991
|
+
c("span", Ja, L(e.data.message), 1),
|
|
1992
|
+
e.data.dismissible ? (s(), n("button", {
|
|
1993
1993
|
key: 0,
|
|
1994
1994
|
class: "dismiss",
|
|
1995
1995
|
type: "button",
|
|
@@ -2031,24 +2031,24 @@ const vl = /* @__PURE__ */ v({
|
|
|
2031
2031
|
position: { default: "bottom-right" }
|
|
2032
2032
|
},
|
|
2033
2033
|
setup(e) {
|
|
2034
|
-
const t = e, a =
|
|
2035
|
-
function
|
|
2034
|
+
const t = e, a = q(N), o = p(() => a.toasts.value);
|
|
2035
|
+
function l(u) {
|
|
2036
2036
|
a.dismiss(u);
|
|
2037
2037
|
}
|
|
2038
2038
|
const d = p(() => ["llm-toast-container", `position-${t.position}`]);
|
|
2039
|
-
return (u, r) => (
|
|
2040
|
-
class:
|
|
2039
|
+
return (u, r) => (s(), n("div", {
|
|
2040
|
+
class: y(d.value),
|
|
2041
2041
|
"aria-live": "polite",
|
|
2042
2042
|
role: "status"
|
|
2043
2043
|
}, [
|
|
2044
|
-
(
|
|
2044
|
+
(s(!0), n(B, null, R(o.value, (i) => (s(), W(Za, {
|
|
2045
2045
|
key: i.id,
|
|
2046
2046
|
data: i,
|
|
2047
|
-
onDismiss: r[0] || (r[0] = (m) =>
|
|
2047
|
+
onDismiss: r[0] || (r[0] = (m) => l(m))
|
|
2048
2048
|
}, null, 8, ["data"]))), 128))
|
|
2049
2049
|
], 2));
|
|
2050
2050
|
}
|
|
2051
|
-
}),
|
|
2051
|
+
}), Qa = ["for"], Xa = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], Ya = {
|
|
2052
2052
|
key: 0,
|
|
2053
2053
|
class: "errors",
|
|
2054
2054
|
"aria-live": "polite"
|
|
@@ -2067,19 +2067,19 @@ const vl = /* @__PURE__ */ v({
|
|
|
2067
2067
|
},
|
|
2068
2068
|
emits: ["update:checked"],
|
|
2069
2069
|
setup(e, { emit: t }) {
|
|
2070
|
-
const a = e, o = t,
|
|
2070
|
+
const a = e, o = t, l = p(() => a.id || `toggle-${Math.random().toString(36).slice(2)}`);
|
|
2071
2071
|
function d(u) {
|
|
2072
2072
|
a.readonly || o("update:checked", u.target.checked);
|
|
2073
2073
|
}
|
|
2074
|
-
return (u, r) => (
|
|
2075
|
-
class:
|
|
2074
|
+
return (u, r) => (s(), n("div", {
|
|
2075
|
+
class: y(["llm-toggle", { "is-invalid": e.invalid, "is-disabled": e.disabled }])
|
|
2076
2076
|
}, [
|
|
2077
2077
|
c("label", {
|
|
2078
|
-
for:
|
|
2078
|
+
for: l.value,
|
|
2079
2079
|
class: "toggle-label"
|
|
2080
2080
|
}, [
|
|
2081
2081
|
c("input", {
|
|
2082
|
-
id:
|
|
2082
|
+
id: l.value,
|
|
2083
2083
|
type: "checkbox",
|
|
2084
2084
|
role: "switch",
|
|
2085
2085
|
checked: e.checked,
|
|
@@ -2089,14 +2089,14 @@ const vl = /* @__PURE__ */ v({
|
|
|
2089
2089
|
"aria-invalid": e.invalid || void 0,
|
|
2090
2090
|
"aria-checked": e.checked,
|
|
2091
2091
|
onChange: d
|
|
2092
|
-
}, null, 40,
|
|
2092
|
+
}, null, 40, Xa),
|
|
2093
2093
|
r[0] || (r[0] = c("span", { class: "track" }, [
|
|
2094
2094
|
c("span", { class: "thumb" })
|
|
2095
2095
|
], -1)),
|
|
2096
2096
|
b(u.$slots, "default")
|
|
2097
|
-
], 8,
|
|
2098
|
-
e.errors.length ? (
|
|
2099
|
-
(
|
|
2097
|
+
], 8, Qa),
|
|
2098
|
+
e.errors.length ? (s(), n("ul", Ya, [
|
|
2099
|
+
(s(!0), n(B, null, R(e.errors, (i, m) => (s(), n("li", {
|
|
2100
2100
|
key: m,
|
|
2101
2101
|
class: "error"
|
|
2102
2102
|
}, L(i), 1))), 128))
|
|
@@ -2115,9 +2115,9 @@ const vl = /* @__PURE__ */ v({
|
|
|
2115
2115
|
},
|
|
2116
2116
|
setup(e) {
|
|
2117
2117
|
const t = e, a = C(!1);
|
|
2118
|
-
let o = null,
|
|
2118
|
+
let o = null, l = null;
|
|
2119
2119
|
function d() {
|
|
2120
|
-
o && (clearTimeout(o), o = null),
|
|
2120
|
+
o && (clearTimeout(o), o = null), l && (clearTimeout(l), l = null);
|
|
2121
2121
|
}
|
|
2122
2122
|
function u() {
|
|
2123
2123
|
t.llmTooltipDisabled || !t.llmTooltip || (d(), o = setTimeout(() => {
|
|
@@ -2125,14 +2125,14 @@ const vl = /* @__PURE__ */ v({
|
|
|
2125
2125
|
}, t.llmTooltipShowDelay));
|
|
2126
2126
|
}
|
|
2127
2127
|
function r() {
|
|
2128
|
-
d(),
|
|
2128
|
+
d(), l = setTimeout(() => {
|
|
2129
2129
|
a.value = !1;
|
|
2130
2130
|
}, t.llmTooltipHideDelay);
|
|
2131
2131
|
}
|
|
2132
2132
|
function i(m) {
|
|
2133
2133
|
m.key === "Escape" && (d(), a.value = !1);
|
|
2134
2134
|
}
|
|
2135
|
-
return J(() => d()), (m,
|
|
2135
|
+
return J(() => d()), (m, $) => (s(), n("span", {
|
|
2136
2136
|
class: "llm-tooltip-wrapper",
|
|
2137
2137
|
onMouseenter: u,
|
|
2138
2138
|
onMouseleave: r,
|
|
@@ -2141,14 +2141,14 @@ const vl = /* @__PURE__ */ v({
|
|
|
2141
2141
|
onKeydown: i
|
|
2142
2142
|
}, [
|
|
2143
2143
|
b(m.$slots, "default"),
|
|
2144
|
-
a.value && !e.llmTooltipDisabled && e.llmTooltip ? (
|
|
2144
|
+
a.value && !e.llmTooltipDisabled && e.llmTooltip ? (s(), n("div", {
|
|
2145
2145
|
key: 0,
|
|
2146
2146
|
role: "tooltip",
|
|
2147
|
-
class:
|
|
2147
|
+
class: y(`llm-tooltip position-${e.llmTooltipPosition}`)
|
|
2148
2148
|
}, L(e.llmTooltip), 3)) : w("", !0)
|
|
2149
2149
|
], 32));
|
|
2150
2150
|
}
|
|
2151
|
-
}),
|
|
2151
|
+
}), et = { class: "llm-code-block" }, at = { class: "code-block-header" }, tt = { class: "code-block-label" }, lt = ["aria-label"], st = { class: "code-block-body" }, nt = { class: "code-block-pre" }, ot = { class: "code-line-number" }, it = { class: "code-line-text" }, yl = /* @__PURE__ */ v({
|
|
2152
2152
|
name: "LlmCodeBlock",
|
|
2153
2153
|
__name: "llm-code-block",
|
|
2154
2154
|
props: {
|
|
@@ -2159,7 +2159,7 @@ const vl = /* @__PURE__ */ v({
|
|
|
2159
2159
|
showLineNumbers: { type: Boolean, default: !1 }
|
|
2160
2160
|
},
|
|
2161
2161
|
setup(e) {
|
|
2162
|
-
const t = e, a = C(!1), o = p(() => t.filename || t.language),
|
|
2162
|
+
const t = e, a = C(!1), o = p(() => t.filename || t.language), l = p(() => t.code.split(`
|
|
2163
2163
|
`));
|
|
2164
2164
|
function d() {
|
|
2165
2165
|
navigator.clipboard.writeText(t.code).then(() => {
|
|
@@ -2168,17 +2168,17 @@ const vl = /* @__PURE__ */ v({
|
|
|
2168
2168
|
}, 1800);
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
return (u, r) => (
|
|
2172
|
-
c("div",
|
|
2173
|
-
c("span",
|
|
2174
|
-
e.copyable ? (
|
|
2171
|
+
return (u, r) => (s(), n("div", et, [
|
|
2172
|
+
c("div", at, [
|
|
2173
|
+
c("span", tt, L(o.value), 1),
|
|
2174
|
+
e.copyable ? (s(), n("button", {
|
|
2175
2175
|
key: 0,
|
|
2176
2176
|
class: "code-block-copy",
|
|
2177
2177
|
type: "button",
|
|
2178
2178
|
"aria-label": a.value ? "Copied" : "Copy code",
|
|
2179
2179
|
onClick: d
|
|
2180
2180
|
}, [
|
|
2181
|
-
a.value ? (
|
|
2181
|
+
a.value ? (s(), n(B, { key: 0 }, [
|
|
2182
2182
|
r[0] || (r[0] = c("svg", {
|
|
2183
2183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2184
2184
|
width: "14",
|
|
@@ -2193,8 +2193,8 @@ const vl = /* @__PURE__ */ v({
|
|
|
2193
2193
|
}, [
|
|
2194
2194
|
c("polyline", { points: "20 6 9 17 4 12" })
|
|
2195
2195
|
], -1)),
|
|
2196
|
-
r[1] || (r[1] =
|
|
2197
|
-
], 64)) : (
|
|
2196
|
+
r[1] || (r[1] = F(" Copied ", -1))
|
|
2197
|
+
], 64)) : (s(), n(B, { key: 1 }, [
|
|
2198
2198
|
r[2] || (r[2] = c("svg", {
|
|
2199
2199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2200
2200
|
width: "14",
|
|
@@ -2217,28 +2217,28 @@ const vl = /* @__PURE__ */ v({
|
|
|
2217
2217
|
}),
|
|
2218
2218
|
c("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
2219
2219
|
], -1)),
|
|
2220
|
-
r[3] || (r[3] =
|
|
2220
|
+
r[3] || (r[3] = F(" Copy ", -1))
|
|
2221
2221
|
], 64))
|
|
2222
|
-
], 8,
|
|
2222
|
+
], 8, lt)) : w("", !0)
|
|
2223
2223
|
]),
|
|
2224
|
-
c("div",
|
|
2225
|
-
c("pre",
|
|
2224
|
+
c("div", st, [
|
|
2225
|
+
c("pre", nt, [
|
|
2226
2226
|
c("code", null, [
|
|
2227
|
-
e.showLineNumbers ? (
|
|
2227
|
+
e.showLineNumbers ? (s(!0), n(B, { key: 0 }, R(l.value, (i, m) => (s(), n("span", {
|
|
2228
2228
|
key: m,
|
|
2229
2229
|
class: "code-line"
|
|
2230
2230
|
}, [
|
|
2231
|
-
c("span",
|
|
2232
|
-
c("span",
|
|
2233
|
-
]))), 128)) : (
|
|
2234
|
-
|
|
2231
|
+
c("span", ot, L(m + 1), 1),
|
|
2232
|
+
c("span", it, L(i), 1)
|
|
2233
|
+
]))), 128)) : (s(), n(B, { key: 1 }, [
|
|
2234
|
+
F(L(e.code), 1)
|
|
2235
2235
|
], 64))
|
|
2236
2236
|
])
|
|
2237
2237
|
])
|
|
2238
2238
|
])
|
|
2239
2239
|
]));
|
|
2240
2240
|
}
|
|
2241
|
-
}),
|
|
2241
|
+
}), rt = ["aria-labelledby"], dt = ["aria-labelledby"], ut = ["aria-label", "aria-expanded"], ct = ["aria-labelledby"], U = /* @__PURE__ */ Symbol("LlmChat"), $l = /* @__PURE__ */ v({
|
|
2242
2242
|
name: "LlmChat",
|
|
2243
2243
|
__name: "llm-chat",
|
|
2244
2244
|
props: {
|
|
@@ -2248,94 +2248,104 @@ const vl = /* @__PURE__ */ v({
|
|
|
2248
2248
|
},
|
|
2249
2249
|
emits: ["update:open"],
|
|
2250
2250
|
setup(e, { emit: t }) {
|
|
2251
|
-
const a = e, o = t,
|
|
2252
|
-
function
|
|
2251
|
+
const a = e, o = t, l = C(null), d = Q("hostRef"), u = O(), r = fe(a, "status");
|
|
2252
|
+
function i() {
|
|
2253
2253
|
o("update:open", !1);
|
|
2254
2254
|
}
|
|
2255
|
-
function
|
|
2255
|
+
function m() {
|
|
2256
2256
|
o("update:open", !a.open);
|
|
2257
2257
|
}
|
|
2258
2258
|
H(U, {
|
|
2259
|
-
headerId:
|
|
2260
|
-
status:
|
|
2261
|
-
close:
|
|
2262
|
-
toggle:
|
|
2263
|
-
}),
|
|
2259
|
+
headerId: u,
|
|
2260
|
+
status: r,
|
|
2261
|
+
close: i,
|
|
2262
|
+
toggle: m
|
|
2263
|
+
}), z(
|
|
2264
2264
|
() => a.open,
|
|
2265
2265
|
(g) => {
|
|
2266
2266
|
if (a.variant !== "drawer") return;
|
|
2267
|
-
const
|
|
2268
|
-
|
|
2267
|
+
const f = l.value;
|
|
2268
|
+
f && (g ? f.open || f.showModal() : f.open && f.close());
|
|
2269
2269
|
},
|
|
2270
2270
|
{ flush: "post" }
|
|
2271
|
+
), z(
|
|
2272
|
+
() => a.open,
|
|
2273
|
+
async (g) => {
|
|
2274
|
+
g && a.variant !== "inline" && (await Z(), requestAnimationFrame(() => {
|
|
2275
|
+
d.value?.querySelector("textarea")?.focus();
|
|
2276
|
+
}));
|
|
2277
|
+
},
|
|
2278
|
+
{ flush: "post", immediate: !0 }
|
|
2271
2279
|
);
|
|
2272
|
-
function
|
|
2280
|
+
function $() {
|
|
2273
2281
|
o("update:open", !1);
|
|
2274
2282
|
}
|
|
2275
2283
|
function k(g) {
|
|
2276
2284
|
g.preventDefault(), o("update:open", !1);
|
|
2277
2285
|
}
|
|
2278
|
-
function
|
|
2279
|
-
g.target ===
|
|
2286
|
+
function h(g) {
|
|
2287
|
+
g.target === l.value && o("update:open", !1);
|
|
2280
2288
|
}
|
|
2281
|
-
const
|
|
2289
|
+
const _ = p(() => [
|
|
2282
2290
|
"llm-chat",
|
|
2283
2291
|
`variant-${a.variant}`,
|
|
2284
2292
|
`status-${a.status}`,
|
|
2285
2293
|
a.open && "is-open"
|
|
2286
2294
|
]);
|
|
2287
|
-
return (g,
|
|
2288
|
-
|
|
2295
|
+
return (g, f) => (s(), n("div", {
|
|
2296
|
+
ref_key: "hostRef",
|
|
2297
|
+
ref: d,
|
|
2298
|
+
class: y(_.value)
|
|
2289
2299
|
}, [
|
|
2290
|
-
e.variant === "drawer" ? (
|
|
2300
|
+
e.variant === "drawer" ? (s(), n("dialog", {
|
|
2291
2301
|
key: 0,
|
|
2292
2302
|
ref_key: "dialogRef",
|
|
2293
|
-
ref:
|
|
2294
|
-
"aria-labelledby": M(
|
|
2303
|
+
ref: l,
|
|
2304
|
+
"aria-labelledby": M(u),
|
|
2295
2305
|
"aria-modal": "true",
|
|
2296
|
-
onClose:
|
|
2306
|
+
onClose: $,
|
|
2297
2307
|
onCancel: k,
|
|
2298
|
-
onClick:
|
|
2308
|
+
onClick: h
|
|
2299
2309
|
}, [
|
|
2300
2310
|
c("div", {
|
|
2301
2311
|
class: "surface drawer-surface",
|
|
2302
|
-
onClick:
|
|
2312
|
+
onClick: f[0] || (f[0] = V(() => {
|
|
2303
2313
|
}, ["stop"]))
|
|
2304
2314
|
}, [
|
|
2305
2315
|
b(g.$slots, "default")
|
|
2306
2316
|
])
|
|
2307
|
-
], 40,
|
|
2308
|
-
e.open ? (
|
|
2317
|
+
], 40, rt)) : e.variant === "popup" ? (s(), n(B, { key: 1 }, [
|
|
2318
|
+
e.open ? (s(), n("div", {
|
|
2309
2319
|
key: 0,
|
|
2310
2320
|
class: "surface popup-surface",
|
|
2311
2321
|
role: "dialog",
|
|
2312
|
-
"aria-labelledby": M(
|
|
2322
|
+
"aria-labelledby": M(u)
|
|
2313
2323
|
}, [
|
|
2314
2324
|
b(g.$slots, "default")
|
|
2315
|
-
], 8,
|
|
2325
|
+
], 8, dt)) : w("", !0),
|
|
2316
2326
|
c("button", {
|
|
2317
2327
|
type: "button",
|
|
2318
2328
|
class: "fab-bubble",
|
|
2319
2329
|
"aria-label": e.open ? "Close AI assistant" : "Open AI assistant",
|
|
2320
2330
|
"aria-expanded": e.open,
|
|
2321
|
-
onClick:
|
|
2322
|
-
}, [...
|
|
2331
|
+
onClick: m
|
|
2332
|
+
}, [...f[1] || (f[1] = [
|
|
2323
2333
|
c("span", { "aria-hidden": "true" }, "AI", -1)
|
|
2324
|
-
])], 8,
|
|
2325
|
-
], 64)) : (
|
|
2334
|
+
])], 8, ut)
|
|
2335
|
+
], 64)) : (s(), n("section", {
|
|
2326
2336
|
key: 2,
|
|
2327
2337
|
class: "surface inline-surface",
|
|
2328
|
-
"aria-labelledby": M(
|
|
2338
|
+
"aria-labelledby": M(u)
|
|
2329
2339
|
}, [
|
|
2330
2340
|
b(g.$slots, "default")
|
|
2331
|
-
], 8,
|
|
2341
|
+
], 8, ct))
|
|
2332
2342
|
], 2));
|
|
2333
2343
|
}
|
|
2334
|
-
}),
|
|
2344
|
+
}), mt = ["id"], ft = { class: "title-block" }, kl = /* @__PURE__ */ v({
|
|
2335
2345
|
name: "LlmChatHeader",
|
|
2336
2346
|
__name: "llm-chat-header",
|
|
2337
2347
|
setup(e) {
|
|
2338
|
-
const t =
|
|
2348
|
+
const t = q(U, {
|
|
2339
2349
|
headerId: "",
|
|
2340
2350
|
status: C("idle"),
|
|
2341
2351
|
close: () => {
|
|
@@ -2343,18 +2353,18 @@ const vl = /* @__PURE__ */ v({
|
|
|
2343
2353
|
toggle: () => {
|
|
2344
2354
|
}
|
|
2345
2355
|
});
|
|
2346
|
-
return (a, o) => (
|
|
2356
|
+
return (a, o) => (s(), n("div", {
|
|
2347
2357
|
id: M(t).headerId,
|
|
2348
2358
|
class: "llm-chat-header"
|
|
2349
2359
|
}, [
|
|
2350
|
-
c("div",
|
|
2360
|
+
c("div", ft, [
|
|
2351
2361
|
b(a.$slots, "default")
|
|
2352
2362
|
]),
|
|
2353
2363
|
c("button", {
|
|
2354
2364
|
type: "button",
|
|
2355
2365
|
class: "close-btn",
|
|
2356
2366
|
"aria-label": "Close chat",
|
|
2357
|
-
onClick: o[0] || (o[0] = (
|
|
2367
|
+
onClick: o[0] || (o[0] = (l) => M(t).close())
|
|
2358
2368
|
}, [...o[1] || (o[1] = [
|
|
2359
2369
|
c("svg", {
|
|
2360
2370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2382,15 +2392,30 @@ const vl = /* @__PURE__ */ v({
|
|
|
2382
2392
|
})
|
|
2383
2393
|
], -1)
|
|
2384
2394
|
])])
|
|
2385
|
-
], 8,
|
|
2395
|
+
], 8, mt));
|
|
2386
2396
|
}
|
|
2387
|
-
}),
|
|
2397
|
+
}), _l = /* @__PURE__ */ v({
|
|
2388
2398
|
name: "LlmChatMessages",
|
|
2389
2399
|
__name: "llm-chat-messages",
|
|
2390
2400
|
setup(e) {
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2401
|
+
const t = Q("root");
|
|
2402
|
+
let a = null;
|
|
2403
|
+
return E(() => {
|
|
2404
|
+
const o = t.value;
|
|
2405
|
+
if (!o) return;
|
|
2406
|
+
const l = () => {
|
|
2407
|
+
o.scrollTop = o.scrollHeight;
|
|
2408
|
+
};
|
|
2409
|
+
l(), a = new MutationObserver(l), a.observe(o, { childList: !0, subtree: !0, characterData: !0 });
|
|
2410
|
+
}), j(() => {
|
|
2411
|
+
a?.disconnect(), a = null;
|
|
2412
|
+
}), (o, l) => (s(), n("div", {
|
|
2413
|
+
ref_key: "root",
|
|
2414
|
+
ref: t,
|
|
2415
|
+
class: "llm-chat-messages"
|
|
2416
|
+
}, [
|
|
2417
|
+
b(o.$slots, "default")
|
|
2418
|
+
], 512));
|
|
2394
2419
|
}
|
|
2395
2420
|
}), wl = /* @__PURE__ */ v({
|
|
2396
2421
|
name: "LlmChatMessage",
|
|
@@ -2405,9 +2430,9 @@ const vl = /* @__PURE__ */ v({
|
|
|
2405
2430
|
`role-${t.role}`,
|
|
2406
2431
|
t.failed && "is-failed"
|
|
2407
2432
|
]);
|
|
2408
|
-
return (o,
|
|
2433
|
+
return (o, l) => (s(), n("div", {
|
|
2409
2434
|
role: "listitem",
|
|
2410
|
-
class:
|
|
2435
|
+
class: y(a.value)
|
|
2411
2436
|
}, [
|
|
2412
2437
|
b(o.$slots, "default")
|
|
2413
2438
|
], 2));
|
|
@@ -2420,7 +2445,7 @@ const vl = /* @__PURE__ */ v({
|
|
|
2420
2445
|
name: "LlmChatTyping",
|
|
2421
2446
|
__name: "llm-chat-typing",
|
|
2422
2447
|
setup(e) {
|
|
2423
|
-
return (t, a) => (
|
|
2448
|
+
return (t, a) => (s(), n("div", pt, [...a[0] || (a[0] = [
|
|
2424
2449
|
c("span", { class: "dot" }, null, -1),
|
|
2425
2450
|
c("span", { class: "dot" }, null, -1),
|
|
2426
2451
|
c("span", { class: "dot" }, null, -1),
|
|
@@ -2440,14 +2465,14 @@ const vl = /* @__PURE__ */ v({
|
|
|
2440
2465
|
emits: ["selected"],
|
|
2441
2466
|
setup(e, { emit: t }) {
|
|
2442
2467
|
const a = e, o = t;
|
|
2443
|
-
return (
|
|
2468
|
+
return (l, d) => (s(), n("div", vt, [
|
|
2444
2469
|
c("button", {
|
|
2445
2470
|
type: "button",
|
|
2446
2471
|
class: "chip",
|
|
2447
2472
|
onClick: d[0] || (d[0] = (u) => o("selected", a.label))
|
|
2448
2473
|
}, [
|
|
2449
2474
|
c("span", ht, L(a.label), 1),
|
|
2450
|
-
a.hint ? (
|
|
2475
|
+
a.hint ? (s(), n("span", bt, L(a.hint), 1)) : w("", !0)
|
|
2451
2476
|
])
|
|
2452
2477
|
]));
|
|
2453
2478
|
}
|
|
@@ -2461,7 +2486,7 @@ const vl = /* @__PURE__ */ v({
|
|
|
2461
2486
|
},
|
|
2462
2487
|
emits: ["update:value", "send", "stop"],
|
|
2463
2488
|
setup(e, { emit: t }) {
|
|
2464
|
-
const a = e, o = t,
|
|
2489
|
+
const a = e, o = t, l = q(U, {
|
|
2465
2490
|
headerId: "",
|
|
2466
2491
|
status: C("idle"),
|
|
2467
2492
|
close: () => {
|
|
@@ -2470,12 +2495,12 @@ const vl = /* @__PURE__ */ v({
|
|
|
2470
2495
|
}
|
|
2471
2496
|
}), d = C(""), u = p(() => a.value !== void 0), r = p({
|
|
2472
2497
|
get: () => u.value ? a.value ?? "" : d.value,
|
|
2473
|
-
set: (
|
|
2474
|
-
u.value || (d.value =
|
|
2498
|
+
set: (_) => {
|
|
2499
|
+
u.value || (d.value = _), o("update:value", _);
|
|
2475
2500
|
}
|
|
2476
|
-
}), i = p(() =>
|
|
2501
|
+
}), i = p(() => l.status.value === "streaming"), m = p(() => {
|
|
2477
2502
|
if (a.placeholder) return a.placeholder;
|
|
2478
|
-
switch (
|
|
2503
|
+
switch (l.status.value) {
|
|
2479
2504
|
case "streaming":
|
|
2480
2505
|
return "Waiting for response…";
|
|
2481
2506
|
case "error":
|
|
@@ -2484,18 +2509,18 @@ const vl = /* @__PURE__ */ v({
|
|
|
2484
2509
|
return "Message your AI assistant…";
|
|
2485
2510
|
}
|
|
2486
2511
|
});
|
|
2487
|
-
function
|
|
2488
|
-
const
|
|
2489
|
-
!
|
|
2512
|
+
function $() {
|
|
2513
|
+
const _ = r.value.trim();
|
|
2514
|
+
!_ || i.value || (o("send", _), r.value = "");
|
|
2490
2515
|
}
|
|
2491
|
-
function _
|
|
2492
|
-
|
|
2516
|
+
function k(_) {
|
|
2517
|
+
_.key === "Enter" && !_.shiftKey && (_.preventDefault(), $());
|
|
2493
2518
|
}
|
|
2494
|
-
function h(
|
|
2495
|
-
const
|
|
2496
|
-
r.value =
|
|
2519
|
+
function h(_) {
|
|
2520
|
+
const g = _.target;
|
|
2521
|
+
r.value = g.value;
|
|
2497
2522
|
}
|
|
2498
|
-
return (
|
|
2523
|
+
return (_, g) => (s(), n("div", gt, [
|
|
2499
2524
|
c("textarea", {
|
|
2500
2525
|
class: "field",
|
|
2501
2526
|
rows: "1",
|
|
@@ -2504,19 +2529,19 @@ const vl = /* @__PURE__ */ v({
|
|
|
2504
2529
|
disabled: i.value,
|
|
2505
2530
|
"aria-label": a.ariaLabel,
|
|
2506
2531
|
onInput: h,
|
|
2507
|
-
onKeydown:
|
|
2532
|
+
onKeydown: k
|
|
2508
2533
|
}, null, 40, yt),
|
|
2509
|
-
i.value ? (
|
|
2534
|
+
i.value ? (s(), n("button", {
|
|
2510
2535
|
key: 0,
|
|
2511
2536
|
type: "button",
|
|
2512
2537
|
class: "action-btn variant-danger size-md",
|
|
2513
|
-
onClick:
|
|
2514
|
-
}, " Stop ")) : (
|
|
2538
|
+
onClick: g[0] || (g[0] = (f) => o("stop"))
|
|
2539
|
+
}, " Stop ")) : (s(), n("button", {
|
|
2515
2540
|
key: 1,
|
|
2516
2541
|
type: "button",
|
|
2517
2542
|
class: "action-btn variant-primary size-md",
|
|
2518
2543
|
disabled: !r.value.trim(),
|
|
2519
|
-
onClick:
|
|
2544
|
+
onClick: $
|
|
2520
2545
|
}, " Send ", 8, $t))
|
|
2521
2546
|
]));
|
|
2522
2547
|
}
|
|
@@ -2528,13 +2553,13 @@ export {
|
|
|
2528
2553
|
xt as LlmAlert,
|
|
2529
2554
|
Ct as LlmAvatar,
|
|
2530
2555
|
Bt as LlmAvatarGroup,
|
|
2531
|
-
|
|
2556
|
+
Tt as LlmBadge,
|
|
2532
2557
|
Dt as LlmBreadcrumbItem,
|
|
2533
|
-
|
|
2558
|
+
It as LlmBreadcrumbs,
|
|
2534
2559
|
St as LlmButton,
|
|
2535
2560
|
Mt as LlmCard,
|
|
2536
|
-
|
|
2537
|
-
|
|
2561
|
+
Rt as LlmCardContent,
|
|
2562
|
+
zt as LlmCardFooter,
|
|
2538
2563
|
At as LlmCardHeader,
|
|
2539
2564
|
$l as LlmChat,
|
|
2540
2565
|
kl as LlmChatHeader,
|
|
@@ -2544,7 +2569,7 @@ export {
|
|
|
2544
2569
|
_l as LlmChatMessages,
|
|
2545
2570
|
xl as LlmChatSuggestion,
|
|
2546
2571
|
Ll as LlmChatTyping,
|
|
2547
|
-
|
|
2572
|
+
He as LlmCheckbox,
|
|
2548
2573
|
yl as LlmCodeBlock,
|
|
2549
2574
|
Qt as LlmCombobox,
|
|
2550
2575
|
qt as LlmDialog,
|
|
@@ -2552,10 +2577,10 @@ export {
|
|
|
2552
2577
|
Ot as LlmDialogFooter,
|
|
2553
2578
|
Ht as LlmDialogHeader,
|
|
2554
2579
|
Kt as LlmDrawer,
|
|
2555
|
-
|
|
2556
|
-
|
|
2580
|
+
Ft as LlmDrawerContent,
|
|
2581
|
+
Gt as LlmDrawerFooter,
|
|
2557
2582
|
jt as LlmDrawerHeader,
|
|
2558
|
-
|
|
2583
|
+
Pt as LlmInput,
|
|
2559
2584
|
Nt as LlmMenu,
|
|
2560
2585
|
Ut as LlmMenuItem,
|
|
2561
2586
|
Wt as LlmMenuSeparator,
|
|
@@ -2578,7 +2603,7 @@ export {
|
|
|
2578
2603
|
dl as LlmTh,
|
|
2579
2604
|
ol as LlmThead,
|
|
2580
2605
|
hl as LlmToastContainer,
|
|
2581
|
-
|
|
2606
|
+
Za as LlmToastItem,
|
|
2582
2607
|
vl as LlmToastProvider,
|
|
2583
2608
|
bl as LlmToggle,
|
|
2584
2609
|
gl as LlmTooltip,
|