@atelier-ui/vue 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, ref as B, provide as E, computed as v, openBlock as s, createElementBlock as n, normalizeClass as g, renderSlot as h, useId as j, inject as R, onMounted as H, watch as A, onBeforeUnmount as F, createElementVNode as c, createCommentVNode as k, toDisplayString as x, useSlots as ie, Fragment as D, renderList as z, createBlock as N, resolveDynamicComponent as re, normalizeStyle as P, unref as q, withModifiers as U, onUnmounted as Z, createTextVNode as O, createVNode as de, nextTick as ue } from "vue";
|
|
2
|
-
const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"),
|
|
2
|
+
const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), st = /* @__PURE__ */ p({
|
|
3
3
|
name: "LlmAccordionGroup",
|
|
4
4
|
__name: "llm-accordion-group",
|
|
5
5
|
props: {
|
|
@@ -34,7 +34,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
34
34
|
h(o.$slots, "default")
|
|
35
35
|
], 2));
|
|
36
36
|
}
|
|
37
|
-
}), ce = { class: "accordion-heading" }, me = ["aria-expanded", "disabled"],
|
|
37
|
+
}), ce = { class: "accordion-heading" }, me = ["aria-expanded", "disabled"], nt = /* @__PURE__ */ p({
|
|
38
38
|
name: "LlmAccordionItem",
|
|
39
39
|
__name: "llm-accordion-item",
|
|
40
40
|
props: {
|
|
@@ -121,7 +121,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
121
121
|
], 2)
|
|
122
122
|
], 2));
|
|
123
123
|
}
|
|
124
|
-
}), fe = { class: "accordion-header-content" },
|
|
124
|
+
}), fe = { class: "accordion-header-content" }, ot = /* @__PURE__ */ p({
|
|
125
125
|
name: "LlmAccordionHeader",
|
|
126
126
|
__name: "llm-accordion-header",
|
|
127
127
|
setup(e) {
|
|
@@ -129,7 +129,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
129
129
|
h(t.$slots, "default")
|
|
130
130
|
]));
|
|
131
131
|
}
|
|
132
|
-
}), ve = ["aria-live"], pe = { class: "content" },
|
|
132
|
+
}), ve = ["aria-live"], pe = { class: "content" }, it = /* @__PURE__ */ p({
|
|
133
133
|
name: "LlmAlert",
|
|
134
134
|
__name: "llm-alert",
|
|
135
135
|
props: {
|
|
@@ -194,7 +194,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
194
194
|
viewBox: "0 0 24 24",
|
|
195
195
|
fill: "currentColor",
|
|
196
196
|
"aria-hidden": "true"
|
|
197
|
-
},
|
|
197
|
+
}, rt = /* @__PURE__ */ p({
|
|
198
198
|
name: "LlmAvatar",
|
|
199
199
|
__name: "llm-avatar",
|
|
200
200
|
props: {
|
|
@@ -238,7 +238,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
238
238
|
}, null, 2)) : k("", !0)
|
|
239
239
|
], 10, be));
|
|
240
240
|
}
|
|
241
|
-
}), $e = ["aria-label"],
|
|
241
|
+
}), $e = ["aria-label"], dt = /* @__PURE__ */ p({
|
|
242
242
|
name: "LlmAvatarGroup",
|
|
243
243
|
__name: "llm-avatar-group",
|
|
244
244
|
props: {
|
|
@@ -258,7 +258,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
258
258
|
}, " +" + x(d.value), 11, $e)) : k("", !0)
|
|
259
259
|
], 2));
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), ut = /* @__PURE__ */ p({
|
|
262
262
|
name: "LlmBadge",
|
|
263
263
|
__name: "llm-badge",
|
|
264
264
|
props: {
|
|
@@ -278,7 +278,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
278
278
|
h(r.$slots, "default")
|
|
279
279
|
], 2));
|
|
280
280
|
}
|
|
281
|
-
}), ke = { class: "breadcrumbs-list" },
|
|
281
|
+
}), ke = { class: "breadcrumbs-list" }, ct = /* @__PURE__ */ p({
|
|
282
282
|
name: "LlmBreadcrumbs",
|
|
283
283
|
__name: "llm-breadcrumbs",
|
|
284
284
|
props: {
|
|
@@ -296,7 +296,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
296
296
|
])
|
|
297
297
|
], 4));
|
|
298
298
|
}
|
|
299
|
-
}), _e = ["href"], we = ["aria-current"],
|
|
299
|
+
}), _e = ["href"], we = ["aria-current"], mt = /* @__PURE__ */ p({
|
|
300
300
|
name: "LlmBreadcrumbItem",
|
|
301
301
|
__name: "llm-breadcrumb-item",
|
|
302
302
|
props: {
|
|
@@ -330,7 +330,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
330
330
|
key: 0,
|
|
331
331
|
class: "spinner",
|
|
332
332
|
"aria-hidden": "true"
|
|
333
|
-
},
|
|
333
|
+
}, ft = /* @__PURE__ */ p({
|
|
334
334
|
name: "LlmButton",
|
|
335
335
|
__name: "llm-button",
|
|
336
336
|
props: {
|
|
@@ -358,7 +358,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
358
358
|
h(l.$slots, "default")
|
|
359
359
|
], 10, Le));
|
|
360
360
|
}
|
|
361
|
-
}),
|
|
361
|
+
}), vt = /* @__PURE__ */ p({
|
|
362
362
|
name: "LlmCard",
|
|
363
363
|
__name: "llm-card",
|
|
364
364
|
props: {
|
|
@@ -377,7 +377,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
377
377
|
h(r.$slots, "default")
|
|
378
378
|
], 2));
|
|
379
379
|
}
|
|
380
|
-
}), Be = { class: "llm-card-header" },
|
|
380
|
+
}), Be = { class: "llm-card-header" }, pt = /* @__PURE__ */ p({
|
|
381
381
|
name: "LlmCardHeader",
|
|
382
382
|
__name: "llm-card-header",
|
|
383
383
|
setup(e) {
|
|
@@ -385,7 +385,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
385
385
|
h(t.$slots, "default")
|
|
386
386
|
]));
|
|
387
387
|
}
|
|
388
|
-
}), Ce = { class: "llm-card-content" },
|
|
388
|
+
}), Ce = { class: "llm-card-content" }, bt = /* @__PURE__ */ p({
|
|
389
389
|
name: "LlmCardContent",
|
|
390
390
|
__name: "llm-card-content",
|
|
391
391
|
setup(e) {
|
|
@@ -393,7 +393,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
393
393
|
h(t.$slots, "default")
|
|
394
394
|
]));
|
|
395
395
|
}
|
|
396
|
-
}), Te = { class: "llm-card-footer" },
|
|
396
|
+
}), Te = { class: "llm-card-footer" }, ht = /* @__PURE__ */ p({
|
|
397
397
|
name: "LlmCardFooter",
|
|
398
398
|
__name: "llm-card-footer",
|
|
399
399
|
setup(e) {
|
|
@@ -464,7 +464,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
464
464
|
])) : k("", !0)
|
|
465
465
|
], 2));
|
|
466
466
|
}
|
|
467
|
-
}), ze = ["aria-label", "aria-labelledby"], Q = /* @__PURE__ */ Symbol("LlmDialog"),
|
|
467
|
+
}), ze = ["aria-label", "aria-labelledby"], Q = /* @__PURE__ */ Symbol("LlmDialog"), gt = /* @__PURE__ */ p({
|
|
468
468
|
name: "LlmDialog",
|
|
469
469
|
__name: "llm-dialog",
|
|
470
470
|
props: {
|
|
@@ -522,7 +522,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
522
522
|
], 2)
|
|
523
523
|
], 40, ze));
|
|
524
524
|
}
|
|
525
|
-
}), qe = ["id"], Ae = { class: "header-content" },
|
|
525
|
+
}), qe = ["id"], Ae = { class: "header-content" }, yt = /* @__PURE__ */ p({
|
|
526
526
|
name: "LlmDialogHeader",
|
|
527
527
|
__name: "llm-dialog-header",
|
|
528
528
|
setup(e) {
|
|
@@ -569,7 +569,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
569
569
|
])])
|
|
570
570
|
], 8, qe));
|
|
571
571
|
}
|
|
572
|
-
}), Re = { class: "llm-dialog-content" },
|
|
572
|
+
}), Re = { class: "llm-dialog-content" }, $t = /* @__PURE__ */ p({
|
|
573
573
|
name: "LlmDialogContent",
|
|
574
574
|
__name: "llm-dialog-content",
|
|
575
575
|
setup(e) {
|
|
@@ -577,7 +577,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
577
577
|
h(t.$slots, "default")
|
|
578
578
|
]));
|
|
579
579
|
}
|
|
580
|
-
}), Ee = { class: "llm-dialog-footer" },
|
|
580
|
+
}), Ee = { class: "llm-dialog-footer" }, kt = /* @__PURE__ */ p({
|
|
581
581
|
name: "LlmDialogFooter",
|
|
582
582
|
__name: "llm-dialog-footer",
|
|
583
583
|
setup(e) {
|
|
@@ -585,7 +585,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
585
585
|
h(t.$slots, "default")
|
|
586
586
|
]));
|
|
587
587
|
}
|
|
588
|
-
}), He = ["aria-labelledby"], W = /* @__PURE__ */ Symbol("LlmDrawer"),
|
|
588
|
+
}), He = ["aria-labelledby"], W = /* @__PURE__ */ Symbol("LlmDrawer"), _t = /* @__PURE__ */ p({
|
|
589
589
|
name: "LlmDrawer",
|
|
590
590
|
__name: "llm-drawer",
|
|
591
591
|
props: {
|
|
@@ -647,7 +647,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
647
647
|
])
|
|
648
648
|
], 42, He));
|
|
649
649
|
}
|
|
650
|
-
}), je = ["id"], Ge = { class: "header-content" },
|
|
650
|
+
}), je = ["id"], Ge = { class: "header-content" }, wt = /* @__PURE__ */ p({
|
|
651
651
|
name: "LlmDrawerHeader",
|
|
652
652
|
__name: "llm-drawer-header",
|
|
653
653
|
setup(e) {
|
|
@@ -694,7 +694,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
694
694
|
])])
|
|
695
695
|
], 8, je));
|
|
696
696
|
}
|
|
697
|
-
}), Oe = { class: "llm-drawer-content" },
|
|
697
|
+
}), Oe = { class: "llm-drawer-content" }, Lt = /* @__PURE__ */ p({
|
|
698
698
|
name: "LlmDrawerContent",
|
|
699
699
|
__name: "llm-drawer-content",
|
|
700
700
|
setup(e) {
|
|
@@ -702,7 +702,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
702
702
|
h(t.$slots, "default")
|
|
703
703
|
]));
|
|
704
704
|
}
|
|
705
|
-
}), Fe = { class: "llm-drawer-footer" },
|
|
705
|
+
}), Fe = { class: "llm-drawer-footer" }, xt = /* @__PURE__ */ p({
|
|
706
706
|
name: "LlmDrawerFooter",
|
|
707
707
|
__name: "llm-drawer-footer",
|
|
708
708
|
setup(e) {
|
|
@@ -710,11 +710,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
710
710
|
h(t.$slots, "default")
|
|
711
711
|
]));
|
|
712
712
|
}
|
|
713
|
-
}), Pe = ["for"], Ke = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"],
|
|
713
|
+
}), Pe = ["for"], Ke = { class: "input-field" }, Ve = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Ne = {
|
|
714
714
|
key: 1,
|
|
715
715
|
class: "errors",
|
|
716
716
|
"aria-live": "polite"
|
|
717
|
-
},
|
|
717
|
+
}, Bt = /* @__PURE__ */ p({
|
|
718
718
|
name: "LlmInput",
|
|
719
719
|
__name: "llm-input",
|
|
720
720
|
props: {
|
|
@@ -744,19 +744,21 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
744
744
|
for: l.value,
|
|
745
745
|
class: "input-label"
|
|
746
746
|
}, x(e.label), 9, Pe)) : k("", !0),
|
|
747
|
-
c("
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
747
|
+
c("div", Ke, [
|
|
748
|
+
c("input", {
|
|
749
|
+
id: l.value,
|
|
750
|
+
type: e.type,
|
|
751
|
+
value: e.value,
|
|
752
|
+
placeholder: e.placeholder,
|
|
753
|
+
disabled: e.disabled,
|
|
754
|
+
readonly: e.readonly,
|
|
755
|
+
required: e.required,
|
|
756
|
+
name: e.name,
|
|
757
|
+
"aria-invalid": e.invalid || void 0,
|
|
758
|
+
onInput: d
|
|
759
|
+
}, null, 40, Ve)
|
|
760
|
+
]),
|
|
761
|
+
e.errors.length ? (s(), n("ul", Ne, [
|
|
760
762
|
(s(!0), n(D, null, z(e.errors, (o, m) => (s(), n("li", {
|
|
761
763
|
key: m,
|
|
762
764
|
class: "error"
|
|
@@ -764,7 +766,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
764
766
|
])) : k("", !0)
|
|
765
767
|
], 2));
|
|
766
768
|
}
|
|
767
|
-
}),
|
|
769
|
+
}), Ue = { class: "llm-menu-trigger-wrapper" }, X = /* @__PURE__ */ Symbol("LlmMenuTrigger"), Ct = /* @__PURE__ */ p({
|
|
768
770
|
name: "LlmMenuTrigger",
|
|
769
771
|
__name: "llm-menu-trigger",
|
|
770
772
|
setup(e) {
|
|
@@ -788,7 +790,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
788
790
|
document.addEventListener("mousedown", u), document.addEventListener("keydown", i);
|
|
789
791
|
}), F(() => {
|
|
790
792
|
document.removeEventListener("mousedown", u), document.removeEventListener("keydown", i);
|
|
791
|
-
}), (o, m) => (s(), n("div",
|
|
793
|
+
}), (o, m) => (s(), n("div", Ue, [
|
|
792
794
|
c("span", {
|
|
793
795
|
ref_key: "triggerRef",
|
|
794
796
|
ref: a,
|
|
@@ -806,7 +808,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
806
808
|
], 512)) : k("", !0)
|
|
807
809
|
]));
|
|
808
810
|
}
|
|
809
|
-
}),
|
|
811
|
+
}), Tt = /* @__PURE__ */ p({
|
|
810
812
|
name: "LlmMenu",
|
|
811
813
|
__name: "llm-menu",
|
|
812
814
|
props: {
|
|
@@ -821,7 +823,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
821
823
|
h(r.$slots, "default")
|
|
822
824
|
], 2));
|
|
823
825
|
}
|
|
824
|
-
}),
|
|
826
|
+
}), Ze = ["disabled"], Dt = /* @__PURE__ */ p({
|
|
825
827
|
name: "LlmMenuItem",
|
|
826
828
|
__name: "llm-menu-item",
|
|
827
829
|
props: {
|
|
@@ -842,25 +844,25 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
842
844
|
onClick: d
|
|
843
845
|
}, [
|
|
844
846
|
h(i.$slots, "default")
|
|
845
|
-
], 10,
|
|
847
|
+
], 10, Ze));
|
|
846
848
|
}
|
|
847
|
-
}),
|
|
849
|
+
}), Je = {
|
|
848
850
|
class: "llm-menu-separator",
|
|
849
851
|
role: "separator"
|
|
850
|
-
},
|
|
852
|
+
}, It = /* @__PURE__ */ p({
|
|
851
853
|
name: "LlmMenuSeparator",
|
|
852
854
|
__name: "llm-menu-separator",
|
|
853
855
|
setup(e) {
|
|
854
|
-
return (t, a) => (s(), n("hr",
|
|
856
|
+
return (t, a) => (s(), n("hr", Je));
|
|
855
857
|
}
|
|
856
|
-
}),
|
|
858
|
+
}), Qe = {
|
|
857
859
|
class: "llm-pagination",
|
|
858
860
|
"aria-label": "Pagination"
|
|
859
|
-
},
|
|
861
|
+
}, We = ["disabled"], Xe = ["disabled"], Ye = {
|
|
860
862
|
key: 0,
|
|
861
863
|
class: "ellipsis",
|
|
862
864
|
"aria-hidden": "true"
|
|
863
|
-
},
|
|
865
|
+
}, ea = ["aria-label", "aria-current", "onClick"], aa = ["disabled"], ta = ["disabled"], St = /* @__PURE__ */ p({
|
|
864
866
|
name: "LlmPagination",
|
|
865
867
|
__name: "llm-pagination",
|
|
866
868
|
props: {
|
|
@@ -886,47 +888,47 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
886
888
|
const o = Math.min(Math.max(i, 1), a.pageCount);
|
|
887
889
|
o !== a.page && r("pageChange", o);
|
|
888
890
|
}
|
|
889
|
-
return (i, o) => (s(), n("nav",
|
|
891
|
+
return (i, o) => (s(), n("nav", Qe, [
|
|
890
892
|
e.showFirstLast ? (s(), n("button", {
|
|
891
893
|
key: 0,
|
|
892
894
|
class: "page-btn nav-btn",
|
|
893
895
|
disabled: e.page <= 1,
|
|
894
896
|
"aria-label": "First page",
|
|
895
897
|
onClick: o[0] || (o[0] = (m) => u(1))
|
|
896
|
-
}, " « ", 8,
|
|
898
|
+
}, " « ", 8, We)) : k("", !0),
|
|
897
899
|
c("button", {
|
|
898
900
|
class: "page-btn nav-btn",
|
|
899
901
|
disabled: e.page <= 1,
|
|
900
902
|
"aria-label": "Previous page",
|
|
901
903
|
onClick: o[1] || (o[1] = (m) => u(e.page - 1))
|
|
902
|
-
}, " ‹ ", 8,
|
|
904
|
+
}, " ‹ ", 8, Xe),
|
|
903
905
|
(s(!0), n(D, null, z(d.value, (m) => (s(), n(D, {
|
|
904
906
|
key: m.type === "page" ? m.page : m.key
|
|
905
907
|
}, [
|
|
906
|
-
m.type === "ellipsis" ? (s(), n("span",
|
|
908
|
+
m.type === "ellipsis" ? (s(), n("span", Ye, "…")) : (s(), n("button", {
|
|
907
909
|
key: 1,
|
|
908
910
|
class: g(["page-btn", { active: m.page === e.page }]),
|
|
909
911
|
"aria-label": `Page ${m.page}`,
|
|
910
912
|
"aria-current": m.page === e.page ? "page" : void 0,
|
|
911
913
|
onClick: ($) => u(m.page)
|
|
912
|
-
}, x(m.page), 11,
|
|
914
|
+
}, x(m.page), 11, ea))
|
|
913
915
|
], 64))), 128)),
|
|
914
916
|
c("button", {
|
|
915
917
|
class: "page-btn nav-btn",
|
|
916
918
|
disabled: e.page >= e.pageCount,
|
|
917
919
|
"aria-label": "Next page",
|
|
918
920
|
onClick: o[2] || (o[2] = (m) => u(e.page + 1))
|
|
919
|
-
}, " › ", 8,
|
|
921
|
+
}, " › ", 8, aa),
|
|
920
922
|
e.showFirstLast ? (s(), n("button", {
|
|
921
923
|
key: 1,
|
|
922
924
|
class: "page-btn nav-btn",
|
|
923
925
|
disabled: e.page >= e.pageCount,
|
|
924
926
|
"aria-label": "Last page",
|
|
925
927
|
onClick: o[3] || (o[3] = (m) => u(e.pageCount))
|
|
926
|
-
}, " » ", 8,
|
|
928
|
+
}, " » ", 8, ta)) : k("", !0)
|
|
927
929
|
]));
|
|
928
930
|
}
|
|
929
|
-
}),
|
|
931
|
+
}), la = ["aria-valuenow", "aria-valuemax"], sa = { class: "track" }, Mt = /* @__PURE__ */ p({
|
|
930
932
|
name: "LlmProgress",
|
|
931
933
|
__name: "llm-progress",
|
|
932
934
|
props: {
|
|
@@ -952,15 +954,15 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
952
954
|
"aria-valuenow": e.indeterminate ? void 0 : a.value,
|
|
953
955
|
"aria-valuemax": e.indeterminate ? void 0 : e.max
|
|
954
956
|
}, [
|
|
955
|
-
c("div",
|
|
957
|
+
c("div", sa, [
|
|
956
958
|
c("div", {
|
|
957
959
|
class: "fill",
|
|
958
960
|
style: P({ width: r.value })
|
|
959
961
|
}, null, 4)
|
|
960
962
|
])
|
|
961
|
-
], 10,
|
|
963
|
+
], 10, la));
|
|
962
964
|
}
|
|
963
|
-
}),
|
|
965
|
+
}), na = { class: "llm-combobox-wrapper" }, oa = ["aria-expanded", "aria-activedescendant", "aria-invalid", "disabled", "readonly", "required", "name", "placeholder", "value"], ia = ["id", "aria-selected", "aria-disabled", "onMousedown", "onMouseenter"], ra = {
|
|
964
966
|
key: 0,
|
|
965
967
|
class: "llm-combobox-check",
|
|
966
968
|
width: "14",
|
|
@@ -968,17 +970,17 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
968
970
|
viewBox: "0 0 14 14",
|
|
969
971
|
fill: "none",
|
|
970
972
|
"aria-hidden": "true"
|
|
971
|
-
},
|
|
973
|
+
}, da = {
|
|
972
974
|
key: 1,
|
|
973
975
|
class: "llm-combobox-no-results",
|
|
974
976
|
role: "option",
|
|
975
977
|
"aria-disabled": "true"
|
|
976
|
-
},
|
|
978
|
+
}, ua = {
|
|
977
979
|
key: 1,
|
|
978
980
|
class: "llm-combobox-errors",
|
|
979
981
|
role: "alert",
|
|
980
982
|
"aria-live": "polite"
|
|
981
|
-
},
|
|
983
|
+
}, zt = /* @__PURE__ */ p({
|
|
982
984
|
name: "LlmCombobox",
|
|
983
985
|
__name: "llm-combobox",
|
|
984
986
|
props: {
|
|
@@ -1083,7 +1085,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1083
1085
|
ref: d,
|
|
1084
1086
|
class: g(f.value)
|
|
1085
1087
|
}, [
|
|
1086
|
-
c("div",
|
|
1088
|
+
c("div", na, [
|
|
1087
1089
|
c("input", {
|
|
1088
1090
|
ref_key: "inputRef",
|
|
1089
1091
|
ref: l,
|
|
@@ -1107,7 +1109,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1107
1109
|
onFocus: le,
|
|
1108
1110
|
onBlur: se,
|
|
1109
1111
|
onKeydown: ne
|
|
1110
|
-
}, null, 40,
|
|
1112
|
+
}, null, 40, oa),
|
|
1111
1113
|
M[0] || (M[0] = c("span", {
|
|
1112
1114
|
class: "llm-combobox-icon",
|
|
1113
1115
|
"aria-hidden": "true"
|
|
@@ -1151,7 +1153,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1151
1153
|
onMouseenter: (oe) => o.value = G
|
|
1152
1154
|
}, [
|
|
1153
1155
|
c("span", null, x(T.label), 1),
|
|
1154
|
-
T.value === e.value ? (s(), n("svg",
|
|
1156
|
+
T.value === e.value ? (s(), n("svg", ra, [...M[1] || (M[1] = [
|
|
1155
1157
|
c("path", {
|
|
1156
1158
|
d: "M2 7l4 4 6-7",
|
|
1157
1159
|
stroke: "currentColor",
|
|
@@ -1160,9 +1162,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1160
1162
|
"stroke-linejoin": "round"
|
|
1161
1163
|
}, null, -1)
|
|
1162
1164
|
])])) : k("", !0)
|
|
1163
|
-
], 42,
|
|
1165
|
+
], 42, ia))), 128)) : (s(), n("li", da, " No results found. "))
|
|
1164
1166
|
])) : k("", !0),
|
|
1165
|
-
e.invalid && e.errors.length > 0 ? (s(), n("div",
|
|
1167
|
+
e.invalid && e.errors.length > 0 ? (s(), n("div", ua, [
|
|
1166
1168
|
(s(!0), n(D, null, z(e.errors, (T, G) => (s(), n("p", {
|
|
1167
1169
|
key: G,
|
|
1168
1170
|
class: "llm-combobox-error-message"
|
|
@@ -1170,11 +1172,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1170
1172
|
])) : k("", !0)
|
|
1171
1173
|
], 2));
|
|
1172
1174
|
}
|
|
1173
|
-
}),
|
|
1175
|
+
}), ca = ["aria-invalid", "aria-required"], ma = {
|
|
1174
1176
|
key: 0,
|
|
1175
1177
|
class: "errors",
|
|
1176
1178
|
role: "alert"
|
|
1177
|
-
}, Y = /* @__PURE__ */ Symbol("LlmRadioGroup"),
|
|
1179
|
+
}, Y = /* @__PURE__ */ Symbol("LlmRadioGroup"), qt = /* @__PURE__ */ p({
|
|
1178
1180
|
name: "LlmRadioGroup",
|
|
1179
1181
|
__name: "llm-radio-group",
|
|
1180
1182
|
props: {
|
|
@@ -1221,18 +1223,18 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1221
1223
|
"aria-required": e.required || void 0
|
|
1222
1224
|
}, [
|
|
1223
1225
|
h(d.$slots, "default"),
|
|
1224
|
-
e.errors.length > 0 ? (s(), n("div",
|
|
1226
|
+
e.errors.length > 0 ? (s(), n("div", ma, [
|
|
1225
1227
|
(s(!0), n(D, null, z(e.errors, (i, o) => (s(), n("p", {
|
|
1226
1228
|
key: o,
|
|
1227
1229
|
class: "error-message"
|
|
1228
1230
|
}, x(i), 1))), 128))
|
|
1229
1231
|
])) : k("", !0)
|
|
1230
|
-
], 10,
|
|
1232
|
+
], 10, ca));
|
|
1231
1233
|
}
|
|
1232
|
-
}),
|
|
1234
|
+
}), fa = ["name", "value", "checked", "disabled"], va = {
|
|
1233
1235
|
key: 0,
|
|
1234
1236
|
class: "radio-text"
|
|
1235
|
-
},
|
|
1237
|
+
}, At = /* @__PURE__ */ p({
|
|
1236
1238
|
name: "LlmRadio",
|
|
1237
1239
|
__name: "llm-radio",
|
|
1238
1240
|
props: {
|
|
@@ -1268,22 +1270,22 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1268
1270
|
disabled: r.value,
|
|
1269
1271
|
class: "radio-input",
|
|
1270
1272
|
onChange: u
|
|
1271
|
-
}, null, 40,
|
|
1273
|
+
}, null, 40, fa),
|
|
1272
1274
|
o[0] || (o[0] = c("span", {
|
|
1273
1275
|
class: "radio-indicator",
|
|
1274
1276
|
"aria-hidden": "true"
|
|
1275
1277
|
}, null, -1)),
|
|
1276
|
-
i.$slots.default ? (s(), n("span",
|
|
1278
|
+
i.$slots.default ? (s(), n("span", va, [
|
|
1277
1279
|
h(i.$slots, "default")
|
|
1278
1280
|
])) : k("", !0)
|
|
1279
1281
|
], 2));
|
|
1280
1282
|
}
|
|
1281
|
-
}),
|
|
1283
|
+
}), pa = ["for"], ba = { class: "select-wrapper" }, ha = ["id", "name", "value", "disabled", "required", "aria-invalid", "aria-describedby"], ga = {
|
|
1282
1284
|
key: 0,
|
|
1283
1285
|
value: "",
|
|
1284
1286
|
disabled: "",
|
|
1285
1287
|
hidden: ""
|
|
1286
|
-
},
|
|
1288
|
+
}, ya = ["id"], Rt = /* @__PURE__ */ p({
|
|
1287
1289
|
name: "LlmSelect",
|
|
1288
1290
|
__name: "llm-select",
|
|
1289
1291
|
props: {
|
|
@@ -1314,8 +1316,8 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1314
1316
|
key: 0,
|
|
1315
1317
|
for: q(l),
|
|
1316
1318
|
class: "select-label"
|
|
1317
|
-
}, x(e.label), 9,
|
|
1318
|
-
c("div",
|
|
1319
|
+
}, x(e.label), 9, pa)) : k("", !0),
|
|
1320
|
+
c("div", ba, [
|
|
1319
1321
|
c("select", {
|
|
1320
1322
|
id: q(l),
|
|
1321
1323
|
name: e.name,
|
|
@@ -1327,9 +1329,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1327
1329
|
class: "select-native",
|
|
1328
1330
|
onChange: i
|
|
1329
1331
|
}, [
|
|
1330
|
-
e.placeholder ? (s(), n("option",
|
|
1332
|
+
e.placeholder ? (s(), n("option", ga, x(e.placeholder), 1)) : k("", !0),
|
|
1331
1333
|
h(o.$slots, "default")
|
|
1332
|
-
], 40,
|
|
1334
|
+
], 40, ha),
|
|
1333
1335
|
m[0] || (m[0] = c("span", {
|
|
1334
1336
|
class: "select-arrow",
|
|
1335
1337
|
"aria-hidden": "true"
|
|
@@ -1345,10 +1347,10 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1345
1347
|
key: y,
|
|
1346
1348
|
class: "error-message"
|
|
1347
1349
|
}, x($), 1))), 128))
|
|
1348
|
-
], 8,
|
|
1350
|
+
], 8, ya)) : k("", !0)
|
|
1349
1351
|
], 2));
|
|
1350
1352
|
}
|
|
1351
|
-
}),
|
|
1353
|
+
}), $a = ["value", "disabled"], Et = /* @__PURE__ */ p({
|
|
1352
1354
|
name: "LlmOption",
|
|
1353
1355
|
__name: "llm-option",
|
|
1354
1356
|
props: {
|
|
@@ -1361,9 +1363,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1361
1363
|
disabled: e.disabled
|
|
1362
1364
|
}, [
|
|
1363
1365
|
h(t.$slots, "default")
|
|
1364
|
-
], 8,
|
|
1366
|
+
], 8, $a));
|
|
1365
1367
|
}
|
|
1366
|
-
}),
|
|
1368
|
+
}), Ht = /* @__PURE__ */ p({
|
|
1367
1369
|
name: "LlmSkeleton",
|
|
1368
1370
|
__name: "llm-skeleton",
|
|
1369
1371
|
props: {
|
|
@@ -1401,30 +1403,30 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1401
1403
|
"aria-hidden": "true"
|
|
1402
1404
|
}, null, 6));
|
|
1403
1405
|
}
|
|
1404
|
-
}),
|
|
1406
|
+
}), ka = {
|
|
1405
1407
|
class: "stepper-header",
|
|
1406
1408
|
role: "tablist"
|
|
1407
|
-
},
|
|
1409
|
+
}, _a = ["id", "aria-label", "aria-selected", "aria-controls", "aria-disabled", "tabindex", "disabled", "onClick"], wa = {
|
|
1408
1410
|
key: 0,
|
|
1409
1411
|
width: "14",
|
|
1410
1412
|
height: "14",
|
|
1411
1413
|
viewBox: "0 0 14 14",
|
|
1412
1414
|
fill: "none",
|
|
1413
1415
|
"aria-hidden": "true"
|
|
1414
|
-
},
|
|
1416
|
+
}, La = {
|
|
1415
1417
|
key: 1,
|
|
1416
1418
|
width: "14",
|
|
1417
1419
|
height: "14",
|
|
1418
1420
|
viewBox: "0 0 14 14",
|
|
1419
1421
|
fill: "none",
|
|
1420
1422
|
"aria-hidden": "true"
|
|
1421
|
-
},
|
|
1423
|
+
}, xa = { class: "step-text" }, Ba = { class: "step-label" }, Ca = {
|
|
1422
1424
|
key: 0,
|
|
1423
1425
|
class: "step-description"
|
|
1424
|
-
},
|
|
1426
|
+
}, Ta = {
|
|
1425
1427
|
key: 1,
|
|
1426
1428
|
class: "step-optional"
|
|
1427
|
-
},
|
|
1429
|
+
}, Da = { class: "stepper-content" }, ee = /* @__PURE__ */ Symbol("LlmStepper"), jt = /* @__PURE__ */ p({
|
|
1428
1430
|
name: "LlmStepper",
|
|
1429
1431
|
__name: "llm-stepper",
|
|
1430
1432
|
props: {
|
|
@@ -1479,7 +1481,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1479
1481
|
return (f, C) => (s(), n("div", {
|
|
1480
1482
|
class: g(L.value)
|
|
1481
1483
|
}, [
|
|
1482
|
-
c("div",
|
|
1484
|
+
c("div", ka, [
|
|
1483
1485
|
(s(!0), n(D, null, z(d.value, (w, S) => (s(), n(D, {
|
|
1484
1486
|
key: w.id
|
|
1485
1487
|
}, [
|
|
@@ -1504,7 +1506,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1504
1506
|
disabled: w.disabled || void 0,
|
|
1505
1507
|
onClick: (K) => $(S)
|
|
1506
1508
|
}, [
|
|
1507
|
-
w.completed && !w.error ? (s(), n("svg",
|
|
1509
|
+
w.completed && !w.error ? (s(), n("svg", wa, [...C[0] || (C[0] = [
|
|
1508
1510
|
c("path", {
|
|
1509
1511
|
d: "M2 7L5.5 10.5L12 3.5",
|
|
1510
1512
|
stroke: "currentColor",
|
|
@@ -1512,7 +1514,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1512
1514
|
"stroke-linecap": "round",
|
|
1513
1515
|
"stroke-linejoin": "round"
|
|
1514
1516
|
}, null, -1)
|
|
1515
|
-
])])) : w.error ? (s(), n("svg",
|
|
1517
|
+
])])) : w.error ? (s(), n("svg", La, [...C[1] || (C[1] = [
|
|
1516
1518
|
c("path", {
|
|
1517
1519
|
d: "M3 3L11 11M11 3L3 11",
|
|
1518
1520
|
stroke: "currentColor",
|
|
@@ -1522,11 +1524,11 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1522
1524
|
])])) : (s(), n(D, { key: 2 }, [
|
|
1523
1525
|
O(x(S + 1), 1)
|
|
1524
1526
|
], 64))
|
|
1525
|
-
], 8,
|
|
1526
|
-
c("div",
|
|
1527
|
-
c("span",
|
|
1528
|
-
w.description ? (s(), n("span",
|
|
1529
|
-
w.optional && !w.completed ? (s(), n("span",
|
|
1527
|
+
], 8, _a),
|
|
1528
|
+
c("div", xa, [
|
|
1529
|
+
c("span", Ba, x(w.label), 1),
|
|
1530
|
+
w.description ? (s(), n("span", Ca, x(w.description), 1)) : k("", !0),
|
|
1531
|
+
w.optional && !w.completed ? (s(), n("span", Ta, "Optional")) : k("", !0)
|
|
1530
1532
|
])
|
|
1531
1533
|
], 2),
|
|
1532
1534
|
S < d.value.length - 1 ? (s(), n("div", {
|
|
@@ -1535,12 +1537,12 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1535
1537
|
}, null, 2)) : k("", !0)
|
|
1536
1538
|
], 64))), 128))
|
|
1537
1539
|
]),
|
|
1538
|
-
c("div",
|
|
1540
|
+
c("div", Da, [
|
|
1539
1541
|
h(f.$slots, "default")
|
|
1540
1542
|
])
|
|
1541
1543
|
], 2));
|
|
1542
1544
|
}
|
|
1543
|
-
}),
|
|
1545
|
+
}), Ia = ["id", "aria-labelledby", "hidden"], Gt = /* @__PURE__ */ p({
|
|
1544
1546
|
name: "LlmStep",
|
|
1545
1547
|
__name: "llm-step",
|
|
1546
1548
|
props: {
|
|
@@ -1588,9 +1590,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1588
1590
|
tabindex: "0"
|
|
1589
1591
|
}, [
|
|
1590
1592
|
h(u.$slots, "default")
|
|
1591
|
-
], 8,
|
|
1593
|
+
], 8, Ia)) : k("", !0);
|
|
1592
1594
|
}
|
|
1593
|
-
}),
|
|
1595
|
+
}), Sa = { class: "llm-table-wrapper" }, Ot = /* @__PURE__ */ p({
|
|
1594
1596
|
name: "LlmTable",
|
|
1595
1597
|
__name: "llm-table",
|
|
1596
1598
|
props: {
|
|
@@ -1608,14 +1610,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1608
1610
|
return (r, l) => (s(), n("div", {
|
|
1609
1611
|
class: g(a.value)
|
|
1610
1612
|
}, [
|
|
1611
|
-
c("div",
|
|
1613
|
+
c("div", Sa, [
|
|
1612
1614
|
c("table", null, [
|
|
1613
1615
|
h(r.$slots, "default")
|
|
1614
1616
|
])
|
|
1615
1617
|
])
|
|
1616
1618
|
], 2));
|
|
1617
1619
|
}
|
|
1618
|
-
}),
|
|
1620
|
+
}), Ft = /* @__PURE__ */ p({
|
|
1619
1621
|
name: "LlmThead",
|
|
1620
1622
|
__name: "llm-thead",
|
|
1621
1623
|
setup(e) {
|
|
@@ -1623,7 +1625,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1623
1625
|
h(t.$slots, "default")
|
|
1624
1626
|
]));
|
|
1625
1627
|
}
|
|
1626
|
-
}),
|
|
1628
|
+
}), Ma = { key: 1 }, za = ["colspan"], Pt = /* @__PURE__ */ p({
|
|
1627
1629
|
name: "LlmTbody",
|
|
1628
1630
|
__name: "llm-tbody",
|
|
1629
1631
|
props: {
|
|
@@ -1632,20 +1634,20 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1632
1634
|
},
|
|
1633
1635
|
setup(e) {
|
|
1634
1636
|
return (t, a) => (s(), n("tbody", null, [
|
|
1635
|
-
e.empty ? (s(), n("tr",
|
|
1637
|
+
e.empty ? (s(), n("tr", Ma, [
|
|
1636
1638
|
c("td", {
|
|
1637
1639
|
colspan: e.colSpan,
|
|
1638
1640
|
class: "llm-tbody-empty-cell"
|
|
1639
1641
|
}, [
|
|
1640
1642
|
h(t.$slots, "empty")
|
|
1641
|
-
], 8,
|
|
1643
|
+
], 8, za)
|
|
1642
1644
|
])) : h(t.$slots, "default", { key: 0 })
|
|
1643
1645
|
]));
|
|
1644
1646
|
}
|
|
1645
|
-
}),
|
|
1647
|
+
}), qa = ["aria-selected"], Aa = {
|
|
1646
1648
|
key: 0,
|
|
1647
1649
|
class: "llm-tr-select-cell"
|
|
1648
|
-
},
|
|
1650
|
+
}, Kt = /* @__PURE__ */ p({
|
|
1649
1651
|
name: "LlmTr",
|
|
1650
1652
|
__name: "llm-tr",
|
|
1651
1653
|
props: {
|
|
@@ -1659,16 +1661,16 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1659
1661
|
"aria-selected": e.selectable ? e.selected : void 0,
|
|
1660
1662
|
class: g({ "is-selected": e.selected })
|
|
1661
1663
|
}, [
|
|
1662
|
-
e.selectable ? (s(), n("td",
|
|
1664
|
+
e.selectable ? (s(), n("td", Aa, [
|
|
1663
1665
|
de(Me, {
|
|
1664
1666
|
checked: e.selected,
|
|
1665
1667
|
"onUpdate:checked": l[0] || (l[0] = (d) => a("update:selected", d))
|
|
1666
1668
|
}, null, 8, ["checked"])
|
|
1667
1669
|
])) : k("", !0),
|
|
1668
1670
|
h(r.$slots, "default")
|
|
1669
|
-
], 10,
|
|
1671
|
+
], 10, qa));
|
|
1670
1672
|
}
|
|
1671
|
-
}),
|
|
1673
|
+
}), Ra = ["aria-sort"], Vt = /* @__PURE__ */ p({
|
|
1672
1674
|
name: "LlmTh",
|
|
1673
1675
|
__name: "llm-th",
|
|
1674
1676
|
props: {
|
|
@@ -1726,9 +1728,9 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1726
1728
|
})
|
|
1727
1729
|
], -1))
|
|
1728
1730
|
])) : h(i.$slots, "default", { key: 1 })
|
|
1729
|
-
], 14,
|
|
1731
|
+
], 14, Ra));
|
|
1730
1732
|
}
|
|
1731
|
-
}),
|
|
1733
|
+
}), Nt = /* @__PURE__ */ p({
|
|
1732
1734
|
name: "LlmTd",
|
|
1733
1735
|
__name: "llm-td",
|
|
1734
1736
|
props: {
|
|
@@ -1742,7 +1744,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1742
1744
|
h(r.$slots, "default")
|
|
1743
1745
|
], 2));
|
|
1744
1746
|
}
|
|
1745
|
-
}),
|
|
1747
|
+
}), Ea = ["id", "aria-selected", "aria-controls", "tabindex", "disabled", "onClick"], Ha = { class: "tab-panels" }, ae = /* @__PURE__ */ Symbol("LlmTabGroup"), Ut = /* @__PURE__ */ p({
|
|
1746
1748
|
name: "LlmTabGroup",
|
|
1747
1749
|
__name: "llm-tab-group",
|
|
1748
1750
|
props: {
|
|
@@ -1812,14 +1814,14 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1812
1814
|
class: g(["tab-button", f === l.value && "is-active", _.disabled && "is-disabled"]),
|
|
1813
1815
|
type: "button",
|
|
1814
1816
|
onClick: (C) => !_.disabled && o(f)
|
|
1815
|
-
}, x(_.label), 11,
|
|
1817
|
+
}, x(_.label), 11, Ea))), 128))
|
|
1816
1818
|
], 32),
|
|
1817
|
-
c("div",
|
|
1819
|
+
c("div", Ha, [
|
|
1818
1820
|
h(b.$slots, "default", { groupId: $ })
|
|
1819
1821
|
])
|
|
1820
1822
|
], 2));
|
|
1821
1823
|
}
|
|
1822
|
-
}),
|
|
1824
|
+
}), ja = ["hidden"], Zt = /* @__PURE__ */ p({
|
|
1823
1825
|
name: "LlmTab",
|
|
1824
1826
|
__name: "llm-tab",
|
|
1825
1827
|
props: {
|
|
@@ -1844,13 +1846,13 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1844
1846
|
tabindex: "0"
|
|
1845
1847
|
}, [
|
|
1846
1848
|
h(u.$slots, "default")
|
|
1847
|
-
], 8,
|
|
1849
|
+
], 8, ja)) : k("", !0);
|
|
1848
1850
|
}
|
|
1849
|
-
}),
|
|
1851
|
+
}), Ga = ["for"], Oa = { class: "textarea-field" }, Fa = ["id", "value", "rows", "placeholder", "disabled", "readonly", "required", "name", "aria-invalid"], Pa = {
|
|
1850
1852
|
key: 1,
|
|
1851
1853
|
class: "errors",
|
|
1852
1854
|
"aria-live": "polite"
|
|
1853
|
-
},
|
|
1855
|
+
}, Jt = /* @__PURE__ */ p({
|
|
1854
1856
|
name: "LlmTextarea",
|
|
1855
1857
|
__name: "llm-textarea",
|
|
1856
1858
|
props: {
|
|
@@ -1886,22 +1888,24 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1886
1888
|
key: 0,
|
|
1887
1889
|
for: d.value,
|
|
1888
1890
|
class: "textarea-label"
|
|
1889
|
-
}, x(e.label), 9,
|
|
1890
|
-
c("
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1891
|
+
}, x(e.label), 9, Ga)) : k("", !0),
|
|
1892
|
+
c("div", Oa, [
|
|
1893
|
+
c("textarea", {
|
|
1894
|
+
id: d.value,
|
|
1895
|
+
ref_key: "textareaRef",
|
|
1896
|
+
ref: l,
|
|
1897
|
+
value: e.value,
|
|
1898
|
+
rows: e.rows,
|
|
1899
|
+
placeholder: e.placeholder,
|
|
1900
|
+
disabled: e.disabled,
|
|
1901
|
+
readonly: e.readonly,
|
|
1902
|
+
required: e.required,
|
|
1903
|
+
name: e.name,
|
|
1904
|
+
"aria-invalid": e.invalid || void 0,
|
|
1905
|
+
onInput: i
|
|
1906
|
+
}, null, 40, Fa)
|
|
1907
|
+
]),
|
|
1908
|
+
e.errors.length ? (s(), n("ul", Pa, [
|
|
1905
1909
|
(s(!0), n(D, null, z(e.errors, ($, y) => (s(), n("li", {
|
|
1906
1910
|
key: y,
|
|
1907
1911
|
class: "error"
|
|
@@ -1910,7 +1914,7 @@ const J = /* @__PURE__ */ Symbol("LlmAccordionGroup"), tt = /* @__PURE__ */ p({
|
|
|
1910
1914
|
], 2));
|
|
1911
1915
|
}
|
|
1912
1916
|
}), V = /* @__PURE__ */ Symbol("LlmToast");
|
|
1913
|
-
function
|
|
1917
|
+
function Qt() {
|
|
1914
1918
|
const e = R(V);
|
|
1915
1919
|
if (!e)
|
|
1916
1920
|
throw new Error(
|
|
@@ -1918,7 +1922,7 @@ function Zt() {
|
|
|
1918
1922
|
);
|
|
1919
1923
|
return { show: e.show, dismiss: e.dismiss, clear: e.clear };
|
|
1920
1924
|
}
|
|
1921
|
-
const
|
|
1925
|
+
const Wt = /* @__PURE__ */ p({
|
|
1922
1926
|
name: "LlmToastProvider",
|
|
1923
1927
|
__name: "llm-toast-provider",
|
|
1924
1928
|
setup(e) {
|
|
@@ -1951,7 +1955,7 @@ const Jt = /* @__PURE__ */ p({
|
|
|
1951
1955
|
}
|
|
1952
1956
|
return E(V, { toasts: t, show: r, dismiss: l, clear: d }), (u, i) => h(u.$slots, "default");
|
|
1953
1957
|
}
|
|
1954
|
-
}),
|
|
1958
|
+
}), Ka = { class: "message" }, Va = /* @__PURE__ */ p({
|
|
1955
1959
|
name: "LlmToastItem",
|
|
1956
1960
|
__name: "llm-toast-item",
|
|
1957
1961
|
props: {
|
|
@@ -1964,7 +1968,7 @@ const Jt = /* @__PURE__ */ p({
|
|
|
1964
1968
|
class: g(l.value),
|
|
1965
1969
|
role: "status"
|
|
1966
1970
|
}, [
|
|
1967
|
-
c("span",
|
|
1971
|
+
c("span", Ka, x(e.data.message), 1),
|
|
1968
1972
|
e.data.dismissible ? (s(), n("button", {
|
|
1969
1973
|
key: 0,
|
|
1970
1974
|
class: "dismiss",
|
|
@@ -2000,7 +2004,7 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2000
2004
|
])])) : k("", !0)
|
|
2001
2005
|
], 2));
|
|
2002
2006
|
}
|
|
2003
|
-
}),
|
|
2007
|
+
}), Xt = /* @__PURE__ */ p({
|
|
2004
2008
|
name: "LlmToastContainer",
|
|
2005
2009
|
__name: "llm-toast-container",
|
|
2006
2010
|
props: {
|
|
@@ -2017,18 +2021,18 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2017
2021
|
"aria-live": "polite",
|
|
2018
2022
|
role: "status"
|
|
2019
2023
|
}, [
|
|
2020
|
-
(s(!0), n(D, null, z(r.value, (o) => (s(), N(
|
|
2024
|
+
(s(!0), n(D, null, z(r.value, (o) => (s(), N(Va, {
|
|
2021
2025
|
key: o.id,
|
|
2022
2026
|
data: o,
|
|
2023
2027
|
onDismiss: i[0] || (i[0] = (m) => l(m))
|
|
2024
2028
|
}, null, 8, ["data"]))), 128))
|
|
2025
2029
|
], 2));
|
|
2026
2030
|
}
|
|
2027
|
-
}),
|
|
2031
|
+
}), Na = ["for"], Ua = ["id", "checked", "disabled", "required", "name", "aria-invalid", "aria-checked"], Za = {
|
|
2028
2032
|
key: 0,
|
|
2029
2033
|
class: "errors",
|
|
2030
2034
|
"aria-live": "polite"
|
|
2031
|
-
},
|
|
2035
|
+
}, Yt = /* @__PURE__ */ p({
|
|
2032
2036
|
name: "LlmToggle",
|
|
2033
2037
|
__name: "llm-toggle",
|
|
2034
2038
|
props: {
|
|
@@ -2065,13 +2069,13 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2065
2069
|
"aria-invalid": e.invalid || void 0,
|
|
2066
2070
|
"aria-checked": e.checked,
|
|
2067
2071
|
onChange: d
|
|
2068
|
-
}, null, 40,
|
|
2072
|
+
}, null, 40, Ua),
|
|
2069
2073
|
i[0] || (i[0] = c("span", { class: "track" }, [
|
|
2070
2074
|
c("span", { class: "thumb" })
|
|
2071
2075
|
], -1)),
|
|
2072
2076
|
h(u.$slots, "default")
|
|
2073
|
-
], 8,
|
|
2074
|
-
e.errors.length ? (s(), n("ul",
|
|
2077
|
+
], 8, Na),
|
|
2078
|
+
e.errors.length ? (s(), n("ul", Za, [
|
|
2075
2079
|
(s(!0), n(D, null, z(e.errors, (o, m) => (s(), n("li", {
|
|
2076
2080
|
key: m,
|
|
2077
2081
|
class: "error"
|
|
@@ -2079,7 +2083,7 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2079
2083
|
])) : k("", !0)
|
|
2080
2084
|
], 2));
|
|
2081
2085
|
}
|
|
2082
|
-
}),
|
|
2086
|
+
}), el = /* @__PURE__ */ p({
|
|
2083
2087
|
name: "LlmTooltip",
|
|
2084
2088
|
__name: "llm-tooltip",
|
|
2085
2089
|
props: {
|
|
@@ -2124,7 +2128,7 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2124
2128
|
}, x(e.llmTooltip), 3)) : k("", !0)
|
|
2125
2129
|
], 32));
|
|
2126
2130
|
}
|
|
2127
|
-
}),
|
|
2131
|
+
}), Ja = { class: "llm-code-block" }, Qa = { class: "code-block-header" }, Wa = { class: "code-block-label" }, Xa = ["aria-label"], Ya = { class: "code-block-body" }, et = { class: "code-block-pre" }, at = { class: "code-line-number" }, tt = { class: "code-line-text" }, al = /* @__PURE__ */ p({
|
|
2128
2132
|
name: "LlmCodeBlock",
|
|
2129
2133
|
__name: "llm-code-block",
|
|
2130
2134
|
props: {
|
|
@@ -2144,9 +2148,9 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2144
2148
|
}, 1800);
|
|
2145
2149
|
});
|
|
2146
2150
|
}
|
|
2147
|
-
return (u, i) => (s(), n("div",
|
|
2148
|
-
c("div",
|
|
2149
|
-
c("span",
|
|
2151
|
+
return (u, i) => (s(), n("div", Ja, [
|
|
2152
|
+
c("div", Qa, [
|
|
2153
|
+
c("span", Wa, x(r.value), 1),
|
|
2150
2154
|
e.copyable ? (s(), n("button", {
|
|
2151
2155
|
key: 0,
|
|
2152
2156
|
class: "code-block-copy",
|
|
@@ -2195,17 +2199,17 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2195
2199
|
], -1)),
|
|
2196
2200
|
i[3] || (i[3] = O(" Copy ", -1))
|
|
2197
2201
|
], 64))
|
|
2198
|
-
], 8,
|
|
2202
|
+
], 8, Xa)) : k("", !0)
|
|
2199
2203
|
]),
|
|
2200
|
-
c("div",
|
|
2201
|
-
c("pre",
|
|
2204
|
+
c("div", Ya, [
|
|
2205
|
+
c("pre", et, [
|
|
2202
2206
|
c("code", null, [
|
|
2203
2207
|
e.showLineNumbers ? (s(!0), n(D, { key: 0 }, z(l.value, (o, m) => (s(), n("span", {
|
|
2204
2208
|
key: m,
|
|
2205
2209
|
class: "code-line"
|
|
2206
2210
|
}, [
|
|
2207
|
-
c("span",
|
|
2208
|
-
c("span",
|
|
2211
|
+
c("span", at, x(m + 1), 1),
|
|
2212
|
+
c("span", tt, x(o), 1)
|
|
2209
2213
|
]))), 128)) : (s(), n(D, { key: 1 }, [
|
|
2210
2214
|
O(x(e.code), 1)
|
|
2211
2215
|
], 64))
|
|
@@ -2216,58 +2220,58 @@ const Jt = /* @__PURE__ */ p({
|
|
|
2216
2220
|
}
|
|
2217
2221
|
});
|
|
2218
2222
|
export {
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2223
|
+
st as LlmAccordionGroup,
|
|
2224
|
+
ot as LlmAccordionHeader,
|
|
2225
|
+
nt as LlmAccordionItem,
|
|
2226
|
+
it as LlmAlert,
|
|
2227
|
+
rt as LlmAvatar,
|
|
2228
|
+
dt as LlmAvatarGroup,
|
|
2229
|
+
ut as LlmBadge,
|
|
2230
|
+
mt as LlmBreadcrumbItem,
|
|
2231
|
+
ct as LlmBreadcrumbs,
|
|
2232
|
+
ft as LlmButton,
|
|
2233
|
+
vt as LlmCard,
|
|
2234
|
+
bt as LlmCardContent,
|
|
2235
|
+
ht as LlmCardFooter,
|
|
2236
|
+
pt as LlmCardHeader,
|
|
2233
2237
|
Me as LlmCheckbox,
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2238
|
+
al as LlmCodeBlock,
|
|
2239
|
+
zt as LlmCombobox,
|
|
2240
|
+
gt as LlmDialog,
|
|
2241
|
+
$t as LlmDialogContent,
|
|
2242
|
+
kt as LlmDialogFooter,
|
|
2243
|
+
yt as LlmDialogHeader,
|
|
2244
|
+
_t as LlmDrawer,
|
|
2245
|
+
Lt as LlmDrawerContent,
|
|
2246
|
+
xt as LlmDrawerFooter,
|
|
2247
|
+
wt as LlmDrawerHeader,
|
|
2248
|
+
Bt as LlmInput,
|
|
2249
|
+
Tt as LlmMenu,
|
|
2250
|
+
Dt as LlmMenuItem,
|
|
2251
|
+
It as LlmMenuSeparator,
|
|
2252
|
+
Ct as LlmMenuTrigger,
|
|
2253
|
+
Et as LlmOption,
|
|
2254
|
+
St as LlmPagination,
|
|
2255
|
+
Mt as LlmProgress,
|
|
2256
|
+
At as LlmRadio,
|
|
2257
|
+
qt as LlmRadioGroup,
|
|
2258
|
+
Rt as LlmSelect,
|
|
2259
|
+
Ht as LlmSkeleton,
|
|
2260
|
+
Gt as LlmStep,
|
|
2261
|
+
jt as LlmStepper,
|
|
2262
|
+
Zt as LlmTab,
|
|
2263
|
+
Ut as LlmTabGroup,
|
|
2264
|
+
Ot as LlmTable,
|
|
2265
|
+
Pt as LlmTbody,
|
|
2266
|
+
Nt as LlmTd,
|
|
2267
|
+
Jt as LlmTextarea,
|
|
2268
|
+
Vt as LlmTh,
|
|
2269
|
+
Ft as LlmThead,
|
|
2270
|
+
Xt as LlmToastContainer,
|
|
2271
|
+
Va as LlmToastItem,
|
|
2272
|
+
Wt as LlmToastProvider,
|
|
2273
|
+
Yt as LlmToggle,
|
|
2274
|
+
el as LlmTooltip,
|
|
2275
|
+
Kt as LlmTr,
|
|
2276
|
+
Qt as useLlmToast
|
|
2273
2277
|
};
|