@validol4ik/uikit 0.10.2 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,616 @@
1
+ import { defineComponent as C, computed as M, openBlock as a, createBlock as $, unref as B, normalizeClass as p, withCtx as X, createElementBlock as u, createCommentVNode as f, renderSlot as z, Fragment as T, createTextVNode as G, toDisplayString as I, createElementVNode as h, withModifiers as j, withDirectives as q, createVNode as ee, normalizeStyle as W, ref as L, watch as Y, onMounted as Z, renderList as H, withKeys as oe, vModelText as le, nextTick as P, useModel as J, useTemplateRef as Q, onBeforeUnmount as te, mergeModels as F, defineAsyncComponent as O } from "vue";
2
+ import { boot as ne } from "quasar/wrappers";
3
+ import ae from "quasar/src/components/btn/QBtn.js";
4
+ import se from "quasar/src/components/checkbox/QCheckbox.js";
5
+ import ie from "quasar/src/directives/close-popup/ClosePopup.js";
6
+ import ue from "quasar/src/components/spinner/QSpinner.js";
7
+ import de from "quasar/src/components/linear-progress/QLinearProgress.js";
8
+ import re from "quasar/src/components/item/QItem.js";
9
+ const je = ne(({ app: d }) => {
10
+ const t = d.config.globalProperties.$q;
11
+ t.iconMapFn = (n) => {
12
+ if (n.startsWith("icon-kl:"))
13
+ return {
14
+ cls: `icon-kl icon-kl-${n.slice(8)}`
15
+ };
16
+ };
17
+ }), K = {
18
+ PRIMARY: "primary",
19
+ INFO: "info"
20
+ }, _ = {
21
+ SM: "sm",
22
+ MD: "md",
23
+ LG: "lg",
24
+ XL: "xl"
25
+ }, pe = {
26
+ [_.SM]: "3px 9px",
27
+ [_.MD]: "5px 12px",
28
+ [_.LG]: "6px 15px",
29
+ [_.XL]: "9px 20px"
30
+ }, ce = /* @__PURE__ */ C({
31
+ __name: "AppButton",
32
+ props: {
33
+ size: { default: _.MD },
34
+ transparent: { type: Boolean },
35
+ flat: { type: Boolean },
36
+ rounded: { type: Boolean },
37
+ color: { default: K.PRIMARY },
38
+ iconLeft: {},
39
+ iconRight: {},
40
+ iconMiddle: {},
41
+ disabled: { type: Boolean },
42
+ loading: { type: Boolean },
43
+ to: {},
44
+ href: {},
45
+ target: {},
46
+ submit: { type: Boolean },
47
+ ariaLabel: {},
48
+ label: {},
49
+ download: {}
50
+ },
51
+ emits: ["click"],
52
+ setup(d) {
53
+ const t = d, n = M(() => [
54
+ "app-btn",
55
+ {
56
+ "app-btn_default": !t.transparent && !t.flat,
57
+ "app-btn_trans": t.transparent,
58
+ "app-btn_flat": t.flat,
59
+ "app-btn_rounded": t.rounded,
60
+ "app-btn_icon-left": t.iconLeft,
61
+ "app-btn_icon-right": t.iconRight,
62
+ "app-btn_icon-middle": t.iconMiddle
63
+ },
64
+ `app-btn_${t.size}`,
65
+ `app-btn_${t.color}`
66
+ ]);
67
+ return (e, i) => (a(), $(B(ae), {
68
+ "no-caps": "",
69
+ unelevated: "",
70
+ class: p(n.value),
71
+ padding: B(pe)[e.size || B(_).MD],
72
+ loading: e.loading,
73
+ disable: e.disabled || void 0,
74
+ to: e.to,
75
+ href: e.href,
76
+ target: e.target,
77
+ type: e.submit ? "submit" : void 0,
78
+ "aria-label": e.ariaLabel,
79
+ download: e.download,
80
+ onClick: i[0] || (i[0] = (l) => e.$emit("click", l))
81
+ }, {
82
+ default: X(() => [
83
+ e.iconLeft || e.iconMiddle ? (a(), u("i", {
84
+ key: 0,
85
+ class: p([
86
+ "icon-kl",
87
+ e.iconLeft ? "icon-kl_left" : "icon-kl_middle",
88
+ `icon-kl-${e.iconLeft || e.iconMiddle}`,
89
+ e.transparent || e.flat ? `text-${e.color}` : "text-secondary"
90
+ ])
91
+ }, null, 2)) : f("", !0),
92
+ z(e.$slots, "default", {}, void 0, !0),
93
+ e.label ? (a(), u(T, { key: 1 }, [
94
+ G(I(e.label), 1)
95
+ ], 64)) : f("", !0),
96
+ e.iconRight ? (a(), u("i", {
97
+ key: 2,
98
+ class: p([
99
+ "icon-kl",
100
+ "icon-kl_right",
101
+ `icon-kl-${e.iconRight}`,
102
+ e.transparent ? `text-${e.color}` : "text-secondary"
103
+ ])
104
+ }, null, 2)) : f("", !0)
105
+ ]),
106
+ _: 3
107
+ }, 8, ["class", "padding", "loading", "disable", "to", "href", "target", "type", "aria-label", "download"]));
108
+ }
109
+ }), w = (d, t) => {
110
+ const n = d.__vccOpts || d;
111
+ for (const [e, i] of t)
112
+ n[e] = i;
113
+ return n;
114
+ }, qe = /* @__PURE__ */ w(ce, [["__scopeId", "data-v-c9951ab6"]]), me = /* @__PURE__ */ C({
115
+ __name: "CloseButton",
116
+ props: {
117
+ size: { default: _.MD }
118
+ },
119
+ setup(d) {
120
+ const t = d, n = M(() => ["close-btn", `close-btn_${t.size}`]);
121
+ return (e, i) => (a(), u("button", {
122
+ class: p(n.value),
123
+ type: "button",
124
+ "aria-label": "Close"
125
+ }, [...i[0] || (i[0] = [
126
+ h("i", { class: "icon-kl icon-kl-close" }, null, -1)
127
+ ])], 2));
128
+ }
129
+ }), Ze = /* @__PURE__ */ w(me, [["__scopeId", "data-v-7cc56d51"]]), fe = {
130
+ key: 0,
131
+ class: "app-toggle__label app-toggle__label_left"
132
+ }, ge = { class: "app-toggle__container" }, be = ["checked", "disabled"], ve = { class: "app-toggle__thumb" }, he = {
133
+ key: 1,
134
+ class: "app-toggle__label"
135
+ }, _e = /* @__PURE__ */ C({
136
+ __name: "AppToggle",
137
+ props: {
138
+ modelValue: { type: Boolean },
139
+ size: { default: _.MD },
140
+ label: {},
141
+ disabled: { type: Boolean },
142
+ color: { default: K.PRIMARY },
143
+ iconColor: {},
144
+ icon: {},
145
+ iconActive: {},
146
+ labelLeft: { type: Boolean }
147
+ },
148
+ emits: ["update:modelValue"],
149
+ setup(d, { emit: t }) {
150
+ const n = d, e = t, i = M({
151
+ get: () => n.modelValue,
152
+ set: (o) => {
153
+ e("update:modelValue", o);
154
+ }
155
+ }), l = M(() => [
156
+ "app-toggle",
157
+ {
158
+ "app-toggle_active": i.value,
159
+ "app-toggle_disabled": n.disabled
160
+ },
161
+ `app-toggle_${n.size}`,
162
+ `app-toggle_${n.color}`
163
+ ]);
164
+ return (o, g) => (a(), u("div", {
165
+ class: p(l.value),
166
+ onClick: g[1] || (g[1] = j(() => {
167
+ }, ["stop"]))
168
+ }, [
169
+ o.label && o.labelLeft ? (a(), u("span", fe, I(o.label), 1)) : f("", !0),
170
+ h("label", ge, [
171
+ h("input", {
172
+ type: "checkbox",
173
+ checked: i.value,
174
+ onChange: g[0] || (g[0] = (k) => i.value = !i.value),
175
+ disabled: o.disabled,
176
+ class: "app-toggle__input"
177
+ }, null, 40, be),
178
+ h("span", {
179
+ class: p(["app-toggle__slider", i.value ? `bg-${o.color}` : ""])
180
+ }, [
181
+ h("span", ve, [
182
+ o.icon && !o.modelValue ? (a(), u("i", {
183
+ key: 0,
184
+ class: p(["icon-kl", `icon-kl-${o.icon}`, "app-toggle__icon"])
185
+ }, null, 2)) : f("", !0),
186
+ o.modelValue && (o.iconActive || o.icon) ? (a(), u("i", {
187
+ key: 1,
188
+ class: p([
189
+ "icon-kl",
190
+ `icon-kl-${o.iconActive || o.icon}`,
191
+ "app-toggle__icon",
192
+ i.value ? `text-${o.iconColor}` : ""
193
+ ])
194
+ }, null, 2)) : f("", !0)
195
+ ])
196
+ ], 2),
197
+ z(o.$slots, "default", {}, void 0, !0)
198
+ ]),
199
+ o.label && !o.labelLeft ? (a(), u("span", he, I(o.label), 1)) : f("", !0)
200
+ ], 2));
201
+ }
202
+ }), x = /* @__PURE__ */ w(_e, [["__scopeId", "data-v-ba49356e"]]), ke = {
203
+ key: 0,
204
+ class: "menu-item__loading"
205
+ }, ye = {
206
+ key: 0,
207
+ class: "menu-item__checked"
208
+ }, $e = {
209
+ key: 2,
210
+ class: "menu-item__icon"
211
+ }, Be = { class: "menu-item__label" }, Me = {
212
+ key: 3,
213
+ class: "menu-item__icon-right icon-kl icon-kl-arrow-right"
214
+ }, we = /* @__PURE__ */ C({
215
+ __name: "PopupItem",
216
+ props: {
217
+ label: {},
218
+ icon: {},
219
+ iconSize: {},
220
+ color: {},
221
+ iconRight: {},
222
+ arrow: { type: Boolean },
223
+ toggle: { type: Boolean },
224
+ checkbox: { type: Boolean },
225
+ active: { type: Boolean },
226
+ modelValue: { type: Boolean },
227
+ persistent: { type: Boolean },
228
+ loading: { type: Boolean },
229
+ disabled: { type: Boolean },
230
+ gap: { type: Boolean },
231
+ checked: { type: Boolean },
232
+ isMobile: { type: Boolean }
233
+ },
234
+ emits: ["update:modelValue", "closePopup"],
235
+ setup(d, { emit: t }) {
236
+ const n = d, e = t, i = () => {
237
+ n.disabled || (n.toggle || n.checkbox ? e("update:modelValue", !n.modelValue) : n.persistent || e("closePopup"));
238
+ };
239
+ return (l, o) => q((a(), u("div", {
240
+ class: p(["menu-item", [
241
+ { "menu-item_gap": l.gap },
242
+ { "menu-item_disabled": l.disabled },
243
+ { "menu-item_active": l.active },
244
+ { "menu-item_mobile": l.isMobile }
245
+ ]]),
246
+ onClick: i
247
+ }, [
248
+ h("div", {
249
+ class: p(["row items-center no-wrap", `text-${l.color ? l.color : "dark"}`])
250
+ }, [
251
+ l.loading ? (a(), u("div", ke, [
252
+ ee(B(ue), {
253
+ size: "19px",
254
+ color: l.color ? l.color : "dark"
255
+ }, null, 8, ["color"])
256
+ ])) : (a(), u(T, { key: 1 }, [
257
+ l.checked ? (a(), u("div", ye, [...o[3] || (o[3] = [
258
+ h("i", { class: "icon-kl icon-kl-check" }, null, -1)
259
+ ])])) : f("", !0),
260
+ l.checkbox ? (a(), $(se, {
261
+ key: 1,
262
+ class: "menu-item__checkbox",
263
+ size: "34px",
264
+ "model-value": l.modelValue,
265
+ "onUpdate:modelValue": o[0] || (o[0] = (g) => e("update:modelValue", g)),
266
+ onClick: o[1] || (o[1] = j(() => {
267
+ }, ["stop"]))
268
+ }, null, 8, ["model-value"])) : f("", !0),
269
+ l.icon ? (a(), u("div", $e, [
270
+ h("i", {
271
+ class: p(`icon-kl icon-kl-${l.icon}`),
272
+ style: W({ fontSize: l.iconSize || "27px" })
273
+ }, null, 6)
274
+ ])) : f("", !0)
275
+ ], 64)),
276
+ h("span", Be, I(l.label), 1)
277
+ ], 2),
278
+ l.$slots.right ? z(l.$slots, "right", { key: 0 }, void 0, !0) : l.toggle ? (a(), $(x, {
279
+ key: 1,
280
+ class: "menu-item__toggle",
281
+ "model-value": l.modelValue,
282
+ disabled: l.disabled || l.loading,
283
+ "onUpdate:modelValue": o[2] || (o[2] = (g) => e("update:modelValue", g))
284
+ }, null, 8, ["model-value", "disabled"])) : l.iconRight ? (a(), u("i", {
285
+ key: 2,
286
+ class: p([
287
+ "menu-item__icon-right menu-item__icon-right_custom icon-kl",
288
+ `icon-kl-${l.iconRight}`
289
+ ])
290
+ }, null, 2)) : l.arrow ? (a(), u("i", Me)) : f("", !0)
291
+ ], 2)), [
292
+ [ie, !l.toggle && !l.checkbox && !l.persistent && !l.disabled]
293
+ ]);
294
+ }
295
+ }), He = /* @__PURE__ */ w(we, [["__scopeId", "data-v-4b2a03b5"]]), Ce = /* @__PURE__ */ C({
296
+ __name: "AppIcon",
297
+ props: {
298
+ name: {},
299
+ size: {},
300
+ color: {}
301
+ },
302
+ setup(d) {
303
+ return (t, n) => (a(), u("i", {
304
+ class: p(["icon-kl", `icon-kl-${t.name}`, t.color ? `text-${t.color}` : ""]),
305
+ style: W(t.size ? `font-size: ${t.size}` : void 0)
306
+ }, null, 6));
307
+ }
308
+ }), N = /* @__PURE__ */ w(Ce, [["__scopeId", "data-v-941765ee"]]), Ve = {
309
+ key: 0,
310
+ class: "code-field__label"
311
+ }, ze = { class: "code-field__inputs" }, Ie = ["onUpdate:modelValue", "disabled", "onInput", "onKeydown", "onPaste"], Re = /* @__PURE__ */ C({
312
+ __name: "AppCodeInput",
313
+ props: {
314
+ length: { default: 5 },
315
+ size: { default: _.MD },
316
+ label: {},
317
+ disabled: { type: Boolean },
318
+ loading: { type: Boolean },
319
+ autofocus: { type: Boolean },
320
+ color: {}
321
+ },
322
+ emits: ["update:modelValue", "completed"],
323
+ setup(d, { expose: t, emit: n }) {
324
+ const e = d, i = n, l = L(Array(e.length).fill("")), o = L([]), g = M(() => [
325
+ "code-field",
326
+ {
327
+ "code-field_disabled": e.disabled || e.loading
328
+ },
329
+ `code-field_${e.size}`,
330
+ `code-field_${e.color}`
331
+ ]), k = M(() => {
332
+ let s = "";
333
+ return e.size == _.SM && (s += `width: ${e.length * 26 + (e.length - 1) * 5}px`), e.size == _.MD && (s += `width: ${e.length * 32 + (e.length - 1) * 8}px`), e.size == _.LG && (s += `width: ${e.length * 44 + (e.length - 1) * 10}px`), s;
334
+ }), U = (s, c) => {
335
+ var m;
336
+ const b = s.target.value;
337
+ if (b.length === 1)
338
+ c < e.length - 1 && o.value && ((m = o.value[c + 1]) == null || m.focus());
339
+ else if (b.length > 1) {
340
+ const r = b.slice(0, e.length - c).split("");
341
+ r.forEach((v, y) => {
342
+ l.value[c + y] = v;
343
+ }), P(() => {
344
+ var v;
345
+ o.value && ((v = o.value[Math.min(c + r.length, e.length - 1)]) == null || v.focus());
346
+ });
347
+ }
348
+ }, R = (s) => {
349
+ var c;
350
+ l.value[s] === "" && o.value && s > 0 && ((c = o.value[s - 1]) == null || c.focus());
351
+ }, E = (s, c) => {
352
+ var m;
353
+ s.preventDefault();
354
+ const V = ((m = s.clipboardData) == null ? void 0 : m.getData("text")) ?? "";
355
+ if (!V) return;
356
+ const b = V.slice(0, e.length - c).split("");
357
+ b.forEach((r, v) => {
358
+ l.value[c + v] = r;
359
+ }), P(() => {
360
+ var r;
361
+ o.value && ((r = o.value[Math.min(c + b.length, e.length - 1)]) == null || r.focus());
362
+ });
363
+ };
364
+ Y(
365
+ l,
366
+ (s) => {
367
+ const c = s.join("");
368
+ A(c);
369
+ },
370
+ { deep: !0 }
371
+ );
372
+ const A = (s) => {
373
+ i("update:modelValue", s), s.length === e.length && !s.includes(" ") && i("completed", s);
374
+ }, S = (s) => {
375
+ s && (l.value = s.split("").slice(0, e.length));
376
+ };
377
+ return Z(() => {
378
+ e.autofocus && o.value && o.value[0] && o.value[0].focus();
379
+ }), t({
380
+ injectCode: S
381
+ }), (s, c) => (a(), u("div", {
382
+ class: p(g.value),
383
+ style: W(k.value)
384
+ }, [
385
+ s.label ? (a(), u("label", Ve, I(s.label), 1)) : f("", !0),
386
+ h("div", ze, [
387
+ (a(!0), u(T, null, H(s.length, (V, b) => q((a(), u("input", {
388
+ key: b,
389
+ "onUpdate:modelValue": (m) => l.value[b] = m,
390
+ ref_for: !0,
391
+ ref_key: "inputRefs",
392
+ ref: o,
393
+ type: "number",
394
+ maxlength: "1",
395
+ class: "code-field__input",
396
+ disabled: s.disabled || s.loading,
397
+ onInput: (m) => U(m, b),
398
+ onKeydown: oe((m) => R(b), ["backspace"]),
399
+ onPaste: (m) => E(m, b)
400
+ }, null, 40, Ie)), [
401
+ [le, l.value[b]]
402
+ ])), 128))
403
+ ]),
404
+ s.loading ? (a(), $(de, {
405
+ key: 1,
406
+ indeterminate: "",
407
+ rounded: "",
408
+ color: s.color,
409
+ class: "code-field__loading"
410
+ }, null, 8, ["color"])) : f("", !0)
411
+ ], 6));
412
+ }
413
+ }), Je = /* @__PURE__ */ w(Re, [["__scopeId", "data-v-4e11db87"]]), Ae = ["onClick", "disabled"], Se = /* @__PURE__ */ C({
414
+ __name: "AppSegment",
415
+ props: /* @__PURE__ */ F({
416
+ options: {},
417
+ disabled: { type: Boolean },
418
+ size: { default: _.MD },
419
+ color: { default: K.PRIMARY },
420
+ glass: { type: Boolean },
421
+ blur: { type: Boolean }
422
+ }, {
423
+ modelValue: {},
424
+ modelModifiers: {}
425
+ }),
426
+ emits: ["update:modelValue"],
427
+ setup(d) {
428
+ const t = J(d, "modelValue"), n = d, e = Q("scroller"), i = Q("content"), l = Q("buttons"), o = L(!1), g = L(!1), k = L({ left: 0, width: 0 }), U = M(() => [
429
+ "app-segment",
430
+ {
431
+ "app-segment_disabled": n.disabled,
432
+ "app-segment_scrollable": g.value,
433
+ "app-segment_glass": n.glass,
434
+ "app-segment_blur": n.blur
435
+ },
436
+ `app-segment_${n.size}`,
437
+ `app-segment_${n.color}`
438
+ ]), R = M(
439
+ () => n.options.findIndex((r) => r.value === t.value)
440
+ ), E = M(() => ({
441
+ width: `${k.value.width}px`,
442
+ transform: `translateX(${k.value.left}px)`,
443
+ opacity: k.value.width ? 1 : 0
444
+ }));
445
+ function A() {
446
+ var v;
447
+ const r = (v = l.value) == null ? void 0 : v[R.value];
448
+ k.value = r ? { left: r.offsetLeft, width: r.offsetWidth } : { left: 0, width: 0 }, e.value && (g.value = e.value.scrollWidth - e.value.clientWidth > 1);
449
+ }
450
+ function S(r = "smooth") {
451
+ var y, D;
452
+ const v = (y = l.value) == null ? void 0 : y[R.value];
453
+ !v || !((D = e.value) != null && D.scrollTo) || e.value.scrollTo({
454
+ left: v.offsetLeft + v.offsetWidth / 2 - e.value.clientWidth / 2,
455
+ behavior: r
456
+ });
457
+ }
458
+ function s(r) {
459
+ n.disabled || (t.value = r);
460
+ }
461
+ let c = !0;
462
+ function V() {
463
+ c = !1;
464
+ }
465
+ function b() {
466
+ A(), c && S();
467
+ }
468
+ let m;
469
+ return Z(async () => {
470
+ A(), await P(), S("auto"), o.value = !0, typeof ResizeObserver < "u" && e.value && i.value && (m = new ResizeObserver(b), m.observe(e.value), m.observe(i.value));
471
+ }), te(() => m == null ? void 0 : m.disconnect()), Y(
472
+ [R, g, () => n.options, () => n.size],
473
+ () => P(A)
474
+ ), Y(R, () => {
475
+ c = !0, P(() => S());
476
+ }), (r, v) => (a(), u("div", {
477
+ ref_key: "scroller",
478
+ ref: e,
479
+ class: p(U.value),
480
+ onWheelPassive: V,
481
+ onTouchstartPassive: V
482
+ }, [
483
+ h("div", {
484
+ ref_key: "content",
485
+ ref: i,
486
+ class: "app-segment__content"
487
+ }, [
488
+ h("div", {
489
+ class: p(["app-segment__thumb", { "app-segment__thumb_animated": o.value }]),
490
+ style: W(E.value)
491
+ }, null, 6),
492
+ (a(!0), u(T, null, H(r.options, (y, D) => (a(), u("button", {
493
+ ref_for: !0,
494
+ ref_key: "buttons",
495
+ ref: l,
496
+ key: D,
497
+ class: p(["app-segment__btn", { "app-segment__btn_active": t.value === y.value }]),
498
+ onClick: (Ue) => s(y.value),
499
+ disabled: r.disabled
500
+ }, [
501
+ z(r.$slots, "option", { option: y }, () => [
502
+ G(I(y.label), 1)
503
+ ], !0)
504
+ ], 10, Ae))), 128))
505
+ ], 512)
506
+ ], 34));
507
+ }
508
+ }), xe = /* @__PURE__ */ w(Se, [["__scopeId", "data-v-ae0383f8"]]), Le = {}, Pe = { class: "system-menu" };
509
+ function De(d, t) {
510
+ return a(), u("div", Pe, [
511
+ z(d.$slots, "default", {}, void 0, !0)
512
+ ]);
513
+ }
514
+ const eo = /* @__PURE__ */ w(Le, [["render", De], ["__scopeId", "data-v-5649b2f4"]]), Te = { class: "menu-item__content" }, We = {
515
+ key: 0,
516
+ class: "menu-item__value"
517
+ }, Oe = /* @__PURE__ */ C({
518
+ __name: "MenuItem",
519
+ props: /* @__PURE__ */ F({
520
+ label: {},
521
+ icon: {},
522
+ iconRight: {},
523
+ arrow: { type: Boolean },
524
+ color: {},
525
+ to: {},
526
+ href: {},
527
+ target: {},
528
+ disabled: { type: Boolean },
529
+ toggle: { type: Boolean },
530
+ isMobile: { type: Boolean }
531
+ }, {
532
+ modelValue: { type: Boolean },
533
+ modelModifiers: {}
534
+ }),
535
+ emits: /* @__PURE__ */ F(["click"], ["update:modelValue"]),
536
+ setup(d, { emit: t }) {
537
+ const n = d, e = t, i = J(d, "modelValue"), l = async () => {
538
+ n.toggle && (i.value = !i.value), e("click");
539
+ };
540
+ return (o, g) => (a(), $(B(re), {
541
+ class: p(["menu-item", {
542
+ "menu-item_disabled": o.disabled,
543
+ "menu-item_mobile": o.isMobile
544
+ }]),
545
+ to: o.to,
546
+ href: o.href,
547
+ target: o.target,
548
+ disable: o.disabled,
549
+ clickable: "",
550
+ onClick: l
551
+ }, {
552
+ default: X(() => [
553
+ o.icon ? (a(), $(B(N), {
554
+ key: 0,
555
+ name: o.icon.name,
556
+ class: p(["menu-item__icon", `bg-${o.icon.color}`])
557
+ }, null, 8, ["name", "class"])) : f("", !0),
558
+ h("div", Te, [
559
+ h("span", {
560
+ class: p(["app-menu-item__label", o.color ? `text-${o.color}` : ""])
561
+ }, [
562
+ G(I(o.label) + " ", 1),
563
+ z(o.$slots, "default", {}, void 0, !0)
564
+ ], 2),
565
+ o.$slots.value ? (a(), u("span", We, [
566
+ z(o.$slots, "value", {}, void 0, !0)
567
+ ])) : f("", !0),
568
+ o.toggle ? (a(), $(B(x), {
569
+ key: 1,
570
+ modelValue: i.value,
571
+ "onUpdate:modelValue": g[0] || (g[0] = (k) => i.value = k)
572
+ }, null, 8, ["modelValue"])) : f("", !0),
573
+ o.iconRight ? (a(), $(B(N), {
574
+ key: 2,
575
+ class: "menu-item__icon-right",
576
+ name: o.iconRight.name,
577
+ color: o.iconRight.color
578
+ }, null, 8, ["name", "color"])) : f("", !0),
579
+ o.arrow ? (a(), $(B(N), {
580
+ key: 3,
581
+ class: "menu-item__icon-right menu-item__arrow",
582
+ name: "arrow-right"
583
+ })) : f("", !0)
584
+ ])
585
+ ]),
586
+ _: 3
587
+ }, 8, ["class", "to", "href", "target", "disable"]));
588
+ }
589
+ }), oo = /* @__PURE__ */ w(Oe, [["__scopeId", "data-v-b9907ab7"]]), lo = O(
590
+ () => import("./AppButtonCopy-BjQVrYEH.js")
591
+ ), to = O(
592
+ () => import("./AppSelect-pGQF24bM.js")
593
+ ), no = O(
594
+ () => import("./DropdownButton-BYc2A5TU.js")
595
+ ), ao = O(
596
+ () => import("./BottomSheet-BV1JZxic.js")
597
+ );
598
+ export {
599
+ qe as A,
600
+ ao as B,
601
+ K as C,
602
+ no as D,
603
+ oo as M,
604
+ He as P,
605
+ _ as S,
606
+ w as _,
607
+ Ze as a,
608
+ lo as b,
609
+ Je as c,
610
+ N as d,
611
+ xe as e,
612
+ to as f,
613
+ x as g,
614
+ eo as h,
615
+ je as i
616
+ };