@dskripchenko/ui 0.2.0 → 0.3.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/index.mjs CHANGED
@@ -1,19 +1,19 @@
1
1
  import { t as e } from "./UidIcon-5947kXOj.js";
2
2
  import { Fragment as t, Teleport as n, Transition as r, TransitionGroup as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, inject as p, mergeModels as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onMounted as y, onUnmounted as b, openBlock as x, provide as S, readonly as C, ref as w, renderList as T, renderSlot as E, resolveComponent as D, resolveDynamicComponent as O, toDisplayString as k, toValue as A, unref as j, useId as M, useModel as N, useSlots as P, vModelDynamic as F, vModelText as I, watch as L, withCtx as R, withDirectives as z, withModifiers as B } from "vue";
3
- import { AlertCircle as V, AlertTriangle as H, ArrowDown as U, ArrowLeft as W, ArrowUp as G, ArrowUpDown as ee, Calendar as K, Check as q, CheckCircle2 as J, ChevronDown as te, ChevronLeft as Y, ChevronRight as X, Clock as ne, Copy as re, FileText as ie, FolderOpen as ae, Info as oe, Minus as se, Plus as ce, Search as le, ServerCrash as ue, Upload as de, WifiOff as fe, X as Z } from "lucide-vue-next";
3
+ import { AlertCircle as V, AlertTriangle as H, ArrowDown as U, ArrowLeft as W, ArrowUp as G, ArrowUpDown as K, Calendar as ee, Check as q, CheckCircle2 as J, ChevronDown as te, ChevronLeft as Y, ChevronRight as X, Clock as ne, Copy as re, FileText as ie, FolderOpen as ae, Info as oe, Minus as se, Plus as ce, Search as le, ServerCrash as ue, Star as de, Upload as fe, WifiOff as pe, X as Z, XCircle as me } from "lucide-vue-next";
4
4
  //#region src/components/Button/UidButton.vue?vue&type=script&setup=true&lang.ts
5
- var pe = [
5
+ var he = [
6
6
  "type",
7
7
  "disabled",
8
8
  "aria-disabled",
9
9
  "data-loading"
10
- ], me = {
10
+ ], ge = {
11
11
  key: 0,
12
12
  class: "uid-button__prepend"
13
- }, he = {
13
+ }, _e = {
14
14
  key: 1,
15
15
  class: "uid-button__append"
16
- }, ge = /* @__PURE__ */ f({
16
+ }, ve = /* @__PURE__ */ f({
17
17
  __name: "UidButton",
18
18
  props: {
19
19
  variant: { default: "primary" },
@@ -42,12 +42,12 @@ var pe = [
42
42
  "data-loading": e.loading ? "true" : void 0,
43
43
  onClick: i
44
44
  }, [
45
- t.$slots.prepend ? (x(), c("span", me, [E(t.$slots, "prepend")])) : s("", !0),
45
+ t.$slots.prepend ? (x(), c("span", ge, [E(t.$slots, "prepend")])) : s("", !0),
46
46
  E(t.$slots, "default"),
47
- t.$slots.append ? (x(), c("span", he, [E(t.$slots, "append")])) : s("", !0)
48
- ], 10, pe));
47
+ t.$slots.append ? (x(), c("span", _e, [E(t.$slots, "append")])) : s("", !0)
48
+ ], 10, he));
49
49
  }
