@velkymx/vibeui 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vibeui.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, computed as u, createElementBlock as l, createCommentVNode as o, openBlock as s, normalizeClass as d, renderSlot as p, createTextVNode as f, toDisplayString as b } from "vue";
2
- const g = /* @__PURE__ */ c({
1
+ import { defineComponent as v, computed as f, createElementBlock as n, createCommentVNode as $, openBlock as a, normalizeClass as m, renderSlot as b, createTextVNode as C, toDisplayString as S, createBlock as y, resolveDynamicComponent as V, withCtx as g, createElementVNode as d, normalizeStyle as M, unref as _, useSlots as j, Fragment as w, renderList as I, ref as T, watch as D, withDirectives as Q, vModelText as re, vModelSelect as ie, withModifiers as O } from "vue";
2
+ const Lt = /* @__PURE__ */ v({
3
3
  __name: "VibeAlert",
4
4
  props: {
5
5
  variant: { type: String, default: "primary" },
@@ -8,38 +8,1637 @@ const g = /* @__PURE__ */ c({
8
8
  message: { type: String, required: !0 }
9
9
  },
10
10
  emits: ["update:modelValue", "component-error"],
11
- setup(t, { emit: i }) {
12
- const n = t, a = i, r = u({
13
- get: () => n.modelValue,
14
- set: (e) => a("update:modelValue", e)
15
- }), m = () => {
11
+ setup(e, { emit: u }) {
12
+ const t = e, i = u, l = f({
13
+ get: () => t.modelValue,
14
+ set: (o) => i("update:modelValue", o)
15
+ }), s = () => {
16
16
  try {
17
- r.value = !1;
18
- } catch (e) {
19
- a("component-error", {
17
+ l.value = !1;
18
+ } catch (o) {
19
+ i("component-error", {
20
20
  message: "Dismiss failed",
21
21
  componentName: "VibeAlert",
22
- originalError: e
22
+ originalError: o
23
23
  });
24
24
  }
25
25
  };
26
- return (e, y) => r.value ? (s(), l("div", {
26
+ return (o, r) => l.value ? (a(), n("div", {
27
27
  key: 0,
28
- class: d(`alert alert-${t.variant}`),
28
+ class: m(`alert alert-${e.variant}`),
29
29
  role: "alert"
30
30
  }, [
31
- p(e.$slots, "default", {}, () => [
32
- f(b(t.message), 1)
31
+ b(o.$slots, "default", {}, () => [
32
+ C(S(e.message), 1)
33
33
  ]),
34
- t.dismissable ? (s(), l("button", {
34
+ e.dismissable ? (a(), n("button", {
35
35
  key: 0,
36
36
  class: "btn-close",
37
- onClick: m,
37
+ onClick: s,
38
38
  "aria-label": "Close"
39
- })) : o("", !0)
40
- ], 2)) : o("", !0);
39
+ })) : $("", !0)
40
+ ], 2)) : $("", !0);
41
41
  }
42
- });
42
+ }), qt = /* @__PURE__ */ v({
43
+ __name: "VibeBadge",
44
+ props: {
45
+ variant: { type: String, default: "primary" },
46
+ pill: { type: Boolean, default: !1 },
47
+ tag: { type: String, default: "span" }
48
+ },
49
+ emits: ["component-error"],
50
+ setup(e, { emit: u }) {
51
+ const t = e, i = f(() => {
52
+ const l = ["badge", `bg-${t.variant}`];
53
+ return t.pill && l.push("rounded-pill"), l.join(" ");
54
+ });
55
+ return (l, s) => (a(), y(V(e.tag), {
56
+ class: m(i.value)
57
+ }, {
58
+ default: g(() => [
59
+ b(l.$slots, "default")
60
+ ]),
61
+ _: 3
62
+ }, 8, ["class"]));
63
+ }
64
+ }), Ot = /* @__PURE__ */ v({
65
+ __name: "VibeButton",
66
+ props: {
67
+ variant: { type: String, default: "primary" },
68
+ size: { type: String, default: void 0 },
69
+ outline: { type: Boolean, default: !1 },
70
+ disabled: { type: Boolean, default: !1 },
71
+ type: { type: String, default: "button" },
72
+ href: { type: String, default: void 0 },
73
+ to: { type: [String, Object], default: void 0 },
74
+ active: { type: Boolean, default: !1 }
75
+ },
76
+ emits: ["click", "component-error"],
77
+ setup(e, { emit: u }) {
78
+ const t = e, i = u, l = f(() => t.href ? "a" : t.to ? "router-link" : "button"), s = f(() => {
79
+ const r = ["btn"];
80
+ return t.outline ? r.push(`btn-outline-${t.variant}`) : r.push(`btn-${t.variant}`), t.size && r.push(`btn-${t.size}`), t.active && r.push("active"), r.join(" ");
81
+ }), o = (r) => {
82
+ t.disabled || i("click", r);
83
+ };
84
+ return (r, k) => (a(), y(V(l.value), {
85
+ class: m(s.value),
86
+ type: e.href || e.to ? void 0 : e.type,
87
+ href: e.href,
88
+ to: e.to,
89
+ disabled: e.disabled,
90
+ "aria-disabled": e.disabled,
91
+ onClick: o
92
+ }, {
93
+ default: g(() => [
94
+ b(r.$slots, "default")
95
+ ]),
96
+ _: 3
97
+ }, 8, ["class", "type", "href", "to", "disabled", "aria-disabled"]));
98
+ }
99
+ }), ne = ["role", "aria-label"], Mt = /* @__PURE__ */ v({
100
+ __name: "VibeButtonGroup",
101
+ props: {
102
+ size: { type: String, default: void 0 },
103
+ vertical: { type: Boolean, default: !1 },
104
+ role: { type: String, default: "group" },
105
+ ariaLabel: { type: String, default: void 0 }
106
+ },
107
+ emits: ["component-error"],
108
+ setup(e, { emit: u }) {
109
+ const t = e, i = f(() => {
110
+ const l = [t.vertical ? "btn-group-vertical" : "btn-group"];
111
+ return t.size && l.push(`btn-group-${t.size}`), l.join(" ");
112
+ });
113
+ return (l, s) => (a(), n("div", {
114
+ class: m(i.value),
115
+ role: e.role,
116
+ "aria-label": e.ariaLabel
117
+ }, [
118
+ b(l.$slots, "default")
119
+ ], 10, ne));
120
+ }
121
+ }), oe = ["disabled", "aria-label"], Ft = /* @__PURE__ */ v({
122
+ __name: "VibeCloseButton",
123
+ props: {
124
+ disabled: { type: Boolean, default: !1 },
125
+ white: { type: Boolean, default: !1 },
126
+ ariaLabel: { type: String, default: "Close" }
127
+ },
128
+ emits: ["click", "component-error"],
129
+ setup(e, { emit: u }) {
130
+ const t = e, i = u, l = (s) => {
131
+ t.disabled || i("click", s);
132
+ };
133
+ return (s, o) => (a(), n("button", {
134
+ type: "button",
135
+ class: m(["btn-close", { "btn-close-white": e.white }]),
136
+ disabled: e.disabled,
137
+ "aria-label": e.ariaLabel,
138
+ onClick: l
139
+ }, null, 10, oe));
140
+ }
141
+ }), de = { class: "visually-hidden" }, Et = /* @__PURE__ */ v({
142
+ __name: "VibeSpinner",
143
+ props: {
144
+ variant: { type: String, default: void 0 },
145
+ type: { type: String, default: "border" },
146
+ size: { type: String, default: void 0 },
147
+ label: { type: String, default: "Loading..." },
148
+ tag: { type: String, default: "div" }
149
+ },
150
+ emits: ["component-error"],
151
+ setup(e, { emit: u }) {
152
+ const t = e, i = f(() => {
153
+ const l = [`spinner-${t.type}`];
154
+ return t.variant && l.push(`text-${t.variant}`), t.size && l.push(`spinner-${t.type}-${t.size}`), l.join(" ");
155
+ });
156
+ return (l, s) => (a(), y(V(e.tag), {
157
+ class: m(i.value),
158
+ role: "status"
159
+ }, {
160
+ default: g(() => [
161
+ d("span", de, S(e.label), 1)
162
+ ]),
163
+ _: 1
164
+ }, 8, ["class"]));
165
+ }
166
+ }), Gt = /* @__PURE__ */ v({
167
+ __name: "VibePlaceholder",
168
+ props: {
169
+ variant: { type: String, default: void 0 },
170
+ size: { type: String, default: void 0 },
171
+ animation: { type: String, default: void 0 },
172
+ width: { type: [String, Number], default: void 0 },
173
+ tag: { type: String, default: "span" }
174
+ },
175
+ emits: ["component-error"],
176
+ setup(e, { emit: u }) {
177
+ const t = e, i = f(() => {
178
+ const o = ["placeholder"];
179
+ return t.variant && o.push(`bg-${t.variant}`), t.size && o.push(`placeholder-${t.size}`), o.join(" ");
180
+ }), l = f(() => {
181
+ if (t.animation) return `placeholder-${t.animation}`;
182
+ }), s = f(() => {
183
+ if (t.width)
184
+ return { width: typeof t.width == "number" ? `${t.width}%` : t.width };
185
+ });
186
+ return (o, r) => (a(), y(V(e.tag), {
187
+ class: m(l.value)
188
+ }, {
189
+ default: g(() => [
190
+ d("span", {
191
+ class: m(i.value),
192
+ style: M(s.value)
193
+ }, [
194
+ b(o.$slots, "default")
195
+ ], 6)
196
+ ]),
197
+ _: 3
198
+ }, 8, ["class"]));
199
+ }
200
+ }), ue = /* @__PURE__ */ v({
201
+ __name: "VibeCardHeader",
202
+ props: {
203
+ tag: { type: String, default: "div" }
204
+ },
205
+ emits: ["component-error"],
206
+ setup(e, { emit: u }) {
207
+ return (t, i) => (a(), y(V(e.tag), { class: "card-header" }, {
208
+ default: g(() => [
209
+ b(t.$slots, "default")
210
+ ]),
211
+ _: 3
212
+ }));
213
+ }
214
+ }), ce = /* @__PURE__ */ v({
215
+ __name: "VibeCardBody",
216
+ props: {
217
+ tag: { type: String, default: "div" }
218
+ },
219
+ emits: ["component-error"],
220
+ setup(e, { emit: u }) {
221
+ return (t, i) => (a(), y(V(e.tag), { class: "card-body" }, {
222
+ default: g(() => [
223
+ b(t.$slots, "default")
224
+ ]),
225
+ _: 3
226
+ }));
227
+ }
228
+ }), fe = /* @__PURE__ */ v({
229
+ __name: "VibeCardFooter",
230
+ props: {
231
+ tag: { type: String, default: "div" }
232
+ },
233
+ emits: ["component-error"],
234
+ setup(e, { emit: u }) {
235
+ return (t, i) => (a(), y(V(e.tag), { class: "card-footer" }, {
236
+ default: g(() => [
237
+ b(t.$slots, "default")
238
+ ]),
239
+ _: 3
240
+ }));
241
+ }
242
+ }), be = ["src", "alt"], U = /* @__PURE__ */ v({
243
+ __name: "VibeCardImg",
244
+ props: {
245
+ src: { type: String, required: !0 },
246
+ alt: { type: String, default: "" },
247
+ top: { type: Boolean, default: !1 },
248
+ bottom: { type: Boolean, default: !1 }
249
+ },
250
+ emits: ["component-error"],
251
+ setup(e, { emit: u }) {
252
+ const t = e, i = t.top ? "card-img-top" : t.bottom ? "card-img-bottom" : "card-img";
253
+ return (l, s) => (a(), n("img", {
254
+ src: e.src,
255
+ alt: e.alt,
256
+ class: m(_(i))
257
+ }, null, 10, be));
258
+ }
259
+ }), me = /* @__PURE__ */ v({
260
+ __name: "VibeCardTitle",
261
+ props: {
262
+ tag: { type: String, default: "h5" }
263
+ },
264
+ emits: ["component-error"],
265
+ setup(e, { emit: u }) {
266
+ return (t, i) => (a(), y(V(e.tag), { class: "card-title" }, {
267
+ default: g(() => [
268
+ b(t.$slots, "default")
269
+ ]),
270
+ _: 3
271
+ }));
272
+ }
273
+ }), ve = /* @__PURE__ */ v({
274
+ __name: "VibeCardText",
275
+ props: {
276
+ tag: { type: String, default: "p" }
277
+ },
278
+ emits: ["component-error"],
279
+ setup(e, { emit: u }) {
280
+ return (t, i) => (a(), y(V(e.tag), { class: "card-text" }, {
281
+ default: g(() => [
282
+ b(t.$slots, "default")
283
+ ]),
284
+ _: 3
285
+ }));
286
+ }
287
+ }), Rt = /* @__PURE__ */ v({
288
+ __name: "VibeCard",
289
+ props: {
290
+ variant: { type: String, default: void 0 },
291
+ border: { type: String, default: void 0 },
292
+ textVariant: { type: String, default: void 0 },
293
+ tag: { type: String, default: "div" },
294
+ // Shorthand props for quick card creation
295
+ title: { type: String, default: void 0 },
296
+ body: { type: String, default: void 0 },
297
+ header: { type: String, default: void 0 },
298
+ footer: { type: String, default: void 0 },
299
+ headerImage: { type: String, default: void 0 },
300
+ headerImageAlt: { type: String, default: "" },
301
+ footerImage: { type: String, default: void 0 },
302
+ footerImageAlt: { type: String, default: "" }
303
+ },
304
+ emits: ["component-error"],
305
+ setup(e, { emit: u }) {
306
+ const t = e, i = j(), l = f(() => {
307
+ const r = ["card"];
308
+ return t.variant && r.push(`bg-${t.variant}`), t.border && r.push(`border-${t.border}`), t.textVariant && r.push(`text-${t.textVariant}`), r.join(" ");
309
+ }), s = f(() => !!(t.title || t.body || t.header || t.footer || t.headerImage || t.footerImage)), o = f(() => !!(i.default || i.header || i.footer || i.body));
310
+ return (r, k) => (a(), y(V(e.tag), {
311
+ class: m(l.value)
312
+ }, {
313
+ default: g(() => [
314
+ s.value && !o.value ? (a(), n(w, { key: 0 }, [
315
+ e.headerImage ? (a(), y(U, {
316
+ key: 0,
317
+ top: "",
318
+ src: e.headerImage,
319
+ alt: e.headerImageAlt
320
+ }, null, 8, ["src", "alt"])) : $("", !0),
321
+ e.header ? (a(), y(ue, { key: 1 }, {
322
+ default: g(() => [
323
+ C(S(e.header), 1)
324
+ ]),
325
+ _: 1
326
+ })) : $("", !0),
327
+ e.title || e.body ? (a(), y(ce, { key: 2 }, {
328
+ default: g(() => [
329
+ e.title ? (a(), y(me, { key: 0 }, {
330
+ default: g(() => [
331
+ C(S(e.title), 1)
332
+ ]),
333
+ _: 1
334
+ })) : $("", !0),
335
+ e.body ? (a(), y(ve, { key: 1 }, {
336
+ default: g(() => [
337
+ C(S(e.body), 1)
338
+ ]),
339
+ _: 1
340
+ })) : $("", !0)
341
+ ]),
342
+ _: 1
343
+ })) : $("", !0),
344
+ e.footer ? (a(), y(fe, { key: 3 }, {
345
+ default: g(() => [
346
+ C(S(e.footer), 1)
347
+ ]),
348
+ _: 1
349
+ })) : $("", !0),
350
+ e.footerImage ? (a(), y(U, {
351
+ key: 4,
352
+ bottom: "",
353
+ src: e.footerImage,
354
+ alt: e.footerImageAlt
355
+ }, null, 8, ["src", "alt"])) : $("", !0)
356
+ ], 64)) : b(r.$slots, "default", { key: 1 })
357
+ ]),
358
+ _: 3
359
+ }, 8, ["class"]));
360
+ }
361
+ }), pe = ["aria-current"], ye = /* @__PURE__ */ v({
362
+ __name: "VibeBreadcrumbItem",
363
+ props: {
364
+ active: { type: Boolean, default: !1 },
365
+ href: { type: String, default: void 0 },
366
+ to: { type: [String, Object], default: void 0 }
367
+ },
368
+ emits: ["component-error"],
369
+ setup(e, { emit: u }) {
370
+ const t = e, i = t.href ? "a" : t.to ? "router-link" : "span";
371
+ return (l, s) => (a(), n("li", {
372
+ class: m(["breadcrumb-item", { active: e.active }]),
373
+ "aria-current": e.active ? "page" : void 0
374
+ }, [
375
+ (a(), y(V(_(i)), {
376
+ href: e.href,
377
+ to: e.to
378
+ }, {
379
+ default: g(() => [
380
+ b(l.$slots, "default")
381
+ ]),
382
+ _: 3
383
+ }, 8, ["href", "to"]))
384
+ ], 10, pe));
385
+ }
386
+ }), he = ["aria-label"], ge = { class: "breadcrumb" }, Ht = /* @__PURE__ */ v({
387
+ __name: "VibeBreadcrumb",
388
+ props: {
389
+ ariaLabel: { type: String, default: "breadcrumb" },
390
+ items: { type: Array, default: void 0 }
391
+ },
392
+ emits: ["component-error"],
393
+ setup(e, { emit: u }) {
394
+ const t = j();
395
+ return (i, l) => (a(), n("nav", { "aria-label": e.ariaLabel }, [
396
+ d("ol", ge, [
397
+ e.items && e.items.length > 0 && !_(t).default ? (a(!0), n(w, { key: 0 }, I(e.items, (s, o) => (a(), y(ye, {
398
+ key: o,
399
+ href: s.href,
400
+ to: s.to,
401
+ active: s.active
402
+ }, {
403
+ default: g(() => [
404
+ C(S(s.text), 1)
405
+ ]),
406
+ _: 2
407
+ }, 1032, ["href", "to", "active"]))), 128)) : b(i.$slots, "default", { key: 1 })
408
+ ])
409
+ ], 8, he));
410
+ }
411
+ }), $e = { class: "nav-item" }, K = /* @__PURE__ */ v({
412
+ __name: "VibeNavItem",
413
+ props: {
414
+ active: { type: Boolean, default: !1 },
415
+ disabled: { type: Boolean, default: !1 },
416
+ href: { type: String, default: void 0 },
417
+ to: { type: [String, Object], default: void 0 }
418
+ },
419
+ emits: ["click", "component-error"],
420
+ setup(e, { emit: u }) {
421
+ const t = e, i = u, l = f(() => t.href ? "a" : t.to ? "router-link" : "a"), s = f(() => {
422
+ const r = ["nav-link"];
423
+ return t.active && r.push("active"), t.disabled && r.push("disabled"), r.join(" ");
424
+ }), o = (r) => {
425
+ t.disabled || i("click", r);
426
+ };
427
+ return (r, k) => (a(), n("li", $e, [
428
+ (a(), y(V(l.value), {
429
+ class: m(s.value),
430
+ href: e.href,
431
+ to: e.to,
432
+ "aria-current": e.active ? "page" : void 0,
433
+ "aria-disabled": e.disabled,
434
+ onClick: o
435
+ }, {
436
+ default: g(() => [
437
+ b(r.$slots, "default")
438
+ ]),
439
+ _: 3
440
+ }, 8, ["class", "href", "to", "aria-current", "aria-disabled"]))
441
+ ]));
442
+ }
443
+ }), Qt = /* @__PURE__ */ v({
444
+ __name: "VibeNav",
445
+ props: {
446
+ tabs: { type: Boolean, default: !1 },
447
+ pills: { type: Boolean, default: !1 },
448
+ fill: { type: Boolean, default: !1 },
449
+ justified: { type: Boolean, default: !1 },
450
+ vertical: { type: Boolean, default: !1 },
451
+ tag: { type: String, default: "ul" },
452
+ items: { type: Array, default: void 0 }
453
+ },
454
+ emits: ["component-error"],
455
+ setup(e, { emit: u }) {
456
+ const t = e, i = j(), l = f(() => {
457
+ const s = ["nav"];
458
+ return t.tabs && s.push("nav-tabs"), t.pills && s.push("nav-pills"), t.fill && s.push("nav-fill"), t.justified && s.push("nav-justified"), t.vertical && s.push("flex-column"), s.join(" ");
459
+ });
460
+ return (s, o) => (a(), y(V(e.tag), {
461
+ class: m(l.value)
462
+ }, {
463
+ default: g(() => [
464
+ e.items && e.items.length > 0 && !_(i).default ? (a(!0), n(w, { key: 0 }, I(e.items, (r, k) => (a(), y(K, {
465
+ key: k,
466
+ href: r.href,
467
+ to: r.to,
468
+ active: r.active,
469
+ disabled: r.disabled
470
+ }, {
471
+ default: g(() => [
472
+ C(S(r.text), 1)
473
+ ]),
474
+ _: 2
475
+ }, 1032, ["href", "to", "active", "disabled"]))), 128)) : b(s.$slots, "default", { key: 1 })
476
+ ]),
477
+ _: 3
478
+ }, 8, ["class"]));
479
+ }
480
+ }), Ut = /* @__PURE__ */ v({
481
+ __name: "VibeNavbar",
482
+ props: {
483
+ variant: { type: String, default: "light" },
484
+ expand: { type: [Boolean, String], default: "lg" },
485
+ container: { type: [Boolean, String], default: !0 },
486
+ position: { type: String, default: void 0 },
487
+ tag: { type: String, default: "nav" }
488
+ },
489
+ emits: ["component-error"],
490
+ setup(e, { emit: u }) {
491
+ const t = e, i = f(() => {
492
+ const s = ["navbar"];
493
+ return t.expand === !0 ? s.push("navbar-expand") : typeof t.expand == "string" && s.push(`navbar-expand-${t.expand}`), t.variant === "dark" || t.variant === "light" ? s.push(`navbar-${t.variant}`) : s.push(`bg-${t.variant}`), t.position && s.push(t.position), s.join(" ");
494
+ }), l = f(() => {
495
+ if (t.container !== !1)
496
+ return t.container === !0 ? "container-fluid" : `container-${t.container}`;
497
+ });
498
+ return (s, o) => (a(), y(V(e.tag), {
499
+ class: m(i.value)
500
+ }, {
501
+ default: g(() => [
502
+ l.value ? (a(), n("div", {
503
+ key: 0,
504
+ class: m(l.value)
505
+ }, [
506
+ b(s.$slots, "default")
507
+ ], 2)) : b(s.$slots, "default", { key: 1 })
508
+ ]),
509
+ _: 3
510
+ }, 8, ["class"]));
511
+ }
512
+ }), Kt = /* @__PURE__ */ v({
513
+ __name: "VibeNavbarBrand",
514
+ props: {
515
+ href: { type: String, default: void 0 },
516
+ to: { type: [String, Object], default: void 0 }
517
+ },
518
+ emits: ["component-error"],
519
+ setup(e, { emit: u }) {
520
+ const t = e, i = t.href ? "a" : t.to ? "router-link" : "span";
521
+ return (l, s) => (a(), y(V(_(i)), {
522
+ class: "navbar-brand",
523
+ href: e.href,
524
+ to: e.to
525
+ }, {
526
+ default: g(() => [
527
+ b(l.$slots, "default")
528
+ ]),
529
+ _: 3
530
+ }, 8, ["href", "to"]));
531
+ }
532
+ }), ke = ["data-bs-target", "aria-controls", "aria-label"], Jt = /* @__PURE__ */ v({
533
+ __name: "VibeNavbarToggle",
534
+ props: {
535
+ target: { type: String, required: !0 },
536
+ ariaLabel: { type: String, default: "Toggle navigation" }
537
+ },
538
+ emits: ["component-error"],
539
+ setup(e, { emit: u }) {
540
+ return (t, i) => (a(), n("button", {
541
+ class: "navbar-toggler",
542
+ type: "button",
543
+ "data-bs-toggle": "collapse",
544
+ "data-bs-target": `#${e.target}`,
545
+ "aria-controls": e.target,
546
+ "aria-expanded": "false",
547
+ "aria-label": e.ariaLabel
548
+ }, [...i[0] || (i[0] = [
549
+ d("span", { class: "navbar-toggler-icon" }, null, -1)
550
+ ])], 8, ke));
551
+ }
552
+ }), Wt = /* @__PURE__ */ v({
553
+ __name: "VibeNavbarNav",
554
+ props: {
555
+ tag: { type: String, default: "ul" },
556
+ items: { type: Array, default: void 0 }
557
+ },
558
+ emits: ["component-error"],
559
+ setup(e, { emit: u }) {
560
+ const t = j();
561
+ return (i, l) => (a(), y(V(e.tag), { class: "navbar-nav" }, {
562
+ default: g(() => [
563
+ e.items && e.items.length > 0 && !_(t).default ? (a(!0), n(w, { key: 0 }, I(e.items, (s, o) => (a(), y(K, {
564
+ key: o,
565
+ href: s.href,
566
+ to: s.to,
567
+ active: s.active,
568
+ disabled: s.disabled
569
+ }, {
570
+ default: g(() => [
571
+ C(S(s.text), 1)
572
+ ]),
573
+ _: 2
574
+ }, 1032, ["href", "to", "active", "disabled"]))), 128)) : b(i.$slots, "default", { key: 1 })
575
+ ]),
576
+ _: 3
577
+ }));
578
+ }
579
+ }), E = /* @__PURE__ */ v({
580
+ __name: "VibePaginationItem",
581
+ props: {
582
+ active: { type: Boolean, default: !1 },
583
+ disabled: { type: Boolean, default: !1 },
584
+ href: { type: String, default: void 0 },
585
+ to: { type: [String, Object], default: void 0 }
586
+ },
587
+ emits: ["click", "component-error"],
588
+ setup(e, { emit: u }) {
589
+ const t = e, i = u, l = f(() => t.href ? "a" : t.to ? "router-link" : "button"), s = (o) => {
590
+ t.disabled || i("click", o);
591
+ };
592
+ return (o, r) => (a(), n("li", {
593
+ class: m(["page-item", { active: e.active, disabled: e.disabled }])
594
+ }, [
595
+ (a(), y(V(l.value), {
596
+ class: "page-link",
597
+ href: e.href,
598
+ to: e.to,
599
+ type: l.value === "button" ? "button" : void 0,
600
+ disabled: e.disabled && l.value === "button",
601
+ "aria-current": e.active ? "page" : void 0,
602
+ "aria-disabled": e.disabled,
603
+ onClick: s
604
+ }, {
605
+ default: g(() => [
606
+ b(o.$slots, "default")
607
+ ]),
608
+ _: 3
609
+ }, 8, ["href", "to", "type", "disabled", "aria-current", "aria-disabled"]))
610
+ ], 2));
611
+ }
612
+ }), Se = ["aria-label"], Xt = /* @__PURE__ */ v({
613
+ __name: "VibePagination",
614
+ props: {
615
+ size: { type: String, default: void 0 },
616
+ ariaLabel: { type: String, default: "Pagination" },
617
+ // Shorthand props
618
+ totalPages: { type: Number, default: void 0 },
619
+ currentPage: { type: Number, default: 1 },
620
+ showPrevNext: { type: Boolean, default: !0 }
621
+ },
622
+ emits: ["page-click", "component-error"],
623
+ setup(e, { emit: u }) {
624
+ const t = e, i = u, l = j(), s = f(() => {
625
+ const k = ["pagination"];
626
+ return t.size && k.push(`pagination-${t.size}`), k.join(" ");
627
+ }), o = f(() => t.totalPages ? Array.from({ length: t.totalPages }, (k, B) => B + 1) : []), r = (k) => {
628
+ k >= 1 && k <= t.totalPages && i("page-click", k);
629
+ };
630
+ return (k, B) => (a(), n("nav", { "aria-label": e.ariaLabel }, [
631
+ d("ul", {
632
+ class: m(s.value)
633
+ }, [
634
+ e.totalPages && !_(l).default ? (a(), n(w, { key: 0 }, [
635
+ e.showPrevNext ? (a(), y(E, {
636
+ key: 0,
637
+ disabled: e.currentPage === 1,
638
+ onClick: B[0] || (B[0] = (P) => r(e.currentPage - 1))
639
+ }, {
640
+ default: g(() => [...B[2] || (B[2] = [
641
+ C(" Previous ", -1)
642
+ ])]),
643
+ _: 1
644
+ }, 8, ["disabled"])) : $("", !0),
645
+ (a(!0), n(w, null, I(o.value, (P) => (a(), y(E, {
646
+ key: P,
647
+ active: P === e.currentPage,
648
+ onClick: (F) => r(P)
649
+ }, {
650
+ default: g(() => [
651
+ C(S(P), 1)
652
+ ]),
653
+ _: 2
654
+ }, 1032, ["active", "onClick"]))), 128)),
655
+ e.showPrevNext ? (a(), y(E, {
656
+ key: 1,
657
+ disabled: e.currentPage === e.totalPages,
658
+ onClick: B[1] || (B[1] = (P) => r(e.currentPage + 1))
659
+ }, {
660
+ default: g(() => [...B[3] || (B[3] = [
661
+ C(" Next ", -1)
662
+ ])]),
663
+ _: 1
664
+ }, 8, ["disabled"])) : $("", !0)
665
+ ], 64)) : b(k.$slots, "default", { key: 1 })
666
+ ], 2)
667
+ ], 8, Se));
668
+ }
669
+ }), Be = /* @__PURE__ */ v({
670
+ __name: "VibeListGroupItem",
671
+ props: {
672
+ active: { type: Boolean, default: !1 },
673
+ disabled: { type: Boolean, default: !1 },
674
+ variant: { type: String, default: void 0 },
675
+ href: { type: String, default: void 0 },
676
+ to: { type: [String, Object], default: void 0 },
677
+ tag: { type: String, default: "li" },
678
+ action: { type: Boolean, default: !1 }
679
+ },
680
+ emits: ["click", "component-error"],
681
+ setup(e, { emit: u }) {
682
+ const t = e, i = u, l = f(() => t.href ? "a" : t.to ? "router-link" : t.action ? "button" : t.tag), s = f(() => {
683
+ const r = ["list-group-item"];
684
+ return t.active && r.push("active"), t.disabled && r.push("disabled"), t.variant && r.push(`list-group-item-${t.variant}`), (t.action || t.href || t.to) && r.push("list-group-item-action"), r.join(" ");
685
+ }), o = (r) => {
686
+ t.disabled || i("click", r);
687
+ };
688
+ return (r, k) => (a(), y(V(l.value), {
689
+ class: m(s.value),
690
+ href: e.href,
691
+ to: e.to,
692
+ type: l.value === "button" ? "button" : void 0,
693
+ disabled: e.disabled,
694
+ "aria-disabled": e.disabled,
695
+ "aria-current": e.active ? "true" : void 0,
696
+ onClick: o
697
+ }, {
698
+ default: g(() => [
699
+ b(r.$slots, "default")
700
+ ]),
701
+ _: 3
702
+ }, 8, ["class", "href", "to", "type", "disabled", "aria-disabled", "aria-current"]));
703
+ }
704
+ }), Yt = /* @__PURE__ */ v({
705
+ __name: "VibeListGroup",
706
+ props: {
707
+ flush: { type: Boolean, default: !1 },
708
+ horizontal: { type: [Boolean, String], default: !1 },
709
+ numbered: { type: Boolean, default: !1 },
710
+ tag: { type: String, default: "ul" },
711
+ items: { type: Array, default: void 0 }
712
+ },
713
+ emits: ["component-error"],
714
+ setup(e, { emit: u }) {
715
+ const t = e, i = j(), l = f(() => {
716
+ const s = ["list-group"];
717
+ return t.flush && s.push("list-group-flush"), t.numbered && s.push("list-group-numbered"), t.horizontal === !0 ? s.push("list-group-horizontal") : typeof t.horizontal == "string" && s.push(`list-group-horizontal-${t.horizontal}`), s.join(" ");
718
+ });
719
+ return (s, o) => (a(), y(V(e.tag), {
720
+ class: m(l.value)
721
+ }, {
722
+ default: g(() => [
723
+ e.items && e.items.length > 0 && !_(i).default ? (a(!0), n(w, { key: 0 }, I(e.items, (r, k) => (a(), y(Be, {
724
+ key: k,
725
+ href: r.href,
726
+ to: r.to,
727
+ active: r.active,
728
+ disabled: r.disabled,
729
+ variant: r.variant
730
+ }, {
731
+ default: g(() => [
732
+ C(S(r.text), 1)
733
+ ]),
734
+ _: 2
735
+ }, 1032, ["href", "to", "active", "disabled", "variant"]))), 128)) : b(s.$slots, "default", { key: 1 })
736
+ ]),
737
+ _: 3
738
+ }, 8, ["class"]));
739
+ }
740
+ }), Zt = /* @__PURE__ */ v({
741
+ __name: "VibeProgress",
742
+ props: {
743
+ height: { type: String, default: void 0 }
744
+ },
745
+ emits: ["component-error"],
746
+ setup(e, { emit: u }) {
747
+ const t = e, i = f(() => {
748
+ if (t.height)
749
+ return { height: t.height };
750
+ });
751
+ return (l, s) => (a(), n("div", {
752
+ class: "progress",
753
+ style: M(i.value)
754
+ }, [
755
+ b(l.$slots, "default")
756
+ ], 4));
757
+ }
758
+ }), Ve = ["aria-valuenow", "aria-valuemax"], ea = /* @__PURE__ */ v({
759
+ __name: "VibeProgressBar",
760
+ props: {
761
+ value: { type: Number, default: 0 },
762
+ max: { type: Number, default: 100 },
763
+ variant: { type: String, default: void 0 },
764
+ striped: { type: Boolean, default: !1 },
765
+ animated: { type: Boolean, default: !1 },
766
+ label: { type: String, default: void 0 },
767
+ showValue: { type: Boolean, default: !1 }
768
+ },
769
+ emits: ["component-error"],
770
+ setup(e, { emit: u }) {
771
+ const t = e, i = f(() => {
772
+ const o = ["progress-bar"];
773
+ return t.variant && o.push(`bg-${t.variant}`), (t.striped || t.animated) && o.push("progress-bar-striped"), t.animated && o.push("progress-bar-animated"), o.join(" ");
774
+ }), l = f(() => ({ width: `${Math.min(100, Math.max(0, t.value / t.max * 100))}%` })), s = f(() => t.label ? t.label : t.showValue ? `${t.value}%` : "");
775
+ return (o, r) => (a(), n("div", {
776
+ class: m(i.value),
777
+ style: M(l.value),
778
+ role: "progressbar",
779
+ "aria-valuenow": e.value,
780
+ "aria-valuemin": 0,
781
+ "aria-valuemax": e.max
782
+ }, [
783
+ C(S(s.value) + " ", 1),
784
+ b(o.$slots, "default")
785
+ ], 14, Ve));
786
+ }
787
+ }), Ce = { class: "accordion-item" }, we = { class: "accordion-header" }, Pe = ["data-bs-target", "aria-expanded", "aria-controls"], xe = ["id", "data-bs-parent"], Ie = { class: "accordion-body" }, Ne = /* @__PURE__ */ v({
788
+ __name: "VibeAccordionItem",
789
+ props: {
790
+ id: { type: String, required: !0 },
791
+ title: { type: String, required: !0 },
792
+ parentId: { type: String, required: !0 },
793
+ show: { type: Boolean, default: !1 }
794
+ },
795
+ emits: ["component-error"],
796
+ setup(e, { emit: u }) {
797
+ const t = e, i = f(() => t.show ? "accordion-collapse collapse show" : "accordion-collapse collapse");
798
+ return (l, s) => (a(), n("div", Ce, [
799
+ d("h2", we, [
800
+ d("button", {
801
+ class: m(["accordion-button", { collapsed: !e.show }]),
802
+ type: "button",
803
+ "data-bs-toggle": "collapse",
804
+ "data-bs-target": `#${e.id}`,
805
+ "aria-expanded": e.show,
806
+ "aria-controls": e.id
807
+ }, S(e.title), 11, Pe)
808
+ ]),
809
+ d("div", {
810
+ id: e.id,
811
+ class: m(i.value),
812
+ "data-bs-parent": `#${e.parentId}`
813
+ }, [
814
+ d("div", Ie, [
815
+ b(l.$slots, "default")
816
+ ])
817
+ ], 10, xe)
818
+ ]));
819
+ }
820
+ }), _e = ["id"], ta = /* @__PURE__ */ v({
821
+ __name: "VibeAccordion",
822
+ props: {
823
+ id: { type: String, required: !0 },
824
+ flush: { type: Boolean, default: !1 },
825
+ items: { type: Array, default: void 0 }
826
+ },
827
+ emits: ["component-error"],
828
+ setup(e, { emit: u }) {
829
+ const t = j();
830
+ return (i, l) => (a(), n("div", {
831
+ id: e.id,
832
+ class: m(["accordion", { "accordion-flush": e.flush }])
833
+ }, [
834
+ e.items && e.items.length > 0 && !_(t).default ? (a(!0), n(w, { key: 0 }, I(e.items, (s, o) => (a(), y(Ne, {
835
+ key: o,
836
+ id: s.id,
837
+ "parent-id": e.id,
838
+ title: s.title,
839
+ show: s.show
840
+ }, {
841
+ default: g(() => [
842
+ C(S(s.content), 1)
843
+ ]),
844
+ _: 2
845
+ }, 1032, ["id", "parent-id", "title", "show"]))), 128)) : b(i.$slots, "default", { key: 1 })
846
+ ], 10, _e));
847
+ }
848
+ }), aa = /* @__PURE__ */ v({
849
+ __name: "VibeCollapse",
850
+ props: {
851
+ id: { type: String, required: !0 },
852
+ modelValue: { type: Boolean, default: !1 },
853
+ tag: { type: String, default: "div" },
854
+ horizontal: { type: Boolean, default: !1 }
855
+ },
856
+ emits: ["update:modelValue", "show", "shown", "hide", "hidden", "component-error"],
857
+ setup(e, { emit: u }) {
858
+ const t = e, i = T(t.modelValue);
859
+ D(() => t.modelValue, (s) => {
860
+ i.value = s;
861
+ });
862
+ const l = f(() => {
863
+ const s = ["collapse"];
864
+ return t.horizontal && s.push("collapse-horizontal"), i.value && s.push("show"), s.join(" ");
865
+ });
866
+ return (s, o) => (a(), y(V(e.tag), {
867
+ id: e.id,
868
+ class: m(l.value)
869
+ }, {
870
+ default: g(() => [
871
+ b(s.$slots, "default")
872
+ ]),
873
+ _: 3
874
+ }, 8, ["id", "class"]));
875
+ }
876
+ }), je = { key: 0 }, ze = /* @__PURE__ */ v({
877
+ __name: "VibeDropdownItem",
878
+ props: {
879
+ active: { type: Boolean, default: !1 },
880
+ disabled: { type: Boolean, default: !1 },
881
+ href: { type: String, default: void 0 },
882
+ to: { type: [String, Object], default: void 0 },
883
+ divider: { type: Boolean, default: !1 },
884
+ header: { type: Boolean, default: !1 }
885
+ },
886
+ emits: ["click", "component-error"],
887
+ setup(e, { emit: u }) {
888
+ const t = e, i = u, l = f(() => t.divider ? "hr" : t.header ? "h6" : t.href ? "a" : t.to ? "router-link" : "button"), s = f(() => {
889
+ if (t.divider) return "dropdown-divider";
890
+ if (t.header) return "dropdown-header";
891
+ const r = ["dropdown-item"];
892
+ return t.active && r.push("active"), t.disabled && r.push("disabled"), r.join(" ");
893
+ }), o = (r) => {
894
+ !t.disabled && !t.divider && !t.header && i("click", r);
895
+ };
896
+ return (r, k) => !e.divider && !e.header ? (a(), n("li", je, [
897
+ (a(), y(V(l.value), {
898
+ class: m(s.value),
899
+ href: e.href,
900
+ to: e.to,
901
+ type: l.value === "button" ? "button" : void 0,
902
+ disabled: e.disabled,
903
+ onClick: o
904
+ }, {
905
+ default: g(() => [
906
+ b(r.$slots, "default")
907
+ ]),
908
+ _: 3
909
+ }, 8, ["class", "href", "to", "type", "disabled"]))
910
+ ])) : (a(), y(V(l.value), {
911
+ key: 1,
912
+ class: m(s.value)
913
+ }, {
914
+ default: g(() => [
915
+ b(r.$slots, "default")
916
+ ]),
917
+ _: 3
918
+ }, 8, ["class"]));
919
+ }
920
+ }), Te = ["id"], Ae = ["aria-labelledby"], sa = /* @__PURE__ */ v({
921
+ __name: "VibeDropdown",
922
+ props: {
923
+ id: { type: String, required: !0 },
924
+ text: { type: String, default: "Dropdown" },
925
+ variant: { type: String, default: "primary" },
926
+ size: { type: String, default: void 0 },
927
+ split: { type: Boolean, default: !1 },
928
+ direction: { type: String, default: "down" },
929
+ menuEnd: { type: Boolean, default: !1 },
930
+ items: { type: Array, default: void 0 }
931
+ },
932
+ emits: ["component-error"],
933
+ setup(e, { emit: u }) {
934
+ const t = e, i = j(), l = f(() => t.direction === "up" ? "dropup" : t.direction === "end" ? "dropend" : t.direction === "start" ? "dropstart" : "dropdown"), s = f(() => {
935
+ const r = ["btn", `btn-${t.variant}`];
936
+ return t.size && r.push(`btn-${t.size}`), r.join(" ");
937
+ }), o = f(() => {
938
+ const r = ["dropdown-menu"];
939
+ return t.menuEnd && r.push("dropdown-menu-end"), r.join(" ");
940
+ });
941
+ return (r, k) => (a(), n("div", {
942
+ class: m(l.value)
943
+ }, [
944
+ d("button", {
945
+ id: e.id,
946
+ class: m([s.value, "dropdown-toggle"]),
947
+ type: "button",
948
+ "data-bs-toggle": "dropdown",
949
+ "aria-expanded": "false"
950
+ }, S(e.text), 11, Te),
951
+ d("ul", {
952
+ class: m(o.value),
953
+ "aria-labelledby": e.id
954
+ }, [
955
+ e.items && e.items.length > 0 && !_(i).default ? (a(!0), n(w, { key: 0 }, I(e.items, (B, P) => (a(), y(ze, {
956
+ key: P,
957
+ href: B.href,
958
+ to: B.to,
959
+ active: B.active,
960
+ disabled: B.disabled,
961
+ divider: B.divider,
962
+ header: B.header
963
+ }, {
964
+ default: g(() => [
965
+ C(S(B.text), 1)
966
+ ]),
967
+ _: 2
968
+ }, 1032, ["href", "to", "active", "disabled", "divider", "header"]))), 128)) : b(r.$slots, "default", { key: 1 })
969
+ ], 10, Ae)
970
+ ], 2));
971
+ }
972
+ }), De = ["id", "aria-labelledby", "data-bs-backdrop", "data-bs-keyboard"], Le = { class: "modal-content" }, qe = {
973
+ key: 0,
974
+ class: "modal-header"
975
+ }, Oe = ["id"], Me = { class: "modal-body" }, Fe = {
976
+ key: 1,
977
+ class: "modal-footer"
978
+ }, la = /* @__PURE__ */ v({
979
+ __name: "VibeModal",
980
+ props: {
981
+ id: { type: String, required: !0 },
982
+ modelValue: { type: Boolean, default: !1 },
983
+ title: { type: String, default: "" },
984
+ size: { type: String, default: void 0 },
985
+ centered: { type: Boolean, default: !1 },
986
+ scrollable: { type: Boolean, default: !1 },
987
+ fullscreen: { type: [Boolean, String], default: !1 },
988
+ staticBackdrop: { type: Boolean, default: !1 },
989
+ hideHeader: { type: Boolean, default: !1 },
990
+ hideFooter: { type: Boolean, default: !1 }
991
+ },
992
+ emits: ["update:modelValue", "show", "shown", "hide", "hidden", "component-error"],
993
+ setup(e, { emit: u }) {
994
+ const t = e, i = f(() => {
995
+ const l = ["modal-dialog"];
996
+ return t.size && l.push(`modal-${t.size}`), t.centered && l.push("modal-dialog-centered"), t.scrollable && l.push("modal-dialog-scrollable"), t.fullscreen === !0 ? l.push("modal-fullscreen") : typeof t.fullscreen == "string" && l.push(`modal-fullscreen-${t.fullscreen}-down`), l.join(" ");
997
+ });
998
+ return (l, s) => (a(), n("div", {
999
+ id: e.id,
1000
+ class: "modal fade",
1001
+ tabindex: "-1",
1002
+ "aria-labelledby": `${e.id}-label`,
1003
+ "aria-hidden": "true",
1004
+ "data-bs-backdrop": e.staticBackdrop ? "static" : void 0,
1005
+ "data-bs-keyboard": !e.staticBackdrop
1006
+ }, [
1007
+ d("div", {
1008
+ class: m(i.value)
1009
+ }, [
1010
+ d("div", Le, [
1011
+ e.hideHeader ? $("", !0) : (a(), n("div", qe, [
1012
+ d("h5", {
1013
+ id: `${e.id}-label`,
1014
+ class: "modal-title"
1015
+ }, [
1016
+ b(l.$slots, "header", {}, () => [
1017
+ C(S(e.title), 1)
1018
+ ])
1019
+ ], 8, Oe),
1020
+ s[0] || (s[0] = d("button", {
1021
+ type: "button",
1022
+ class: "btn-close",
1023
+ "data-bs-dismiss": "modal",
1024
+ "aria-label": "Close"
1025
+ }, null, -1))
1026
+ ])),
1027
+ d("div", Me, [
1028
+ b(l.$slots, "default")
1029
+ ]),
1030
+ e.hideFooter ? $("", !0) : (a(), n("div", Fe, [
1031
+ b(l.$slots, "footer", {}, () => [
1032
+ s[1] || (s[1] = d("button", {
1033
+ type: "button",
1034
+ class: "btn btn-secondary",
1035
+ "data-bs-dismiss": "modal"
1036
+ }, "Close", -1))
1037
+ ])
1038
+ ]))
1039
+ ])
1040
+ ], 2)
1041
+ ], 8, De));
1042
+ }
1043
+ }), Ee = ["id", "aria-labelledby", "data-bs-backdrop", "data-bs-scroll"], Ge = { class: "offcanvas-header" }, Re = ["id"], He = { class: "offcanvas-body" }, ra = /* @__PURE__ */ v({
1044
+ __name: "VibeOffcanvas",
1045
+ props: {
1046
+ id: { type: String, required: !0 },
1047
+ modelValue: { type: Boolean, default: !1 },
1048
+ title: { type: String, default: "" },
1049
+ placement: { type: String, default: "start" },
1050
+ backdrop: { type: [Boolean, String], default: !0 },
1051
+ scroll: { type: Boolean, default: !1 }
1052
+ },
1053
+ emits: ["update:modelValue", "show", "shown", "hide", "hidden", "component-error"],
1054
+ setup(e, { emit: u }) {
1055
+ const t = e, i = f(() => `offcanvas offcanvas-${t.placement}`);
1056
+ return (l, s) => (a(), n("div", {
1057
+ id: e.id,
1058
+ class: m(i.value),
1059
+ tabindex: "-1",
1060
+ "aria-labelledby": `${e.id}-label`,
1061
+ "data-bs-backdrop": e.backdrop === !1 ? "false" : e.backdrop === "static" ? "static" : "true",
1062
+ "data-bs-scroll": e.scroll
1063
+ }, [
1064
+ d("div", Ge, [
1065
+ d("h5", {
1066
+ id: `${e.id}-label`,
1067
+ class: "offcanvas-title"
1068
+ }, [
1069
+ b(l.$slots, "header", {}, () => [
1070
+ C(S(e.title), 1)
1071
+ ])
1072
+ ], 8, Re),
1073
+ s[0] || (s[0] = d("button", {
1074
+ type: "button",
1075
+ class: "btn-close",
1076
+ "data-bs-dismiss": "offcanvas",
1077
+ "aria-label": "Close"
1078
+ }, null, -1))
1079
+ ]),
1080
+ d("div", He, [
1081
+ b(l.$slots, "default")
1082
+ ])
1083
+ ], 10, Ee));
1084
+ }
1085
+ }), Qe = ["id", "data-bs-autohide", "data-bs-delay"], Ue = {
1086
+ key: 0,
1087
+ class: "toast-header"
1088
+ }, Ke = { class: "me-auto" }, Je = { class: "toast-body" }, ia = /* @__PURE__ */ v({
1089
+ __name: "VibeToast",
1090
+ props: {
1091
+ id: { type: String, default: void 0 },
1092
+ modelValue: { type: Boolean, default: !1 },
1093
+ title: { type: String, default: "" },
1094
+ variant: { type: String, default: void 0 },
1095
+ autohide: { type: Boolean, default: !0 },
1096
+ delay: { type: Number, default: 5e3 }
1097
+ },
1098
+ emits: ["update:modelValue", "show", "shown", "hide", "hidden", "component-error"],
1099
+ setup(e, { emit: u }) {
1100
+ const t = e, i = f(() => {
1101
+ const l = ["toast"];
1102
+ return t.variant && l.push(`text-bg-${t.variant}`), l.join(" ");
1103
+ });
1104
+ return (l, s) => (a(), n("div", {
1105
+ id: e.id,
1106
+ class: m(i.value),
1107
+ role: "alert",
1108
+ "aria-live": "assertive",
1109
+ "aria-atomic": "true",
1110
+ "data-bs-autohide": e.autohide,
1111
+ "data-bs-delay": e.delay
1112
+ }, [
1113
+ e.title || l.$slots.header ? (a(), n("div", Ue, [
1114
+ b(l.$slots, "header", {}, () => [
1115
+ d("strong", Ke, S(e.title), 1)
1116
+ ]),
1117
+ s[0] || (s[0] = d("button", {
1118
+ type: "button",
1119
+ class: "btn-close",
1120
+ "data-bs-dismiss": "toast",
1121
+ "aria-label": "Close"
1122
+ }, null, -1))
1123
+ ])) : $("", !0),
1124
+ d("div", Je, [
1125
+ b(l.$slots, "default")
1126
+ ])
1127
+ ], 10, Qe));
1128
+ }
1129
+ }), We = ["data-bs-interval"], Xe = ["src", "alt"], Ye = {
1130
+ key: 1,
1131
+ class: "carousel-caption d-none d-md-block"
1132
+ }, Ze = { key: 0 }, et = { key: 1 }, tt = /* @__PURE__ */ v({
1133
+ __name: "VibeCarouselSlide",
1134
+ props: {
1135
+ active: { type: Boolean, default: !1 },
1136
+ interval: { type: Number, default: void 0 },
1137
+ imgSrc: { type: String, default: void 0 },
1138
+ imgAlt: { type: String, default: "" },
1139
+ caption: { type: String, default: void 0 },
1140
+ captionText: { type: String, default: void 0 }
1141
+ },
1142
+ emits: ["component-error"],
1143
+ setup(e, { emit: u }) {
1144
+ return (t, i) => (a(), n("div", {
1145
+ class: m(["carousel-item", { active: e.active }]),
1146
+ "data-bs-interval": e.interval
1147
+ }, [
1148
+ e.imgSrc ? (a(), n("img", {
1149
+ key: 0,
1150
+ src: e.imgSrc,
1151
+ class: "d-block w-100",
1152
+ alt: e.imgAlt
1153
+ }, null, 8, Xe)) : $("", !0),
1154
+ b(t.$slots, "img"),
1155
+ e.caption || e.captionText || t.$slots.caption ? (a(), n("div", Ye, [
1156
+ b(t.$slots, "caption", {}, () => [
1157
+ e.caption ? (a(), n("h5", Ze, S(e.caption), 1)) : $("", !0),
1158
+ e.captionText ? (a(), n("p", et, S(e.captionText), 1)) : $("", !0)
1159
+ ])
1160
+ ])) : $("", !0),
1161
+ b(t.$slots, "default")
1162
+ ], 10, We));
1163
+ }
1164
+ }), at = ["id", "data-bs-ride", "data-bs-interval", "data-bs-keyboard", "data-bs-pause", "data-bs-wrap", "data-bs-touch"], st = {
1165
+ key: 0,
1166
+ class: "carousel-indicators"
1167
+ }, lt = ["data-bs-target", "data-bs-slide-to", "aria-current", "aria-label"], rt = { class: "carousel-inner" }, it = {
1168
+ key: 0,
1169
+ class: "carousel-indicators"
1170
+ }, nt = { class: "carousel-inner" }, ot = ["data-bs-target"], dt = ["data-bs-target"], na = /* @__PURE__ */ v({
1171
+ __name: "VibeCarousel",
1172
+ props: {
1173
+ id: { type: String, required: !0 },
1174
+ controls: { type: Boolean, default: !0 },
1175
+ indicators: { type: Boolean, default: !0 },
1176
+ ride: { type: [Boolean, String], default: !1 },
1177
+ interval: { type: [Number, Boolean], default: 5e3 },
1178
+ keyboard: { type: Boolean, default: !0 },
1179
+ pause: { type: [String, Boolean], default: "hover" },
1180
+ wrap: { type: Boolean, default: !0 },
1181
+ touch: { type: Boolean, default: !0 },
1182
+ dark: { type: Boolean, default: !1 },
1183
+ fade: { type: Boolean, default: !1 },
1184
+ items: { type: Array, default: void 0 }
1185
+ },
1186
+ emits: ["slide", "slid", "component-error"],
1187
+ setup(e, { emit: u }) {
1188
+ const t = j();
1189
+ return (i, l) => (a(), n("div", {
1190
+ id: e.id,
1191
+ class: m(["carousel", "slide", { "carousel-dark": e.dark, "carousel-fade": e.fade }]),
1192
+ "data-bs-ride": e.ride === !0 ? "carousel" : e.ride,
1193
+ "data-bs-interval": e.interval,
1194
+ "data-bs-keyboard": e.keyboard,
1195
+ "data-bs-pause": e.pause,
1196
+ "data-bs-wrap": e.wrap,
1197
+ "data-bs-touch": e.touch
1198
+ }, [
1199
+ e.items && e.items.length > 0 && !_(t).default ? (a(), n(w, { key: 0 }, [
1200
+ e.indicators ? (a(), n("div", st, [
1201
+ (a(!0), n(w, null, I(e.items, (s, o) => (a(), n("button", {
1202
+ key: `indicator-${o}`,
1203
+ type: "button",
1204
+ "data-bs-target": `#${e.id}`,
1205
+ "data-bs-slide-to": o,
1206
+ class: m({ active: s.active || o === 0 }),
1207
+ "aria-current": s.active || o === 0,
1208
+ "aria-label": `Slide ${o + 1}`
1209
+ }, null, 10, lt))), 128))
1210
+ ])) : $("", !0),
1211
+ d("div", rt, [
1212
+ (a(!0), n(w, null, I(e.items, (s, o) => (a(), y(tt, {
1213
+ key: o,
1214
+ active: s.active || o === 0,
1215
+ interval: s.interval,
1216
+ "img-src": s.src,
1217
+ "img-alt": s.alt,
1218
+ caption: s.caption,
1219
+ "caption-text": s.captionText
1220
+ }, null, 8, ["active", "interval", "img-src", "img-alt", "caption", "caption-text"]))), 128))
1221
+ ])
1222
+ ], 64)) : (a(), n(w, { key: 1 }, [
1223
+ e.indicators ? (a(), n("div", it, [
1224
+ b(i.$slots, "indicators")
1225
+ ])) : $("", !0),
1226
+ d("div", nt, [
1227
+ b(i.$slots, "default")
1228
+ ])
1229
+ ], 64)),
1230
+ e.controls ? (a(), n("button", {
1231
+ key: 2,
1232
+ class: "carousel-control-prev",
1233
+ type: "button",
1234
+ "data-bs-target": `#${e.id}`,
1235
+ "data-bs-slide": "prev"
1236
+ }, [...l[0] || (l[0] = [
1237
+ d("span", {
1238
+ class: "carousel-control-prev-icon",
1239
+ "aria-hidden": "true"
1240
+ }, null, -1),
1241
+ d("span", { class: "visually-hidden" }, "Previous", -1)
1242
+ ])], 8, ot)) : $("", !0),
1243
+ e.controls ? (a(), n("button", {
1244
+ key: 3,
1245
+ class: "carousel-control-next",
1246
+ type: "button",
1247
+ "data-bs-target": `#${e.id}`,
1248
+ "data-bs-slide": "next"
1249
+ }, [...l[1] || (l[1] = [
1250
+ d("span", {
1251
+ class: "carousel-control-next-icon",
1252
+ "aria-hidden": "true"
1253
+ }, null, -1),
1254
+ d("span", { class: "visually-hidden" }, "Next", -1)
1255
+ ])], 8, dt)) : $("", !0)
1256
+ ], 10, at));
1257
+ }
1258
+ }), ut = ["data-bs-placement", "data-bs-title", "data-bs-trigger", "data-bs-html"], oa = /* @__PURE__ */ v({
1259
+ __name: "VibeTooltip",
1260
+ props: {
1261
+ content: { type: String, required: !0 },
1262
+ placement: { type: String, default: "top" },
1263
+ trigger: { type: String, default: "hover focus" },
1264
+ html: { type: Boolean, default: !1 }
1265
+ },
1266
+ emits: ["component-error"],
1267
+ setup(e, { emit: u }) {
1268
+ return (t, i) => (a(), n("span", {
1269
+ "data-bs-toggle": "tooltip",
1270
+ "data-bs-placement": e.placement,
1271
+ "data-bs-title": e.content,
1272
+ "data-bs-trigger": e.trigger,
1273
+ "data-bs-html": e.html
1274
+ }, [
1275
+ b(t.$slots, "default")
1276
+ ], 8, ut));
1277
+ }
1278
+ }), ct = ["data-bs-placement", "data-bs-title", "data-bs-content", "data-bs-trigger", "data-bs-html"], da = /* @__PURE__ */ v({
1279
+ __name: "VibePopover",
1280
+ props: {
1281
+ title: { type: String, default: void 0 },
1282
+ content: { type: String, required: !0 },
1283
+ placement: { type: String, default: "top" },
1284
+ trigger: { type: String, default: "click" },
1285
+ html: { type: Boolean, default: !1 }
1286
+ },
1287
+ emits: ["component-error"],
1288
+ setup(e, { emit: u }) {
1289
+ return (t, i) => (a(), n("span", {
1290
+ "data-bs-toggle": "popover",
1291
+ "data-bs-placement": e.placement,
1292
+ "data-bs-title": e.title,
1293
+ "data-bs-content": e.content,
1294
+ "data-bs-trigger": e.trigger,
1295
+ "data-bs-html": e.html
1296
+ }, [
1297
+ b(t.$slots, "default")
1298
+ ], 8, ct));
1299
+ }
1300
+ }), ua = /* @__PURE__ */ v({
1301
+ __name: "VibeScrollspy",
1302
+ props: {
1303
+ target: { type: String, required: !0 },
1304
+ offset: { type: Number, default: 10 },
1305
+ method: { type: String, default: "auto" },
1306
+ smoothScroll: { type: Boolean, default: !1 },
1307
+ tag: { type: String, default: "div" }
1308
+ },
1309
+ emits: ["activate", "component-error"],
1310
+ setup(e, { emit: u }) {
1311
+ return (t, i) => (a(), y(V(e.tag), {
1312
+ "data-bs-spy": "scroll",
1313
+ "data-bs-target": e.target,
1314
+ "data-bs-offset": e.offset,
1315
+ "data-bs-method": e.method,
1316
+ "data-bs-smooth-scroll": e.smoothScroll,
1317
+ tabindex: "0"
1318
+ }, {
1319
+ default: g(() => [
1320
+ b(t.$slots, "default")
1321
+ ]),
1322
+ _: 3
1323
+ }, 8, ["data-bs-target", "data-bs-offset", "data-bs-method", "data-bs-smooth-scroll"]));
1324
+ }
1325
+ }), ft = { class: "vibe-datatable" }, bt = { class: "row mb-3" }, mt = {
1326
+ key: 0,
1327
+ class: "col-md-6 mb-2 mb-md-0"
1328
+ }, vt = ["placeholder"], pt = {
1329
+ key: 1,
1330
+ class: "col-md-6"
1331
+ }, yt = { class: "d-flex justify-content-md-end align-items-center" }, ht = ["value"], gt = ["onClick"], $t = {
1332
+ key: 0,
1333
+ class: "ms-1"
1334
+ }, kt = ["onClick"], St = { key: 0 }, Bt = ["colspan"], Vt = { class: "row" }, Ct = {
1335
+ key: 0,
1336
+ class: "col-md-6 mb-2 mb-md-0"
1337
+ }, wt = { class: "datatable-info" }, Pt = {
1338
+ key: 1,
1339
+ class: "col-md-6"
1340
+ }, xt = { class: "pagination justify-content-md-end mb-0" }, It = {
1341
+ key: 0,
1342
+ class: "page-item"
1343
+ }, Nt = {
1344
+ key: 1,
1345
+ class: "page-item disabled"
1346
+ }, _t = ["onClick"], jt = {
1347
+ key: 2,
1348
+ class: "page-item disabled"
1349
+ }, zt = {
1350
+ key: 3,
1351
+ class: "page-item"
1352
+ }, Tt = /* @__PURE__ */ v({
1353
+ __name: "VibeDataTable",
1354
+ props: {
1355
+ // Data
1356
+ items: { type: Array, default: () => [] },
1357
+ columns: { type: Array, required: !0 },
1358
+ // Table styling
1359
+ striped: { type: Boolean, default: !1 },
1360
+ bordered: { type: Boolean, default: !1 },
1361
+ borderless: { type: Boolean, default: !1 },
1362
+ hover: { type: Boolean, default: !1 },
1363
+ small: { type: Boolean, default: !1 },
1364
+ responsive: { type: Boolean, default: !0 },
1365
+ variant: { type: String, default: void 0 },
1366
+ // Features
1367
+ searchable: { type: Boolean, default: !0 },
1368
+ sortable: { type: Boolean, default: !0 },
1369
+ paginated: { type: Boolean, default: !0 },
1370
+ // Search
1371
+ searchPlaceholder: { type: String, default: "Search..." },
1372
+ searchDebounce: { type: Number, default: 300 },
1373
+ // Pagination
1374
+ perPage: { type: Number, default: 10 },
1375
+ currentPage: { type: Number, default: 1 },
1376
+ perPageOptions: { type: Array, default: () => [5, 10, 25, 50, 100] },
1377
+ // Sorting
1378
+ sortBy: { type: String, default: void 0 },
1379
+ sortDesc: { type: Boolean, default: !1 },
1380
+ // Display
1381
+ showEmpty: { type: Boolean, default: !0 },
1382
+ emptyText: { type: String, default: "No data available" },
1383
+ showPerPage: { type: Boolean, default: !0 },
1384
+ showInfo: { type: Boolean, default: !0 },
1385
+ infoText: { type: String, default: "Showing {start} to {end} of {total} entries" },
1386
+ filteredInfoText: { type: String, default: "Showing {start} to {end} of {total} entries (filtered from {totalRows} total entries)" }
1387
+ },
1388
+ emits: ["update:currentPage", "update:perPage", "update:sortBy", "update:sortDesc", "row-clicked", "component-error"],
1389
+ setup(e, { emit: u }) {
1390
+ const t = e, i = u, l = T(""), s = T(null), o = T(""), r = T(t.currentPage), k = T(t.perPage), B = T(t.sortBy), P = T(t.sortDesc);
1391
+ D(() => t.currentPage, (c) => {
1392
+ r.value = c;
1393
+ }), D(() => t.perPage, (c) => {
1394
+ k.value = c;
1395
+ }), D(() => t.sortBy, (c) => {
1396
+ B.value = c;
1397
+ }), D(() => t.sortDesc, (c) => {
1398
+ P.value = c;
1399
+ }), D(l, (c) => {
1400
+ s.value && clearTimeout(s.value), s.value = window.setTimeout(() => {
1401
+ o.value = c, r.value = 1;
1402
+ }, t.searchDebounce);
1403
+ });
1404
+ const F = f(() => {
1405
+ if (!t.searchable || !o.value)
1406
+ return t.items;
1407
+ const c = o.value.toLowerCase();
1408
+ return t.items.filter((h) => t.columns.some((p) => {
1409
+ if (p.searchable === !1) return !1;
1410
+ const N = h[p.key];
1411
+ return N == null ? !1 : String(N).toLowerCase().includes(c);
1412
+ }));
1413
+ }), G = f(() => {
1414
+ if (!t.sortable || !B.value)
1415
+ return F.value;
1416
+ const c = [...F.value], h = B.value;
1417
+ return c.sort((p, N) => {
1418
+ let x = p[h], A = N[h];
1419
+ return x == null ? 1 : A == null ? -1 : (typeof x == "string" && (x = x.toLowerCase()), typeof A == "string" && (A = A.toLowerCase()), x < A ? P.value ? 1 : -1 : x > A ? P.value ? -1 : 1 : 0);
1420
+ }), c;
1421
+ }), R = f(() => {
1422
+ if (!t.paginated)
1423
+ return G.value;
1424
+ const c = (r.value - 1) * k.value, h = c + k.value;
1425
+ return G.value.slice(c, h);
1426
+ }), H = f(() => t.items.length), L = f(() => F.value.length), z = f(() => Math.ceil(L.value / k.value)), J = f(() => L.value === 0 ? 0 : (r.value - 1) * k.value + 1), W = f(() => {
1427
+ const c = r.value * k.value;
1428
+ return Math.min(c, L.value);
1429
+ }), X = f(() => (L.value !== H.value ? t.filteredInfoText : t.infoText).replace("{start}", String(J.value)).replace("{end}", String(W.value)).replace("{total}", String(L.value)).replace("{totalRows}", String(H.value))), Y = f(() => {
1430
+ const c = ["table"];
1431
+ return t.striped && c.push("table-striped"), t.bordered && c.push("table-bordered"), t.borderless && c.push("table-borderless"), t.hover && c.push("table-hover"), t.small && c.push("table-sm"), t.variant && c.push(`table-${t.variant}`), c.join(" ");
1432
+ }), Z = (c) => {
1433
+ !t.sortable || c.sortable === !1 || (B.value === c.key ? P.value = !P.value : (B.value = c.key, P.value = !1), i("update:sortBy", B.value), i("update:sortDesc", P.value));
1434
+ }, q = (c) => {
1435
+ c < 1 || c > z.value || (r.value = c, i("update:currentPage", c));
1436
+ }, ee = () => {
1437
+ r.value = 1, i("update:perPage", k.value), i("update:currentPage", 1);
1438
+ }, te = (c, h) => {
1439
+ i("row-clicked", c, h);
1440
+ }, ae = (c, h) => {
1441
+ const p = c[h.key];
1442
+ return h.formatter ? h.formatter(p, c) : p;
1443
+ }, se = (c) => !t.sortable || c.sortable === !1 ? "" : B.value !== c.key ? "⇅" : P.value ? "↓" : "↑", le = (c) => {
1444
+ const h = { ...c.thStyle };
1445
+ return t.sortable && c.sortable !== !1 && (h.cursor = "pointer"), h;
1446
+ };
1447
+ return (c, h) => (a(), n("div", ft, [
1448
+ d("div", bt, [
1449
+ e.searchable ? (a(), n("div", mt, [
1450
+ Q(d("input", {
1451
+ "onUpdate:modelValue": h[0] || (h[0] = (p) => l.value = p),
1452
+ type: "search",
1453
+ class: "form-control",
1454
+ placeholder: e.searchPlaceholder
1455
+ }, null, 8, vt), [
1456
+ [re, l.value]
1457
+ ])
1458
+ ])) : $("", !0),
1459
+ e.showPerPage && e.paginated ? (a(), n("div", pt, [
1460
+ d("div", yt, [
1461
+ h[6] || (h[6] = d("label", { class: "me-2 mb-0" }, "Show", -1)),
1462
+ Q(d("select", {
1463
+ "onUpdate:modelValue": h[1] || (h[1] = (p) => k.value = p),
1464
+ class: "form-select form-select-sm",
1465
+ style: { width: "auto" },
1466
+ onChange: ee
1467
+ }, [
1468
+ (a(!0), n(w, null, I(e.perPageOptions, (p) => (a(), n("option", {
1469
+ key: p,
1470
+ value: p
1471
+ }, S(p), 9, ht))), 128))
1472
+ ], 544), [
1473
+ [
1474
+ ie,
1475
+ k.value,
1476
+ void 0,
1477
+ { number: !0 }
1478
+ ]
1479
+ ]),
1480
+ h[7] || (h[7] = d("span", { class: "ms-2" }, "entries", -1))
1481
+ ])
1482
+ ])) : $("", !0)
1483
+ ]),
1484
+ d("div", {
1485
+ class: m({ "table-responsive": e.responsive })
1486
+ }, [
1487
+ d("table", {
1488
+ class: m(Y.value)
1489
+ }, [
1490
+ d("thead", null, [
1491
+ d("tr", null, [
1492
+ (a(!0), n(w, null, I(e.columns, (p) => (a(), n("th", {
1493
+ key: p.key,
1494
+ class: m(p.headerClass),
1495
+ style: M(le(p)),
1496
+ onClick: (N) => Z(p)
1497
+ }, [
1498
+ C(S(p.label) + " ", 1),
1499
+ e.sortable && p.sortable !== !1 ? (a(), n("span", $t, S(se(p)), 1)) : $("", !0)
1500
+ ], 14, gt))), 128))
1501
+ ])
1502
+ ]),
1503
+ d("tbody", null, [
1504
+ (a(!0), n(w, null, I(R.value, (p, N) => (a(), n("tr", {
1505
+ key: N,
1506
+ onClick: (x) => te(p, N),
1507
+ style: { cursor: "pointer" }
1508
+ }, [
1509
+ (a(!0), n(w, null, I(e.columns, (x) => (a(), n("td", {
1510
+ key: x.key,
1511
+ class: m(x.class),
1512
+ style: M(x.tdStyle)
1513
+ }, [
1514
+ b(c.$slots, `cell(${x.key})`, {
1515
+ item: p,
1516
+ value: p[x.key],
1517
+ index: N
1518
+ }, () => [
1519
+ C(S(ae(p, x)), 1)
1520
+ ], !0)
1521
+ ], 6))), 128))
1522
+ ], 8, kt))), 128)),
1523
+ R.value.length === 0 && e.showEmpty ? (a(), n("tr", St, [
1524
+ d("td", {
1525
+ colspan: e.columns.length,
1526
+ class: "text-center"
1527
+ }, S(e.emptyText), 9, Bt)
1528
+ ])) : $("", !0)
1529
+ ])
1530
+ ], 2)
1531
+ ], 2),
1532
+ d("div", Vt, [
1533
+ e.showInfo ? (a(), n("div", Ct, [
1534
+ d("div", wt, S(X.value), 1)
1535
+ ])) : $("", !0),
1536
+ e.paginated && z.value > 1 ? (a(), n("div", Pt, [
1537
+ d("nav", null, [
1538
+ d("ul", xt, [
1539
+ d("li", {
1540
+ class: m(["page-item", { disabled: r.value === 1 }])
1541
+ }, [
1542
+ d("a", {
1543
+ class: "page-link",
1544
+ href: "#",
1545
+ onClick: h[2] || (h[2] = O((p) => q(r.value - 1), ["prevent"]))
1546
+ }, " Previous ")
1547
+ ], 2),
1548
+ r.value > 3 ? (a(), n("li", It, [
1549
+ d("a", {
1550
+ class: "page-link",
1551
+ href: "#",
1552
+ onClick: h[3] || (h[3] = O((p) => q(1), ["prevent"]))
1553
+ }, "1")
1554
+ ])) : $("", !0),
1555
+ r.value > 4 ? (a(), n("li", Nt, [...h[8] || (h[8] = [
1556
+ d("span", { class: "page-link" }, "...", -1)
1557
+ ])])) : $("", !0),
1558
+ (a(!0), n(w, null, I(Array.from({ length: z.value }, (p, N) => N + 1).filter(
1559
+ (p) => p >= r.value - 2 && p <= r.value + 2
1560
+ ), (p) => (a(), n("li", {
1561
+ key: p,
1562
+ class: m(["page-item", { active: p === r.value }])
1563
+ }, [
1564
+ d("a", {
1565
+ class: "page-link",
1566
+ href: "#",
1567
+ onClick: O((N) => q(p), ["prevent"])
1568
+ }, S(p), 9, _t)
1569
+ ], 2))), 128)),
1570
+ r.value < z.value - 3 ? (a(), n("li", jt, [...h[9] || (h[9] = [
1571
+ d("span", { class: "page-link" }, "...", -1)
1572
+ ])])) : $("", !0),
1573
+ r.value < z.value - 2 ? (a(), n("li", zt, [
1574
+ d("a", {
1575
+ class: "page-link",
1576
+ href: "#",
1577
+ onClick: h[4] || (h[4] = O((p) => q(z.value), ["prevent"]))
1578
+ }, S(z.value), 1)
1579
+ ])) : $("", !0),
1580
+ d("li", {
1581
+ class: m(["page-item", { disabled: r.value === z.value }])
1582
+ }, [
1583
+ d("a", {
1584
+ class: "page-link",
1585
+ href: "#",
1586
+ onClick: h[5] || (h[5] = O((p) => q(r.value + 1), ["prevent"]))
1587
+ }, " Next ")
1588
+ ], 2)
1589
+ ])
1590
+ ])
1591
+ ])) : $("", !0)
1592
+ ])
1593
+ ]));
1594
+ }
1595
+ }), At = (e, u) => {
1596
+ const t = e.__vccOpts || e;
1597
+ for (const [i, l] of u)
1598
+ t[i] = l;
1599
+ return t;
1600
+ }, ca = /* @__PURE__ */ At(Tt, [["__scopeId", "data-v-48221c7b"]]);
43
1601
  export {
44
- g as VibeAlert
1602
+ ta as VibeAccordion,
1603
+ Ne as VibeAccordionItem,
1604
+ Lt as VibeAlert,
1605
+ qt as VibeBadge,
1606
+ Ht as VibeBreadcrumb,
1607
+ ye as VibeBreadcrumbItem,
1608
+ Ot as VibeButton,
1609
+ Mt as VibeButtonGroup,
1610
+ Rt as VibeCard,
1611
+ ce as VibeCardBody,
1612
+ fe as VibeCardFooter,
1613
+ ue as VibeCardHeader,
1614
+ U as VibeCardImg,
1615
+ ve as VibeCardText,
1616
+ me as VibeCardTitle,
1617
+ na as VibeCarousel,
1618
+ tt as VibeCarouselSlide,
1619
+ Ft as VibeCloseButton,
1620
+ aa as VibeCollapse,
1621
+ ca as VibeDataTable,
1622
+ sa as VibeDropdown,
1623
+ ze as VibeDropdownItem,
1624
+ Yt as VibeListGroup,
1625
+ Be as VibeListGroupItem,
1626
+ la as VibeModal,
1627
+ Qt as VibeNav,
1628
+ K as VibeNavItem,
1629
+ Ut as VibeNavbar,
1630
+ Kt as VibeNavbarBrand,
1631
+ Wt as VibeNavbarNav,
1632
+ Jt as VibeNavbarToggle,
1633
+ ra as VibeOffcanvas,
1634
+ Xt as VibePagination,
1635
+ E as VibePaginationItem,
1636
+ Gt as VibePlaceholder,
1637
+ da as VibePopover,
1638
+ Zt as VibeProgress,
1639
+ ea as VibeProgressBar,
1640
+ ua as VibeScrollspy,
1641
+ Et as VibeSpinner,
1642
+ ia as VibeToast,
1643
+ oa as VibeTooltip
45
1644
  };