50
- }), _e = {
50
+ }), ye = {
51
51
  required: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`,
52
52
  email: () => "Введите корректный email",
53
53
  url: () => "Введите корректный URL",
@@ -62,59 +62,59 @@ var pe = [
62
62
  same_as: () => "Значения не совпадают",
63
63
  required_if: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`,
64
64
  required_unless: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`
65
- }, ve = {};
66
- function ye(e) {
67
- ve = {
68
- ...ve,
65
+ }, be = {};
66
+ function xe(e) {
67
+ be = {
68
+ ...be,
69
69
  ...e
70
70
  };
71
71
  }
72
72
  function Q(e, t) {
73
- let n = ve[e];
74
- return n ? typeof n == "function" ? n(t) : n : _e[e]?.(t) ?? `Ошибка валидации: ${e}`;
73
+ let n = be[e];
74
+ return n ? typeof n == "function" ? n(t) : n : ye[e]?.(t) ?? `Ошибка валидации: ${e}`;
75
75
  }
76
76
  //#endregion
77
77
  //#region src/utils/validation/rules.ts
78
- var be = "__uid_nullable__";
78
+ var Se = "__uid_nullable__";
79
79
  function $(e) {
80
80
  return e == null || String(e).trim() === "";
81
81
  }
82
- function xe(e, t) {
82
+ function Ce(e, t) {
83
83
  return t ? {
84
84
  ...e,
85
85
  params: t
86
86
  } : e;
87
87
  }
88
- var Se = (e) => (t, n) => !$(t) || (e ?? Q("required", n)), Ce = () => (e) => $(e) ? be : !0, we = (e) => (t, n) => $(t) || /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(String(t)) || (e ?? Q("email", n)), Te = (e) => (t, n) => {
88
+ var we = (e) => (t, n) => !$(t) || (e ?? Q("required", n)), Te = () => (e) => $(e) ? Se : !0, Ee = (e) => (t, n) => $(t) || /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(String(t)) || (e ?? Q("email", n)), De = (e) => (t, n) => {
89
89
  if ($(t)) return !0;
90
90
  try {
91
91
  return new URL(String(t)), !0;
92
92
  } catch {
93
93
  return e ?? Q("url", n);
94
94
  }
95
- }, Ee = (e) => (t, n) => $(t) || !isNaN(Number(t)) || (e ?? Q("numeric", n)), De = (e) => (t, n) => $(t) || Number.isInteger(Number(t)) || (e ?? Q("integer", n)), Oe = (e, t) => (n, r) => $(n) || String(n).length >= e || (t ?? Q("min", xe(r, [String(e)]))), ke = (e, t) => (n, r) => $(n) || String(n).length <= e || (t ?? Q("max", xe(r, [String(e)]))), Ae = (e, t) => (n, r) => $(n) || Number(n) >= e || (t ?? Q("min_value", xe(r, [String(e)]))), je = (e, t) => (n, r) => $(n) || Number(n) <= e || (t ?? Q("max_value", xe(r, [String(e)]))), Me = (e, t) => (n, r) => $(n) ? !0 : (typeof e == "string" ? new RegExp(e) : e).test(String(n)) || (t ?? Q("regex", r)), Ne = (e, t) => (n, r) => $(n) || e.includes(String(n)) || (t ?? Q("in", r)), Pe = (e, t) => (n, r) => r.form ? n === r.form[e] || (t ?? Q("same_as", r)) : !0, Fe = (e, t, n) => (r, i) => !i.form || i.form[e] !== t ? !0 : !$(r) || (n ?? Q("required_if", i)), Ie = (e, t, n) => (r, i) => !i.form || i.form[e] === t ? !0 : !$(r) || (n ?? Q("required_unless", i)), Le = {
96
- required: () => Se(),
97
- nullable: () => Ce(),
98
- email: () => we(),
99
- url: () => Te(),
100
- numeric: () => Ee(),
101
- integer: () => De(),
102
- min: ([e]) => Oe(Number(e)),
103
- max: ([e]) => ke(Number(e)),
104
- min_value: ([e]) => Ae(Number(e)),
105
- max_value: ([e]) => je(Number(e)),
106
- regex: ([e]) => Me(e),
107
- in: (e) => Ne(e),
108
- same_as: ([e]) => Pe(e)
95
+ }, Oe = (e) => (t, n) => $(t) || !isNaN(Number(t)) || (e ?? Q("numeric", n)), ke = (e) => (t, n) => $(t) || Number.isInteger(Number(t)) || (e ?? Q("integer", n)), Ae = (e, t) => (n, r) => $(n) || String(n).length >= e || (t ?? Q("min", Ce(r, [String(e)]))), je = (e, t) => (n, r) => $(n) || String(n).length <= e || (t ?? Q("max", Ce(r, [String(e)]))), Me = (e, t) => (n, r) => $(n) || Number(n) >= e || (t ?? Q("min_value", Ce(r, [String(e)]))), Ne = (e, t) => (n, r) => $(n) || Number(n) <= e || (t ?? Q("max_value", Ce(r, [String(e)]))), Pe = (e, t) => (n, r) => $(n) ? !0 : (typeof e == "string" ? new RegExp(e) : e).test(String(n)) || (t ?? Q("regex", r)), Fe = (e, t) => (n, r) => $(n) || e.includes(String(n)) || (t ?? Q("in", r)), Ie = (e, t) => (n, r) => r.form ? n === r.form[e] || (t ?? Q("same_as", r)) : !0, Le = (e, t, n) => (r, i) => !i.form || i.form[e] !== t ? !0 : !$(r) || (n ?? Q("required_if", i)), Re = (e, t, n) => (r, i) => !i.form || i.form[e] === t ? !0 : !$(r) || (n ?? Q("required_unless", i)), ze = {
96
+ required: () => we(),
97
+ nullable: () => Te(),
98
+ email: () => Ee(),
99
+ url: () => De(),
100
+ numeric: () => Oe(),
101
+ integer: () => ke(),
102
+ min: ([e]) => Ae(Number(e)),
103
+ max: ([e]) => je(Number(e)),
104
+ min_value: ([e]) => Me(Number(e)),
105
+ max_value: ([e]) => Ne(Number(e)),
106
+ regex: ([e]) => Pe(e),
107
+ in: (e) => Fe(e),
108
+ same_as: ([e]) => Ie(e)
109
109
  };
110
- function Re(e) {
110
+ function Be(e) {
111
111
  return e ? (Array.isArray(e) ? e : [e]).flatMap((e) => typeof e == "function" ? [e] : e.split("|").map((e) => {
112
- let t = e.indexOf(":"), n = t === -1 ? e.trim() : e.slice(0, t).trim(), r = t === -1 ? "" : e.slice(t + 1), i = r ? r.split(",") : [], a = Le[n];
112
+ let t = e.indexOf(":"), n = t === -1 ? e.trim() : e.slice(0, t).trim(), r = t === -1 ? "" : e.slice(t + 1), i = r ? r.split(",") : [], a = ze[n];
113
113
  if (!a) throw Error(`Unknown validation rule: "${n}"`);
114
114
  return a(i);
115
115
  })) : [];
116
116
  }
117
- function ze(e, t, n) {
117
+ function Ve(e, t, n) {
118
118
  for (let r of t) {
119
119
  let t = r(e, n);
120
120
  if (t === "__uid_nullable__") return "";
@@ -124,15 +124,15 @@ function ze(e, t, n) {
124
124
  }
125
125
  //#endregion
126
126
  //#region src/composables/useField.ts
127
- function Be(e, t, n) {
127
+ function He(e, t, n) {
128
128
  let r = w(""), i = w(!1);
129
129
  function a() {
130
- let i = Re(t && "value" in t ? t.value : t), a = {
130
+ let i = Be(t && "value" in t ? t.value : t), a = {
131
131
  field: n?.name ?? "",
132
132
  label: n?.label,
133
133
  form: n?.form?.value
134
134
  };
135
- return r.value = ze(e.value, i, a), !r.value;
135
+ return r.value = Ve(e.value, i, a), !r.value;
136
136
  }
137
137
  function o() {
138
138
  i.value = !0, a();
@@ -152,14 +152,14 @@ function Be(e, t, n) {
152
152
  }
153
153
  //#endregion
154
154
  //#region src/components/Input/UidInput.vue?vue&type=script&setup=true&lang.ts
155
- var Ve = ["for"], He = {
155
+ var Ue = ["for"], We = {
156
156
  key: 0,
157
157
  class: "uid-input-field__required",
158
158
  "aria-hidden": "true"
159
- }, Ue = { class: "uid-input-field__control" }, We = {
159
+ }, Ge = { class: "uid-input-field__control" }, Ke = {
160
160
  key: 0,
161
161
  class: "uid-input-field__prepend"
162
- }, Ge = [
162
+ }, qe = [
163
163
  "id",
164
164
  "type",
165
165
  "name",
@@ -170,10 +170,10 @@ var Ve = ["for"], He = {
170
170
  "autocomplete",
171
171
  "aria-invalid",
172
172
  "aria-describedby"
173
- ], Ke = {
173
+ ], Je = {
174
174
  key: 1,
175
175
  class: "uid-input-field__append"
176
- }, qe = ["id"], Je = /* @__PURE__ */ f({
176
+ }, Ye = ["id"], Xe = /* @__PURE__ */ f({
177
177
  __name: "UidInput",
178
178
  props: /* @__PURE__ */ m({
179
179
  type: { default: "text" },
@@ -204,7 +204,7 @@ var Ve = ["for"], He = {
204
204
  }),
205
205
  emits: /* @__PURE__ */ m(["blur", "focus"], ["update:modelValue"]),
206
206
  setup(e, { expose: t, emit: n }) {
207
- let r = e, i = n, o = N(e, "modelValue"), d = r.id ?? M(), { error: f, validate: p, onBlur: m } = Be(o, a(() => r.rules), {
207
+ let r = e, i = n, o = N(e, "modelValue"), d = r.id ?? M(), { error: f, validate: p, onBlur: m } = He(o, a(() => r.rules), {
208
208
  name: r.name,
209
209
  label: r.label
210
210
  }), h = a(() => r.error || f.value), g = a(() => !!h.value), v = a(() => h.value || r.hint);
@@ -221,9 +221,9 @@ var Ve = ["for"], He = {
221
221
  key: 0,
222
222
  for: j(d),
223
223
  class: "uid-input-field__label"
224
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", He, "*")) : s("", !0)], 8, Ve)) : s("", !0),
225
- l("div", Ue, [
226
- t.$slots.prepend ? (x(), c("span", We, [E(t.$slots, "prepend")])) : s("", !0),
224
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", We, "*")) : s("", !0)], 8, Ue)) : s("", !0),
225
+ l("div", Ge, [
226
+ t.$slots.prepend ? (x(), c("span", Ke, [E(t.$slots, "prepend")])) : s("", !0),
227
227
  z(l("input", {
228
228
  id: j(d),
229
229
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
@@ -239,21 +239,21 @@ var Ve = ["for"], He = {
239
239
  "aria-describedby": v.value ? `${j(d)}-hint` : void 0,
240
240
  onBlur: y,
241
241
  onFocus: n[1] ||= (e) => i("focus", e)
242
- }, null, 40, Ge), [[F, o.value]]),
243
- t.$slots.append ? (x(), c("span", Ke, [E(t.$slots, "append")])) : s("", !0)
242
+ }, null, 40, qe), [[F, o.value]]),
243
+ t.$slots.append ? (x(), c("span", Je, [E(t.$slots, "append")])) : s("", !0)
244
244
  ]),
245
245
  v.value ? (x(), c("p", {
246
246
  key: 1,
247
247
  id: `${j(d)}-hint`,
248
248
  class: _(["uid-input-field__hint", g.value && "uid-input-field__hint--error"])
249
- }, k(v.value), 11, qe)) : s("", !0)
249
+ }, k(v.value), 11, Ye)) : s("", !0)
250
250
  ], 2));
251
251
  }
252
- }), Ye = ["for"], Xe = {
252
+ }), Ze = ["for"], Qe = {
253
253
  key: 0,
254
254
  class: "uid-textarea-field__required",
255
255
  "aria-hidden": "true"
256
- }, Ze = [
256
+ }, $e = [
257
257
  "id",
258
258
  "name",
259
259
  "placeholder",
@@ -263,7 +263,7 @@ var Ve = ["for"], He = {
263
263
  "rows",
264
264
  "aria-invalid",
265
265
  "aria-describedby"
266
- ], Qe = ["id"], $e = /* @__PURE__ */ f({
266
+ ], et = ["id"], tt = /* @__PURE__ */ f({
267
267
  __name: "UidTextarea",
268
268
  props: /* @__PURE__ */ m({
269
269
  placeholder: { default: void 0 },
@@ -306,7 +306,7 @@ var Ve = ["for"], He = {
306
306
  }),
307
307
  emits: /* @__PURE__ */ m(["blur", "focus"], ["update:modelValue"]),
308
308
  setup(e, { expose: t, emit: n }) {
309
- let r = e, i = n, o = N(e, "modelValue"), d = w(null), f = M(), p = r.id ?? f, { error: m, validate: h, onBlur: b } = Be(o, a(() => r.rules), {
309
+ let r = e, i = n, o = N(e, "modelValue"), d = w(null), f = M(), p = r.id ?? f, { error: m, validate: h, onBlur: b } = He(o, a(() => r.rules), {
310
310
  name: r.name,
311
311
  label: r.label
312
312
  }), S = a(() => r.error || m.value), C = a(() => !!S.value), T = a(() => S.value || r.hint);
@@ -340,7 +340,7 @@ var Ve = ["for"], He = {
340
340
  key: 0,
341
341
  for: j(p),
342
342
  class: "uid-textarea-field__label"
343
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Xe, "*")) : s("", !0)], 8, Ye)) : s("", !0),
343
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Qe, "*")) : s("", !0)], 8, Ze)) : s("", !0),
344
344
  z(l("textarea", {
345
345
  id: j(p),
346
346
  ref_key: "textareaRef",
@@ -361,15 +361,15 @@ var Ve = ["for"], He = {
361
361
  } : { resize: e.resize }),
362
362
  onBlur: D,
363
363
  onFocus: n[1] ||= (e) => i("focus", e)
364
- }, null, 44, Ze), [[I, o.value]]),
364
+ }, null, 44, $e), [[I, o.value]]),
365
365
  T.value ? (x(), c("p", {
366
366
  key: 1,
367
367
  id: `${j(p)}-hint`,
368
368
  class: _(["uid-textarea-field__hint", C.value && "uid-textarea-field__hint--error"])
369
- }, k(T.value), 11, Qe)) : s("", !0)
369
+ }, k(T.value), 11, et)) : s("", !0)
370
370
  ], 2));
371
371
  }
372
- }), et = { class: "uid-checkbox__label" }, tt = [
372
+ }), nt = { class: "uid-checkbox__label" }, rt = [
373
373
  "id",
374
374
  "name",
375
375
  "checked",
@@ -377,14 +377,14 @@ var Ve = ["for"], He = {
377
377
  "required",
378
378
  "aria-describedby",
379
379
  "aria-invalid"
380
- ], nt = {
380
+ ], it = {
381
381
  key: 0,
382
382
  class: "uid-checkbox__text"
383
- }, rt = {
383
+ }, at = {
384
384
  key: 0,
385
385
  class: "uid-checkbox__required",
386
386
  "aria-hidden": "true"
387
- }, it = /* @__PURE__ */ f({
387
+ }, ot = /* @__PURE__ */ f({
388
388
  __name: "UidCheckbox",
389
389
  props: /* @__PURE__ */ m({
390
390
  label: { default: void 0 },
@@ -422,7 +422,7 @@ var Ve = ["for"], He = {
422
422
  let t = e.target.checked;
423
423
  i.value = t, r("change", t);
424
424
  }
425
- return (t, n) => (x(), c("div", { class: _(["uid-checkbox", [m.value && "uid-checkbox--error", e.disabled && "uid-checkbox--disabled"]]) }, [l("label", et, [
425
+ return (t, n) => (x(), c("div", { class: _(["uid-checkbox", [m.value && "uid-checkbox--error", e.disabled && "uid-checkbox--disabled"]]) }, [l("label", nt, [
426
426
  l("input", {
427
427
  id: j(f),
428
428
  ref_key: "inputRef",
@@ -436,27 +436,27 @@ var Ve = ["for"], He = {
436
436
  "aria-describedby": h.value ? p : void 0,
437
437
  "aria-invalid": m.value ? "true" : void 0,
438
438
  onChange: v
439
- }, null, 40, tt),
439
+ }, null, 40, rt),
440
440
  n[0] ||= l("span", {
441
441
  class: "uid-checkbox__box",
442
442
  "aria-hidden": "true"
443
443
  }, null, -1),
444
- e.label ? (x(), c("span", nt, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", rt, "*")) : s("", !0)])) : s("", !0)
444
+ e.label ? (x(), c("span", it, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", at, "*")) : s("", !0)])) : s("", !0)
445
445
  ]), h.value ? (x(), c("p", {
446
446
  key: 0,
447
447
  id: p,
448
448
  class: _(["uid-checkbox__hint", m.value && "uid-checkbox__hint--error"])
449
449
  }, k(h.value), 3)) : s("", !0)], 2));
450
450
  }
451
- }), at = Symbol("uid-radio-group"), ot = [
451
+ }), st = Symbol("uid-radio-group"), ct = [
452
452
  "id",
453
453
  "name",
454
454
  "checked",
455
455
  "disabled"
456
- ], st = {
456
+ ], lt = {
457
457
  key: 0,
458
458
  class: "uid-radio__text"
459
- }, ct = /* @__PURE__ */ f({
459
+ }, ut = /* @__PURE__ */ f({
460
460
  __name: "UidRadio",
461
461
  props: /* @__PURE__ */ m({
462
462
  value: { type: [
@@ -483,7 +483,7 @@ var Ve = ["for"], He = {
483
483
  }),
484
484
  emits: ["update:modelValue"],
485
485
  setup(e) {
486
- let t = e, n = N(e, "modelValue"), r = p(at, null), i = M(), o = t.id ?? i, u = a(() => r ? r.modelValue.value === t.value : n.value === t.value), d = a(() => r?.name ?? t.name ?? ""), f = a(() => (r?.disabled.value ?? !1) || (t.disabled ?? !1));
486
+ let t = e, n = N(e, "modelValue"), r = p(st, null), i = M(), o = t.id ?? i, u = a(() => r ? r.modelValue.value === t.value : n.value === t.value), d = a(() => r?.name ?? t.name ?? ""), f = a(() => (r?.disabled.value ?? !1) || (t.disabled ?? !1));
487
487
  function m() {
488
488
  r ? r.update(t.value) : n.value = t.value;
489
489
  }
@@ -496,25 +496,25 @@ var Ve = ["for"], He = {
496
496
  checked: u.value,
497
497
  disabled: f.value,
498
498
  onChange: m
499
- }, null, 40, ot),
499
+ }, null, 40, ct),
500
500
  n[0] ||= l("span", {
501
501
  class: "uid-radio__circle",
502
502
  "aria-hidden": "true"
503
503
  }, null, -1),
504
- e.label ? (x(), c("span", st, k(e.label), 1)) : s("", !0)
504
+ e.label ? (x(), c("span", lt, k(e.label), 1)) : s("", !0)
505
505
  ], 2));
506
506
  }
507
- }), lt = [
507
+ }), dt = [
508
508
  "aria-labelledby",
509
509
  "aria-describedby",
510
510
  "aria-required",
511
511
  "aria-invalid",
512
512
  "aria-disabled"
513
- ], ut = ["id"], dt = {
513
+ ], ft = ["id"], pt = {
514
514
  key: 0,
515
515
  class: "uid-radio-group__required",
516
516
  "aria-hidden": "true"
517
- }, ft = { class: "uid-radio-group__options" }, pt = ["id"], mt = /* @__PURE__ */ f({
517
+ }, mt = { class: "uid-radio-group__options" }, ht = ["id"], gt = /* @__PURE__ */ f({
518
518
  __name: "UidRadioGroup",
519
519
  props: /* @__PURE__ */ m({
520
520
  name: { default: void 0 },
@@ -542,7 +542,7 @@ var Ve = ["for"], He = {
542
542
  emits: ["update:modelValue"],
543
543
  setup(e) {
544
544
  let t = e, n = N(e, "modelValue"), r = M(), i = t.name ?? r, o = M(), d = M(), f = a(() => !!t.error), p = a(() => t.error || t.hint);
545
- return S(at, {
545
+ return S(st, {
546
546
  modelValue: n,
547
547
  update: (e) => {
548
548
  n.value = e;
@@ -566,16 +566,16 @@ var Ve = ["for"], He = {
566
566
  key: 0,
567
567
  id: j(o),
568
568
  class: "uid-radio-group__legend"
569
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", dt, "*")) : s("", !0)], 8, ut)) : s("", !0),
570
- l("div", ft, [E(t.$slots, "default")]),
569
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", pt, "*")) : s("", !0)], 8, ft)) : s("", !0),
570
+ l("div", mt, [E(t.$slots, "default")]),
571
571
  p.value ? (x(), c("p", {
572
572
  key: 1,
573
573
  id: j(d),
574
574
  class: _(["uid-radio-group__hint", f.value && "uid-radio-group__hint--error"])
575
- }, k(p.value), 11, pt)) : s("", !0)
576
- ], 10, lt));
575
+ }, k(p.value), 11, ht)) : s("", !0)
576
+ ], 10, dt));
577
577
  }
578
- }), ht = { class: "uid-switch__label" }, gt = [
578
+ }), _t = { class: "uid-switch__label" }, vt = [
579
579
  "id",
580
580
  "name",
581
581
  "checked",
@@ -583,14 +583,14 @@ var Ve = ["for"], He = {
583
583
  "required",
584
584
  "aria-describedby",
585
585
  "aria-invalid"
586
- ], _t = {
586
+ ], yt = {
587
587
  key: 0,
588
588
  class: "uid-switch__text"
589
- }, vt = {
589
+ }, bt = {
590
590
  key: 0,
591
591
  class: "uid-switch__required",
592
592
  "aria-hidden": "true"
593
- }, yt = /* @__PURE__ */ f({
593
+ }, xt = /* @__PURE__ */ f({
594
594
  __name: "UidSwitch",
595
595
  props: /* @__PURE__ */ m({
596
596
  label: { default: void 0 },
@@ -625,7 +625,7 @@ var Ve = ["for"], He = {
625
625
  `uid-switch--${e.size}`,
626
626
  p.value && "uid-switch--error",
627
627
  e.disabled && "uid-switch--disabled"
628
- ]]) }, [l("label", ht, [
628
+ ]]) }, [l("label", _t, [
629
629
  l("input", {
630
630
  id: j(d),
631
631
  type: "checkbox",
@@ -638,23 +638,23 @@ var Ve = ["for"], He = {
638
638
  "aria-describedby": m.value ? f : void 0,
639
639
  "aria-invalid": p.value ? "true" : void 0,
640
640
  onChange: h
641
- }, null, 40, gt),
641
+ }, null, 40, vt),
642
642
  n[0] ||= l("span", {
643
643
  class: "uid-switch__track",
644
644
  "aria-hidden": "true"
645
645
  }, [l("span", { class: "uid-switch__thumb" })], -1),
646
- e.label ? (x(), c("span", _t, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", vt, "*")) : s("", !0)])) : s("", !0)
646
+ e.label ? (x(), c("span", yt, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", bt, "*")) : s("", !0)])) : s("", !0)
647
647
  ]), m.value ? (x(), c("p", {
648
648
  key: 0,
649
649
  id: f,
650
650
  class: _(["uid-switch__hint", p.value && "uid-switch__hint--error"])
651
651
  }, k(m.value), 3)) : s("", !0)], 2));
652
652
  }
653
- }), bt = ["for"], xt = {
653
+ }), St = ["for"], Ct = {
654
654
  key: 0,
655
655
  class: "uid-label__required",
656
656
  "aria-hidden": "true"
657
- }, St = /* @__PURE__ */ f({
657
+ }, wt = /* @__PURE__ */ f({
658
658
  __name: "UidLabel",
659
659
  props: {
660
660
  for: { default: void 0 },
@@ -671,13 +671,13 @@ var Ve = ["for"], He = {
671
671
  return (t, n) => (x(), c("label", {
672
672
  class: _(["uid-label", e.disabled && "uid-label--disabled"]),
673
673
  for: t.$props.for
674
- }, [E(t.$slots, "default"), e.required ? (x(), c("span", xt, "*")) : s("", !0)], 10, bt));
674
+ }, [E(t.$slots, "default"), e.required ? (x(), c("span", Ct, "*")) : s("", !0)], 10, St));
675
675
  }
676
- }), Ct = ["for"], wt = {
676
+ }), Tt = ["for"], Et = {
677
677
  key: 0,
678
678
  class: "uid-form-field__required",
679
679
  "aria-hidden": "true"
680
- }, Tt = { class: "uid-form-field__content" }, Et = ["id"], Dt = /* @__PURE__ */ f({
680
+ }, Dt = { class: "uid-form-field__content" }, Ot = ["id"], kt = /* @__PURE__ */ f({
681
681
  __name: "UidFormField",
682
682
  props: {
683
683
  label: { default: void 0 },
@@ -700,16 +700,16 @@ var Ve = ["for"], He = {
700
700
  key: 0,
701
701
  class: "uid-form-field__label",
702
702
  for: e.labelFor
703
- }, [E(t.$slots, "label", {}, () => [u(k(e.label), 1)]), e.required ? (x(), c("span", wt, "*")) : s("", !0)], 8, Ct)) : s("", !0),
704
- l("div", Tt, [E(t.$slots, "default")]),
703
+ }, [E(t.$slots, "label", {}, () => [u(k(e.label), 1)]), e.required ? (x(), c("span", Et, "*")) : s("", !0)], 8, Tt)) : s("", !0),
704
+ l("div", Dt, [E(t.$slots, "default")]),
705
705
  r.value ? (x(), c("p", {
706
706
  key: 1,
707
707
  id: j(n),
708
708
  class: _(["uid-form-field__hint", o.value && "uid-form-field__hint--error"])
709
- }, k(i.value), 11, Et)) : s("", !0)
709
+ }, k(i.value), 11, Ot)) : s("", !0)
710
710
  ], 2));
711
711
  }
712
- }), Ot = ["aria-label"], kt = /* @__PURE__ */ f({
712
+ }), At = ["aria-label"], jt = /* @__PURE__ */ f({
713
713
  __name: "UidSpinner",
714
714
  props: {
715
715
  size: { default: "md" },
@@ -720,13 +720,13 @@ var Ve = ["for"], He = {
720
720
  class: _(["uid-spinner", `uid-spinner--${e.size}`]),
721
721
  role: "status",
722
722
  "aria-label": e.label
723
- }, null, 10, Ot));
723
+ }, null, 10, At));
724
724
  }
725
- }), At = {
725
+ }), Mt = {
726
726
  key: 0,
727
727
  class: "uid-skeleton-lines",
728
728
  "aria-hidden": "true"
729
- }, jt = /* @__PURE__ */ f({
729
+ }, Nt = /* @__PURE__ */ f({
730
730
  __name: "UidSkeleton",
731
731
  props: {
732
732
  width: { default: "100%" },
@@ -738,7 +738,7 @@ var Ve = ["for"], He = {
738
738
  lines: { default: 1 }
739
739
  },
740
740
  setup(e) {
741
- return (n, r) => e.lines > 1 ? (x(), c("div", At, [(x(!0), c(t, null, T(e.lines, (t) => (x(), c("span", {
741
+ return (n, r) => e.lines > 1 ? (x(), c("div", Mt, [(x(!0), c(t, null, T(e.lines, (t) => (x(), c("span", {
742
742
  key: t,
743
743
  class: _(["uid-skeleton", [e.rounded === !0 && "uid-skeleton--rounded", e.rounded === "full" && "uid-skeleton--full"]]),
744
744
  style: v({
@@ -755,7 +755,7 @@ var Ve = ["for"], He = {
755
755
  "aria-hidden": "true"
756
756
  }, null, 6));
757
757
  }
758
- }), Mt = /* @__PURE__ */ f({
758
+ }), Pt = /* @__PURE__ */ f({
759
759
  __name: "UidBadge",
760
760
  props: {
761
761
  variant: { default: "default" },
@@ -772,10 +772,10 @@ var Ve = ["for"], He = {
772
772
  e.dot && "uid-badge--dot"
773
773
  ]]) }, [e.dot ? s("", !0) : E(t.$slots, "default", { key: 0 })], 2));
774
774
  }
775
- }), Nt = { class: "uid-alert__icon" }, Pt = { class: "uid-alert__content" }, Ft = {
775
+ }), Ft = { class: "uid-alert__icon" }, It = { class: "uid-alert__content" }, Lt = {
776
776
  key: 0,
777
777
  class: "uid-alert__title"
778
- }, It = { class: "uid-alert__body" }, Lt = /* @__PURE__ */ f({
778
+ }, Rt = { class: "uid-alert__body" }, zt = /* @__PURE__ */ f({
779
779
  __name: "UidAlert",
780
780
  props: {
781
781
  variant: { default: "info" },
@@ -798,11 +798,11 @@ var Ve = ["for"], He = {
798
798
  class: _(["uid-alert", `uid-alert--${t.variant}`]),
799
799
  role: "alert"
800
800
  }, [
801
- l("span", Nt, [E(n.$slots, "icon", {}, () => [d(e, {
801
+ l("span", Ft, [E(n.$slots, "icon", {}, () => [d(e, {
802
802
  icon: t.icon ?? u.value,
803
803
  size: 18
804
804
  }, null, 8, ["icon"])])]),
805
- l("div", Pt, [t.title ? (x(), c("p", Ft, k(t.title), 1)) : s("", !0), l("div", It, [E(n.$slots, "default")])]),
805
+ l("div", It, [t.title ? (x(), c("p", Lt, k(t.title), 1)) : s("", !0), l("div", Rt, [E(n.$slots, "default")])]),
806
806
  t.dismissible ? (x(), c("button", {
807
807
  key: 0,
808
808
  type: "button",
@@ -815,10 +815,10 @@ var Ve = ["for"], He = {
815
815
  }, null, 8, ["icon"])])) : s("", !0)
816
816
  ], 2));
817
817
  }
818
- }), Rt = { class: "uid-toast__icon" }, zt = { class: "uid-toast__content" }, Bt = {
818
+ }), Bt = { class: "uid-toast__icon" }, Vt = { class: "uid-toast__content" }, Ht = {
819
819
  key: 0,
820
820
  class: "uid-toast__title"
821
- }, Vt = { class: "uid-toast__message" }, Ht = /* @__PURE__ */ f({
821
+ }, Ut = { class: "uid-toast__message" }, Wt = /* @__PURE__ */ f({
822
822
  __name: "UidToast",
823
823
  props: {
824
824
  id: {},
@@ -840,11 +840,11 @@ var Ve = ["for"], He = {
840
840
  "aria-live": "polite",
841
841
  "aria-atomic": "true"
842
842
  }, [
843
- l("span", Rt, [d(e, {
843
+ l("span", Bt, [d(e, {
844
844
  icon: u.value,
845
845
  size: 18
846
846
  }, null, 8, ["icon"])]),
847
- l("div", zt, [t.title ? (x(), c("p", Bt, k(t.title), 1)) : s("", !0), l("p", Vt, k(t.message), 1)]),
847
+ l("div", Vt, [t.title ? (x(), c("p", Ht, k(t.title), 1)) : s("", !0), l("p", Ut, k(t.message), 1)]),
848
848
  l("button", {
849
849
  type: "button",
850
850
  class: "uid-toast__close",
@@ -856,23 +856,23 @@ var Ve = ["for"], He = {
856
856
  }, null, 8, ["icon"])])
857
857
  ], 2));
858
858
  }
859
- }), Ut = w([]), Wt = 0;
860
- function Gt() {
859
+ }), Gt = w([]), Kt = 0;
860
+ function qt() {
861
861
  function e(e) {
862
862
  let n = typeof e == "string" ? { message: e } : e, r = {
863
- id: ++Wt,
863
+ id: ++Kt,
864
864
  variant: "info",
865
865
  duration: 4e3,
866
866
  ...n
867
867
  };
868
- return Ut.value.push(r), r.duration > 0 && setTimeout(() => t(r.id), r.duration), r.id;
868
+ return Gt.value.push(r), r.duration > 0 && setTimeout(() => t(r.id), r.duration), r.id;
869
869
  }
870
870
  function t(e) {
871
- let t = Ut.value.findIndex((t) => t.id === e);
872
- t !== -1 && Ut.value.splice(t, 1);
871
+ let t = Gt.value.findIndex((t) => t.id === e);
872
+ t !== -1 && Gt.value.splice(t, 1);
873
873
  }
874
874
  function n() {
875
- Ut.value = [];
875
+ Gt.value = [];
876
876
  }
877
877
  function r(t) {
878
878
  return e(typeof t == "string" ? {
@@ -911,7 +911,7 @@ function Gt() {
911
911
  });
912
912
  }
913
913
  return {
914
- toasts: C(Ut),
914
+ toasts: C(Gt),
915
915
  add: e,
916
916
  dismiss: t,
917
917
  clear: n,
@@ -923,33 +923,33 @@ function Gt() {
923
923
  }
924
924
  //#endregion
925
925
  //#region src/components/Toast/UidToastProvider.vue
926
- var Kt = /* @__PURE__ */ f({
926
+ var Jt = /* @__PURE__ */ f({
927
927
  __name: "UidToastProvider",
928
928
  setup(e) {
929
- let { toasts: r, dismiss: a } = Gt();
929
+ let { toasts: r, dismiss: a } = qt();
930
930
  return (e, s) => (x(), o(n, { to: "body" }, [d(i, {
931
931
  tag: "div",
932
932
  name: "uid-toast",
933
933
  class: "uid-toast-list"
934
934
  }, {
935
- default: R(() => [(x(!0), c(t, null, T(j(r), (e) => (x(), o(Ht, h({ key: e.id }, { ref_for: !0 }, e, { onDismiss: j(a) }), null, 16, ["onDismiss"]))), 128))]),
935
+ default: R(() => [(x(!0), c(t, null, T(j(r), (e) => (x(), o(Wt, h({ key: e.id }, { ref_for: !0 }, e, { onDismiss: j(a) }), null, 16, ["onDismiss"]))), 128))]),
936
936
  _: 1
937
937
  })]));
938
938
  }
939
- }), qt = { class: "uid-progress-wrapper" }, Jt = {
939
+ }), Yt = { class: "uid-progress-wrapper" }, Xt = {
940
940
  key: 0,
941
941
  class: "uid-progress-header"
942
- }, Yt = {
942
+ }, Zt = {
943
943
  key: 0,
944
944
  class: "uid-progress-label"
945
- }, Xt = {
945
+ }, Qt = {
946
946
  key: 1,
947
947
  class: "uid-progress-value"
948
- }, Zt = [
948
+ }, $t = [
949
949
  "aria-valuemax",
950
950
  "aria-valuenow",
951
951
  "aria-label"
952
- ], Qt = /* @__PURE__ */ f({
952
+ ], en = /* @__PURE__ */ f({
953
953
  __name: "UidProgress",
954
954
  props: {
955
955
  value: { default: void 0 },
@@ -966,7 +966,7 @@ var Kt = /* @__PURE__ */ f({
966
966
  let t = e, n = a(() => {
967
967
  if (t.value !== void 0) return Math.min(100, Math.max(0, t.value / (t.max ?? 100) * 100));
968
968
  }), r = a(() => t.value === void 0), i = a(() => n.value === void 0 ? void 0 : `${Math.round(n.value)}%`);
969
- return (t, a) => (x(), c("div", qt, [e.label || e.showValue && i.value ? (x(), c("div", Jt, [e.label ? (x(), c("span", Yt, k(e.label), 1)) : s("", !0), e.showValue && i.value ? (x(), c("span", Xt, k(i.value), 1)) : s("", !0)])) : s("", !0), l("div", {
969
+ return (t, a) => (x(), c("div", Yt, [e.label || e.showValue && i.value ? (x(), c("div", Xt, [e.label ? (x(), c("span", Zt, k(e.label), 1)) : s("", !0), e.showValue && i.value ? (x(), c("span", Qt, k(i.value), 1)) : s("", !0)])) : s("", !0), l("div", {
970
970
  class: _(["uid-progress", [
971
971
  `uid-progress--${e.size}`,
972
972
  `uid-progress--${e.variant}`,
@@ -981,9 +981,9 @@ var Kt = /* @__PURE__ */ f({
981
981
  key: 0,
982
982
  class: "uid-progress__bar",
983
983
  style: v({ width: `${n.value}%` })
984
- }, null, 4))], 10, Zt)]));
984
+ }, null, 4))], 10, $t)]));
985
985
  }
986
- }), $t = [
986
+ }), tn = [
987
987
  "a[href]",
988
988
  "button:not([disabled])",
989
989
  "input:not([disabled])",
@@ -991,10 +991,10 @@ var Kt = /* @__PURE__ */ f({
991
991
  "textarea:not([disabled])",
992
992
  "[tabindex]:not([tabindex=\"-1\"])"
993
993
  ].join(", ");
994
- function en(e) {
994
+ function nn(e) {
995
995
  let t = w(null);
996
996
  function n() {
997
- return e.value ? Array.from(e.value.querySelectorAll($t)).filter((e) => !e.closest("[aria-hidden=\"true\"]")) : [];
997
+ return e.value ? Array.from(e.value.querySelectorAll(tn)).filter((e) => !e.closest("[aria-hidden=\"true\"]")) : [];
998
998
  }
999
999
  function r(e) {
1000
1000
  if (e.key !== "Tab") return;
@@ -1019,17 +1019,17 @@ function en(e) {
1019
1019
  }
1020
1020
  //#endregion
1021
1021
  //#region src/composables/useScrollLock.ts
1022
- var tn = 0;
1023
- function nn() {
1022
+ var rn = 0;
1023
+ function an() {
1024
1024
  let e = !1;
1025
1025
  function t() {
1026
- if (!e && (e = !0, tn++, tn === 1)) {
1026
+ if (!e && (e = !0, rn++, rn === 1)) {
1027
1027
  let e = window.innerWidth - document.documentElement.clientWidth;
1028
1028
  document.body.style.overflow = "hidden", e > 0 && (document.body.style.paddingRight = `${e}px`);
1029
1029
  }
1030
1030
  }
1031
1031
  function n() {
1032
- e && (e = !1, tn--, tn === 0 && (document.body.style.overflow = "", document.body.style.paddingRight = ""));
1032
+ e && (e = !1, rn--, rn === 0 && (document.body.style.overflow = "", document.body.style.paddingRight = ""));
1033
1033
  }
1034
1034
  return {
1035
1035
  lock: t,
@@ -1038,10 +1038,10 @@ function nn() {
1038
1038
  }
1039
1039
  //#endregion
1040
1040
  //#region src/components/Modal/UidModal.vue?vue&type=script&setup=true&lang.ts
1041
- var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"], sn = { class: "uid-modal__body" }, cn = {
1041
+ var on = ["aria-labelledby"], sn = { class: "uid-modal__header" }, cn = ["id"], ln = { class: "uid-modal__body" }, un = {
1042
1042
  key: 0,
1043
1043
  class: "uid-modal__footer"
1044
- }, ln = /* @__PURE__ */ f({
1044
+ }, dn = /* @__PURE__ */ f({
1045
1045
  __name: "UidModal",
1046
1046
  props: /* @__PURE__ */ m({
1047
1047
  title: { default: void 0 },
@@ -1063,7 +1063,7 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1063
1063
  }),
1064
1064
  emits: /* @__PURE__ */ m(["close"], ["update:modelValue"]),
1065
1065
  setup(t, { emit: i }) {
1066
- let a = N(t, "modelValue"), u = t, f = i, p = M(), m = w(null), { activate: h, deactivate: v } = en(m), { lock: y, unlock: b } = nn();
1066
+ let a = N(t, "modelValue"), u = t, f = i, p = M(), m = w(null), { activate: h, deactivate: v } = nn(m), { lock: y, unlock: b } = an();
1067
1067
  function S() {
1068
1068
  a.value = !1, f("close");
1069
1069
  }
@@ -1090,11 +1090,11 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1090
1090
  "aria-labelledby": t.title ? j(p) : void 0,
1091
1091
  tabindex: "-1"
1092
1092
  }, [
1093
- l("div", an, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1093
+ l("div", sn, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1094
1094
  key: 0,
1095
1095
  id: j(p),
1096
1096
  class: "uid-modal__title"
1097
- }, k(t.title), 9, on)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1097
+ }, k(t.title), 9, cn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1098
1098
  key: 0,
1099
1099
  type: "button",
1100
1100
  class: "uid-modal__close",
@@ -1104,16 +1104,16 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1104
1104
  icon: j(Z),
1105
1105
  size: 18
1106
1106
  }, null, 8, ["icon"])]))]),
1107
- l("div", sn, [E(i.$slots, "default")]),
1108
- i.$slots.footer ? (x(), c("div", cn, [E(i.$slots, "footer")])) : s("", !0)
1109
- ], 10, rn)])) : s("", !0)]),
1107
+ l("div", ln, [E(i.$slots, "default")]),
1108
+ i.$slots.footer ? (x(), c("div", un, [E(i.$slots, "footer")])) : s("", !0)
1109
+ ], 10, on)])) : s("", !0)]),
1110
1110
  _: 3
1111
1111
  })]));
1112
1112
  }
1113
- }), un = ["aria-labelledby"], dn = { class: "uid-drawer__header" }, fn = ["id"], pn = { class: "uid-drawer__body" }, mn = {
1113
+ }), fn = ["aria-labelledby"], pn = { class: "uid-drawer__header" }, mn = ["id"], hn = { class: "uid-drawer__body" }, gn = {
1114
1114
  key: 0,
1115
1115
  class: "uid-drawer__footer"
1116
- }, hn = /* @__PURE__ */ f({
1116
+ }, _n = /* @__PURE__ */ f({
1117
1117
  __name: "UidDrawer",
1118
1118
  props: /* @__PURE__ */ m({
1119
1119
  title: { default: void 0 },
@@ -1137,7 +1137,7 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1137
1137
  }),
1138
1138
  emits: /* @__PURE__ */ m(["close"], ["update:modelValue"]),
1139
1139
  setup(t, { emit: i }) {
1140
- let a = N(t, "modelValue"), u = t, f = i, p = M(), m = w(null), { activate: h, deactivate: y } = en(m), { lock: b, unlock: S } = nn();
1140
+ let a = N(t, "modelValue"), u = t, f = i, p = M(), m = w(null), { activate: h, deactivate: y } = nn(m), { lock: b, unlock: S } = an();
1141
1141
  function C() {
1142
1142
  a.value = !1, f("close");
1143
1143
  }
@@ -1167,11 +1167,11 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1167
1167
  "aria-labelledby": t.title ? j(p) : void 0,
1168
1168
  tabindex: "-1"
1169
1169
  }, [
1170
- l("div", dn, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1170
+ l("div", pn, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1171
1171
  key: 0,
1172
1172
  id: j(p),
1173
1173
  class: "uid-drawer__title"
1174
- }, k(t.title), 9, fn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1174
+ }, k(t.title), 9, mn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1175
1175
  key: 0,
1176
1176
  type: "button",
1177
1177
  class: "uid-drawer__close",
@@ -1181,14 +1181,14 @@ var rn = ["aria-labelledby"], an = { class: "uid-modal__header" }, on = ["id"],
1181
1181
  icon: j(Z),
1182
1182
  size: 18
1183
1183
  }, null, 8, ["icon"])]))]),
1184
- l("div", pn, [E(i.$slots, "default")]),
1185
- i.$slots.footer ? (x(), c("div", mn, [E(i.$slots, "footer")])) : s("", !0)
1186
- ], 14, un)])) : s("", !0)]),
1184
+ l("div", hn, [E(i.$slots, "default")]),
1185
+ i.$slots.footer ? (x(), c("div", gn, [E(i.$slots, "footer")])) : s("", !0)
1186
+ ], 14, fn)])) : s("", !0)]),
1187
1187
  _: 3
1188
1188
  }, 8, ["name"])]));
1189
1189
  }
1190
- }), gn = 8, _n = 8;
1191
- function vn(e, t, n = {}) {
1190
+ }), vn = 8, yn = 8;
1191
+ function bn(e, t, n = {}) {
1192
1192
  let r = w(0), i = w(0), o = w(A(n.placement) ?? "bottom"), s = a(() => ({
1193
1193
  position: "fixed",
1194
1194
  left: `${r.value}px`,
@@ -1197,7 +1197,7 @@ function vn(e, t, n = {}) {
1197
1197
  function c() {
1198
1198
  let a = e.value, s = t.value;
1199
1199
  if (!a || !s) return;
1200
- let c = a.getBoundingClientRect(), l = s.getBoundingClientRect(), u = n.offset ?? gn, d = window.innerWidth, f = window.innerHeight, p = A(n.placement) ?? "bottom";
1200
+ let c = a.getBoundingClientRect(), l = s.getBoundingClientRect(), u = n.offset ?? vn, d = window.innerWidth, f = window.innerHeight, p = A(n.placement) ?? "bottom";
1201
1201
  if (p.startsWith("bottom")) {
1202
1202
  let e = f - c.bottom, t = c.top;
1203
1203
  e < l.height + u && t > e && (p = p.replace("bottom", "top"));
@@ -1207,7 +1207,7 @@ function vn(e, t, n = {}) {
1207
1207
  }
1208
1208
  o.value = p;
1209
1209
  let m = 0, h = 0;
1210
- p.startsWith("bottom") ? (h = c.bottom + u, m = p === "bottom" ? c.left + c.width / 2 - l.width / 2 : p === "bottom-start" ? c.left : c.right - l.width) : p.startsWith("top") ? (h = c.top - l.height - u, m = p === "top" ? c.left + c.width / 2 - l.width / 2 : p === "top-start" ? c.left : c.right - l.width) : p === "left" ? (m = c.left - l.width - u, h = c.top + c.height / 2 - l.height / 2) : (m = c.right + u, h = c.top + c.height / 2 - l.height / 2), r.value = Math.max(_n, Math.min(m, d - l.width - _n)), i.value = Math.max(_n, Math.min(h, f - l.height - _n));
1210
+ p.startsWith("bottom") ? (h = c.bottom + u, m = p === "bottom" ? c.left + c.width / 2 - l.width / 2 : p === "bottom-start" ? c.left : c.right - l.width) : p.startsWith("top") ? (h = c.top - l.height - u, m = p === "top" ? c.left + c.width / 2 - l.width / 2 : p === "top-start" ? c.left : c.right - l.width) : p === "left" ? (m = c.left - l.width - u, h = c.top + c.height / 2 - l.height / 2) : (m = c.right + u, h = c.top + c.height / 2 - l.height / 2), r.value = Math.max(yn, Math.min(m, d - l.width - yn)), i.value = Math.max(yn, Math.min(h, f - l.height - yn));
1211
1211
  }
1212
1212
  return {
1213
1213
  x: r,
@@ -1219,7 +1219,7 @@ function vn(e, t, n = {}) {
1219
1219
  }
1220
1220
  //#endregion
1221
1221
  //#region src/components/Tooltip/UidTooltip.vue?vue&type=script&setup=true&lang.ts
1222
- var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1222
+ var xn = ["aria-describedby"], Sn = ["id"], Cn = /* @__PURE__ */ f({
1223
1223
  __name: "UidTooltip",
1224
1224
  props: {
1225
1225
  content: {},
@@ -1230,7 +1230,7 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1230
1230
  }
1231
1231
  },
1232
1232
  setup(e) {
1233
- let i = e, u = M(), f = w(null), p = w(null), m = w(!1), { floatingStyle: h, update: _ } = vn(f, p, { placement: a(() => i.placement) });
1233
+ let i = e, u = M(), f = w(null), p = w(null), m = w(!1), { floatingStyle: h, update: _ } = bn(f, p, { placement: a(() => i.placement) });
1234
1234
  async function y() {
1235
1235
  i.disabled || (m.value = !0, await g(), _());
1236
1236
  }
@@ -1246,7 +1246,7 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1246
1246
  onMouseleave: b,
1247
1247
  onFocusin: y,
1248
1248
  onFocusout: b
1249
- }, [E(i.$slots, "default")], 40, yn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-tooltip" }, {
1249
+ }, [E(i.$slots, "default")], 40, xn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-tooltip" }, {
1250
1250
  default: R(() => [m.value ? (x(), c("div", {
1251
1251
  key: 0,
1252
1252
  id: j(u),
@@ -1255,15 +1255,15 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1255
1255
  class: "uid-tooltip",
1256
1256
  role: "tooltip",
1257
1257
  style: v(j(h))
1258
- }, k(e.content), 13, bn)) : s("", !0)]),
1258
+ }, k(e.content), 13, Sn)) : s("", !0)]),
1259
1259
  _: 1
1260
1260
  })]))], 64));
1261
1261
  }
1262
- }), Sn = /* @__PURE__ */ f({
1262
+ }), wn = /* @__PURE__ */ f({
1263
1263
  __name: "UidPopover",
1264
1264
  props: { placement: { default: "bottom" } },
1265
1265
  setup(e) {
1266
- let i = e, u = w(null), f = w(null), p = w(!1), { floatingStyle: m, update: h } = vn(u, f, { placement: a(() => i.placement) });
1266
+ let i = e, u = w(null), f = w(null), p = w(!1), { floatingStyle: m, update: h } = bn(u, f, { placement: a(() => i.placement) });
1267
1267
  async function _() {
1268
1268
  p.value = !p.value, p.value && (await g(), h());
1269
1269
  }
@@ -1297,17 +1297,17 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1297
1297
  _: 3
1298
1298
  })]))], 64));
1299
1299
  }
1300
- }), Cn = Symbol("uid-menu-close"), wn = /* @__PURE__ */ f({
1300
+ }), Tn = Symbol("uid-menu-close"), En = /* @__PURE__ */ f({
1301
1301
  __name: "UidMenu",
1302
1302
  setup(e) {
1303
- let i = w(null), a = w(null), u = w(!1), { floatingStyle: f, update: p } = vn(i, a, { placement: "bottom-start" });
1303
+ let i = w(null), a = w(null), u = w(!1), { floatingStyle: f, update: p } = bn(i, a, { placement: "bottom-start" });
1304
1304
  function m() {
1305
1305
  return Array.from(a.value?.querySelectorAll("[role=\"menuitem\"]:not([disabled])") ?? []);
1306
1306
  }
1307
1307
  function h() {
1308
1308
  u.value = !1, i.value?.querySelector("button, [tabindex]")?.focus();
1309
1309
  }
1310
- S(Cn, h);
1310
+ S(Tn, h);
1311
1311
  async function _() {
1312
1312
  u.value = !u.value, u.value && (await g(), p(), m()[0]?.focus());
1313
1313
  }
@@ -1345,7 +1345,7 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1345
1345
  _: 3
1346
1346
  })]))], 64));
1347
1347
  }
1348
- }), Tn = ["disabled"], En = /* @__PURE__ */ f({
1348
+ }), Dn = ["disabled"], On = /* @__PURE__ */ f({
1349
1349
  __name: "UidMenuItem",
1350
1350
  props: {
1351
1351
  icon: { default: void 0 },
@@ -1357,7 +1357,7 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1357
1357
  },
1358
1358
  emits: ["click"],
1359
1359
  setup(e, { emit: t }) {
1360
- let n = e, r = t, i = p(Cn, () => {});
1360
+ let n = e, r = t, i = p(Tn, () => {});
1361
1361
  function a(e) {
1362
1362
  n.disabled || (r("click", e), i());
1363
1363
  }
@@ -1367,21 +1367,21 @@ var yn = ["aria-describedby"], bn = ["id"], xn = /* @__PURE__ */ f({
1367
1367
  role: "menuitem",
1368
1368
  disabled: e.disabled,
1369
1369
  onClick: a
1370
- }, [E(t.$slots, "default")], 10, Tn));
1370
+ }, [E(t.$slots, "default")], 10, Dn));
1371
1371
  }
1372
- }), Dn = (e, t) => {
1372
+ }), kn = (e, t) => {
1373
1373
  let n = e.__vccOpts || e;
1374
1374
  for (let [e, r] of t) n[e] = r;
1375
1375
  return n;
1376
- }, On = {}, kn = {
1376
+ }, An = {}, jn = {
1377
1377
  class: "uid-menu-separator",
1378
1378
  role: "separator",
1379
1379
  "aria-hidden": "true"
1380
1380
  };
1381
- function An(e, t) {
1382
- return x(), c("div", kn);
1381
+ function Mn(e, t) {
1382
+ return x(), c("div", jn);
1383
1383
  }
1384
- var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn = ["aria-orientation"], Pn = { class: "uid-tabs__panels" }, Fn = /* @__PURE__ */ f({
1384
+ var Nn = /* @__PURE__ */ kn(An, [["render", Mn]]), Pn = Symbol("uid-tabs"), Fn = ["aria-orientation"], In = { class: "uid-tabs__panels" }, Ln = /* @__PURE__ */ f({
1385
1385
  __name: "UidTabs",
1386
1386
  props: /* @__PURE__ */ m({ orientation: { default: "horizontal" } }, {
1387
1387
  modelValue: { required: !0 },
@@ -1390,7 +1390,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1390
1390
  emits: ["update:modelValue"],
1391
1391
  setup(e) {
1392
1392
  let t = N(e, "modelValue");
1393
- return S(Mn, {
1393
+ return S(Pn, {
1394
1394
  activeTab: t,
1395
1395
  setTab: (e) => {
1396
1396
  t.value = e;
@@ -1400,15 +1400,15 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1400
1400
  class: "uid-tabs__list",
1401
1401
  role: "tablist",
1402
1402
  "aria-orientation": e.orientation
1403
- }, [E(t.$slots, "list")], 8, Nn), l("div", Pn, [E(t.$slots, "default")])], 2));
1403
+ }, [E(t.$slots, "list")], 8, Fn), l("div", In, [E(t.$slots, "default")])], 2));
1404
1404
  }
1405
- }), In = [
1405
+ }), Rn = [
1406
1406
  "id",
1407
1407
  "aria-selected",
1408
1408
  "aria-controls",
1409
1409
  "disabled",
1410
1410
  "tabindex"
1411
- ], Ln = /* @__PURE__ */ f({
1411
+ ], zn = /* @__PURE__ */ f({
1412
1412
  __name: "UidTab",
1413
1413
  props: {
1414
1414
  value: {},
@@ -1418,7 +1418,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1418
1418
  }
1419
1419
  },
1420
1420
  setup(e) {
1421
- let t = e, n = p(Mn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1421
+ let t = e, n = p(Pn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1422
1422
  function s() {
1423
1423
  t.disabled || n.setTab(t.value);
1424
1424
  }
@@ -1447,13 +1447,13 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1447
1447
  tabindex: r.value ? 0 : -1,
1448
1448
  onClick: s,
1449
1449
  onKeydown: l
1450
- }, [E(t.$slots, "default")], 42, In));
1450
+ }, [E(t.$slots, "default")], 42, Rn));
1451
1451
  }
1452
- }), Rn = ["id", "aria-labelledby"], zn = /* @__PURE__ */ f({
1452
+ }), Bn = ["id", "aria-labelledby"], Vn = /* @__PURE__ */ f({
1453
1453
  __name: "UidTabPanel",
1454
1454
  props: { value: {} },
1455
1455
  setup(e) {
1456
- let t = e, n = p(Mn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1456
+ let t = e, n = p(Pn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1457
1457
  return (e, t) => r.value ? (x(), c("div", {
1458
1458
  key: 0,
1459
1459
  id: i.value,
@@ -1461,9 +1461,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1461
1461
  role: "tabpanel",
1462
1462
  "aria-labelledby": o.value,
1463
1463
  tabindex: "0"
1464
- }, [E(e.$slots, "default")], 8, Rn)) : s("", !0);
1464
+ }, [E(e.$slots, "default")], 8, Bn)) : s("", !0);
1465
1465
  }
1466
- }), Bn = ["aria-label"], Vn = /* @__PURE__ */ f({
1466
+ }), Hn = ["aria-label"], Un = /* @__PURE__ */ f({
1467
1467
  __name: "UidBreadcrumb",
1468
1468
  props: {
1469
1469
  label: { default: "Навигация" },
@@ -1476,9 +1476,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1476
1476
  }, [l("ol", {
1477
1477
  class: "uid-breadcrumb__list",
1478
1478
  style: v({ "--uid-breadcrumb-sep": `'${e.separator}'` })
1479
- }, [E(t.$slots, "default")], 4)], 8, Bn));
1479
+ }, [E(t.$slots, "default")], 4)], 8, Hn));
1480
1480
  }
1481
- }), Hn = { class: "uid-breadcrumb__item" }, Un = ["href"], Wn = ["aria-current"], Gn = /* @__PURE__ */ f({
1481
+ }), Wn = { class: "uid-breadcrumb__item" }, Gn = ["href"], Kn = ["aria-current"], qn = /* @__PURE__ */ f({
1482
1482
  __name: "UidBreadcrumbItem",
1483
1483
  props: {
1484
1484
  href: { default: void 0 },
@@ -1488,17 +1488,17 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1488
1488
  }
1489
1489
  },
1490
1490
  setup(e) {
1491
- return (t, n) => (x(), c("li", Hn, [e.href && !e.current ? (x(), c("a", {
1491
+ return (t, n) => (x(), c("li", Wn, [e.href && !e.current ? (x(), c("a", {
1492
1492
  key: 0,
1493
1493
  class: "uid-breadcrumb__link",
1494
1494
  href: e.href
1495
- }, [E(t.$slots, "default")], 8, Un)) : (x(), c("span", {
1495
+ }, [E(t.$slots, "default")], 8, Gn)) : (x(), c("span", {
1496
1496
  key: 1,
1497
1497
  class: "uid-breadcrumb__current",
1498
1498
  "aria-current": e.current ? "page" : void 0
1499
- }, [E(t.$slots, "default")], 8, Wn))]));
1499
+ }, [E(t.$slots, "default")], 8, Kn))]));
1500
1500
  }
1501
- }), Kn = /* @__PURE__ */ f({
1501
+ }), Jn = /* @__PURE__ */ f({
1502
1502
  __name: "UidLink",
1503
1503
  props: {
1504
1504
  href: { default: void 0 },
@@ -1539,18 +1539,18 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1539
1539
  "tabindex"
1540
1540
  ]));
1541
1541
  }
1542
- }), qn = {
1542
+ }), Yn = {
1543
1543
  class: "uid-pagination",
1544
1544
  "aria-label": "Пагинация"
1545
- }, Jn = ["disabled"], Yn = {
1545
+ }, Xn = ["disabled"], Zn = {
1546
1546
  key: 0,
1547
1547
  class: "uid-pagination__ellipsis",
1548
1548
  "aria-hidden": "true"
1549
- }, Xn = [
1549
+ }, Qn = [
1550
1550
  "aria-label",
1551
1551
  "aria-current",
1552
1552
  "onClick"
1553
- ], Zn = ["disabled"], Qn = /* @__PURE__ */ f({
1553
+ ], $n = ["disabled"], er = /* @__PURE__ */ f({
1554
1554
  __name: "UidPagination",
1555
1555
  props: /* @__PURE__ */ m({
1556
1556
  total: {},
@@ -1579,7 +1579,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1579
1579
  function f(e) {
1580
1580
  e < 1 || e > o.value || e === r.value || (r.value = e);
1581
1581
  }
1582
- return (n, i) => (x(), c("nav", qn, [
1582
+ return (n, i) => (x(), c("nav", Yn, [
1583
1583
  l("button", {
1584
1584
  type: "button",
1585
1585
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1589,15 +1589,15 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1589
1589
  }, [d(e, {
1590
1590
  icon: j(Y),
1591
1591
  size: 16
1592
- }, null, 8, ["icon"])], 8, Jn),
1593
- (x(!0), c(t, null, T(u.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", Yn, " … ")) : (x(), c("button", {
1592
+ }, null, 8, ["icon"])], 8, Xn),
1593
+ (x(!0), c(t, null, T(u.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", Zn, " … ")) : (x(), c("button", {
1594
1594
  key: 1,
1595
1595
  type: "button",
1596
1596
  class: _(["uid-pagination__btn", { "uid-pagination__btn--active": e === r.value }]),
1597
1597
  "aria-label": `Страница ${e}`,
1598
1598
  "aria-current": e === r.value ? "page" : void 0,
1599
1599
  onClick: (t) => f(e)
1600
- }, k(e), 11, Xn))], 64))), 128)),
1600
+ }, k(e), 11, Qn))], 64))), 128)),
1601
1601
  l("button", {
1602
1602
  type: "button",
1603
1603
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1607,13 +1607,13 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1607
1607
  }, [d(e, {
1608
1608
  icon: j(X),
1609
1609
  size: 16
1610
- }, null, 8, ["icon"])], 8, Zn)
1610
+ }, null, 8, ["icon"])], 8, $n)
1611
1611
  ]));
1612
1612
  }
1613
- }), $n = {
1613
+ }), tr = {
1614
1614
  class: "uid-pagination uid-pagination--cursor",
1615
1615
  "aria-label": "Навигация по страницам"
1616
- }, er = ["disabled", "aria-label"], tr = ["disabled", "aria-label"], nr = /* @__PURE__ */ f({
1616
+ }, nr = ["disabled", "aria-label"], rr = ["disabled", "aria-label"], ir = /* @__PURE__ */ f({
1617
1617
  __name: "UidPaginationCursor",
1618
1618
  props: {
1619
1619
  hasPrev: {
@@ -1630,7 +1630,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1630
1630
  emits: ["prev", "next"],
1631
1631
  setup(t, { emit: n }) {
1632
1632
  let r = n;
1633
- return (n, i) => (x(), c("nav", $n, [l("button", {
1633
+ return (n, i) => (x(), c("nav", tr, [l("button", {
1634
1634
  type: "button",
1635
1635
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1636
1636
  disabled: !t.hasPrev,
@@ -1639,7 +1639,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1639
1639
  }, [d(e, {
1640
1640
  icon: j(Y),
1641
1641
  size: 16
1642
- }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, er), l("button", {
1642
+ }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, nr), l("button", {
1643
1643
  type: "button",
1644
1644
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1645
1645
  disabled: !t.hasNext,
@@ -1648,9 +1648,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1648
1648
  }, [u(k(t.nextLabel) + " ", 1), d(e, {
1649
1649
  icon: j(X),
1650
1650
  size: 16
1651
- }, null, 8, ["icon"])], 8, tr)]));
1651
+ }, null, 8, ["icon"])], 8, rr)]));
1652
1652
  }
1653
- }), rr = { class: "uid-load-more" }, ir = ["disabled"], ar = /* @__PURE__ */ f({
1653
+ }), ar = { class: "uid-load-more" }, or = ["disabled"], sr = /* @__PURE__ */ f({
1654
1654
  __name: "UidLoadMore",
1655
1655
  props: {
1656
1656
  loading: {
@@ -1666,20 +1666,20 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1666
1666
  emits: ["load"],
1667
1667
  setup(e, { emit: t }) {
1668
1668
  let n = t;
1669
- return (t, r) => (x(), c("div", rr, [l("button", {
1669
+ return (t, r) => (x(), c("div", ar, [l("button", {
1670
1670
  type: "button",
1671
1671
  class: "uid-load-more__btn",
1672
1672
  disabled: e.disabled || e.loading,
1673
1673
  onClick: r[0] ||= (e) => n("load")
1674
- }, [e.loading ? (x(), o(kt, {
1674
+ }, [e.loading ? (x(), o(jt, {
1675
1675
  key: 0,
1676
1676
  size: "sm"
1677
- })) : s("", !0), l("span", null, k(e.label), 1)], 8, ir)]));
1677
+ })) : s("", !0), l("span", null, k(e.label), 1)], 8, or)]));
1678
1678
  }
1679
- }), or = { class: "uid-infinite-scroll" }, sr = {
1679
+ }), cr = { class: "uid-infinite-scroll" }, lr = {
1680
1680
  key: 0,
1681
1681
  class: "uid-infinite-scroll__loader"
1682
- }, cr = /* @__PURE__ */ f({
1682
+ }, ur = /* @__PURE__ */ f({
1683
1683
  __name: "UidInfiniteScroll",
1684
1684
  props: {
1685
1685
  loading: {
@@ -1707,14 +1707,14 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1707
1707
  e && u();
1708
1708
  }, { immediate: !0 }), L(() => n.disabled, (e) => {
1709
1709
  e ? o() : u();
1710
- }), b(o), (t, n) => (x(), c("div", or, [e.loading ? (x(), c("div", sr, [d(kt, { size: "sm" })])) : s("", !0), l("div", {
1710
+ }), b(o), (t, n) => (x(), c("div", cr, [e.loading ? (x(), c("div", lr, [d(jt, { size: "sm" })])) : s("", !0), l("div", {
1711
1711
  ref_key: "sentinelRef",
1712
1712
  ref: i,
1713
1713
  class: "uid-infinite-scroll__sentinel",
1714
1714
  "aria-hidden": "true"
1715
1715
  }, null, 512)]));
1716
1716
  }
1717
- }), lr = { class: "uid-page-size" }, ur = { class: "uid-page-size__label" }, dr = ["value"], fr = ["value"], pr = /* @__PURE__ */ f({
1717
+ }), dr = { class: "uid-page-size" }, fr = { class: "uid-page-size__label" }, pr = ["value"], mr = ["value"], hr = /* @__PURE__ */ f({
1718
1718
  __name: "UidPageSize",
1719
1719
  props: /* @__PURE__ */ m({
1720
1720
  options: { default: () => [
@@ -1731,25 +1731,25 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1731
1731
  emits: ["update:modelValue"],
1732
1732
  setup(e) {
1733
1733
  let n = N(e, "modelValue");
1734
- return (r, i) => (x(), c("div", lr, [l("span", ur, k(e.label), 1), l("select", {
1734
+ return (r, i) => (x(), c("div", dr, [l("span", fr, k(e.label), 1), l("select", {
1735
1735
  class: "uid-page-size__select",
1736
1736
  value: n.value,
1737
1737
  onChange: i[0] ||= (e) => n.value = Number(e.target.value)
1738
1738
  }, [(x(!0), c(t, null, T(e.options, (e) => (x(), c("option", {
1739
1739
  key: e,
1740
1740
  value: e
1741
- }, k(e), 9, fr))), 128))], 40, dr)]));
1741
+ }, k(e), 9, mr))), 128))], 40, pr)]));
1742
1742
  }
1743
- }), mr = {
1743
+ }), gr = {
1744
1744
  key: 0,
1745
1745
  class: "uid-card__media"
1746
- }, hr = {
1746
+ }, _r = {
1747
1747
  key: 1,
1748
1748
  class: "uid-card__header"
1749
- }, gr = { class: "uid-card__body" }, _r = {
1749
+ }, vr = { class: "uid-card__body" }, yr = {
1750
1750
  key: 2,
1751
1751
  class: "uid-card__footer"
1752
- }, vr = /* @__PURE__ */ f({
1752
+ }, br = /* @__PURE__ */ f({
1753
1753
  __name: "UidCard",
1754
1754
  props: {
1755
1755
  padding: { default: "md" },
@@ -1760,13 +1760,13 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1760
1760
  },
1761
1761
  setup(e) {
1762
1762
  return (t, n) => (x(), c("div", { class: _(["uid-card", [`uid-card--pad-${e.padding}`, { "uid-card--clickable": e.clickable }]]) }, [
1763
- t.$slots.media ? (x(), c("div", mr, [E(t.$slots, "media")])) : s("", !0),
1764
- t.$slots.header ? (x(), c("div", hr, [E(t.$slots, "header")])) : s("", !0),
1765
- l("div", gr, [E(t.$slots, "default")]),
1766
- t.$slots.footer ? (x(), c("div", _r, [E(t.$slots, "footer")])) : s("", !0)
1763
+ t.$slots.media ? (x(), c("div", gr, [E(t.$slots, "media")])) : s("", !0),
1764
+ t.$slots.header ? (x(), c("div", _r, [E(t.$slots, "header")])) : s("", !0),
1765
+ l("div", vr, [E(t.$slots, "default")]),
1766
+ t.$slots.footer ? (x(), c("div", yr, [E(t.$slots, "footer")])) : s("", !0)
1767
1767
  ], 2));
1768
1768
  }
1769
- }), yr = ["title", "aria-label"], br = ["src", "alt"], xr = /* @__PURE__ */ f({
1769
+ }), xr = ["title", "aria-label"], Sr = ["src", "alt"], Cr = /* @__PURE__ */ f({
1770
1770
  __name: "UidAvatar",
1771
1771
  props: {
1772
1772
  src: { default: void 0 },
@@ -1804,26 +1804,26 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1804
1804
  alt: e.alt ?? e.name,
1805
1805
  class: "uid-avatar__img",
1806
1806
  onError: l
1807
- }, null, 40, br)) : (x(), c("span", {
1807
+ }, null, 40, Sr)) : (x(), c("span", {
1808
1808
  key: 1,
1809
1809
  class: "uid-avatar__initials",
1810
1810
  style: v({ background: s.value }),
1811
1811
  "aria-hidden": "true"
1812
- }, k(r.value), 5))], 10, yr));
1812
+ }, k(r.value), 5))], 10, xr));
1813
1813
  }
1814
- }), Sr = { class: "uid-avatar-group" }, Cr = ["aria-label"], wr = /* @__PURE__ */ f({
1814
+ }), wr = { class: "uid-avatar-group" }, Tr = ["aria-label"], Er = /* @__PURE__ */ f({
1815
1815
  __name: "UidAvatarGroup",
1816
1816
  props: { max: { default: void 0 } },
1817
1817
  setup(e) {
1818
1818
  let n = e, r = P(), i = a(() => r.default?.()?.flatMap((e) => e.type === Symbol.for("v-fgt") ? e.children : [e]) ?? []), l = a(() => n.max === void 0 ? i.value : i.value.slice(0, n.max)), u = a(() => n.max === void 0 ? 0 : Math.max(0, i.value.length - n.max));
1819
- return (e, n) => (x(), c("div", Sr, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1819
+ return (e, n) => (x(), c("div", wr, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1820
1820
  key: 0,
1821
1821
  class: "uid-avatar uid-avatar--md uid-avatar--circle uid-avatar-group__overflow",
1822
1822
  "aria-label": `Ещё ${u.value}`,
1823
1823
  role: "img"
1824
- }, " +" + k(u.value), 9, Cr)) : s("", !0)]));
1824
+ }, " +" + k(u.value), 9, Tr)) : s("", !0)]));
1825
1825
  }
1826
- }), Tr = /* @__PURE__ */ f({
1826
+ }), Dr = /* @__PURE__ */ f({
1827
1827
  __name: "UidTag",
1828
1828
  props: {
1829
1829
  variant: { default: "default" },
@@ -1847,10 +1847,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1847
1847
  size: 10
1848
1848
  }, null, 8, ["icon"])])) : s("", !0)], 2));
1849
1849
  }
1850
- }), Er = {
1850
+ }), Or = {
1851
1851
  key: 0,
1852
1852
  class: "uid-divider__label"
1853
- }, Dr = /* @__PURE__ */ f({
1853
+ }, kr = /* @__PURE__ */ f({
1854
1854
  __name: "UidDivider",
1855
1855
  props: {
1856
1856
  label: { default: void 0 },
@@ -1860,9 +1860,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1860
1860
  return (t, n) => (x(), c("div", {
1861
1861
  class: _(["uid-divider", `uid-divider--${e.orientation}`]),
1862
1862
  role: "separator"
1863
- }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Er, k(e.label), 1)) : s("", !0)], 2));
1863
+ }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Or, k(e.label), 1)) : s("", !0)], 2));
1864
1864
  }
1865
- }), Or = Symbol("uid-accordion"), kr = { class: "uid-accordion" }, Ar = /* @__PURE__ */ f({
1865
+ }), Ar = Symbol("uid-accordion"), jr = { class: "uid-accordion" }, Mr = /* @__PURE__ */ f({
1866
1866
  __name: "UidAccordion",
1867
1867
  props: /* @__PURE__ */ m({ multiple: {
1868
1868
  type: Boolean,
@@ -1887,15 +1887,15 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1887
1887
  r.has(e) ? r.delete(e) : r.add(e), t.value = [...r];
1888
1888
  } else t.value = n === e ? "" : e;
1889
1889
  }
1890
- return S(Or, {
1890
+ return S(Ar, {
1891
1891
  isOpen: r,
1892
1892
  toggle: i
1893
- }), (e, t) => (x(), c("div", kr, [E(e.$slots, "default")]));
1893
+ }), (e, t) => (x(), c("div", jr, [E(e.$slots, "default")]));
1894
1894
  }
1895
- }), jr = ["aria-expanded", "disabled"], Mr = { class: "uid-accordion-item__title" }, Nr = {
1895
+ }), Nr = ["aria-expanded", "disabled"], Pr = { class: "uid-accordion-item__title" }, Fr = {
1896
1896
  class: "uid-accordion-item__chevron",
1897
1897
  "aria-hidden": "true"
1898
- }, Pr = ["hidden"], Fr = { class: "uid-accordion-item__body-inner" }, Ir = /* @__PURE__ */ f({
1898
+ }, Ir = ["hidden"], Lr = { class: "uid-accordion-item__body-inner" }, Rr = /* @__PURE__ */ f({
1899
1899
  __name: "UidAccordionItem",
1900
1900
  props: {
1901
1901
  value: {},
@@ -1906,7 +1906,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1906
1906
  }
1907
1907
  },
1908
1908
  setup(t) {
1909
- let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Or), f = a(() => s.isOpen(n.value));
1909
+ let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Ar), f = a(() => s.isOpen(n.value));
1910
1910
  function m() {
1911
1911
  n.disabled || s.toggle(n.value);
1912
1912
  }
@@ -1921,18 +1921,18 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1921
1921
  "aria-controls": o,
1922
1922
  disabled: t.disabled || void 0,
1923
1923
  onClick: m
1924
- }, [l("span", Mr, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", Nr, [d(e, {
1924
+ }, [l("span", Pr, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", Fr, [d(e, {
1925
1925
  icon: j(te),
1926
1926
  size: 16
1927
- }, null, 8, ["icon"])])], 8, jr), l("div", {
1927
+ }, null, 8, ["icon"])])], 8, Nr), l("div", {
1928
1928
  id: o,
1929
1929
  class: "uid-accordion-item__body",
1930
1930
  role: "region",
1931
1931
  "aria-labelledby": i,
1932
1932
  hidden: !f.value
1933
- }, [l("div", Fr, [E(n.$slots, "default")])], 8, Pr)], 2));
1933
+ }, [l("div", Lr, [E(n.$slots, "default")])], 8, Ir)], 2));
1934
1934
  }
1935
- }), Lr = { class: "uid-table-scroll" }, Rr = { class: "uid-table__head" }, zr = ["aria-sort", "onClick"], Br = { class: "uid-table__th-content" }, Vr = { class: "uid-table__body" }, Hr = { key: 0 }, Ur = ["colspan"], Wr = { key: 1 }, Gr = ["colspan"], Kr = /* @__PURE__ */ f({
1935
+ }), zr = { class: "uid-table-scroll" }, Br = { class: "uid-table__head" }, Vr = ["aria-sort", "onClick"], Hr = { class: "uid-table__th-content" }, Ur = { class: "uid-table__body" }, Wr = { key: 0 }, Gr = ["colspan"], Kr = { key: 1 }, qr = ["colspan"], Jr = /* @__PURE__ */ f({
1936
1936
  __name: "UidTable",
1937
1937
  props: {
1938
1938
  columns: {},
@@ -1960,10 +1960,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1960
1960
  e.sortable && (i.sortKey === e.key ? f("update:sortDirection", i.sortDirection === "asc" ? "desc" : "asc") : (f("update:sortKey", e.key), f("update:sortDirection", "asc")));
1961
1961
  }
1962
1962
  function m(e) {
1963
- return e.sortable ? i.sortKey === e.key ? i.sortDirection === "asc" ? G : U : ee : null;
1963
+ return e.sortable ? i.sortKey === e.key ? i.sortDirection === "asc" ? G : U : K : null;
1964
1964
  }
1965
1965
  let h = a(() => !i.loading && i.data.length === 0);
1966
- return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", Lr, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", Rr, [l("tr", null, [(x(!0), c(t, null, T(n.columns, (t) => (x(), c("th", {
1966
+ return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", zr, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", Br, [l("tr", null, [(x(!0), c(t, null, T(n.columns, (t) => (x(), c("th", {
1967
1967
  key: t.key,
1968
1968
  class: _(["uid-table__th", [
1969
1969
  `uid-table__th--${t.align ?? "left"}`,
@@ -1973,18 +1973,18 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1973
1973
  style: v(t.width ? { width: t.width } : void 0),
1974
1974
  "aria-sort": n.sortKey === t.key ? n.sortDirection === "asc" ? "ascending" : "descending" : t.sortable ? "none" : void 0,
1975
1975
  onClick: (e) => p(t)
1976
- }, [l("span", Br, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
1976
+ }, [l("span", Hr, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
1977
1977
  key: 0,
1978
1978
  icon: m(t),
1979
1979
  size: 14,
1980
1980
  class: "uid-table__sort-icon"
1981
- }, null, 8, ["icon"])) : s("", !0)])], 14, zr))), 128))])]), l("tbody", Vr, [n.loading ? (x(), c("tr", Hr, [l("td", {
1981
+ }, null, 8, ["icon"])) : s("", !0)])], 14, Vr))), 128))])]), l("tbody", Ur, [n.loading ? (x(), c("tr", Wr, [l("td", {
1982
1982
  colspan: n.columns.length,
1983
1983
  class: "uid-table__td uid-table__td--center"
1984
- }, [d(kt, { size: "md" })], 8, Ur)])) : h.value ? (x(), c("tr", Wr, [l("td", {
1984
+ }, [d(jt, { size: "md" })], 8, Gr)])) : h.value ? (x(), c("tr", Kr, [l("td", {
1985
1985
  colspan: n.columns.length,
1986
1986
  class: "uid-table__td uid-table__td--empty"
1987
- }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, Gr)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, i) => (x(), c("tr", {
1987
+ }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, qr)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, i) => (x(), c("tr", {
1988
1988
  key: i,
1989
1989
  class: "uid-table__row"
1990
1990
  }, [(x(!0), c(t, null, T(n.columns, (t) => (x(), c("td", {
@@ -1992,29 +1992,29 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
1992
1992
  class: _(["uid-table__td", `uid-table__td--${t.align ?? "left"}`])
1993
1993
  }, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))]))), 128))])], 2)])], 2));
1994
1994
  }
1995
- }), qr = [
1995
+ }), Yr = [
1996
1996
  "aria-expanded",
1997
1997
  "aria-controls",
1998
1998
  "aria-disabled"
1999
- ], Jr = { class: "uid-select__suffix" }, Yr = {
1999
+ ], Xr = { class: "uid-select__suffix" }, Zr = {
2000
2000
  key: 0,
2001
2001
  class: "uid-select__dropdown"
2002
- }, Xr = {
2002
+ }, Qr = {
2003
2003
  key: 0,
2004
2004
  class: "uid-select__search"
2005
- }, Zr = ["id"], Qr = {
2005
+ }, $r = ["id"], ei = {
2006
2006
  key: 0,
2007
2007
  class: "uid-select__group-label"
2008
- }, $r = [
2008
+ }, ti = [
2009
2009
  "data-active",
2010
2010
  "aria-selected",
2011
2011
  "aria-disabled",
2012
2012
  "onClick",
2013
2013
  "onMouseenter"
2014
- ], ei = {
2014
+ ], ni = {
2015
2015
  key: 1,
2016
2016
  class: "uid-select__empty"
2017
- }, ti = /* @__PURE__ */ f({
2017
+ }, ri = /* @__PURE__ */ f({
2018
2018
  __name: "UidSelect",
2019
2019
  props: /* @__PURE__ */ m({
2020
2020
  options: {},
@@ -2079,12 +2079,12 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2079
2079
  y.value?.contains(t) || B();
2080
2080
  }
2081
2081
  function G(e) {
2082
- e.key === "ArrowDown" ? (e.preventDefault(), m.value ? K() : F()) : e.key === "ArrowUp" ? (e.preventDefault(), m.value && J()) : e.key === "Enter" || e.key === " " ? (e.preventDefault(), m.value ? Y() : F()) : e.key === "Escape" && B();
2082
+ e.key === "ArrowDown" ? (e.preventDefault(), m.value ? ee() : F()) : e.key === "ArrowUp" ? (e.preventDefault(), m.value && J()) : e.key === "Enter" || e.key === " " ? (e.preventDefault(), m.value ? Y() : F()) : e.key === "Escape" && B();
2083
2083
  }
2084
- function ee(e) {
2085
- e.key === "ArrowDown" ? (e.preventDefault(), K()) : e.key === "ArrowUp" ? (e.preventDefault(), J()) : e.key === "Enter" ? (e.preventDefault(), Y()) : e.key === "Escape" && (B(), S.value?.focus());
2084
+ function K(e) {
2085
+ e.key === "ArrowDown" ? (e.preventDefault(), ee()) : e.key === "ArrowUp" ? (e.preventDefault(), J()) : e.key === "Enter" ? (e.preventDefault(), Y()) : e.key === "Escape" && (B(), S.value?.focus());
2086
2086
  }
2087
- function K() {
2087
+ function ee() {
2088
2088
  v.value = Math.min(v.value + 1, A.value.length - 1), X();
2089
2089
  }
2090
2090
  function J() {
@@ -2118,7 +2118,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2118
2118
  "aria-disabled": n.disabled,
2119
2119
  onClick: V,
2120
2120
  onKeydown: G
2121
- }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !O.value }]) }, k(O.value?.label ?? n.placeholder), 3), l("div", Jr, [n.clearable && p.value !== null ? (x(), c("button", {
2121
+ }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !O.value }]) }, k(O.value?.label ?? n.placeholder), 3), l("div", Xr, [n.clearable && p.value !== null ? (x(), c("button", {
2122
2122
  key: 0,
2123
2123
  type: "button",
2124
2124
  class: "uid-select__clear",
@@ -2132,8 +2132,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2132
2132
  size: 16,
2133
2133
  class: _(["uid-select__chevron", { "uid-select__chevron--open": m.value }]),
2134
2134
  "aria-hidden": "true"
2135
- }, null, 8, ["icon", "class"])])], 40, qr), d(r, { name: "uid-select-dropdown" }, {
2136
- default: R(() => [m.value ? (x(), c("div", Yr, [n.searchable ? (x(), c("div", Xr, [z(l("input", {
2135
+ }, null, 8, ["icon", "class"])])], 40, Yr), d(r, { name: "uid-select-dropdown" }, {
2136
+ default: R(() => [m.value ? (x(), c("div", Zr, [n.searchable ? (x(), c("div", Qr, [z(l("input", {
2137
2137
  ref_key: "searchRef",
2138
2138
  ref: E,
2139
2139
  "onUpdate:modelValue": a[0] ||= (e) => h.value = e,
@@ -2141,15 +2141,15 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2141
2141
  type: "text",
2142
2142
  placeholder: "Поиск...",
2143
2143
  autocomplete: "off",
2144
- onKeydown: ee
2144
+ onKeydown: K
2145
2145
  }, null, 544), [[I, h.value]])])) : s("", !0), l("div", {
2146
2146
  id: j(D),
2147
2147
  ref_key: "listRef",
2148
2148
  ref: C,
2149
2149
  class: "uid-select__list",
2150
2150
  role: "listbox",
2151
- onKeydown: ee
2152
- }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(P.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", Qr, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2151
+ onKeydown: K
2152
+ }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(P.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", ei, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2153
2153
  key: t.value,
2154
2154
  type: "button",
2155
2155
  class: _(["uid-select__option", {
@@ -2169,21 +2169,21 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2169
2169
  size: 14,
2170
2170
  "aria-hidden": "true",
2171
2171
  class: "uid-select__check"
2172
- }, null, 8, ["icon"])) : s("", !0)], 42, $r))), 128))], 64))), 128)) : (x(), c("div", ei, " Ничего не найдено "))], 40, Zr)])) : s("", !0)]),
2172
+ }, null, 8, ["icon"])) : s("", !0)], 42, ti))), 128))], 64))), 128)) : (x(), c("div", ni, " Ничего не найдено "))], 40, $r)])) : s("", !0)]),
2173
2173
  _: 1
2174
2174
  })], 2));
2175
2175
  }
2176
- }), ni = ["aria-expanded", "aria-disabled"], ri = { class: "uid-datepicker__suffix" }, ii = {
2176
+ }), ii = ["aria-expanded", "aria-disabled"], ai = { class: "uid-datepicker__suffix" }, oi = {
2177
2177
  key: 0,
2178
2178
  class: "uid-datepicker__panel",
2179
2179
  role: "dialog",
2180
2180
  "aria-label": "Выбор даты"
2181
- }, ai = { class: "uid-datepicker__nav" }, oi = { class: "uid-datepicker__month-label" }, si = { class: "uid-datepicker__grid" }, ci = [
2181
+ }, si = { class: "uid-datepicker__nav" }, ci = { class: "uid-datepicker__month-label" }, li = { class: "uid-datepicker__grid" }, ui = [
2182
2182
  "disabled",
2183
2183
  "aria-current",
2184
2184
  "aria-selected",
2185
2185
  "onClick"
2186
- ], li = /* @__PURE__ */ f({
2186
+ ], di = /* @__PURE__ */ f({
2187
2187
  __name: "UidDatePicker",
2188
2188
  props: /* @__PURE__ */ m({
2189
2189
  min: { default: void 0 },
@@ -2321,7 +2321,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2321
2321
  "aria-disabled": n.disabled,
2322
2322
  onClick: I,
2323
2323
  onKeydown: W
2324
- }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !o.value }]) }, k(o.value ? D.value : n.placeholder), 3), l("div", ri, [o.value ? (x(), c("button", {
2324
+ }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !o.value }]) }, k(o.value ? D.value : n.placeholder), 3), l("div", ai, [o.value ? (x(), c("button", {
2325
2325
  key: 0,
2326
2326
  type: "button",
2327
2327
  class: "uid-datepicker__clear",
@@ -2332,8 +2332,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2332
2332
  size: 16,
2333
2333
  class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": u.value }]),
2334
2334
  "aria-hidden": "true"
2335
- }, null, 8, ["icon", "class"])])], 40, ni), d(r, { name: "uid-datepicker-panel" }, {
2336
- default: R(() => [u.value ? (x(), c("div", ii, [l("div", ai, [
2335
+ }, null, 8, ["icon", "class"])])], 40, ii), d(r, { name: "uid-datepicker-panel" }, {
2336
+ default: R(() => [u.value ? (x(), c("div", oi, [l("div", si, [
2337
2337
  l("button", {
2338
2338
  type: "button",
2339
2339
  class: "uid-datepicker__nav-btn",
@@ -2343,7 +2343,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2343
2343
  icon: j(Y),
2344
2344
  size: 16
2345
2345
  }, null, 8, ["icon"])]),
2346
- l("span", oi, k(v[g.value]) + " " + k(h.value), 1),
2346
+ l("span", ci, k(v[g.value]) + " " + k(h.value), 1),
2347
2347
  l("button", {
2348
2348
  type: "button",
2349
2349
  class: "uid-datepicker__nav-btn",
@@ -2353,7 +2353,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2353
2353
  icon: j(X),
2354
2354
  size: 16
2355
2355
  }, null, 8, ["icon"])])
2356
- ]), l("div", si, [(x(), c(t, null, T(y, (e) => l("span", {
2356
+ ]), l("div", li, [(x(), c(t, null, T(y, (e) => l("span", {
2357
2357
  key: e,
2358
2358
  class: "uid-datepicker__weekday"
2359
2359
  }, k(e), 1)), 64)), (x(!0), c(t, null, T(O.value, (e) => (x(), c("button", {
@@ -2369,11 +2369,11 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2369
2369
  "aria-current": e.iso === A.value ? "date" : void 0,
2370
2370
  "aria-selected": e.iso === o.value,
2371
2371
  onClick: (t) => z(e)
2372
- }, k(e.date.getDate()), 11, ci))), 128))])])) : s("", !0)]),
2372
+ }, k(e.date.getDate()), 11, ui))), 128))])])) : s("", !0)]),
2373
2373
  _: 1
2374
2374
  })], 2));
2375
2375
  }
2376
- }), ui = /* @__PURE__ */ f({
2376
+ }), fi = /* @__PURE__ */ f({
2377
2377
  __name: "UidVirtualList",
2378
2378
  props: {
2379
2379
  items: {},
@@ -2415,17 +2415,17 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2415
2415
  index: r
2416
2416
  })], 4))), 128))], 4)], 4)], 36));
2417
2417
  }
2418
- }), di = {
2418
+ }), pi = {
2419
2419
  key: 0,
2420
2420
  class: "uid-slider__header"
2421
- }, fi = {
2421
+ }, mi = {
2422
2422
  key: 0,
2423
2423
  class: "uid-slider__label"
2424
- }, pi = {
2424
+ }, hi = {
2425
2425
  key: 1,
2426
2426
  class: "uid-slider__value",
2427
2427
  "aria-live": "polite"
2428
- }, mi = [
2428
+ }, gi = [
2429
2429
  "min",
2430
2430
  "max",
2431
2431
  "step",
@@ -2434,7 +2434,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2434
2434
  "aria-valuemin",
2435
2435
  "aria-valuemax",
2436
2436
  "aria-valuenow"
2437
- ], hi = /* @__PURE__ */ f({
2437
+ ], _i = /* @__PURE__ */ f({
2438
2438
  __name: "UidSlider",
2439
2439
  props: /* @__PURE__ */ m({
2440
2440
  min: { default: 0 },
@@ -2460,7 +2460,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2460
2460
  emits: ["update:modelValue"],
2461
2461
  setup(e) {
2462
2462
  let t = e, n = N(e, "modelValue"), r = a(() => (n.value - t.min) / (t.max - t.min) * 100), i = a(() => t.formatValue ? t.formatValue(n.value) : String(n.value));
2463
- return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", di, [e.label ? (x(), c("label", fi, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", pi, k(i.value), 1)) : s("", !0)])) : s("", !0), z(l("input", {
2463
+ return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", pi, [e.label ? (x(), c("label", mi, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", hi, k(i.value), 1)) : s("", !0)])) : s("", !0), z(l("input", {
2464
2464
  "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
2465
2465
  class: "uid-slider__input",
2466
2466
  type: "range",
@@ -2473,22 +2473,22 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2473
2473
  "aria-valuemax": e.max,
2474
2474
  "aria-valuenow": n.value,
2475
2475
  style: v({ "--_fill": `${r.value}%` })
2476
- }, null, 12, mi), [[
2476
+ }, null, 12, gi), [[
2477
2477
  I,
2478
2478
  n.value,
2479
2479
  void 0,
2480
2480
  { number: !0 }
2481
2481
  ]])], 2));
2482
2482
  }
2483
- }), gi = ["aria-expanded", "aria-disabled"], _i = {
2483
+ }), vi = ["aria-expanded", "aria-disabled"], yi = {
2484
2484
  key: 0,
2485
2485
  class: "uid-colorpicker__panel",
2486
2486
  role: "dialog",
2487
2487
  "aria-label": "Выбор цвета"
2488
- }, vi = { class: "uid-colorpicker__controls" }, yi = { class: "uid-colorpicker__sliders" }, bi = { class: "uid-colorpicker__inputs" }, xi = ["value"], Si = {
2488
+ }, bi = { class: "uid-colorpicker__controls" }, xi = { class: "uid-colorpicker__sliders" }, Si = { class: "uid-colorpicker__inputs" }, Ci = ["value"], wi = {
2489
2489
  key: 0,
2490
2490
  class: "uid-colorpicker__presets"
2491
- }, Ci = ["aria-label", "onClick"], wi = /* @__PURE__ */ f({
2491
+ }, Ti = ["aria-label", "onClick"], Ei = /* @__PURE__ */ f({
2492
2492
  __name: "UidColorPicker",
2493
2493
  props: /* @__PURE__ */ m({
2494
2494
  disabled: {
@@ -2563,11 +2563,11 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2563
2563
  let e = I();
2564
2564
  u.value = e, o("change", e), D.value = e.toUpperCase();
2565
2565
  }
2566
- let H = a(() => `hsl(${f.value}, 100%, 50%)`), U = a(() => `${p.value}%`), W = a(() => `${100 - m.value}%`), G = a(() => `${f.value / 360 * 100}%`), ee = a(() => `${h.value}%`), [K, q, J] = [
2566
+ let H = a(() => `hsl(${f.value}, 100%, 50%)`), U = a(() => `${p.value}%`), W = a(() => `${100 - m.value}%`), G = a(() => `${f.value / 360 * 100}%`), K = a(() => `${h.value}%`), [ee, q, J] = [
2567
2567
  a(() => M(f.value, p.value, m.value)[0]),
2568
2568
  a(() => M(f.value, p.value, m.value)[1]),
2569
2569
  a(() => M(f.value, p.value, m.value)[2])
2570
- ], te = a(() => `rgb(${K.value}, ${q.value}, ${J.value})`);
2570
+ ], te = a(() => `rgb(${ee.value}, ${q.value}, ${J.value})`);
2571
2571
  function Y(e, t) {
2572
2572
  if (!e) return null;
2573
2573
  let n = e.getBoundingClientRect();
@@ -2628,20 +2628,20 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2628
2628
  function fe(e) {
2629
2629
  e.key === "Enter" && de();
2630
2630
  }
2631
- function Z(e) {
2631
+ function pe(e) {
2632
2632
  let t = z(e);
2633
2633
  if (!t) return;
2634
2634
  let [n, r, a, o] = t, [s, c, l] = P(n, r, a);
2635
2635
  f.value = s, p.value = c, m.value = l, i.alpha && (h.value = o), V();
2636
2636
  }
2637
- function pe() {
2637
+ function Z() {
2638
2638
  i.disabled || (B(), u.value || (D.value = ""), g.value = !0);
2639
2639
  }
2640
2640
  function me() {
2641
2641
  g.value = !1;
2642
2642
  }
2643
2643
  function he() {
2644
- g.value ? me() : pe();
2644
+ g.value ? me() : Z();
2645
2645
  }
2646
2646
  function ge(e) {
2647
2647
  y.value?.contains(e.target) || me();
@@ -2664,8 +2664,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2664
2664
  }, [l("span", {
2665
2665
  class: "uid-colorpicker__swatch",
2666
2666
  style: v(u.value ? { background: u.value } : {})
2667
- }, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, gi), d(r, { name: "uid-colorpicker-panel" }, {
2668
- default: R(() => [g.value ? (x(), c("div", _i, [
2667
+ }, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, vi), d(r, { name: "uid-colorpicker-panel" }, {
2668
+ default: R(() => [g.value ? (x(), c("div", yi, [
2669
2669
  l("div", {
2670
2670
  ref_key: "gradientRef",
2671
2671
  ref: S,
@@ -2681,7 +2681,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2681
2681
  top: W.value
2682
2682
  })
2683
2683
  }, null, 4)], 36),
2684
- l("div", vi, [l("div", yi, [l("div", {
2684
+ l("div", bi, [l("div", xi, [l("div", {
2685
2685
  ref_key: "hueSliderRef",
2686
2686
  ref: C,
2687
2687
  class: "uid-colorpicker__hue-track",
@@ -2702,12 +2702,12 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2702
2702
  onPointerup: le
2703
2703
  }, [l("div", {
2704
2704
  class: "uid-colorpicker__track-thumb",
2705
- style: v({ left: ee.value })
2705
+ style: v({ left: K.value })
2706
2706
  }, null, 4)], 36)) : s("", !0)]), l("span", {
2707
2707
  class: "uid-colorpicker__preview",
2708
2708
  style: v({ background: te.value })
2709
2709
  }, null, 4)]),
2710
- l("div", bi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
2710
+ l("div", Si, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
2711
2711
  class: "uid-colorpicker__hex-input",
2712
2712
  type: "text",
2713
2713
  value: D.value,
@@ -2716,37 +2716,37 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2716
2716
  onInput: ue,
2717
2717
  onBlur: de,
2718
2718
  onKeydown: fe
2719
- }, null, 40, xi)]),
2720
- e.presets && e.presets.length ? (x(), c("div", Si, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
2719
+ }, null, 40, Ci)]),
2720
+ e.presets && e.presets.length ? (x(), c("div", wi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
2721
2721
  key: e,
2722
2722
  type: "button",
2723
2723
  class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
2724
2724
  style: v({ background: e }),
2725
2725
  "aria-label": e,
2726
- onClick: (t) => Z(e)
2727
- }, null, 14, Ci))), 128))])) : s("", !0)
2726
+ onClick: (t) => pe(e)
2727
+ }, null, 14, Ti))), 128))])) : s("", !0)
2728
2728
  ])) : s("", !0)]),
2729
2729
  _: 1
2730
2730
  })], 2));
2731
2731
  }
2732
- }), Ti = { class: "uid-command__search" }, Ei = ["placeholder"], Di = {
2732
+ }), Di = { class: "uid-command__search" }, Oi = ["placeholder"], ki = {
2733
2733
  key: 0,
2734
2734
  class: "uid-command__group-label"
2735
- }, Oi = [
2735
+ }, Ai = [
2736
2736
  "data-active",
2737
2737
  "aria-selected",
2738
2738
  "onClick",
2739
2739
  "onMouseenter"
2740
- ], ki = { class: "uid-command__item-text" }, Ai = { class: "uid-command__item-label" }, ji = {
2740
+ ], ji = { class: "uid-command__item-text" }, Mi = { class: "uid-command__item-label" }, Ni = {
2741
2741
  key: 0,
2742
2742
  class: "uid-command__item-desc"
2743
- }, Mi = {
2743
+ }, Pi = {
2744
2744
  key: 0,
2745
2745
  class: "uid-command__item-shortcut"
2746
- }, Ni = {
2746
+ }, Fi = {
2747
2747
  key: 1,
2748
2748
  class: "uid-command__empty"
2749
- }, Pi = /* @__PURE__ */ f({
2749
+ }, Ii = /* @__PURE__ */ f({
2750
2750
  __name: "UidCommand",
2751
2751
  props: /* @__PURE__ */ m({
2752
2752
  commands: {},
@@ -2761,7 +2761,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2761
2761
  }),
2762
2762
  emits: ["update:modelValue"],
2763
2763
  setup(i) {
2764
- let u = i, f = N(i, "modelValue"), p = w(""), m = w(0), h = w(null), v = w(null), S = w(null), { activate: C, deactivate: E } = en(h), { lock: D, unlock: O } = nn(), A = a(() => {
2764
+ let u = i, f = N(i, "modelValue"), p = w(""), m = w(0), h = w(null), v = w(null), S = w(null), { activate: C, deactivate: E } = nn(h), { lock: D, unlock: O } = an(), A = a(() => {
2765
2765
  let e = p.value.trim().toLowerCase();
2766
2766
  return e ? u.commands.filter((t) => t.label.toLowerCase().includes(e) || t.description?.toLowerCase().includes(e)) : u.commands;
2767
2767
  }), M = a(() => {
@@ -2816,7 +2816,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2816
2816
  "aria-modal": "true",
2817
2817
  "aria-label": "Палитра команд",
2818
2818
  onKeydown: H
2819
- }, [l("div", Ti, [d(e, {
2819
+ }, [l("div", Di, [d(e, {
2820
2820
  icon: j(le),
2821
2821
  size: 16,
2822
2822
  class: "uid-command__search-icon",
@@ -2831,12 +2831,12 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2831
2831
  autocomplete: "off",
2832
2832
  spellcheck: "false",
2833
2833
  "aria-autocomplete": "list"
2834
- }, null, 8, Ei), [[I, p.value]])]), l("div", {
2834
+ }, null, 8, Oi), [[I, p.value]])]), l("div", {
2835
2835
  ref_key: "listRef",
2836
2836
  ref: S,
2837
2837
  class: "uid-command__list",
2838
2838
  role: "listbox"
2839
- }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", Di, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
2839
+ }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", ki, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
2840
2840
  key: e.id,
2841
2841
  class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
2842
2842
  "data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
@@ -2845,18 +2845,18 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2845
2845
  type: "button",
2846
2846
  onClick: (t) => F(e),
2847
2847
  onMouseenter: (t) => m.value = A.value.indexOf(e)
2848
- }, [l("div", ki, [l("span", Ai, k(e.label), 1), e.description ? (x(), c("span", ji, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", Mi, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
2848
+ }, [l("div", ji, [l("span", Mi, k(e.label), 1), e.description ? (x(), c("span", Ni, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", Pi, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
2849
2849
  key: e,
2850
2850
  class: "uid-command__kbd"
2851
- }, k(e), 1))), 128))])) : s("", !0)], 42, Oi))), 128))], 64))), 128)) : (x(), c("div", Ni, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
2851
+ }, k(e), 1))), 128))])) : s("", !0)], 42, Ai))), 128))], 64))), 128)) : (x(), c("div", Fi, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
2852
2852
  _: 1
2853
2853
  })]));
2854
2854
  }
2855
- }), Fi = ["for"], Ii = {
2855
+ }), Li = ["for"], Ri = {
2856
2856
  key: 0,
2857
2857
  class: "uid-number-input__required",
2858
2858
  "aria-hidden": "true"
2859
- }, Li = { class: "uid-number-input__control" }, Ri = ["disabled", "aria-label"], zi = [
2859
+ }, zi = { class: "uid-number-input__control" }, Bi = ["disabled", "aria-label"], Vi = [
2860
2860
  "id",
2861
2861
  "name",
2862
2862
  "placeholder",
@@ -2869,7 +2869,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2869
2869
  "value",
2870
2870
  "aria-invalid",
2871
2871
  "aria-describedby"
2872
- ], Bi = ["disabled", "aria-label"], Vi = ["id"], Hi = /* @__PURE__ */ f({
2872
+ ], Hi = ["disabled", "aria-label"], Ui = ["id"], Wi = /* @__PURE__ */ f({
2873
2873
  __name: "UidNumberInput",
2874
2874
  props: /* @__PURE__ */ m({
2875
2875
  min: { default: void 0 },
@@ -2962,8 +2962,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2962
2962
  key: 0,
2963
2963
  for: j(f),
2964
2964
  class: "uid-number-input__label"
2965
- }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", Ii, "*")) : s("", !0)], 8, Fi)) : s("", !0),
2966
- l("div", Li, [
2965
+ }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", Ri, "*")) : s("", !0)], 8, Li)) : s("", !0),
2966
+ l("div", zi, [
2967
2967
  t.controls ? (x(), c("button", {
2968
2968
  key: 0,
2969
2969
  type: "button",
@@ -2975,7 +2975,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2975
2975
  }, [d(e, {
2976
2976
  icon: j(se),
2977
2977
  size: 14
2978
- }, null, 8, ["icon"])], 8, Ri)) : s("", !0),
2978
+ }, null, 8, ["icon"])], 8, Bi)) : s("", !0),
2979
2979
  l("input", {
2980
2980
  id: j(f),
2981
2981
  class: "uid-number-input__input",
@@ -2996,7 +2996,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
2996
2996
  onBlur: T,
2997
2997
  onFocus: r[0] ||= (e) => i("focus", e),
2998
2998
  onKeydown: E
2999
- }, null, 40, zi),
2999
+ }, null, 40, Vi),
3000
3000
  t.controls ? (x(), c("button", {
3001
3001
  key: 1,
3002
3002
  type: "button",
@@ -3008,21 +3008,21 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3008
3008
  }, [d(e, {
3009
3009
  icon: j(ce),
3010
3010
  size: 14
3011
- }, null, 8, ["icon"])], 8, Bi)) : s("", !0)
3011
+ }, null, 8, ["icon"])], 8, Hi)) : s("", !0)
3012
3012
  ]),
3013
3013
  m.value ? (x(), c("p", {
3014
3014
  key: 1,
3015
3015
  id: `${j(f)}-hint`,
3016
3016
  class: _(["uid-number-input__hint", p.value && "uid-number-input__hint--error"])
3017
- }, k(m.value), 11, Vi)) : s("", !0)
3017
+ }, k(m.value), 11, Ui)) : s("", !0)
3018
3018
  ], 2));
3019
3019
  }
3020
- }), Ui = ["aria-expanded", "aria-disabled"], Wi = {
3020
+ }), Gi = ["aria-expanded", "aria-disabled"], Ki = {
3021
3021
  key: 0,
3022
3022
  class: "uid-timepicker__panel",
3023
3023
  role: "dialog",
3024
3024
  "aria-label": "Выбор времени"
3025
- }, Gi = { class: "uid-timepicker__columns" }, Ki = ["onClick"], qi = ["onClick"], Ji = ["onClick"], Yi = /* @__PURE__ */ f({
3025
+ }, qi = { class: "uid-timepicker__columns" }, Ji = ["onClick"], Yi = ["onClick"], Xi = ["onClick"], Zi = /* @__PURE__ */ f({
3026
3026
  __name: "UidTimePicker",
3027
3027
  props: /* @__PURE__ */ m({
3028
3028
  step: { default: 5 },
@@ -3120,10 +3120,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3120
3120
  s: o.withSeconds ? Math.floor(e.getSeconds() / t) * t : 0
3121
3121
  };
3122
3122
  }
3123
- function ee(e) {
3123
+ function K(e) {
3124
3124
  e.stopPropagation(), f.value = null, u("change", null);
3125
3125
  }
3126
- function K(e) {
3126
+ function ee(e) {
3127
3127
  let t = e.target;
3128
3128
  m.value?.contains(t) || z();
3129
3129
  }
@@ -3143,8 +3143,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3143
3143
  });
3144
3144
  }
3145
3145
  return L(p, (e) => {
3146
- e ? (document.addEventListener("pointerdown", K), J()) : document.removeEventListener("pointerdown", K);
3147
- }), b(() => document.removeEventListener("pointerdown", K)), (i, a) => (x(), c("div", {
3146
+ e ? (document.addEventListener("pointerdown", ee), J()) : document.removeEventListener("pointerdown", ee);
3147
+ }), b(() => document.removeEventListener("pointerdown", ee)), (i, a) => (x(), c("div", {
3148
3148
  ref_key: "containerRef",
3149
3149
  ref: m,
3150
3150
  class: _(["uid-timepicker", {
@@ -3173,10 +3173,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3173
3173
  type: "button",
3174
3174
  class: "uid-timepicker__clear",
3175
3175
  "aria-label": "Очистить",
3176
- onClick: ee
3176
+ onClick: K
3177
3177
  }, " × ")) : s("", !0)
3178
- ], 40, Ui), d(r, { name: "uid-timepicker-panel" }, {
3179
- default: R(() => [p.value ? (x(), c("div", Wi, [l("div", Gi, [
3178
+ ], 40, Gi), d(r, { name: "uid-timepicker-panel" }, {
3179
+ default: R(() => [p.value ? (x(), c("div", Ki, [l("div", qi, [
3180
3180
  l("div", {
3181
3181
  ref_key: "hourColRef",
3182
3182
  ref: v,
@@ -3186,7 +3186,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3186
3186
  type: "button",
3187
3187
  class: _(["uid-timepicker__cell", { "uid-timepicker__cell--selected": D.value.h === e }]),
3188
3188
  onClick: (t) => V(e)
3189
- }, k(F(e)), 11, Ki))), 128))], 512),
3189
+ }, k(F(e)), 11, Ji))), 128))], 512),
3190
3190
  l("div", {
3191
3191
  ref_key: "minuteColRef",
3192
3192
  ref: y,
@@ -3196,7 +3196,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3196
3196
  type: "button",
3197
3197
  class: _(["uid-timepicker__cell", { "uid-timepicker__cell--selected": D.value.m === e }]),
3198
3198
  onClick: (t) => H(e)
3199
- }, k(F(e)), 11, qi))), 128))], 512),
3199
+ }, k(F(e)), 11, Yi))), 128))], 512),
3200
3200
  n.withSeconds ? (x(), c("div", {
3201
3201
  key: 0,
3202
3202
  ref_key: "secondColRef",
@@ -3207,7 +3207,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3207
3207
  type: "button",
3208
3208
  class: _(["uid-timepicker__cell", { "uid-timepicker__cell--selected": D.value.s === e }]),
3209
3209
  onClick: (t) => U(e)
3210
- }, k(F(e)), 11, Ji))), 128))], 512)) : s("", !0)
3210
+ }, k(F(e)), 11, Xi))), 128))], 512)) : s("", !0)
3211
3211
  ]), l("div", { class: "uid-timepicker__footer" }, [l("button", {
3212
3212
  type: "button",
3213
3213
  class: "uid-timepicker__btn",
@@ -3220,20 +3220,20 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3220
3220
  _: 1
3221
3221
  })], 2));
3222
3222
  }
3223
- }), Xi = ["aria-expanded", "aria-disabled"], Zi = {
3223
+ }), Qi = ["aria-expanded", "aria-disabled"], $i = {
3224
3224
  key: 0,
3225
3225
  class: "uid-daterange__panel",
3226
3226
  role: "dialog",
3227
3227
  "aria-label": "Выбор диапазона дат"
3228
- }, Qi = { class: "uid-daterange__months" }, $i = { class: "uid-daterange__month" }, ea = { class: "uid-daterange__nav" }, ta = { class: "uid-daterange__month-label" }, na = { class: "uid-daterange__grid" }, ra = [
3228
+ }, ea = { class: "uid-daterange__months" }, ta = { class: "uid-daterange__month" }, na = { class: "uid-daterange__nav" }, ra = { class: "uid-daterange__month-label" }, ia = { class: "uid-daterange__grid" }, aa = [
3229
3229
  "disabled",
3230
3230
  "onClick",
3231
3231
  "onMouseenter"
3232
- ], ia = { class: "uid-daterange__month" }, aa = { class: "uid-daterange__nav" }, oa = { class: "uid-daterange__month-label" }, sa = { class: "uid-daterange__grid" }, ca = [
3232
+ ], oa = { class: "uid-daterange__month" }, sa = { class: "uid-daterange__nav" }, ca = { class: "uid-daterange__month-label" }, la = { class: "uid-daterange__grid" }, ua = [
3233
3233
  "disabled",
3234
3234
  "onClick",
3235
3235
  "onMouseenter"
3236
- ], la = { class: "uid-daterange__footer" }, ua = /* @__PURE__ */ f({
3236
+ ], da = { class: "uid-daterange__footer" }, fa = /* @__PURE__ */ f({
3237
3237
  __name: "UidDateRangePicker",
3238
3238
  props: /* @__PURE__ */ m({
3239
3239
  min: { default: void 0 },
@@ -3346,7 +3346,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3346
3346
  let t = S.value ?? f.value.start;
3347
3347
  return t ? S.value && C.value ? e === (t <= C.value ? t : C.value) : e === t : !1;
3348
3348
  }
3349
- function ee(e) {
3349
+ function K(e) {
3350
3350
  if (S.value && C.value) {
3351
3351
  let t = S.value;
3352
3352
  return e === (t <= C.value ? C.value : t);
@@ -3434,7 +3434,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3434
3434
  onKeydown: le
3435
3435
  }, [
3436
3436
  d(e, {
3437
- icon: j(K),
3437
+ icon: j(ee),
3438
3438
  size: 16,
3439
3439
  class: "uid-daterange__icon",
3440
3440
  "aria-hidden": "true"
@@ -3447,8 +3447,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3447
3447
  "aria-label": "Очистить",
3448
3448
  onClick: oe
3449
3449
  }, " × ")) : s("", !0)
3450
- ], 40, Xi), d(r, { name: "uid-daterange-panel" }, {
3451
- default: R(() => [p.value ? (x(), c("div", Zi, [l("div", Qi, [l("div", $i, [l("div", ea, [
3450
+ ], 40, Qi), d(r, { name: "uid-daterange-panel" }, {
3451
+ default: R(() => [p.value ? (x(), c("div", $i, [l("div", ea, [l("div", ta, [l("div", na, [
3452
3452
  l("button", {
3453
3453
  type: "button",
3454
3454
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3458,7 +3458,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3458
3458
  icon: j(Y),
3459
3459
  size: 16
3460
3460
  }, null, 8, ["icon"])]),
3461
- l("span", ta, k(B.value), 1),
3461
+ l("span", ra, k(B.value), 1),
3462
3462
  l("button", {
3463
3463
  type: "button",
3464
3464
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3468,7 +3468,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3468
3468
  icon: j(X),
3469
3469
  size: 16
3470
3470
  }, null, 8, ["icon"])])
3471
- ]), l("div", na, [(x(), c(t, null, T(D, (e) => l("span", {
3471
+ ]), l("div", ia, [(x(), c(t, null, T(D, (e) => l("span", {
3472
3472
  key: e,
3473
3473
  class: "uid-daterange__weekday"
3474
3474
  }, k(e), 1)), 64)), (x(!0), c(t, null, T(I.value, (e) => (x(), c("button", {
@@ -3478,14 +3478,14 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3478
3478
  "uid-daterange__day--other": !e.current,
3479
3479
  "uid-daterange__day--today": e.iso === H.value,
3480
3480
  "uid-daterange__day--start": G(e.iso),
3481
- "uid-daterange__day--end": ee(e.iso),
3481
+ "uid-daterange__day--end": K(e.iso),
3482
3482
  "uid-daterange__day--in-range": W(e.iso),
3483
3483
  "uid-daterange__day--disabled": U(e.iso)
3484
3484
  }]),
3485
3485
  disabled: U(e.iso) || !e.current,
3486
3486
  onClick: (t) => ne(e),
3487
3487
  onMouseenter: (t) => re(e.iso)
3488
- }, k(e.date.getDate()), 43, ra))), 128))])]), l("div", ia, [l("div", aa, [
3488
+ }, k(e.date.getDate()), 43, aa))), 128))])]), l("div", oa, [l("div", sa, [
3489
3489
  l("button", {
3490
3490
  type: "button",
3491
3491
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3495,7 +3495,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3495
3495
  icon: j(Y),
3496
3496
  size: 16
3497
3497
  }, null, 8, ["icon"])]),
3498
- l("span", oa, k(V.value), 1),
3498
+ l("span", ca, k(V.value), 1),
3499
3499
  l("button", {
3500
3500
  type: "button",
3501
3501
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3505,7 +3505,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3505
3505
  icon: j(X),
3506
3506
  size: 16
3507
3507
  }, null, 8, ["icon"])])
3508
- ]), l("div", sa, [(x(), c(t, null, T(D, (e) => l("span", {
3508
+ ]), l("div", la, [(x(), c(t, null, T(D, (e) => l("span", {
3509
3509
  key: e,
3510
3510
  class: "uid-daterange__weekday"
3511
3511
  }, k(e), 1)), 64)), (x(!0), c(t, null, T(z.value, (e) => (x(), c("button", {
@@ -3515,14 +3515,14 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3515
3515
  "uid-daterange__day--other": !e.current,
3516
3516
  "uid-daterange__day--today": e.iso === H.value,
3517
3517
  "uid-daterange__day--start": G(e.iso),
3518
- "uid-daterange__day--end": ee(e.iso),
3518
+ "uid-daterange__day--end": K(e.iso),
3519
3519
  "uid-daterange__day--in-range": W(e.iso),
3520
3520
  "uid-daterange__day--disabled": U(e.iso)
3521
3521
  }]),
3522
3522
  disabled: U(e.iso) || !e.current,
3523
3523
  onClick: (t) => ne(e),
3524
3524
  onMouseenter: (t) => re(e.iso)
3525
- }, k(e.date.getDate()), 43, ca))), 128))])])]), l("div", la, [
3525
+ }, k(e.date.getDate()), 43, ua))), 128))])])]), l("div", da, [
3526
3526
  l("button", {
3527
3527
  type: "button",
3528
3528
  class: "uid-daterange__btn",
@@ -3542,11 +3542,11 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3542
3542
  _: 1
3543
3543
  })], 2));
3544
3544
  }
3545
- }), da = ["for"], fa = {
3545
+ }), pa = ["for"], ma = {
3546
3546
  key: 0,
3547
3547
  class: "uid-tags-input__required",
3548
3548
  "aria-hidden": "true"
3549
- }, pa = ["aria-label", "onClick"], ma = [
3549
+ }, ha = ["aria-label", "onClick"], ga = [
3550
3550
  "id",
3551
3551
  "placeholder",
3552
3552
  "disabled",
@@ -3554,7 +3554,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3554
3554
  "value",
3555
3555
  "aria-invalid",
3556
3556
  "aria-describedby"
3557
- ], ha = ["id"], ga = /* @__PURE__ */ f({
3557
+ ], _a = ["id"], va = /* @__PURE__ */ f({
3558
3558
  __name: "UidTagsInput",
3559
3559
  props: /* @__PURE__ */ m({
3560
3560
  separators: { default: () => [",", "Enter"] },
@@ -3655,7 +3655,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3655
3655
  key: 0,
3656
3656
  for: j(p),
3657
3657
  class: "uid-tags-input__label"
3658
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", fa, "*")) : s("", !0)], 8, da)) : s("", !0),
3658
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", ma, "*")) : s("", !0)], 8, pa)) : s("", !0),
3659
3659
  l("div", {
3660
3660
  class: "uid-tags-input__control",
3661
3661
  role: "list",
@@ -3670,7 +3670,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3670
3670
  class: "uid-tags-input__chip-remove",
3671
3671
  "aria-label": `Удалить ${t}`,
3672
3672
  onClick: B((e) => b(n), ["stop"])
3673
- }, "×", 8, pa))], 2))), 128)), l("input", {
3673
+ }, "×", 8, ha))], 2))), 128)), l("input", {
3674
3674
  id: j(p),
3675
3675
  ref_key: "inputRef",
3676
3676
  ref: f,
@@ -3686,19 +3686,19 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3686
3686
  onKeydown: S,
3687
3687
  onPaste: E,
3688
3688
  onBlur: y
3689
- }, null, 40, ma)]),
3689
+ }, null, 40, ga)]),
3690
3690
  h.value ? (x(), c("p", {
3691
3691
  key: 1,
3692
3692
  id: `${j(p)}-hint`,
3693
3693
  class: _(["uid-tags-input__hint", m.value && "uid-tags-input__hint--error"])
3694
- }, k(h.value), 11, ha)) : s("", !0)
3694
+ }, k(h.value), 11, _a)) : s("", !0)
3695
3695
  ], 2));
3696
3696
  }
3697
- }), _a = ["for"], va = {
3697
+ }), ya = ["for"], ba = {
3698
3698
  key: 0,
3699
3699
  class: "uid-combobox__required",
3700
3700
  "aria-hidden": "true"
3701
- }, ya = ["aria-expanded", "aria-controls"], ba = [
3701
+ }, xa = ["aria-expanded", "aria-controls"], Sa = [
3702
3702
  "id",
3703
3703
  "placeholder",
3704
3704
  "disabled",
@@ -3706,20 +3706,20 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3706
3706
  "value",
3707
3707
  "aria-activedescendant",
3708
3708
  "aria-invalid"
3709
- ], xa = { class: "uid-combobox__suffix" }, Sa = ["id"], Ca = [
3709
+ ], Ca = { class: "uid-combobox__suffix" }, wa = ["id"], Ta = [
3710
3710
  "id",
3711
3711
  "data-active",
3712
3712
  "aria-selected",
3713
3713
  "aria-disabled",
3714
3714
  "onClick",
3715
3715
  "onMouseenter"
3716
- ], wa = { class: "uid-combobox__option-label" }, Ta = {
3716
+ ], Ea = { class: "uid-combobox__option-label" }, Da = {
3717
3717
  key: 0,
3718
3718
  class: "uid-combobox__option-hint"
3719
- }, Ea = ["id", "data-active"], Da = { class: "uid-combobox__option-label" }, Oa = {
3719
+ }, Oa = ["id", "data-active"], ka = { class: "uid-combobox__option-label" }, Aa = {
3720
3720
  key: 2,
3721
3721
  class: "uid-combobox__empty"
3722
- }, ka = /* @__PURE__ */ f({
3722
+ }, ja = /* @__PURE__ */ f({
3723
3723
  __name: "UidCombobox",
3724
3724
  props: /* @__PURE__ */ m({
3725
3725
  options: {},
@@ -3795,8 +3795,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3795
3795
  R();
3796
3796
  return;
3797
3797
  }
3798
- ee();
3799
- } else if (e.key === "ArrowUp") e.preventDefault(), m.value && K();
3798
+ K();
3799
+ } else if (e.key === "ArrowUp") e.preventDefault(), m.value && ee();
3800
3800
  else if (e.key === "Enter") {
3801
3801
  if (e.preventDefault(), !m.value) {
3802
3802
  R();
@@ -3805,11 +3805,11 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3805
3805
  J();
3806
3806
  } else e.key === "Escape" ? m.value ? z() : S.value?.blur() : e.key === "Tab" && z();
3807
3807
  }
3808
- function ee() {
3808
+ function K() {
3809
3809
  let e = A.value.length + +!!P.value;
3810
3810
  e !== 0 && (v.value = Math.min(v.value + 1, e - 1), Y());
3811
3811
  }
3812
- function K() {
3812
+ function ee() {
3813
3813
  v.value = Math.max(v.value - 1, 0), Y();
3814
3814
  }
3815
3815
  function J() {
@@ -3845,7 +3845,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3845
3845
  key: 0,
3846
3846
  for: j(E),
3847
3847
  class: "uid-combobox__label"
3848
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", va, "*")) : s("", !0)], 8, _a)) : s("", !0),
3848
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", ba, "*")) : s("", !0)], 8, ya)) : s("", !0),
3849
3849
  l("div", {
3850
3850
  class: "uid-combobox__control",
3851
3851
  role: "combobox",
@@ -3869,7 +3869,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3869
3869
  onInput: U,
3870
3870
  onFocus: W,
3871
3871
  onKeydown: G
3872
- }, null, 40, ba), l("div", xa, [n.clearable && p.value !== null ? (x(), c("button", {
3872
+ }, null, 40, Sa), l("div", Ca, [n.clearable && p.value !== null ? (x(), c("button", {
3873
3873
  key: 0,
3874
3874
  type: "button",
3875
3875
  class: "uid-combobox__clear",
@@ -3884,7 +3884,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3884
3884
  class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": m.value }]),
3885
3885
  "aria-hidden": "true",
3886
3886
  onClick: R
3887
- }, null, 8, ["icon", "class"])])], 8, ya),
3887
+ }, null, 8, ["icon", "class"])])], 8, xa),
3888
3888
  m.value ? (x(), c("div", {
3889
3889
  key: 1,
3890
3890
  id: j(D),
@@ -3909,8 +3909,8 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3909
3909
  onClick: (e) => B(t),
3910
3910
  onMouseenter: (e) => !t.disabled && (v.value = n)
3911
3911
  }, [
3912
- l("span", wa, k(t.label), 1),
3913
- t.hint ? (x(), c("span", Ta, k(t.hint), 1)) : s("", !0),
3912
+ l("span", Ea, k(t.label), 1),
3913
+ t.hint ? (x(), c("span", Da, k(t.hint), 1)) : s("", !0),
3914
3914
  t.value === p.value ? (x(), o(e, {
3915
3915
  key: 1,
3916
3916
  icon: j(q),
@@ -3918,7 +3918,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3918
3918
  class: "uid-combobox__check",
3919
3919
  "aria-hidden": "true"
3920
3920
  }, null, 8, ["icon"])) : s("", !0)
3921
- ], 42, Ca))), 128)) : s("", !0),
3921
+ ], 42, Ta))), 128)) : s("", !0),
3922
3922
  P.value ? (x(), c("button", {
3923
3923
  key: 1,
3924
3924
  id: `${j(D)}-${A.value.length}`,
@@ -3928,38 +3928,38 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
3928
3928
  "data-active": v.value === A.value.length ? "true" : void 0,
3929
3929
  onClick: V,
3930
3930
  onMouseenter: i[0] ||= (e) => v.value = A.value.length
3931
- }, [l("span", Da, "+ Создать «" + k(h.value) + "»", 1)], 42, Ea)) : s("", !0),
3932
- A.value.length === 0 && !P.value ? (x(), c("div", Oa, k(n.emptyText), 1)) : s("", !0)
3933
- ], 8, Sa)) : s("", !0),
3931
+ }, [l("span", ka, "+ Создать «" + k(h.value) + "»", 1)], 42, Oa)) : s("", !0),
3932
+ A.value.length === 0 && !P.value ? (x(), c("div", Aa, k(n.emptyText), 1)) : s("", !0)
3933
+ ], 8, wa)) : s("", !0),
3934
3934
  I.value ? (x(), c("p", {
3935
3935
  key: 2,
3936
3936
  class: _(["uid-combobox__hint", F.value && "uid-combobox__hint--error"])
3937
3937
  }, k(I.value), 3)) : s("", !0)
3938
3938
  ], 2));
3939
3939
  }
3940
- }), Aa = Symbol("UidTree"), ja = [
3940
+ }), Ma = Symbol("UidTree"), Na = [
3941
3941
  "aria-expanded",
3942
3942
  "aria-selected",
3943
3943
  "aria-disabled"
3944
- ], Ma = ["tabindex"], Na = ["aria-label"], Pa = {
3944
+ ], Pa = ["tabindex"], Fa = ["aria-label"], Ia = {
3945
3945
  key: 1,
3946
3946
  class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
3947
3947
  "aria-hidden": "true"
3948
- }, Fa = ["aria-checked"], Ia = {
3948
+ }, La = ["aria-checked"], Ra = {
3949
3949
  key: 3,
3950
3950
  class: "uid-tree-item__icon"
3951
- }, La = { class: "uid-tree-item__label" }, Ra = {
3951
+ }, za = { class: "uid-tree-item__label" }, Ba = {
3952
3952
  key: 0,
3953
3953
  class: "uid-tree-item__children",
3954
3954
  role: "group"
3955
- }, za = /* @__PURE__ */ f({
3955
+ }, Va = /* @__PURE__ */ f({
3956
3956
  __name: "UidTreeItem",
3957
3957
  props: {
3958
3958
  node: {},
3959
3959
  level: {}
3960
3960
  },
3961
3961
  setup(n) {
3962
- let r = n, i = p(Aa);
3962
+ let r = n, i = p(Ma);
3963
3963
  if (!i) throw Error("UidTreeItem must be used inside UidTree");
3964
3964
  let u = i, f = a(() => !!r.node.children && r.node.children.length > 0), m = a(() => u.isExpanded(r.node.key)), h = a(() => u.isSelected(r.node.key)), g = a(() => u.isChecked(r.node.key)), y = a(() => u.isIndeterminate(r.node.key)), b = a(() => u.disabled.value || !!r.node.disabled);
3965
3965
  function S() {
@@ -4003,7 +4003,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4003
4003
  }, [d(e, {
4004
4004
  icon: j(X),
4005
4005
  size: 14
4006
- }, null, 8, ["icon"])], 10, Na)) : (x(), c("span", Pa)),
4006
+ }, null, 8, ["icon"])], 10, Fa)) : (x(), c("span", Ia)),
4007
4007
  j(u).checkable.value ? (x(), c("span", {
4008
4008
  key: 2,
4009
4009
  class: _(["uid-tree-item__check", {
@@ -4017,20 +4017,20 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4017
4017
  key: 0,
4018
4018
  icon: j(q),
4019
4019
  size: 12
4020
- }, null, 8, ["icon"])) : s("", !0)], 10, Fa)) : s("", !0),
4021
- n.node.icon ? (x(), c("span", Ia, [d(e, {
4020
+ }, null, 8, ["icon"])) : s("", !0)], 10, La)) : s("", !0),
4021
+ n.node.icon ? (x(), c("span", Ra, [d(e, {
4022
4022
  icon: n.node.icon,
4023
4023
  size: 16
4024
4024
  }, null, 8, ["icon"])])) : s("", !0),
4025
- l("span", La, k(n.node.label), 1)
4026
- ], 44, Ma), f.value && m.value ? (x(), c("ul", Ra, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4025
+ l("span", za, k(n.node.label), 1)
4026
+ ], 44, Pa), f.value && m.value ? (x(), c("ul", Ba, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4027
4027
  key: e.key,
4028
4028
  node: e,
4029
4029
  level: n.level + 1
4030
- }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, ja);
4030
+ }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, Na);
4031
4031
  };
4032
4032
  }
4033
- }), Ba = /* @__PURE__ */ f({
4033
+ }), Ha = /* @__PURE__ */ f({
4034
4034
  __name: "UidTreeView",
4035
4035
  props: /* @__PURE__ */ m({
4036
4036
  nodes: {},
@@ -4145,7 +4145,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4145
4145
  }
4146
4146
  m.value = n, u.value = [...n], v(), i("check", e, !t);
4147
4147
  }
4148
- return S(Aa, {
4148
+ return S(Ma, {
4149
4149
  selectable: a(() => r.selectable),
4150
4150
  checkable: a(() => r.checkable),
4151
4151
  disabled: a(() => r.disabled),
@@ -4162,13 +4162,13 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4162
4162
  }), (n, r) => (x(), c("ul", {
4163
4163
  class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
4164
4164
  role: "tree"
4165
- }, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(za, {
4165
+ }, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(Va, {
4166
4166
  key: e.key,
4167
4167
  node: e,
4168
4168
  level: 0
4169
4169
  }, null, 8, ["node"]))), 128))], 2));
4170
4170
  }
4171
- }), Va = /* @__PURE__ */ f({
4171
+ }), Ua = /* @__PURE__ */ f({
4172
4172
  __name: "UidTimeline",
4173
4173
  props: { alternate: {
4174
4174
  type: Boolean,
@@ -4177,19 +4177,19 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4177
4177
  setup(e) {
4178
4178
  return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
4179
4179
  }
4180
- }), Ha = { class: "uid-timeline-item__rail" }, Ua = { class: "uid-timeline-item__marker" }, Wa = { class: "uid-timeline-item__content" }, Ga = {
4180
+ }), Wa = { class: "uid-timeline-item__rail" }, Ga = { class: "uid-timeline-item__marker" }, Ka = { class: "uid-timeline-item__content" }, qa = {
4181
4181
  key: 0,
4182
4182
  class: "uid-timeline-item__time"
4183
- }, Ka = {
4183
+ }, Ja = {
4184
4184
  key: 1,
4185
4185
  class: "uid-timeline-item__title"
4186
- }, qa = {
4186
+ }, Ya = {
4187
4187
  key: 2,
4188
4188
  class: "uid-timeline-item__description"
4189
- }, Ja = {
4189
+ }, Xa = {
4190
4190
  key: 3,
4191
4191
  class: "uid-timeline-item__description"
4192
- }, Ya = /* @__PURE__ */ f({
4192
+ }, Za = /* @__PURE__ */ f({
4193
4193
  __name: "UidTimelineItem",
4194
4194
  props: {
4195
4195
  title: {},
@@ -4199,37 +4199,37 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4199
4199
  icon: {}
4200
4200
  },
4201
4201
  setup(t) {
4202
- return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div", Ha, [l("div", Ua, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4202
+ return (n, r) => (x(), c("li", { class: _(["uid-timeline-item", [t.tone !== "neutral" && `uid-timeline-item--${t.tone}`, (t.icon || n.$slots.icon) && "uid-timeline-item--with-icon"]]) }, [l("div", Wa, [l("div", Ga, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4203
4203
  key: 0,
4204
4204
  icon: t.icon,
4205
4205
  size: 14
4206
4206
  }, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
4207
4207
  class: "uid-timeline-item__line",
4208
4208
  "aria-hidden": "true"
4209
- }, null, -1)]), l("div", Wa, [
4210
- t.time || n.$slots.time ? (x(), c("p", Ga, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4211
- t.title ? (x(), c("h4", Ka, k(t.title), 1)) : s("", !0),
4212
- t.description && !n.$slots.default ? (x(), c("p", qa, k(t.description), 1)) : s("", !0),
4213
- n.$slots.default ? (x(), c("div", Ja, [E(n.$slots, "default")])) : s("", !0)
4209
+ }, null, -1)]), l("div", Ka, [
4210
+ t.time || n.$slots.time ? (x(), c("p", qa, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4211
+ t.title ? (x(), c("h4", Ja, k(t.title), 1)) : s("", !0),
4212
+ t.description && !n.$slots.default ? (x(), c("p", Ya, k(t.description), 1)) : s("", !0),
4213
+ n.$slots.default ? (x(), c("div", Xa, [E(n.$slots, "default")])) : s("", !0)
4214
4214
  ])], 2));
4215
4215
  }
4216
- }), Xa = ["for"], Za = {
4216
+ }), Qa = ["for"], $a = {
4217
4217
  key: 0,
4218
4218
  class: "uid-file-upload__required",
4219
4219
  "aria-hidden": "true"
4220
- }, Qa = ["aria-disabled", "aria-invalid"], $a = { class: "uid-file-upload__primary-text" }, eo = ["innerHTML"], to = { class: "uid-file-upload__secondary-text" }, no = [
4220
+ }, eo = ["aria-disabled", "aria-invalid"], to = { class: "uid-file-upload__primary-text" }, no = ["innerHTML"], ro = { class: "uid-file-upload__secondary-text" }, io = [
4221
4221
  "id",
4222
4222
  "multiple",
4223
4223
  "accept",
4224
4224
  "disabled",
4225
4225
  "required"
4226
- ], ro = {
4226
+ ], ao = {
4227
4227
  key: 1,
4228
4228
  class: "uid-file-upload__list"
4229
- }, io = { class: "uid-file-upload__file-info" }, ao = { class: "uid-file-upload__file-name" }, oo = { class: "uid-file-upload__file-meta" }, so = { key: 0 }, co = { key: 1 }, lo = {
4229
+ }, oo = { class: "uid-file-upload__file-info" }, so = { class: "uid-file-upload__file-name" }, co = { class: "uid-file-upload__file-meta" }, lo = { key: 0 }, uo = { key: 1 }, fo = {
4230
4230
  key: 0,
4231
4231
  class: "uid-file-upload__progress"
4232
- }, uo = ["aria-label", "onClick"], fo = /* @__PURE__ */ f({
4232
+ }, po = ["aria-label", "onClick"], mo = /* @__PURE__ */ f({
4233
4233
  __name: "UidFileUpload",
4234
4234
  props: /* @__PURE__ */ m({
4235
4235
  multiple: {
@@ -4322,7 +4322,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4322
4322
  key: 0,
4323
4323
  for: j(h),
4324
4324
  class: "uid-file-upload__label"
4325
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Za, "*")) : s("", !0)], 8, Xa)) : s("", !0),
4325
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", $a, "*")) : s("", !0)], 8, Qa)) : s("", !0),
4326
4326
  l("div", {
4327
4327
  class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": m.value }]),
4328
4328
  role: "button",
@@ -4336,13 +4336,13 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4336
4336
  onDragleave: F
4337
4337
  }, [
4338
4338
  d(e, {
4339
- icon: j(de),
4339
+ icon: j(fe),
4340
4340
  size: 32,
4341
4341
  class: "uid-file-upload__icon",
4342
4342
  "aria-hidden": "true"
4343
4343
  }, null, 8, ["icon"]),
4344
- l("p", $a, [l("span", { innerHTML: n.primaryText }, null, 8, eo)]),
4345
- l("p", to, k(n.secondaryText), 1),
4344
+ l("p", to, [l("span", { innerHTML: n.primaryText }, null, 8, no)]),
4345
+ l("p", ro, k(n.secondaryText), 1),
4346
4346
  l("input", {
4347
4347
  id: j(h),
4348
4348
  ref_key: "inputRef",
@@ -4354,9 +4354,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4354
4354
  disabled: n.disabled,
4355
4355
  required: n.required,
4356
4356
  onChange: E
4357
- }, null, 40, no)
4358
- ], 42, Qa),
4359
- f.value.length > 0 ? (x(), c("ul", ro, [(x(!0), c(t, null, T(f.value, (t) => (x(), c("li", {
4357
+ }, null, 40, io)
4358
+ ], 42, eo),
4359
+ f.value.length > 0 ? (x(), c("ul", ao, [(x(!0), c(t, null, T(f.value, (t) => (x(), c("li", {
4360
4360
  key: t.id,
4361
4361
  class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
4362
4362
  }, [
@@ -4366,10 +4366,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4366
4366
  class: "uid-file-upload__file-icon",
4367
4367
  "aria-hidden": "true"
4368
4368
  }, null, 8, ["icon"]),
4369
- l("div", io, [
4370
- l("div", ao, k(t.file.name), 1),
4371
- l("div", oo, [l("span", null, k(b(t.file.size)), 1), t.error ? (x(), c("span", so, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", co, "— " + k(t.progress) + "%", 1))]),
4372
- t.progress !== void 0 && !t.error ? (x(), c("div", lo, [l("div", {
4369
+ l("div", oo, [
4370
+ l("div", so, k(t.file.name), 1),
4371
+ l("div", co, [l("span", null, k(b(t.file.size)), 1), t.error ? (x(), c("span", lo, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", uo, "— " + k(t.progress) + "%", 1))]),
4372
+ t.progress !== void 0 && !t.error ? (x(), c("div", fo, [l("div", {
4373
4373
  class: "uid-file-upload__progress-bar",
4374
4374
  style: v({ width: `${t.progress}%` })
4375
4375
  }, null, 4)])) : s("", !0)
@@ -4382,7 +4382,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4382
4382
  }, [d(e, {
4383
4383
  icon: j(Z),
4384
4384
  size: 16
4385
- }, null, 8, ["icon"])], 8, uo)
4385
+ }, null, 8, ["icon"])], 8, po)
4386
4386
  ], 2))), 128))])) : s("", !0),
4387
4387
  y.value ? (x(), c("p", {
4388
4388
  key: 2,
@@ -4390,17 +4390,17 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4390
4390
  }, k(y.value), 3)) : s("", !0)
4391
4391
  ], 2));
4392
4392
  }
4393
- }), po = {
4393
+ }), ho = {
4394
4394
  key: 0,
4395
4395
  class: "uid-code uid-code--inline"
4396
- }, mo = {
4396
+ }, go = {
4397
4397
  key: 0,
4398
4398
  class: "uid-code__header"
4399
- }, ho = { class: "uid-code__lang" }, go = ["aria-label"], _o = { class: "uid-code__body" }, vo = {
4399
+ }, _o = { class: "uid-code__lang" }, vo = ["aria-label"], yo = { class: "uid-code__body" }, bo = {
4400
4400
  key: 0,
4401
4401
  class: "uid-code__line-numbers",
4402
4402
  "aria-hidden": "true"
4403
- }, yo = { class: "uid-code__pre" }, bo = /* @__PURE__ */ f({
4403
+ }, xo = { class: "uid-code__pre" }, So = /* @__PURE__ */ f({
4404
4404
  __name: "UidCode",
4405
4405
  props: {
4406
4406
  code: { default: "" },
@@ -4432,14 +4432,14 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4432
4432
  }, 1500);
4433
4433
  } catch {}
4434
4434
  }
4435
- return (r, a) => n.inline ? (x(), c("code", po, [E(r.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4435
+ return (r, a) => n.inline ? (x(), c("code", ho, [E(r.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4436
4436
  key: 1,
4437
4437
  class: _(["uid-code", {
4438
4438
  "uid-code--minimal": !f.value,
4439
4439
  "uid-code--wrap": n.wrap
4440
4440
  }]),
4441
4441
  style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
4442
- }, [f.value ? (x(), c("div", mo, [l("span", ho, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4442
+ }, [f.value ? (x(), c("div", go, [l("span", _o, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4443
4443
  key: 0,
4444
4444
  type: "button",
4445
4445
  class: _(["uid-code__copy", { "uid-code__copy--copied": i.value }]),
@@ -4449,18 +4449,420 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4449
4449
  icon: i.value ? j(q) : j(re),
4450
4450
  size: 12,
4451
4451
  "aria-hidden": "true"
4452
- }, null, 8, ["icon"]), l("span", null, k(i.value ? "Скопировано" : "Копировать"), 1)], 10, go)) : s("", !0)])) : s("", !0), l("div", _o, [n.lineNumbers ? (x(), c("div", vo, [(x(!0), c(t, null, T(o.value, (e, t) => (x(), c("span", {
4452
+ }, null, 8, ["icon"]), l("span", null, k(i.value ? "Скопировано" : "Копировать"), 1)], 10, vo)) : s("", !0)])) : s("", !0), l("div", yo, [n.lineNumbers ? (x(), c("div", bo, [(x(!0), c(t, null, T(o.value, (e, t) => (x(), c("span", {
4453
4453
  key: t,
4454
4454
  class: "uid-code__line-number"
4455
- }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", yo, [l("code", null, [E(r.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4455
+ }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", xo, [l("code", null, [E(r.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4456
4456
  }
4457
- }), xo = ["aria-label"], So = ["aria-current"], Co = { class: "uid-stepper__indicator" }, wo = {
4457
+ }), Co = [
4458
+ "aria-valuemax",
4459
+ "aria-valuenow",
4460
+ "aria-readonly",
4461
+ "aria-disabled",
4462
+ "aria-label"
4463
+ ], wo = [
4464
+ "tabindex",
4465
+ "aria-label",
4466
+ "onClick",
4467
+ "onMousemove",
4468
+ "onKeydown"
4469
+ ], To = {
4470
+ class: "uid-rating__icon",
4471
+ "aria-hidden": "true"
4472
+ }, Eo = ["data-half"], Do = {
4473
+ key: 0,
4474
+ class: "uid-rating__label"
4475
+ }, Oo = /* @__PURE__ */ f({
4476
+ __name: "UidRating",
4477
+ props: /* @__PURE__ */ m({
4478
+ max: { default: 5 },
4479
+ allowHalf: {
4480
+ type: Boolean,
4481
+ default: !1
4482
+ },
4483
+ readonly: {
4484
+ type: Boolean,
4485
+ default: !1
4486
+ },
4487
+ disabled: {
4488
+ type: Boolean,
4489
+ default: !1
4490
+ },
4491
+ showLabel: {
4492
+ type: Boolean,
4493
+ default: !1
4494
+ },
4495
+ size: { default: "md" },
4496
+ tone: { default: "warning" },
4497
+ icon: { default: void 0 },
4498
+ label: {}
4499
+ }, {
4500
+ modelValue: { default: 0 },
4501
+ modelModifiers: {}
4502
+ }),
4503
+ emits: /* @__PURE__ */ m(["change"], ["update:modelValue"]),
4504
+ setup(n, { emit: r }) {
4505
+ let i = n, o = r, u = N(n, "modelValue"), f = w(null), p = a(() => Array.from({ length: i.max }, (e, t) => t + 1)), m = a(() => f.value ?? u.value), h = a(() => i.icon ?? de);
4506
+ function g(e) {
4507
+ let t = m.value;
4508
+ return t >= e ? {
4509
+ full: !0,
4510
+ half: !1
4511
+ } : i.allowHalf && t >= e - .5 ? {
4512
+ full: !0,
4513
+ half: !0
4514
+ } : {
4515
+ full: !1,
4516
+ half: !1
4517
+ };
4518
+ }
4519
+ function v(e) {
4520
+ if (i.readonly || i.disabled) return;
4521
+ let t = e === u.value ? 0 : e;
4522
+ u.value = t, o("change", t);
4523
+ }
4524
+ function y(e, t) {
4525
+ if (!i.allowHalf) {
4526
+ v(t);
4527
+ return;
4528
+ }
4529
+ let n = e.currentTarget.getBoundingClientRect();
4530
+ v(e.clientX - n.left < n.width / 2 ? t - .5 : t);
4531
+ }
4532
+ function b(e, t) {
4533
+ if (i.readonly || i.disabled) return;
4534
+ if (!i.allowHalf) {
4535
+ f.value = t;
4536
+ return;
4537
+ }
4538
+ let n = e.currentTarget.getBoundingClientRect();
4539
+ f.value = e.clientX - n.left < n.width / 2 ? t - .5 : t;
4540
+ }
4541
+ function S() {
4542
+ f.value = null;
4543
+ }
4544
+ function C(e, t) {
4545
+ if (!(i.readonly || i.disabled)) if (e.key === "ArrowRight" || e.key === "ArrowUp") {
4546
+ e.preventDefault();
4547
+ let t = i.allowHalf ? .5 : 1, n = Math.min(u.value + t, i.max);
4548
+ u.value = n, o("change", n);
4549
+ } else if (e.key === "ArrowLeft" || e.key === "ArrowDown") {
4550
+ e.preventDefault();
4551
+ let t = i.allowHalf ? .5 : 1, n = Math.max(u.value - t, 0);
4552
+ u.value = n, o("change", n);
4553
+ } else (e.key === "Enter" || e.key === " ") && (e.preventDefault(), v(t));
4554
+ }
4555
+ return (r, i) => (x(), c("div", {
4556
+ class: _(["uid-rating", [
4557
+ `uid-rating--${n.size}`,
4558
+ n.tone !== "warning" && `uid-rating--${n.tone}`,
4559
+ n.readonly && "uid-rating--readonly",
4560
+ n.disabled && "uid-rating--disabled"
4561
+ ]]),
4562
+ role: "slider",
4563
+ "aria-valuemin": 0,
4564
+ "aria-valuemax": n.max,
4565
+ "aria-valuenow": u.value,
4566
+ "aria-readonly": n.readonly,
4567
+ "aria-disabled": n.disabled,
4568
+ "aria-label": n.label || `Оценка ${u.value} из ${n.max}`,
4569
+ onMouseleave: S
4570
+ }, [(x(!0), c(t, null, T(p.value, (t) => (x(), c("button", {
4571
+ key: t,
4572
+ type: "button",
4573
+ class: "uid-rating__star",
4574
+ tabindex: n.readonly || n.disabled ? -1 : 0,
4575
+ "aria-label": `${t} ${t === 1 ? "звезда" : "звёзды"}`,
4576
+ onClick: (e) => y(e, t),
4577
+ onMousemove: (e) => b(e, t),
4578
+ onKeydown: (e) => C(e, t)
4579
+ }, [l("span", To, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
4580
+ key: 0,
4581
+ class: "uid-rating__icon uid-rating__icon--filled",
4582
+ "data-half": g(t).half ? "true" : "false",
4583
+ "aria-hidden": "true"
4584
+ }, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, Eo)) : s("", !0)], 40, wo))), 128)), n.showLabel ? (x(), c("span", Do, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, Co));
4585
+ }
4586
+ }), ko = [
4587
+ "tabindex",
4588
+ "aria-orientation",
4589
+ "aria-valuemin",
4590
+ "aria-valuemax",
4591
+ "aria-valuenow",
4592
+ "aria-disabled"
4593
+ ], Ao = { class: "uid-splitter__pane uid-splitter__pane--end" }, jo = /* @__PURE__ */ f({
4594
+ __name: "UidSplitter",
4595
+ props: /* @__PURE__ */ m({
4596
+ direction: { default: "horizontal" },
4597
+ min: { default: 10 },
4598
+ max: { default: 90 },
4599
+ step: { default: 5 },
4600
+ disabled: {
4601
+ type: Boolean,
4602
+ default: !1
4603
+ }
4604
+ }, {
4605
+ modelValue: { default: 50 },
4606
+ modelModifiers: {}
4607
+ }),
4608
+ emits: /* @__PURE__ */ m(["change"], ["update:modelValue"]),
4609
+ setup(e, { emit: t }) {
4610
+ let n = e, r = t, i = N(e, "modelValue"), o = w(null), s = w(null), u = w(!1), d = a(() => Math.min(Math.max(i.value, n.min), n.max));
4611
+ function f(e) {
4612
+ return Math.min(Math.max(e, n.min), n.max);
4613
+ }
4614
+ function p(e) {
4615
+ let t = f(e);
4616
+ t !== i.value && (i.value = t, r("change", t));
4617
+ }
4618
+ function m(e) {
4619
+ n.disabled || (e.preventDefault(), u.value = !0, s.value?.setPointerCapture(e.pointerId));
4620
+ }
4621
+ function h(e) {
4622
+ if (!u.value || !o.value) return;
4623
+ let t = o.value.getBoundingClientRect(), r = n.direction === "horizontal" ? t.width : t.height;
4624
+ r !== 0 && p((n.direction === "horizontal" ? e.clientX - t.left : e.clientY - t.top) / r * 100);
4625
+ }
4626
+ function g(e) {
4627
+ u.value && (u.value = !1, s.value?.releasePointerCapture(e.pointerId));
4628
+ }
4629
+ function y(e) {
4630
+ if (n.disabled) return;
4631
+ let t = n.direction === "horizontal" ? ["ArrowLeft", "ArrowUp"] : ["ArrowUp", "ArrowLeft"], r = n.direction === "horizontal" ? ["ArrowRight", "ArrowDown"] : ["ArrowDown", "ArrowRight"];
4632
+ t.includes(e.key) ? (e.preventDefault(), p(i.value - n.step)) : r.includes(e.key) ? (e.preventDefault(), p(i.value + n.step)) : e.key === "Home" ? (e.preventDefault(), p(n.min)) : e.key === "End" && (e.preventDefault(), p(n.max));
4633
+ }
4634
+ let b = a(() => ({ [n.direction === "horizontal" ? "width" : "height"]: `${d.value}%` }));
4635
+ return (t, n) => (x(), c("div", {
4636
+ ref_key: "containerRef",
4637
+ ref: o,
4638
+ class: _(["uid-splitter", [
4639
+ `uid-splitter--${e.direction}`,
4640
+ u.value && "uid-splitter--dragging",
4641
+ e.disabled && "uid-splitter--disabled"
4642
+ ]])
4643
+ }, [
4644
+ l("div", {
4645
+ class: "uid-splitter__pane uid-splitter__pane--start",
4646
+ style: v(b.value)
4647
+ }, [E(t.$slots, "start")], 4),
4648
+ l("div", {
4649
+ ref_key: "handleRef",
4650
+ ref: s,
4651
+ class: "uid-splitter__handle",
4652
+ role: "separator",
4653
+ tabindex: e.disabled ? -1 : 0,
4654
+ "aria-orientation": e.direction === "horizontal" ? "vertical" : "horizontal",
4655
+ "aria-valuemin": e.min,
4656
+ "aria-valuemax": e.max,
4657
+ "aria-valuenow": Math.round(d.value),
4658
+ "aria-disabled": e.disabled,
4659
+ onPointerdown: m,
4660
+ onPointermove: h,
4661
+ onPointerup: g,
4662
+ onPointercancel: g,
4663
+ onKeydown: y
4664
+ }, [...n[0] ||= [l("span", {
4665
+ class: "uid-splitter__grip",
4666
+ "aria-hidden": "true"
4667
+ }, [
4668
+ l("span", { class: "uid-splitter__grip-dot" }),
4669
+ l("span", { class: "uid-splitter__grip-dot" }),
4670
+ l("span", { class: "uid-splitter__grip-dot" })
4671
+ ], -1)]], 40, ko),
4672
+ l("div", Ao, [E(t.$slots, "end")])
4673
+ ], 2));
4674
+ }
4675
+ }), Mo = {
4676
+ key: 0,
4677
+ class: "uid-stat__icon",
4678
+ "aria-hidden": "true"
4679
+ }, No = { class: "uid-stat__body" }, Po = {
4680
+ key: 0,
4681
+ class: "uid-stat__title"
4682
+ }, Fo = { class: "uid-stat__value-row" }, Io = { class: "uid-stat__value" }, Lo = {
4683
+ key: 0,
4684
+ class: "uid-stat__prefix"
4685
+ }, Ro = {
4686
+ key: 1,
4687
+ class: "uid-stat__suffix"
4688
+ }, zo = {
4689
+ key: 1,
4690
+ class: "uid-stat__footer"
4691
+ }, Bo = /* @__PURE__ */ f({
4692
+ __name: "UidStat",
4693
+ props: {
4694
+ title: {},
4695
+ value: {},
4696
+ prefix: {},
4697
+ suffix: {},
4698
+ trend: {},
4699
+ trendSuffix: { default: "%" },
4700
+ precision: { default: 0 },
4701
+ formatter: {},
4702
+ tone: { default: "primary" },
4703
+ variant: { default: "card" },
4704
+ icon: {},
4705
+ loading: { type: Boolean },
4706
+ footer: {}
4707
+ },
4708
+ setup(t) {
4709
+ let n = t, r = a(() => n.value === void 0 ? "" : n.formatter ? n.formatter(n.value) : typeof n.value == "number" ? n.value.toLocaleString("ru-RU", {
4710
+ minimumFractionDigits: n.precision,
4711
+ maximumFractionDigits: n.precision
4712
+ }) : String(n.value)), i = a(() => n.trend === void 0 ? null : n.trend > 0 ? "up" : n.trend < 0 ? "down" : "flat"), d = a(() => i.value === "up" ? G : i.value === "down" ? U : null), f = a(() => n.trend === void 0 ? "" : `${Math.abs(n.trend).toLocaleString("ru-RU", { maximumFractionDigits: 2 })}${n.trendSuffix}`);
4713
+ return (n, a) => (x(), c("div", { class: _(["uid-stat", [
4714
+ `uid-stat--${t.tone}`,
4715
+ t.variant === "ghost" && "uid-stat--ghost",
4716
+ t.loading && "uid-stat--loading"
4717
+ ]]) }, [t.icon || n.$slots.icon ? (x(), c("span", Mo, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4718
+ key: 0,
4719
+ icon: t.icon,
4720
+ size: 20
4721
+ }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", No, [
4722
+ t.title ? (x(), c("p", Po, k(t.title), 1)) : s("", !0),
4723
+ l("div", Fo, [l("span", Io, [E(n.$slots, "value", {}, () => [
4724
+ t.prefix ? (x(), c("span", Lo, k(t.prefix), 1)) : s("", !0),
4725
+ l("span", null, k(r.value), 1),
4726
+ t.suffix ? (x(), c("span", Ro, k(t.suffix), 1)) : s("", !0)
4727
+ ])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
4728
+ key: 0,
4729
+ class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
4730
+ }, [E(n.$slots, "trend", {}, () => [d.value ? (x(), o(e, {
4731
+ key: 0,
4732
+ icon: d.value,
4733
+ size: 12
4734
+ }, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
4735
+ t.footer || n.$slots.footer ? (x(), c("p", zo, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
4736
+ ])], 2));
4737
+ }
4738
+ }), Vo = Symbol("UidDescriptionList"), Ho = {
4739
+ key: 0,
4740
+ class: "uid-description-list__title"
4741
+ }, Uo = /* @__PURE__ */ f({
4742
+ __name: "UidDescriptionList",
4743
+ props: {
4744
+ title: {},
4745
+ direction: { default: "horizontal" },
4746
+ columns: { default: 1 },
4747
+ bordered: {
4748
+ type: Boolean,
4749
+ default: !1
4750
+ },
4751
+ size: { default: "md" },
4752
+ labelWidth: { default: void 0 }
4753
+ },
4754
+ setup(e) {
4755
+ let t = e;
4756
+ S(Vo, {
4757
+ direction: a(() => t.direction),
4758
+ bordered: a(() => t.bordered)
4759
+ });
4760
+ let n = a(() => ({
4761
+ "--uid-desc-cols": t.columns,
4762
+ ...t.labelWidth ? { "--uid-desc-label-width": t.labelWidth } : {}
4763
+ }));
4764
+ return (t, r) => (x(), c("div", { class: _(["uid-description-list", [
4765
+ `uid-description-list--${e.direction}`,
4766
+ `uid-description-list--${e.size}`,
4767
+ e.bordered && "uid-description-list--bordered"
4768
+ ]]) }, [e.title || t.$slots.title ? (x(), c("h3", Ho, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
4769
+ class: "uid-description-list__grid",
4770
+ style: v(n.value)
4771
+ }, [E(t.$slots, "default")], 4)], 2));
4772
+ }
4773
+ }), Wo = { class: "uid-description-item__label" }, Go = { class: "uid-description-item__value" }, Ko = ["aria-label"], qo = /* @__PURE__ */ f({
4774
+ __name: "UidDescriptionItem",
4775
+ props: {
4776
+ label: {},
4777
+ span: { default: 1 },
4778
+ copyable: {
4779
+ type: Boolean,
4780
+ default: !1
4781
+ },
4782
+ copyValue: {}
4783
+ },
4784
+ setup(t) {
4785
+ let n = t;
4786
+ P(), p(Vo, null);
4787
+ let r = w(null), i = w(!1), o = a(() => ({ "--uid-desc-span": n.span }));
4788
+ async function f() {
4789
+ let e = n.copyValue ?? r.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
4790
+ if (!(!e || !navigator?.clipboard)) try {
4791
+ await navigator.clipboard.writeText(e), i.value = !0, setTimeout(() => {
4792
+ i.value = !1;
4793
+ }, 1500);
4794
+ } catch {}
4795
+ }
4796
+ return (n, a) => (x(), c("div", {
4797
+ ref_key: "itemRef",
4798
+ ref: r,
4799
+ class: "uid-description-item",
4800
+ style: v(o.value)
4801
+ }, [l("dt", Wo, [E(n.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", Go, [E(n.$slots, "default"), t.copyable ? (x(), c("button", {
4802
+ key: 0,
4803
+ type: "button",
4804
+ class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": i.value }]),
4805
+ "aria-label": i.value ? "Скопировано" : "Скопировать",
4806
+ onClick: f
4807
+ }, [d(e, {
4808
+ icon: i.value ? j(q) : j(re),
4809
+ size: 12
4810
+ }, null, 8, ["icon"])], 10, Ko)) : s("", !0)])], 4));
4811
+ }
4812
+ }), Jo = {
4813
+ class: "uid-pattern-result__icon",
4814
+ "aria-hidden": "true"
4815
+ }, Yo = {
4816
+ key: 0,
4817
+ class: "uid-pattern-result__title"
4818
+ }, Xo = {
4819
+ key: 1,
4820
+ class: "uid-pattern-result__description"
4821
+ }, Zo = {
4822
+ key: 2,
4823
+ class: "uid-pattern-result__content"
4824
+ }, Qo = {
4825
+ key: 3,
4826
+ class: "uid-pattern-result__actions"
4827
+ }, $o = /* @__PURE__ */ f({
4828
+ __name: "UidResult",
4829
+ props: {
4830
+ status: { default: "success" },
4831
+ title: {},
4832
+ description: {},
4833
+ compact: {
4834
+ type: Boolean,
4835
+ default: !1
4836
+ }
4837
+ },
4838
+ setup(t) {
4839
+ let n = t, r = {
4840
+ success: J,
4841
+ info: oe,
4842
+ warning: H,
4843
+ error: me
4844
+ }, i = a(() => r[n.status]);
4845
+ return (n, r) => (x(), c("div", {
4846
+ class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
4847
+ role: "status"
4848
+ }, [
4849
+ l("div", Jo, [E(n.$slots, "icon", {}, () => [d(e, {
4850
+ icon: i.value,
4851
+ size: t.compact ? 32 : 40
4852
+ }, null, 8, ["icon", "size"])])]),
4853
+ t.title || n.$slots.title ? (x(), c("h2", Yo, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
4854
+ t.description || n.$slots.description ? (x(), c("p", Xo, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
4855
+ n.$slots.default ? (x(), c("div", Zo, [E(n.$slots, "default")])) : s("", !0),
4856
+ n.$slots.actions ? (x(), c("div", Qo, [E(n.$slots, "actions")])) : s("", !0)
4857
+ ], 2));
4858
+ }
4859
+ }), es = ["aria-label"], ts = ["aria-current"], ns = { class: "uid-stepper__indicator" }, rs = {
4458
4860
  key: 1,
4459
4861
  "aria-hidden": "true"
4460
- }, To = { class: "uid-stepper__content" }, Eo = { class: "uid-stepper__label" }, Do = {
4862
+ }, is = { class: "uid-stepper__content" }, as = { class: "uid-stepper__label" }, os = {
4461
4863
  key: 0,
4462
4864
  class: "uid-stepper__description"
4463
- }, Oo = /* @__PURE__ */ f({
4865
+ }, ss = /* @__PURE__ */ f({
4464
4866
  __name: "UidStepper",
4465
4867
  props: {
4466
4868
  steps: {},
@@ -4478,14 +4880,14 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4478
4880
  key: i,
4479
4881
  class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
4480
4882
  "aria-current": i === n.current ? "step" : void 0
4481
- }, [l("div", Co, [r(i, n.current) === "completed" ? (x(), o(e, {
4883
+ }, [l("div", ns, [r(i, n.current) === "completed" ? (x(), o(e, {
4482
4884
  key: 0,
4483
4885
  icon: j(q),
4484
4886
  size: 16,
4485
4887
  "aria-hidden": "true"
4486
- }, null, 8, ["icon"])) : (x(), c("span", wo, k(i + 1), 1))]), l("div", To, [l("span", Eo, k(t.label), 1), t.description ? (x(), c("span", Do, k(t.description), 1)) : s("", !0)])], 10, So))), 128))], 10, xo));
4888
+ }, null, 8, ["icon"])) : (x(), c("span", rs, k(i + 1), 1))]), l("div", is, [l("span", as, k(t.label), 1), t.description ? (x(), c("span", os, k(t.description), 1)) : s("", !0)])], 10, ts))), 128))], 10, es));
4487
4889
  }
4488
- }), ko = /* @__PURE__ */ f({
4890
+ }), cs = /* @__PURE__ */ f({
4489
4891
  __name: "UidStack",
4490
4892
  props: {
4491
4893
  direction: { default: "column" },
@@ -4531,7 +4933,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4531
4933
  _: 3
4532
4934
  }, 8, ["class", "style"]));
4533
4935
  }
4534
- }), Ao = /* @__PURE__ */ f({
4936
+ }), ls = /* @__PURE__ */ f({
4535
4937
  __name: "UidGrid",
4536
4938
  props: {
4537
4939
  cols: { default: 12 },
@@ -4564,7 +4966,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4564
4966
  _: 3
4565
4967
  }, 8, ["style"]));
4566
4968
  }
4567
- }), jo = /* @__PURE__ */ f({
4969
+ }), us = /* @__PURE__ */ f({
4568
4970
  __name: "UidContainer",
4569
4971
  props: {
4570
4972
  size: { default: "lg" },
@@ -4580,7 +4982,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4580
4982
  _: 3
4581
4983
  }, 8, ["class"]));
4582
4984
  }
4583
- }), Mo = Symbol("uid-wizard"), No = { class: "uid-wizard" }, Po = /* @__PURE__ */ f({
4985
+ }), ds = Symbol("uid-wizard"), fs = { class: "uid-wizard" }, ps = /* @__PURE__ */ f({
4584
4986
  __name: "UidWizard",
4585
4987
  props: /* @__PURE__ */ m({ steps: {} }, {
4586
4988
  modelValue: { default: 0 },
@@ -4605,7 +5007,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4605
5007
  function m(e) {
4606
5008
  i.delete(e);
4607
5009
  }
4608
- return S(Mo, {
5010
+ return S(ds, {
4609
5011
  current: r,
4610
5012
  steps: o,
4611
5013
  isFirst: s,
@@ -4622,9 +5024,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4622
5024
  goTo: f,
4623
5025
  isFirst: s,
4624
5026
  isLast: l
4625
- }), (e, t) => (x(), c("div", No, [E(e.$slots, "default")]));
5027
+ }), (e, t) => (x(), c("div", fs, [E(e.$slots, "default")]));
4626
5028
  }
4627
- }), Fo = ["aria-label"], Io = /* @__PURE__ */ f({
5029
+ }), ms = ["aria-label"], hs = /* @__PURE__ */ f({
4628
5030
  __name: "UidWizardStep",
4629
5031
  props: {
4630
5032
  index: {},
@@ -4634,7 +5036,7 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4634
5036
  }
4635
5037
  },
4636
5038
  setup(e) {
4637
- let t = e, n = p(Mo);
5039
+ let t = e, n = p(ds);
4638
5040
  if (!n) throw Error("UidWizardStep must be inside UidWizard");
4639
5041
  L(() => t.validate, (e, r) => {
4640
5042
  r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
@@ -4645,22 +5047,22 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4645
5047
  class: "uid-wizard-step",
4646
5048
  role: "tabpanel",
4647
5049
  "aria-label": `Шаг ${e.index + 1}`
4648
- }, [E(t.$slots, "default")], 8, Fo)) : s("", !0);
5050
+ }, [E(t.$slots, "default")], 8, ms)) : s("", !0);
4649
5051
  }
4650
- }), Lo = { class: "uid-pattern-header__inner" }, Ro = {
5052
+ }), gs = { class: "uid-pattern-header__inner" }, _s = {
4651
5053
  key: 0,
4652
5054
  class: "uid-pattern-header__logo"
4653
- }, zo = {
5055
+ }, vs = {
4654
5056
  key: 1,
4655
5057
  class: "uid-pattern-header__nav",
4656
5058
  "aria-label": "Основная навигация"
4657
- }, Bo = {
5059
+ }, ys = {
4658
5060
  key: 2,
4659
5061
  class: "uid-pattern-header__actions"
4660
- }, Vo = {
5062
+ }, bs = {
4661
5063
  key: 3,
4662
5064
  class: "uid-pattern-header__mobile"
4663
- }, Ho = /* @__PURE__ */ f({
5065
+ }, xs = /* @__PURE__ */ f({
4664
5066
  __name: "UidHeader",
4665
5067
  props: {
4666
5068
  sticky: {
@@ -4681,38 +5083,38 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4681
5083
  "uid-pattern-header--sticky": e.sticky,
4682
5084
  "uid-pattern-header--bordered": e.bordered,
4683
5085
  "uid-pattern-header--transparent": e.transparent
4684
- }]) }, [l("div", Lo, [
4685
- t.$slots.logo ? (x(), c("div", Ro, [E(t.$slots, "logo")])) : s("", !0),
4686
- t.$slots.nav ? (x(), c("nav", zo, [E(t.$slots, "nav")])) : s("", !0),
4687
- t.$slots.actions ? (x(), c("div", Bo, [E(t.$slots, "actions")])) : s("", !0),
4688
- t.$slots.mobile ? (x(), c("div", Vo, [E(t.$slots, "mobile")])) : s("", !0)
5086
+ }]) }, [l("div", gs, [
5087
+ t.$slots.logo ? (x(), c("div", _s, [E(t.$slots, "logo")])) : s("", !0),
5088
+ t.$slots.nav ? (x(), c("nav", vs, [E(t.$slots, "nav")])) : s("", !0),
5089
+ t.$slots.actions ? (x(), c("div", ys, [E(t.$slots, "actions")])) : s("", !0),
5090
+ t.$slots.mobile ? (x(), c("div", bs, [E(t.$slots, "mobile")])) : s("", !0)
4689
5091
  ])], 2));
4690
5092
  }
4691
- }), Uo = { class: "uid-pattern-footer__inner" }, Wo = {
5093
+ }), Ss = { class: "uid-pattern-footer__inner" }, Cs = {
4692
5094
  key: 0,
4693
5095
  class: "uid-pattern-footer__columns"
4694
- }, Go = {
5096
+ }, ws = {
4695
5097
  key: 1,
4696
5098
  class: "uid-pattern-footer__content"
4697
- }, Ko = {
5099
+ }, Ts = {
4698
5100
  key: 2,
4699
5101
  class: "uid-pattern-footer__bottom"
4700
- }, qo = /* @__PURE__ */ f({
5102
+ }, Es = /* @__PURE__ */ f({
4701
5103
  __name: "UidFooter",
4702
5104
  props: { variant: { default: "minimal" } },
4703
5105
  setup(e) {
4704
- return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Uo, [t.$slots.columns ? (x(), c("div", Wo, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Go, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Ko, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
5106
+ return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Ss, [t.$slots.columns ? (x(), c("div", Cs, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", ws, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Ts, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
4705
5107
  }
4706
- }), Jo = {
5108
+ }), Ds = {
4707
5109
  key: 0,
4708
5110
  class: "uid-pattern-sidebar__header"
4709
- }, Yo = {
5111
+ }, Os = {
4710
5112
  class: "uid-pattern-sidebar__nav",
4711
5113
  "aria-label": "Навигация"
4712
- }, Xo = {
5114
+ }, ks = {
4713
5115
  key: 1,
4714
5116
  class: "uid-pattern-sidebar__footer"
4715
- }, Zo = /* @__PURE__ */ f({
5117
+ }, As = /* @__PURE__ */ f({
4716
5118
  __name: "UidSidebar",
4717
5119
  props: {
4718
5120
  collapsed: {
@@ -4728,19 +5130,19 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4728
5130
  style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
4729
5131
  "aria-label": "Боковая навигация"
4730
5132
  }, [
4731
- t.$slots.header ? (x(), c("div", Jo, [E(t.$slots, "header")])) : s("", !0),
4732
- l("nav", Yo, [E(t.$slots, "nav")]),
4733
- t.$slots.footer ? (x(), c("div", Xo, [E(t.$slots, "footer")])) : s("", !0)
5133
+ t.$slots.header ? (x(), c("div", Ds, [E(t.$slots, "header")])) : s("", !0),
5134
+ l("nav", Os, [E(t.$slots, "nav")]),
5135
+ t.$slots.footer ? (x(), c("div", ks, [E(t.$slots, "footer")])) : s("", !0)
4734
5136
  ], 6));
4735
5137
  }
4736
- }), Qo = {
5138
+ }), js = {
4737
5139
  key: 0,
4738
5140
  class: "uid-sidebar-item__icon",
4739
5141
  "aria-hidden": "true"
4740
- }, $o = { class: "uid-sidebar-item__label" }, es = {
5142
+ }, Ms = { class: "uid-sidebar-item__label" }, Ns = {
4741
5143
  key: 1,
4742
5144
  class: "uid-sidebar-item__badge"
4743
- }, ts = /* @__PURE__ */ f({
5145
+ }, Ps = /* @__PURE__ */ f({
4744
5146
  __name: "UidSidebarItem",
4745
5147
  props: {
4746
5148
  href: { default: void 0 },
@@ -4775,9 +5177,9 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4775
5177
  tabindex: e.disabled ? -1 : void 0
4776
5178
  }), {
4777
5179
  default: R(() => [
4778
- t.$slots.icon ? (x(), c("span", Qo, [E(t.$slots, "icon")])) : s("", !0),
4779
- l("span", $o, [E(t.$slots, "default")]),
4780
- e.badge === void 0 ? s("", !0) : (x(), c("span", es, k(e.badge), 1))
5180
+ t.$slots.icon ? (x(), c("span", js, [E(t.$slots, "icon")])) : s("", !0),
5181
+ l("span", Ms, [E(t.$slots, "default")]),
5182
+ e.badge === void 0 ? s("", !0) : (x(), c("span", Ns, k(e.badge), 1))
4781
5183
  ]),
4782
5184
  _: 3
4783
5185
  }, 16, [
@@ -4787,10 +5189,10 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4787
5189
  "tabindex"
4788
5190
  ]));
4789
5191
  }
4790
- }), ns = { class: "uid-sidebar-group" }, rs = {
5192
+ }), Fs = { class: "uid-sidebar-group" }, Is = {
4791
5193
  key: 0,
4792
5194
  class: "uid-sidebar-group__title"
4793
- }, is = /* @__PURE__ */ f({
5195
+ }, Ls = /* @__PURE__ */ f({
4794
5196
  __name: "UidSidebarGroup",
4795
5197
  props: {
4796
5198
  title: { default: void 0 },
@@ -4800,29 +5202,29 @@ var jn = /* @__PURE__ */ Dn(On, [["render", An]]), Mn = Symbol("uid-tabs"), Nn =
4800
5202
  }
4801
5203
  },
4802
5204
  setup(e) {
4803
- return (t, n) => (x(), c("div", ns, [e.title ? (x(), c("p", rs, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
5205
+ return (t, n) => (x(), c("div", Fs, [e.title ? (x(), c("p", Is, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
4804
5206
  }
4805
- }), as = {}, os = {
5207
+ }), Rs = {}, zs = {
4806
5208
  class: "uid-sidebar-divider",
4807
5209
  role: "separator",
4808
5210
  "aria-hidden": "true"
4809
5211
  };
4810
- function ss(e, t) {
4811
- return x(), c("div", os);
5212
+ function Bs(e, t) {
5213
+ return x(), c("div", zs);
4812
5214
  }
4813
- var cs = /* @__PURE__ */ Dn(as, [["render", ss]]), ls = { class: "uid-pattern-page-header" }, us = {
5215
+ var Vs = /* @__PURE__ */ kn(Rs, [["render", Bs]]), Hs = { class: "uid-pattern-page-header" }, Us = {
4814
5216
  key: 0,
4815
5217
  class: "uid-pattern-page-header__breadcrumb"
4816
- }, ds = { class: "uid-pattern-page-header__row" }, fs = { class: "uid-pattern-page-header__heading" }, ps = { class: "uid-pattern-page-header__title" }, ms = {
5218
+ }, Ws = { class: "uid-pattern-page-header__row" }, Gs = { class: "uid-pattern-page-header__heading" }, Ks = { class: "uid-pattern-page-header__title" }, qs = {
4817
5219
  key: 0,
4818
5220
  class: "uid-pattern-page-header__description"
4819
- }, hs = {
5221
+ }, Js = {
4820
5222
  key: 0,
4821
5223
  class: "uid-pattern-page-header__actions"
4822
- }, gs = {
5224
+ }, Ys = {
4823
5225
  key: 1,
4824
5226
  class: "uid-pattern-page-header__tabs"
4825
- }, _s = /* @__PURE__ */ f({
5227
+ }, Xs = /* @__PURE__ */ f({
4826
5228
  __name: "UidPageHeader",
4827
5229
  props: {
4828
5230
  title: { default: void 0 },
@@ -4835,9 +5237,9 @@ var cs = /* @__PURE__ */ Dn(as, [["render", ss]]), ls = { class: "uid-pattern-pa
4835
5237
  emits: ["back"],
4836
5238
  setup(t, { emit: n }) {
4837
5239
  let r = n;
4838
- return (n, i) => (x(), c("div", ls, [
4839
- n.$slots.breadcrumb ? (x(), c("div", us, [E(n.$slots, "breadcrumb")])) : s("", !0),
4840
- l("div", ds, [l("div", fs, [t.back ? (x(), c("button", {
5240
+ return (n, i) => (x(), c("div", Hs, [
5241
+ n.$slots.breadcrumb ? (x(), c("div", Us, [E(n.$slots, "breadcrumb")])) : s("", !0),
5242
+ l("div", Ws, [l("div", Gs, [t.back ? (x(), c("button", {
4841
5243
  key: 0,
4842
5244
  type: "button",
4843
5245
  class: "uid-pattern-page-header__back",
@@ -4846,42 +5248,42 @@ var cs = /* @__PURE__ */ Dn(as, [["render", ss]]), ls = { class: "uid-pattern-pa
4846
5248
  }, [d(e, {
4847
5249
  icon: j(W),
4848
5250
  size: 20
4849
- }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", ps, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", ms, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", hs, [E(n.$slots, "actions")])) : s("", !0)]),
4850
- n.$slots.tabs ? (x(), c("div", gs, [E(n.$slots, "tabs")])) : s("", !0)
5251
+ }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", Ks, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", qs, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", Js, [E(n.$slots, "actions")])) : s("", !0)]),
5252
+ n.$slots.tabs ? (x(), c("div", Ys, [E(n.$slots, "tabs")])) : s("", !0)
4851
5253
  ]));
4852
5254
  }
4853
- }), vs = { class: "uid-pattern-empty-state" }, ys = { class: "uid-pattern-empty-state__illustration" }, bs = { class: "uid-pattern-empty-state__content" }, xs = { class: "uid-pattern-empty-state__title" }, Ss = {
5255
+ }), Zs = { class: "uid-pattern-empty-state" }, Qs = { class: "uid-pattern-empty-state__illustration" }, $s = { class: "uid-pattern-empty-state__content" }, ec = { class: "uid-pattern-empty-state__title" }, tc = {
4854
5256
  key: 0,
4855
5257
  class: "uid-pattern-empty-state__description"
4856
- }, Cs = {
5258
+ }, nc = {
4857
5259
  key: 0,
4858
5260
  class: "uid-pattern-empty-state__actions"
4859
- }, ws = /* @__PURE__ */ f({
5261
+ }, rc = /* @__PURE__ */ f({
4860
5262
  __name: "UidEmptyState",
4861
5263
  props: {
4862
5264
  title: { default: "Ничего не найдено" },
4863
5265
  description: { default: void 0 }
4864
5266
  },
4865
5267
  setup(t) {
4866
- return (n, r) => (x(), c("div", vs, [
4867
- l("div", ys, [E(n.$slots, "illustration", {}, () => [d(e, {
5268
+ return (n, r) => (x(), c("div", Zs, [
5269
+ l("div", Qs, [E(n.$slots, "illustration", {}, () => [d(e, {
4868
5270
  icon: j(ae),
4869
5271
  size: 48
4870
5272
  }, null, 8, ["icon"])])]),
4871
- l("div", bs, [l("h2", xs, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", Ss, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
4872
- n.$slots.actions ? (x(), c("div", Cs, [E(n.$slots, "actions")])) : s("", !0)
5273
+ l("div", $s, [l("h2", ec, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", tc, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
5274
+ n.$slots.actions ? (x(), c("div", nc, [E(n.$slots, "actions")])) : s("", !0)
4873
5275
  ]));
4874
5276
  }
4875
- }), Ts = { class: "uid-pattern-error-state" }, Es = { class: "uid-pattern-error-state__illustration" }, Ds = {
5277
+ }), ic = { class: "uid-pattern-error-state" }, ac = { class: "uid-pattern-error-state__illustration" }, oc = {
4876
5278
  key: 0,
4877
5279
  class: "uid-pattern-error-state__code"
4878
- }, Os = { class: "uid-pattern-error-state__content" }, ks = { class: "uid-pattern-error-state__title" }, As = {
5280
+ }, sc = { class: "uid-pattern-error-state__content" }, cc = { class: "uid-pattern-error-state__title" }, lc = {
4879
5281
  key: 0,
4880
5282
  class: "uid-pattern-error-state__description"
4881
- }, js = {
5283
+ }, uc = {
4882
5284
  key: 1,
4883
5285
  class: "uid-pattern-error-state__actions"
4884
- }, Ms = /* @__PURE__ */ f({
5286
+ }, dc = /* @__PURE__ */ f({
4885
5287
  __name: "UidErrorState",
4886
5288
  props: {
4887
5289
  code: { default: void 0 },
@@ -4901,28 +5303,28 @@ var cs = /* @__PURE__ */ Dn(as, [["render", ss]]), ls = { class: "uid-pattern-pa
4901
5303
  description: "На сервере произошла ошибка. Мы уже работаем над исправлением."
4902
5304
  },
4903
5305
  network: {
4904
- icon: fe,
5306
+ icon: pe,
4905
5307
  title: "Нет соединения",
4906
5308
  description: "Проверьте подключение к интернету и попробуйте снова."
4907
5309
  }
4908
5310
  }, i = a(() => n.code ? r[n.code] ?? null : null), o = a(() => i.value?.icon ?? V), f = a(() => n.title ?? i.value?.title ?? "Что-то пошло не так"), p = a(() => n.description ?? i.value?.description);
4909
- return (n, r) => (x(), c("div", Ts, [
4910
- l("div", Es, [E(n.$slots, "illustration", {}, () => [d(e, {
5311
+ return (n, r) => (x(), c("div", ic, [
5312
+ l("div", ac, [E(n.$slots, "illustration", {}, () => [d(e, {
4911
5313
  icon: o.value,
4912
5314
  size: 48
4913
5315
  }, null, 8, ["icon"])])]),
4914
- t.code ? (x(), c("div", Ds, k(t.code), 1)) : s("", !0),
4915
- l("div", Os, [l("h2", ks, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", As, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
4916
- n.$slots.actions ? (x(), c("div", js, [E(n.$slots, "actions")])) : s("", !0)
5316
+ t.code ? (x(), c("div", oc, k(t.code), 1)) : s("", !0),
5317
+ l("div", sc, [l("h2", cc, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", lc, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
5318
+ n.$slots.actions ? (x(), c("div", uc, [E(n.$slots, "actions")])) : s("", !0)
4917
5319
  ]));
4918
5320
  }
4919
- }), Ns = {
5321
+ }), fc = {
4920
5322
  key: 0,
4921
5323
  class: "uid-layout-simple__header"
4922
- }, Ps = { class: "uid-layout-simple__content" }, Fs = {
5324
+ }, pc = { class: "uid-layout-simple__content" }, mc = {
4923
5325
  key: 1,
4924
5326
  class: "uid-layout-simple__footer"
4925
- }, Is = /* @__PURE__ */ f({
5327
+ }, hc = /* @__PURE__ */ f({
4926
5328
  __name: "UidSimpleLayout",
4927
5329
  props: { full: {
4928
5330
  type: Boolean,
@@ -4930,26 +5332,26 @@ var cs = /* @__PURE__ */ Dn(as, [["render", ss]]), ls = { class: "uid-pattern-pa
4930
5332
  } },
4931
5333
  setup(e) {
4932
5334
  return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
4933
- t.$slots.header ? (x(), c("div", Ns, [E(t.$slots, "header")])) : s("", !0),
4934
- l("main", Ps, [E(t.$slots, "default")]),
4935
- t.$slots.footer ? (x(), c("div", Fs, [E(t.$slots, "footer")])) : s("", !0)
5335
+ t.$slots.header ? (x(), c("div", fc, [E(t.$slots, "header")])) : s("", !0),
5336
+ l("main", pc, [E(t.$slots, "default")]),
5337
+ t.$slots.footer ? (x(), c("div", mc, [E(t.$slots, "footer")])) : s("", !0)
4936
5338
  ], 2));
4937
5339
  }
4938
- }), Ls = Symbol("uid-sidebar-layout");
4939
- function Rs() {
4940
- let e = p(Ls);
5340
+ }), gc = Symbol("uid-sidebar-layout");
5341
+ function _c() {
5342
+ let e = p(gc);
4941
5343
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
4942
5344
  return e;
4943
5345
  }
4944
5346
  //#endregion
4945
5347
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
4946
- var zs = { class: "uid-layout-sidebar__sidebar" }, Bs = { class: "uid-layout-sidebar__main" }, Vs = {
5348
+ var vc = { class: "uid-layout-sidebar__sidebar" }, yc = { class: "uid-layout-sidebar__main" }, bc = {
4947
5349
  key: 0,
4948
5350
  class: "uid-layout-sidebar__main-header"
4949
- }, Hs = { class: "uid-layout-sidebar__main-content" }, Us = {
5351
+ }, xc = { class: "uid-layout-sidebar__main-content" }, Sc = {
4950
5352
  key: 1,
4951
5353
  class: "uid-layout-sidebar__main-footer"
4952
- }, Ws = /* @__PURE__ */ f({
5354
+ }, Cc = /* @__PURE__ */ f({
4953
5355
  __name: "UidSidebarLayout",
4954
5356
  props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
4955
5357
  modelValue: {
@@ -4967,7 +5369,7 @@ var zs = { class: "uid-layout-sidebar__sidebar" }, Bs = { class: "uid-layout-sid
4967
5369
  }, o = () => {
4968
5370
  n.value = !0;
4969
5371
  };
4970
- S(Ls, {
5372
+ S(gc, {
4971
5373
  collapsed: n,
4972
5374
  toggle: r,
4973
5375
  open: i,
@@ -4978,63 +5380,63 @@ var zs = { class: "uid-layout-sidebar__sidebar" }, Bs = { class: "uid-layout-sid
4978
5380
  class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
4979
5381
  style: v(u.value)
4980
5382
  }, [
4981
- l("aside", zs, [E(e.$slots, "sidebar")]),
5383
+ l("aside", vc, [E(e.$slots, "sidebar")]),
4982
5384
  l("div", {
4983
5385
  class: "uid-layout-sidebar__backdrop",
4984
5386
  "aria-hidden": "true",
4985
5387
  onClick: o
4986
5388
  }),
4987
- l("div", Bs, [
4988
- e.$slots.header ? (x(), c("div", Vs, [E(e.$slots, "header")])) : s("", !0),
4989
- l("main", Hs, [E(e.$slots, "default")]),
4990
- e.$slots.footer ? (x(), c("div", Us, [E(e.$slots, "footer")])) : s("", !0)
5389
+ l("div", yc, [
5390
+ e.$slots.header ? (x(), c("div", bc, [E(e.$slots, "header")])) : s("", !0),
5391
+ l("main", xc, [E(e.$slots, "default")]),
5392
+ e.$slots.footer ? (x(), c("div", Sc, [E(e.$slots, "footer")])) : s("", !0)
4991
5393
  ])
4992
5394
  ], 6));
4993
5395
  }
4994
- }), Gs = {
5396
+ }), wc = {
4995
5397
  key: 0,
4996
5398
  class: "uid-layout-auth__brand"
4997
- }, Ks = { class: "uid-layout-auth__main" }, qs = { class: "uid-layout-auth__card" }, Js = {
5399
+ }, Tc = { class: "uid-layout-auth__main" }, Ec = { class: "uid-layout-auth__card" }, Dc = {
4998
5400
  key: 0,
4999
5401
  class: "uid-layout-auth__footer"
5000
- }, Ys = /* @__PURE__ */ f({
5402
+ }, Oc = /* @__PURE__ */ f({
5001
5403
  __name: "UidAuthLayout",
5002
5404
  props: { variant: { default: "centered" } },
5003
5405
  setup(e) {
5004
- return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", Gs, [E(t.$slots, "brand")])) : s("", !0), l("div", Ks, [l("div", qs, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Js, [E(t.$slots, "footer")])) : s("", !0)])], 2));
5406
+ return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", wc, [E(t.$slots, "brand")])) : s("", !0), l("div", Tc, [l("div", Ec, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Dc, [E(t.$slots, "footer")])) : s("", !0)])], 2));
5005
5407
  }
5006
- }), Xs = { class: "uid-layout-wizard" }, Zs = {
5408
+ }), kc = { class: "uid-layout-wizard" }, Ac = {
5007
5409
  key: 0,
5008
5410
  class: "uid-layout-wizard__header"
5009
- }, Qs = {
5411
+ }, jc = {
5010
5412
  key: 1,
5011
5413
  class: "uid-layout-wizard__stepper"
5012
- }, $s = { class: "uid-layout-wizard__content" }, ec = {
5414
+ }, Mc = { class: "uid-layout-wizard__content" }, Nc = {
5013
5415
  key: 2,
5014
5416
  class: "uid-layout-wizard__nav"
5015
- }, tc = /* @__PURE__ */ f({
5417
+ }, Pc = /* @__PURE__ */ f({
5016
5418
  __name: "UidWizardLayout",
5017
5419
  setup(e) {
5018
- return (e, t) => (x(), c("div", Xs, [
5019
- e.$slots.header ? (x(), c("div", Zs, [E(e.$slots, "header")])) : s("", !0),
5020
- e.$slots.stepper ? (x(), c("div", Qs, [E(e.$slots, "stepper")])) : s("", !0),
5021
- l("main", $s, [E(e.$slots, "default")]),
5022
- e.$slots.nav ? (x(), c("div", ec, [E(e.$slots, "nav")])) : s("", !0)
5420
+ return (e, t) => (x(), c("div", kc, [
5421
+ e.$slots.header ? (x(), c("div", Ac, [E(e.$slots, "header")])) : s("", !0),
5422
+ e.$slots.stepper ? (x(), c("div", jc, [E(e.$slots, "stepper")])) : s("", !0),
5423
+ l("main", Mc, [E(e.$slots, "default")]),
5424
+ e.$slots.nav ? (x(), c("div", Nc, [E(e.$slots, "nav")])) : s("", !0)
5023
5425
  ]));
5024
5426
  }
5025
- }), nc = w("light");
5026
- function rc() {
5427
+ }), Fc = w("light");
5428
+ function Ic() {
5027
5429
  let e = null;
5028
5430
  function t(e) {
5029
- nc.value = e, document.documentElement.dataset.theme = e;
5431
+ Fc.value = e, document.documentElement.dataset.theme = e;
5030
5432
  }
5031
5433
  function n() {
5032
- t(nc.value === "light" ? "dark" : "light");
5434
+ t(Fc.value === "light" ? "dark" : "light");
5033
5435
  }
5034
5436
  function r() {
5035
5437
  let e = document.documentElement.dataset.theme;
5036
5438
  if (e === "light" || e === "dark") {
5037
- nc.value = e;
5439
+ Fc.value = e;
5038
5440
  return;
5039
5441
  }
5040
5442
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -5046,7 +5448,7 @@ function rc() {
5046
5448
  e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
5047
5449
  }
5048
5450
  return {
5049
- theme: nc,
5451
+ theme: Fc,
5050
5452
  setTheme: t,
5051
5453
  toggle: n,
5052
5454
  initFromSystem: r,
@@ -5055,27 +5457,27 @@ function rc() {
5055
5457
  }
5056
5458
  //#endregion
5057
5459
  //#region src/composables/useWizard.ts
5058
- function ic() {
5059
- let e = p(Mo);
5460
+ function Lc() {
5461
+ let e = p(ds);
5060
5462
  if (!e) throw Error("useWizard() must be used inside UidWizard");
5061
5463
  return e;
5062
5464
  }
5063
5465
  //#endregion
5064
5466
  //#region src/composables/useCommandPalette.ts
5065
- var ac = w(!1);
5066
- function oc() {
5467
+ var Rc = w(!1);
5468
+ function zc() {
5067
5469
  return {
5068
- open: ac,
5470
+ open: Rc,
5069
5471
  show: () => {
5070
- ac.value = !0;
5472
+ Rc.value = !0;
5071
5473
  },
5072
5474
  hide: () => {
5073
- ac.value = !1;
5475
+ Rc.value = !1;
5074
5476
  },
5075
5477
  toggle: () => {
5076
- ac.value = !ac.value;
5478
+ Rc.value = !Rc.value;
5077
5479
  }
5078
5480
  };
5079
5481
  }
5080
5482
  //#endregion
5081
- export { Ar as UidAccordion, Ir as UidAccordionItem, Lt as UidAlert, Ys as UidAuthLayout, xr as UidAvatar, wr as UidAvatarGroup, Mt as UidBadge, Vn as UidBreadcrumb, Gn as UidBreadcrumbItem, ge as UidButton, vr as UidCard, it as UidCheckbox, bo as UidCode, wi as UidColorPicker, ka as UidCombobox, Pi as UidCommand, jo as UidContainer, li as UidDatePicker, ua as UidDateRangePicker, Dr as UidDivider, hn as UidDrawer, ws as UidEmptyState, Ms as UidErrorState, fo as UidFileUpload, qo as UidFooter, Dt as UidFormField, Ao as UidGrid, Ho as UidHeader, e as UidIcon, cr as UidInfiniteScroll, Je as UidInput, St as UidLabel, Kn as UidLink, ar as UidLoadMore, wn as UidMenu, En as UidMenuItem, jn as UidMenuSeparator, ln as UidModal, Hi as UidNumberInput, _s as UidPageHeader, pr as UidPageSize, Qn as UidPagination, nr as UidPaginationCursor, Sn as UidPopover, Qt as UidProgress, ct as UidRadio, mt as UidRadioGroup, ti as UidSelect, Zo as UidSidebar, cs as UidSidebarDivider, is as UidSidebarGroup, ts as UidSidebarItem, Ws as UidSidebarLayout, Is as UidSimpleLayout, jt as UidSkeleton, hi as UidSlider, kt as UidSpinner, ko as UidStack, Oo as UidStepper, yt as UidSwitch, Ln as UidTab, zn as UidTabPanel, Kr as UidTable, Fn as UidTabs, Tr as UidTag, ga as UidTagsInput, $e as UidTextarea, Yi as UidTimePicker, Va as UidTimeline, Ya as UidTimelineItem, Ht as UidToast, Kt as UidToastProvider, xn as UidTooltip, za as UidTreeItem, Ba as UidTreeView, ui as UidVirtualList, Po as UidWizard, tc as UidWizardLayout, Io as UidWizardStep, we as email, Q as getMessage, Ne as inList, De as integer, ke as max, je as maxValue, Oe as min, Ae as minValue, Ce as nullable, Ee as numeric, Re as parseRules, Me as regex, Se as required, Fe as requiredIf, Ie as requiredUnless, ze as runRules, Pe as sameAs, ye as setMessages, Te as url, oc as useCommandPalette, Be as useField, en as useFocusTrap, vn as usePopover, nn as useScrollLock, Rs as useSidebar, rc as useTheme, Gt as useToast, ic as useWizard };
5483
+ export { Mr as UidAccordion, Rr as UidAccordionItem, zt as UidAlert, Oc as UidAuthLayout, Cr as UidAvatar, Er as UidAvatarGroup, Pt as UidBadge, Un as UidBreadcrumb, qn as UidBreadcrumbItem, ve as UidButton, br as UidCard, ot as UidCheckbox, So as UidCode, Ei as UidColorPicker, ja as UidCombobox, Ii as UidCommand, us as UidContainer, di as UidDatePicker, fa as UidDateRangePicker, qo as UidDescriptionItem, Uo as UidDescriptionList, kr as UidDivider, _n as UidDrawer, rc as UidEmptyState, dc as UidErrorState, mo as UidFileUpload, Es as UidFooter, kt as UidFormField, ls as UidGrid, xs as UidHeader, e as UidIcon, ur as UidInfiniteScroll, Xe as UidInput, wt as UidLabel, Jn as UidLink, sr as UidLoadMore, En as UidMenu, On as UidMenuItem, Nn as UidMenuSeparator, dn as UidModal, Wi as UidNumberInput, Xs as UidPageHeader, hr as UidPageSize, er as UidPagination, ir as UidPaginationCursor, wn as UidPopover, en as UidProgress, ut as UidRadio, gt as UidRadioGroup, Oo as UidRating, $o as UidResult, ri as UidSelect, As as UidSidebar, Vs as UidSidebarDivider, Ls as UidSidebarGroup, Ps as UidSidebarItem, Cc as UidSidebarLayout, hc as UidSimpleLayout, Nt as UidSkeleton, _i as UidSlider, jt as UidSpinner, jo as UidSplitter, cs as UidStack, Bo as UidStat, ss as UidStepper, xt as UidSwitch, zn as UidTab, Vn as UidTabPanel, Jr as UidTable, Ln as UidTabs, Dr as UidTag, va as UidTagsInput, tt as UidTextarea, Zi as UidTimePicker, Ua as UidTimeline, Za as UidTimelineItem, Wt as UidToast, Jt as UidToastProvider, Cn as UidTooltip, Va as UidTreeItem, Ha as UidTreeView, fi as UidVirtualList, ps as UidWizard, Pc as UidWizardLayout, hs as UidWizardStep, Ee as email, Q as getMessage, Fe as inList, ke as integer, je as max, Ne as maxValue, Ae as min, Me as minValue, Te as nullable, Oe as numeric, Be as parseRules, Pe as regex, we as required, Le as requiredIf, Re as requiredUnless, Ve as runRules, Ie as sameAs, xe as setMessages, De as url, zc as useCommandPalette, He as useField, nn as useFocusTrap, bn as usePopover, an as useScrollLock, _c as useSidebar, Ic as useTheme, qt as useToast, Lc as useWizard };