@dskripchenko/ui 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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, vShow as L, watch as R, withCtx as z, withDirectives as B, withKeys as V, withModifiers as H } from "vue";
3
- import { AlertCircle as U, AlertTriangle as W, ArrowDown as G, ArrowLeft as ee, ArrowUp as K, ArrowUpDown as te, Calendar as ne, Check as q, CheckCircle2 as J, ChevronDown as Y, ChevronLeft as re, ChevronRight as X, ChevronUp as ie, Clock as ae, Copy as oe, FileText as se, FolderOpen as ce, Info as le, Minus as ue, Plus as de, Search as fe, ServerCrash as pe, Star as me, Upload as he, WifiOff as ge, X as _e, XCircle as ve } from "lucide-vue-next";
3
+ import { AlertCircle as U, AlertTriangle as W, ArrowDown as G, ArrowLeft as ee, ArrowUp as K, ArrowUpDown as te, Calendar as ne, Check as q, CheckCircle2 as J, ChevronDown as Y, ChevronLeft as re, ChevronRight as X, ChevronUp as ie, Clock as ae, Copy as oe, CornerDownRight as se, FileText as ce, Folder as le, FolderOpen as ue, Info as de, Minus as fe, Plus as pe, Search as me, ServerCrash as he, Star as ge, Upload as _e, WifiOff as ve, X as ye, XCircle as be } from "lucide-vue-next";
4
4
  //#region src/components/Button/UidButton.vue?vue&type=script&setup=true&lang.ts
5
- var ye = [
5
+ var xe = [
6
6
  "type",
7
7
  "disabled",
8
8
  "aria-disabled",
9
9
  "data-loading"
10
- ], be = {
10
+ ], Se = {
11
11
  key: 0,
12
12
  class: "uid-button__prepend"
13
- }, xe = {
13
+ }, Ce = {
14
14
  key: 1,
15
15
  class: "uid-button__append"
16
- }, Se = /* @__PURE__ */ f({
16
+ }, we = /* @__PURE__ */ f({
17
17
  __name: "UidButton",
18
18
  props: {
19
19
  variant: { default: "primary" },
@@ -42,12 +42,12 @@ var ye = [
42
42
  "data-loading": e.loading ? "true" : void 0,
43
43
  onClick: i
44
44
  }, [
45
- t.$slots.prepend ? (x(), c("span", be, [E(t.$slots, "prepend")])) : s("", !0),
45
+ t.$slots.prepend ? (x(), c("span", Se, [E(t.$slots, "prepend")])) : s("", !0),
46
46
  E(t.$slots, "default"),
47
- t.$slots.append ? (x(), c("span", xe, [E(t.$slots, "append")])) : s("", !0)
48
- ], 10, ye));
47
+ t.$slots.append ? (x(), c("span", Ce, [E(t.$slots, "append")])) : s("", !0)
48
+ ], 10, xe));
49
49
  }
50
- }), Ce = {
50
+ }), Te = {
51
51
  required: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`,
52
52
  email: () => "Введите корректный email",
53
53
  url: () => "Введите корректный URL",
@@ -62,59 +62,59 @@ var ye = [
62
62
  same_as: () => "Значения не совпадают",
63
63
  required_if: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`,
64
64
  required_unless: ({ label: e }) => `Поле «${e ?? "значение"}» обязательно`
65
- }, we = {};
66
- function Te(e) {
67
- we = {
68
- ...we,
65
+ }, Ee = {};
66
+ function De(e) {
67
+ Ee = {
68
+ ...Ee,
69
69
  ...e
70
70
  };
71
71
  }
72
72
  function Z(e, t) {
73
- let n = we[e];
74
- return n ? typeof n == "function" ? n(t) : n : Ce[e]?.(t) ?? `Ошибка валидации: ${e}`;
73
+ let n = Ee[e];
74
+ return n ? typeof n == "function" ? n(t) : n : Te[e]?.(t) ?? `Ошибка валидации: ${e}`;
75
75
  }
76
76
  //#endregion
77
77
  //#region src/utils/validation/rules.ts
78
- var Ee = "__uid_nullable__";
78
+ var Oe = "__uid_nullable__";
79
79
  function Q(e) {
80
80
  return e == null || String(e).trim() === "";
81
81
  }
82
- function De(e, t) {
82
+ function ke(e, t) {
83
83
  return t ? {
84
84
  ...e,
85
85
  params: t
86
86
  } : e;
87
87
  }
88
- var Oe = (e) => (t, n) => !Q(t) || (e ?? Z("required", n)), ke = () => (e) => Q(e) ? Ee : !0, Ae = (e) => (t, n) => Q(t) || /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(String(t)) || (e ?? Z("email", n)), je = (e) => (t, n) => {
88
+ var Ae = (e) => (t, n) => !Q(t) || (e ?? Z("required", n)), je = () => (e) => Q(e) ? Oe : !0, Me = (e) => (t, n) => Q(t) || /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(String(t)) || (e ?? Z("email", n)), Ne = (e) => (t, n) => {
89
89
  if (Q(t)) return !0;
90
90
  try {
91
91
  return new URL(String(t)), !0;
92
92
  } catch {
93
93
  return e ?? Z("url", n);
94
94
  }
95
- }, Me = (e) => (t, n) => Q(t) || !isNaN(Number(t)) || (e ?? Z("numeric", n)), Ne = (e) => (t, n) => Q(t) || Number.isInteger(Number(t)) || (e ?? Z("integer", n)), Pe = (e, t) => (n, r) => Q(n) || String(n).length >= e || (t ?? Z("min", De(r, [String(e)]))), Fe = (e, t) => (n, r) => Q(n) || String(n).length <= e || (t ?? Z("max", De(r, [String(e)]))), Ie = (e, t) => (n, r) => Q(n) || Number(n) >= e || (t ?? Z("min_value", De(r, [String(e)]))), Le = (e, t) => (n, r) => Q(n) || Number(n) <= e || (t ?? Z("max_value", De(r, [String(e)]))), Re = (e, t) => (n, r) => Q(n) ? !0 : (typeof e == "string" ? new RegExp(e) : e).test(String(n)) || (t ?? Z("regex", r)), ze = (e, t) => (n, r) => Q(n) || e.includes(String(n)) || (t ?? Z("in", r)), Be = (e, t) => (n, r) => r.form ? n === r.form[e] || (t ?? Z("same_as", r)) : !0, Ve = (e, t, n) => (r, i) => !i.form || i.form[e] !== t ? !0 : !Q(r) || (n ?? Z("required_if", i)), He = (e, t, n) => (r, i) => !i.form || i.form[e] === t ? !0 : !Q(r) || (n ?? Z("required_unless", i)), Ue = {
96
- required: () => Oe(),
97
- nullable: () => ke(),
98
- email: () => Ae(),
99
- url: () => je(),
100
- numeric: () => Me(),
101
- integer: () => Ne(),
102
- min: ([e]) => Pe(Number(e)),
103
- max: ([e]) => Fe(Number(e)),
104
- min_value: ([e]) => Ie(Number(e)),
105
- max_value: ([e]) => Le(Number(e)),
106
- regex: ([e]) => Re(e),
107
- in: (e) => ze(e),
108
- same_as: ([e]) => Be(e)
95
+ }, Pe = (e) => (t, n) => Q(t) || !isNaN(Number(t)) || (e ?? Z("numeric", n)), Fe = (e) => (t, n) => Q(t) || Number.isInteger(Number(t)) || (e ?? Z("integer", n)), Ie = (e, t) => (n, r) => Q(n) || String(n).length >= e || (t ?? Z("min", ke(r, [String(e)]))), Le = (e, t) => (n, r) => Q(n) || String(n).length <= e || (t ?? Z("max", ke(r, [String(e)]))), Re = (e, t) => (n, r) => Q(n) || Number(n) >= e || (t ?? Z("min_value", ke(r, [String(e)]))), ze = (e, t) => (n, r) => Q(n) || Number(n) <= e || (t ?? Z("max_value", ke(r, [String(e)]))), Be = (e, t) => (n, r) => Q(n) ? !0 : (typeof e == "string" ? new RegExp(e) : e).test(String(n)) || (t ?? Z("regex", r)), Ve = (e, t) => (n, r) => Q(n) || e.includes(String(n)) || (t ?? Z("in", r)), He = (e, t) => (n, r) => r.form ? n === r.form[e] || (t ?? Z("same_as", r)) : !0, Ue = (e, t, n) => (r, i) => !i.form || i.form[e] !== t ? !0 : !Q(r) || (n ?? Z("required_if", i)), We = (e, t, n) => (r, i) => !i.form || i.form[e] === t ? !0 : !Q(r) || (n ?? Z("required_unless", i)), Ge = {
96
+ required: () => Ae(),
97
+ nullable: () => je(),
98
+ email: () => Me(),
99
+ url: () => Ne(),
100
+ numeric: () => Pe(),
101
+ integer: () => Fe(),
102
+ min: ([e]) => Ie(Number(e)),
103
+ max: ([e]) => Le(Number(e)),
104
+ min_value: ([e]) => Re(Number(e)),
105
+ max_value: ([e]) => ze(Number(e)),
106
+ regex: ([e]) => Be(e),
107
+ in: (e) => Ve(e),
108
+ same_as: ([e]) => He(e)
109
109
  };
110
- function We(e) {
110
+ function Ke(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 = Ue[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 = Ge[n];
113
113
  if (!a) throw Error(`Unknown validation rule: "${n}"`);
114
114
  return a(i);
115
115
  })) : [];
116
116
  }
117
- function Ge(e, t, n) {
117
+ function qe(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 Ge(e, t, n) {
124
124
  }
125
125
  //#endregion
126
126
  //#region src/composables/useField.ts
127
- function Ke(e, t, n) {
127
+ function Je(e, t, n) {
128
128
  let r = w(""), i = w(!1);
129
129
  function a() {
130
- let i = We(t && "value" in t ? t.value : t), a = {
130
+ let i = Ke(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 = Ge(e.value, i, a), !r.value;
135
+ return r.value = qe(e.value, i, a), !r.value;
136
136
  }
137
137
  function o() {
138
138
  i.value = !0, a();
@@ -152,14 +152,14 @@ function Ke(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 qe = ["for"], Je = {
155
+ var Ye = ["for"], Xe = {
156
156
  key: 0,
157
157
  class: "uid-input-field__required",
158
158
  "aria-hidden": "true"
159
- }, Ye = { class: "uid-input-field__control" }, Xe = {
159
+ }, Ze = { class: "uid-input-field__control" }, Qe = {
160
160
  key: 0,
161
161
  class: "uid-input-field__prepend"
162
- }, Ze = [
162
+ }, $e = [
163
163
  "id",
164
164
  "type",
165
165
  "name",
@@ -170,10 +170,10 @@ var qe = ["for"], Je = {
170
170
  "autocomplete",
171
171
  "aria-invalid",
172
172
  "aria-describedby"
173
- ], Qe = {
173
+ ], et = {
174
174
  key: 1,
175
175
  class: "uid-input-field__append"
176
- }, $e = ["id"], et = /* @__PURE__ */ f({
176
+ }, tt = ["id"], nt = /* @__PURE__ */ f({
177
177
  __name: "UidInput",
178
178
  props: /* @__PURE__ */ m({
179
179
  type: { default: "text" },
@@ -204,7 +204,7 @@ var qe = ["for"], Je = {
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 } = Ke(o, a(() => r.rules), {
207
+ let r = e, i = n, o = N(e, "modelValue"), d = r.id ?? M(), { error: f, validate: p, onBlur: m } = Je(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 qe = ["for"], Je = {
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", Je, "*")) : s("", !0)], 8, qe)) : s("", !0),
225
- l("div", Ye, [
226
- t.$slots.prepend ? (x(), c("span", Xe, [E(t.$slots, "prepend")])) : s("", !0),
224
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Xe, "*")) : s("", !0)], 8, Ye)) : s("", !0),
225
+ l("div", Ze, [
226
+ t.$slots.prepend ? (x(), c("span", Qe, [E(t.$slots, "prepend")])) : s("", !0),
227
227
  B(l("input", {
228
228
  id: j(d),
229
229
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
@@ -239,21 +239,21 @@ var qe = ["for"], Je = {
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, Ze), [[F, o.value]]),
243
- t.$slots.append ? (x(), c("span", Qe, [E(t.$slots, "append")])) : s("", !0)
242
+ }, null, 40, $e), [[F, o.value]]),
243
+ t.$slots.append ? (x(), c("span", et, [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, $e)) : s("", !0)
249
+ }, k(v.value), 11, tt)) : s("", !0)
250
250
  ], 2));
251
251
  }
252
- }), tt = ["for"], nt = {
252
+ }), rt = ["for"], it = {
253
253
  key: 0,
254
254
  class: "uid-textarea-field__required",
255
255
  "aria-hidden": "true"
256
- }, rt = [
256
+ }, at = [
257
257
  "id",
258
258
  "name",
259
259
  "placeholder",
@@ -263,7 +263,7 @@ var qe = ["for"], Je = {
263
263
  "rows",
264
264
  "aria-invalid",
265
265
  "aria-describedby"
266
- ], it = ["id"], at = /* @__PURE__ */ f({
266
+ ], ot = ["id"], st = /* @__PURE__ */ f({
267
267
  __name: "UidTextarea",
268
268
  props: /* @__PURE__ */ m({
269
269
  placeholder: { default: void 0 },
@@ -306,7 +306,7 @@ var qe = ["for"], Je = {
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 } = Ke(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 } = Je(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 qe = ["for"], Je = {
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", nt, "*")) : s("", !0)], 8, tt)) : s("", !0),
343
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", it, "*")) : s("", !0)], 8, rt)) : s("", !0),
344
344
  B(l("textarea", {
345
345
  id: j(p),
346
346
  ref_key: "textareaRef",
@@ -361,15 +361,15 @@ var qe = ["for"], Je = {
361
361
  } : { resize: e.resize }),
362
362
  onBlur: D,
363
363
  onFocus: n[1] ||= (e) => i("focus", e)
364
- }, null, 44, rt), [[I, o.value]]),
364
+ }, null, 44, at), [[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, it)) : s("", !0)
369
+ }, k(T.value), 11, ot)) : s("", !0)
370
370
  ], 2));
371
371
  }
372
- }), ot = { class: "uid-checkbox__label" }, st = [
372
+ }), ct = { class: "uid-checkbox__label" }, lt = [
373
373
  "id",
374
374
  "name",
375
375
  "checked",
@@ -377,14 +377,14 @@ var qe = ["for"], Je = {
377
377
  "required",
378
378
  "aria-describedby",
379
379
  "aria-invalid"
380
- ], ct = {
380
+ ], ut = {
381
381
  key: 0,
382
382
  class: "uid-checkbox__text"
383
- }, lt = {
383
+ }, dt = {
384
384
  key: 0,
385
385
  class: "uid-checkbox__required",
386
386
  "aria-hidden": "true"
387
- }, ut = /* @__PURE__ */ f({
387
+ }, ft = /* @__PURE__ */ f({
388
388
  __name: "UidCheckbox",
389
389
  props: /* @__PURE__ */ m({
390
390
  label: { default: void 0 },
@@ -422,7 +422,7 @@ var qe = ["for"], Je = {
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", ot, [
425
+ return (t, n) => (x(), c("div", { class: _(["uid-checkbox", [m.value && "uid-checkbox--error", e.disabled && "uid-checkbox--disabled"]]) }, [l("label", ct, [
426
426
  l("input", {
427
427
  id: j(f),
428
428
  ref_key: "inputRef",
@@ -436,27 +436,27 @@ var qe = ["for"], Je = {
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, st),
439
+ }, null, 40, lt),
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", ct, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", lt, "*")) : s("", !0)])) : s("", !0)
444
+ e.label ? (x(), c("span", ut, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", dt, "*")) : 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
- }), dt = Symbol("uid-radio-group"), ft = [
451
+ }), pt = Symbol("uid-radio-group"), mt = [
452
452
  "id",
453
453
  "name",
454
454
  "checked",
455
455
  "disabled"
456
- ], pt = {
456
+ ], ht = {
457
457
  key: 0,
458
458
  class: "uid-radio__text"
459
- }, mt = /* @__PURE__ */ f({
459
+ }, gt = /* @__PURE__ */ f({
460
460
  __name: "UidRadio",
461
461
  props: /* @__PURE__ */ m({
462
462
  value: { type: [
@@ -483,7 +483,7 @@ var qe = ["for"], Je = {
483
483
  }),
484
484
  emits: ["update:modelValue"],
485
485
  setup(e) {
486
- let t = e, n = N(e, "modelValue"), r = p(dt, 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(pt, 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 qe = ["for"], Je = {
496
496
  checked: u.value,
497
497
  disabled: f.value,
498
498
  onChange: m
499
- }, null, 40, ft),
499
+ }, null, 40, mt),
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", pt, k(e.label), 1)) : s("", !0)
504
+ e.label ? (x(), c("span", ht, k(e.label), 1)) : s("", !0)
505
505
  ], 2));
506
506
  }
507
- }), ht = [
507
+ }), _t = [
508
508
  "aria-labelledby",
509
509
  "aria-describedby",
510
510
  "aria-required",
511
511
  "aria-invalid",
512
512
  "aria-disabled"
513
- ], gt = ["id"], _t = {
513
+ ], vt = ["id"], yt = {
514
514
  key: 0,
515
515
  class: "uid-radio-group__required",
516
516
  "aria-hidden": "true"
517
- }, vt = { class: "uid-radio-group__options" }, yt = ["id"], bt = /* @__PURE__ */ f({
517
+ }, bt = { class: "uid-radio-group__options" }, xt = ["id"], St = /* @__PURE__ */ f({
518
518
  __name: "UidRadioGroup",
519
519
  props: /* @__PURE__ */ m({
520
520
  name: { default: void 0 },
@@ -542,7 +542,7 @@ var qe = ["for"], Je = {
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(dt, {
545
+ return S(pt, {
546
546
  modelValue: n,
547
547
  update: (e) => {
548
548
  n.value = e;
@@ -566,16 +566,16 @@ var qe = ["for"], Je = {
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", _t, "*")) : s("", !0)], 8, gt)) : s("", !0),
570
- l("div", vt, [E(t.$slots, "default")]),
569
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", yt, "*")) : s("", !0)], 8, vt)) : s("", !0),
570
+ l("div", bt, [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, yt)) : s("", !0)
576
- ], 10, ht));
575
+ }, k(p.value), 11, xt)) : s("", !0)
576
+ ], 10, _t));
577
577
  }
578
- }), xt = { class: "uid-switch__label" }, St = [
578
+ }), Ct = { class: "uid-switch__label" }, wt = [
579
579
  "id",
580
580
  "name",
581
581
  "checked",
@@ -583,14 +583,14 @@ var qe = ["for"], Je = {
583
583
  "required",
584
584
  "aria-describedby",
585
585
  "aria-invalid"
586
- ], Ct = {
586
+ ], Tt = {
587
587
  key: 0,
588
588
  class: "uid-switch__text"
589
- }, wt = {
589
+ }, Et = {
590
590
  key: 0,
591
591
  class: "uid-switch__required",
592
592
  "aria-hidden": "true"
593
- }, Tt = /* @__PURE__ */ f({
593
+ }, Dt = /* @__PURE__ */ f({
594
594
  __name: "UidSwitch",
595
595
  props: /* @__PURE__ */ m({
596
596
  label: { default: void 0 },
@@ -625,7 +625,7 @@ var qe = ["for"], Je = {
625
625
  `uid-switch--${e.size}`,
626
626
  p.value && "uid-switch--error",
627
627
  e.disabled && "uid-switch--disabled"
628
- ]]) }, [l("label", xt, [
628
+ ]]) }, [l("label", Ct, [
629
629
  l("input", {
630
630
  id: j(d),
631
631
  type: "checkbox",
@@ -638,23 +638,23 @@ var qe = ["for"], Je = {
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, St),
641
+ }, null, 40, wt),
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", Ct, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", wt, "*")) : s("", !0)])) : s("", !0)
646
+ e.label ? (x(), c("span", Tt, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Et, "*")) : 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
- }), Et = ["for"], Dt = {
653
+ }), Ot = ["for"], kt = {
654
654
  key: 0,
655
655
  class: "uid-label__required",
656
656
  "aria-hidden": "true"
657
- }, Ot = /* @__PURE__ */ f({
657
+ }, At = /* @__PURE__ */ f({
658
658
  __name: "UidLabel",
659
659
  props: {
660
660
  for: { default: void 0 },
@@ -671,13 +671,13 @@ var qe = ["for"], Je = {
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", Dt, "*")) : s("", !0)], 10, Et));
674
+ }, [E(t.$slots, "default"), e.required ? (x(), c("span", kt, "*")) : s("", !0)], 10, Ot));
675
675
  }
676
- }), kt = ["for"], At = {
676
+ }), jt = ["for"], Mt = {
677
677
  key: 0,
678
678
  class: "uid-form-field__required",
679
679
  "aria-hidden": "true"
680
- }, jt = { class: "uid-form-field__content" }, Mt = ["id"], Nt = /* @__PURE__ */ f({
680
+ }, Nt = { class: "uid-form-field__content" }, Pt = ["id"], Ft = /* @__PURE__ */ f({
681
681
  __name: "UidFormField",
682
682
  props: {
683
683
  label: { default: void 0 },
@@ -700,16 +700,16 @@ var qe = ["for"], Je = {
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", At, "*")) : s("", !0)], 8, kt)) : s("", !0),
704
- l("div", jt, [E(t.$slots, "default")]),
703
+ }, [E(t.$slots, "label", {}, () => [u(k(e.label), 1)]), e.required ? (x(), c("span", Mt, "*")) : s("", !0)], 8, jt)) : s("", !0),
704
+ l("div", Nt, [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, Mt)) : s("", !0)
709
+ }, k(i.value), 11, Pt)) : s("", !0)
710
710
  ], 2));
711
711
  }
712
- }), Pt = ["aria-label"], Ft = /* @__PURE__ */ f({
712
+ }), It = ["aria-label"], Lt = /* @__PURE__ */ f({
713
713
  __name: "UidSpinner",
714
714
  props: {
715
715
  size: { default: "md" },
@@ -720,13 +720,13 @@ var qe = ["for"], Je = {
720
720
  class: _(["uid-spinner", `uid-spinner--${e.size}`]),
721
721
  role: "status",
722
722
  "aria-label": e.label
723
- }, null, 10, Pt));
723
+ }, null, 10, It));
724
724
  }
725
- }), It = {
725
+ }), Rt = {
726
726
  key: 0,
727
727
  class: "uid-skeleton-lines",
728
728
  "aria-hidden": "true"
729
- }, Lt = /* @__PURE__ */ f({
729
+ }, zt = /* @__PURE__ */ f({
730
730
  __name: "UidSkeleton",
731
731
  props: {
732
732
  width: { default: "100%" },
@@ -738,7 +738,7 @@ var qe = ["for"], Je = {
738
738
  lines: { default: 1 }
739
739
  },
740
740
  setup(e) {
741
- return (n, r) => e.lines > 1 ? (x(), c("div", It, [(x(!0), c(t, null, T(e.lines, (t) => (x(), c("span", {
741
+ return (n, r) => e.lines > 1 ? (x(), c("div", Rt, [(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 qe = ["for"], Je = {
755
755
  "aria-hidden": "true"
756
756
  }, null, 6));
757
757
  }
758
- }), Rt = /* @__PURE__ */ f({
758
+ }), Bt = /* @__PURE__ */ f({
759
759
  __name: "UidBadge",
760
760
  props: {
761
761
  variant: { default: "default" },
@@ -772,7 +772,7 @@ var qe = ["for"], Je = {
772
772
  e.dot && "uid-badge--dot"
773
773
  ]]) }, [e.dot ? s("", !0) : E(t.$slots, "default", { key: 0 })], 2));
774
774
  }
775
- }), zt = {
775
+ }), Vt = {
776
776
  common: {
777
777
  clear: "Очистить",
778
778
  close: "Закрыть",
@@ -871,31 +871,31 @@ var qe = ["for"], Je = {
871
871
  page: (e) => `Страница ${e}`,
872
872
  pageSize: (e) => `${e} на странице`
873
873
  }
874
- }, Bt = Symbol("UidLocale");
875
- function Vt(e, t) {
874
+ }, Ht = Symbol("UidLocale");
875
+ function Ut(e, t) {
876
876
  if (typeof t != "object" || !t) return e;
877
877
  let n = { ...e };
878
878
  for (let r of Object.keys(t)) {
879
879
  let i = t[r], a = e[r];
880
- i && typeof i == "object" && !Array.isArray(i) && typeof a == "object" && a && !Array.isArray(a) ? n[r] = Vt(a, i) : i !== void 0 && (n[r] = i);
880
+ i && typeof i == "object" && !Array.isArray(i) && typeof a == "object" && a && !Array.isArray(a) ? n[r] = Ut(a, i) : i !== void 0 && (n[r] = i);
881
881
  }
882
882
  return n;
883
883
  }
884
- function Ht(e) {
885
- S(Bt, a(() => {
884
+ function Wt(e) {
885
+ S(Ht, a(() => {
886
886
  let t = e.value;
887
- return t ? Vt(zt, t) : zt;
887
+ return t ? Ut(Vt, t) : Vt;
888
888
  }));
889
889
  }
890
890
  function $() {
891
- return p(Bt, null) || a(() => zt);
891
+ return p(Ht, null) || a(() => Vt);
892
892
  }
893
893
  //#endregion
894
894
  //#region src/components/Alert/UidAlert.vue?vue&type=script&setup=true&lang.ts
895
- var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt = {
895
+ var Gt = { class: "uid-alert__icon" }, Kt = { class: "uid-alert__content" }, qt = {
896
896
  key: 0,
897
897
  class: "uid-alert__title"
898
- }, Kt = { class: "uid-alert__body" }, qt = ["aria-label"], Jt = /* @__PURE__ */ f({
898
+ }, Jt = { class: "uid-alert__body" }, Yt = ["aria-label"], Xt = /* @__PURE__ */ f({
899
899
  __name: "UidAlert",
900
900
  props: {
901
901
  variant: { default: "info" },
@@ -909,7 +909,7 @@ var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt
909
909
  emits: ["dismiss"],
910
910
  setup(t, { emit: n }) {
911
911
  let r = $(), i = t, o = n, u = {
912
- info: le,
912
+ info: de,
913
913
  success: J,
914
914
  warning: W,
915
915
  danger: U
@@ -918,11 +918,11 @@ var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt
918
918
  class: _(["uid-alert", `uid-alert--${t.variant}`]),
919
919
  role: "alert"
920
920
  }, [
921
- l("span", Ut, [E(n.$slots, "icon", {}, () => [d(e, {
921
+ l("span", Gt, [E(n.$slots, "icon", {}, () => [d(e, {
922
922
  icon: t.icon ?? f.value,
923
923
  size: 18
924
924
  }, null, 8, ["icon"])])]),
925
- l("div", Wt, [t.title ? (x(), c("p", Gt, k(t.title), 1)) : s("", !0), l("div", Kt, [E(n.$slots, "default")])]),
925
+ l("div", Kt, [t.title ? (x(), c("p", qt, k(t.title), 1)) : s("", !0), l("div", Jt, [E(n.$slots, "default")])]),
926
926
  t.dismissible ? (x(), c("button", {
927
927
  key: 0,
928
928
  type: "button",
@@ -930,15 +930,15 @@ var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt
930
930
  "aria-label": j(r).common.close,
931
931
  onClick: i[0] ||= (e) => o("dismiss")
932
932
  }, [d(e, {
933
- icon: j(_e),
933
+ icon: j(ye),
934
934
  size: 16
935
- }, null, 8, ["icon"])], 8, qt)) : s("", !0)
935
+ }, null, 8, ["icon"])], 8, Yt)) : s("", !0)
936
936
  ], 2));
937
937
  }
938
- }), Yt = { class: "uid-toast__icon" }, Xt = { class: "uid-toast__content" }, Zt = {
938
+ }), Zt = { class: "uid-toast__icon" }, Qt = { class: "uid-toast__content" }, $t = {
939
939
  key: 0,
940
940
  class: "uid-toast__title"
941
- }, Qt = { class: "uid-toast__message" }, $t = ["aria-label"], en = /* @__PURE__ */ f({
941
+ }, en = { class: "uid-toast__message" }, tn = ["aria-label"], nn = /* @__PURE__ */ f({
942
942
  __name: "UidToast",
943
943
  props: {
944
944
  id: {},
@@ -949,7 +949,7 @@ var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt
949
949
  emits: ["dismiss"],
950
950
  setup(t, { emit: n }) {
951
951
  let r = $(), i = t, o = n, u = {
952
- info: le,
952
+ info: de,
953
953
  success: J,
954
954
  warning: W,
955
955
  danger: U
@@ -960,39 +960,39 @@ var Ut = { class: "uid-alert__icon" }, Wt = { class: "uid-alert__content" }, Gt
960
960
  "aria-live": "polite",
961
961
  "aria-atomic": "true"
962
962
  }, [
963
- l("span", Yt, [d(e, {
963
+ l("span", Zt, [d(e, {
964
964
  icon: f.value,
965
965
  size: 18
966
966
  }, null, 8, ["icon"])]),
967
- l("div", Xt, [t.title ? (x(), c("p", Zt, k(t.title), 1)) : s("", !0), l("p", Qt, k(t.message), 1)]),
967
+ l("div", Qt, [t.title ? (x(), c("p", $t, k(t.title), 1)) : s("", !0), l("p", en, k(t.message), 1)]),
968
968
  l("button", {
969
969
  type: "button",
970
970
  class: "uid-toast__close",
971
971
  "aria-label": j(r).toast.close,
972
972
  onClick: i[0] ||= (e) => o("dismiss", t.id)
973
973
  }, [d(e, {
974
- icon: j(_e),
974
+ icon: j(ye),
975
975
  size: 14
976
- }, null, 8, ["icon"])], 8, $t)
976
+ }, null, 8, ["icon"])], 8, tn)
977
977
  ], 2));
978
978
  }
979
- }), tn = w([]), nn = 0;
980
- function rn() {
979
+ }), rn = w([]), an = 0;
980
+ function on() {
981
981
  function e(e) {
982
982
  let n = typeof e == "string" ? { message: e } : e, r = {
983
- id: ++nn,
983
+ id: ++an,
984
984
  variant: "info",
985
985
  duration: 4e3,
986
986
  ...n
987
987
  };
988
- return tn.value.push(r), r.duration > 0 && setTimeout(() => t(r.id), r.duration), r.id;
988
+ return rn.value.push(r), r.duration > 0 && setTimeout(() => t(r.id), r.duration), r.id;
989
989
  }
990
990
  function t(e) {
991
- let t = tn.value.findIndex((t) => t.id === e);
992
- t !== -1 && tn.value.splice(t, 1);
991
+ let t = rn.value.findIndex((t) => t.id === e);
992
+ t !== -1 && rn.value.splice(t, 1);
993
993
  }
994
994
  function n() {
995
- tn.value = [];
995
+ rn.value = [];
996
996
  }
997
997
  function r(t) {
998
998
  return e(typeof t == "string" ? {
@@ -1031,7 +1031,7 @@ function rn() {
1031
1031
  });
1032
1032
  }
1033
1033
  return {
1034
- toasts: C(tn),
1034
+ toasts: C(rn),
1035
1035
  add: e,
1036
1036
  dismiss: t,
1037
1037
  clear: n,
@@ -1043,33 +1043,33 @@ function rn() {
1043
1043
  }
1044
1044
  //#endregion
1045
1045
  //#region src/components/Toast/UidToastProvider.vue
1046
- var an = /* @__PURE__ */ f({
1046
+ var sn = /* @__PURE__ */ f({
1047
1047
  __name: "UidToastProvider",
1048
1048
  setup(e) {
1049
- let { toasts: r, dismiss: a } = rn();
1049
+ let { toasts: r, dismiss: a } = on();
1050
1050
  return (e, s) => (x(), o(n, { to: "body" }, [d(i, {
1051
1051
  tag: "div",
1052
1052
  name: "uid-toast",
1053
1053
  class: "uid-toast-list"
1054
1054
  }, {
1055
- default: z(() => [(x(!0), c(t, null, T(j(r), (e) => (x(), o(en, h({ key: e.id }, { ref_for: !0 }, e, { onDismiss: j(a) }), null, 16, ["onDismiss"]))), 128))]),
1055
+ default: z(() => [(x(!0), c(t, null, T(j(r), (e) => (x(), o(nn, h({ key: e.id }, { ref_for: !0 }, e, { onDismiss: j(a) }), null, 16, ["onDismiss"]))), 128))]),
1056
1056
  _: 1
1057
1057
  })]));
1058
1058
  }
1059
- }), on = { class: "uid-progress-wrapper" }, sn = {
1059
+ }), cn = { class: "uid-progress-wrapper" }, ln = {
1060
1060
  key: 0,
1061
1061
  class: "uid-progress-header"
1062
- }, cn = {
1062
+ }, un = {
1063
1063
  key: 0,
1064
1064
  class: "uid-progress-label"
1065
- }, ln = {
1065
+ }, dn = {
1066
1066
  key: 1,
1067
1067
  class: "uid-progress-value"
1068
- }, un = [
1068
+ }, fn = [
1069
1069
  "aria-valuemax",
1070
1070
  "aria-valuenow",
1071
1071
  "aria-label"
1072
- ], dn = /* @__PURE__ */ f({
1072
+ ], pn = /* @__PURE__ */ f({
1073
1073
  __name: "UidProgress",
1074
1074
  props: {
1075
1075
  value: { default: void 0 },
@@ -1086,7 +1086,7 @@ var an = /* @__PURE__ */ f({
1086
1086
  let t = e, n = a(() => {
1087
1087
  if (t.value !== void 0) return Math.min(100, Math.max(0, t.value / (t.max ?? 100) * 100));
1088
1088
  }), r = a(() => t.value === void 0), i = a(() => n.value === void 0 ? void 0 : `${Math.round(n.value)}%`);
1089
- return (t, a) => (x(), c("div", on, [e.label || e.showValue && i.value ? (x(), c("div", sn, [e.label ? (x(), c("span", cn, k(e.label), 1)) : s("", !0), e.showValue && i.value ? (x(), c("span", ln, k(i.value), 1)) : s("", !0)])) : s("", !0), l("div", {
1089
+ return (t, a) => (x(), c("div", cn, [e.label || e.showValue && i.value ? (x(), c("div", ln, [e.label ? (x(), c("span", un, k(e.label), 1)) : s("", !0), e.showValue && i.value ? (x(), c("span", dn, k(i.value), 1)) : s("", !0)])) : s("", !0), l("div", {
1090
1090
  class: _(["uid-progress", [
1091
1091
  `uid-progress--${e.size}`,
1092
1092
  `uid-progress--${e.variant}`,
@@ -1101,9 +1101,9 @@ var an = /* @__PURE__ */ f({
1101
1101
  key: 0,
1102
1102
  class: "uid-progress__bar",
1103
1103
  style: v({ width: `${n.value}%` })
1104
- }, null, 4))], 10, un)]));
1104
+ }, null, 4))], 10, fn)]));
1105
1105
  }
1106
- }), fn = [
1106
+ }), mn = [
1107
1107
  "a[href]",
1108
1108
  "button:not([disabled])",
1109
1109
  "input:not([disabled])",
@@ -1111,10 +1111,10 @@ var an = /* @__PURE__ */ f({
1111
1111
  "textarea:not([disabled])",
1112
1112
  "[tabindex]:not([tabindex=\"-1\"])"
1113
1113
  ].join(", ");
1114
- function pn(e) {
1114
+ function hn(e) {
1115
1115
  let t = w(null);
1116
1116
  function n() {
1117
- return e.value ? Array.from(e.value.querySelectorAll(fn)).filter((e) => !e.closest("[aria-hidden=\"true\"]")) : [];
1117
+ return e.value ? Array.from(e.value.querySelectorAll(mn)).filter((e) => !e.closest("[aria-hidden=\"true\"]")) : [];
1118
1118
  }
1119
1119
  function r(e) {
1120
1120
  if (e.key !== "Tab") return;
@@ -1127,7 +1127,7 @@ function pn(e) {
1127
1127
  e.shiftKey ? document.activeElement === r && (e.preventDefault(), i.focus()) : document.activeElement === i && (e.preventDefault(), r.focus());
1128
1128
  }
1129
1129
  function i(i) {
1130
- t.value = document.activeElement, document.addEventListener("keydown", r), (i?.value ?? n()[0] ?? e.value)?.focus();
1130
+ t.value = document.activeElement, document.addEventListener("keydown", r), (i?.value ?? e.value?.querySelector("[autofocus]") ?? n()[0] ?? e.value)?.focus();
1131
1131
  }
1132
1132
  function a() {
1133
1133
  document.removeEventListener("keydown", r), t.value?.focus(), t.value = null;
@@ -1139,17 +1139,17 @@ function pn(e) {
1139
1139
  }
1140
1140
  //#endregion
1141
1141
  //#region src/composables/useScrollLock.ts
1142
- var mn = 0;
1143
- function hn() {
1142
+ var gn = 0;
1143
+ function _n() {
1144
1144
  let e = !1;
1145
1145
  function t() {
1146
- if (!e && (e = !0, mn++, mn === 1)) {
1146
+ if (!e && (e = !0, gn++, gn === 1)) {
1147
1147
  let e = window.innerWidth - document.documentElement.clientWidth;
1148
1148
  document.body.style.overflow = "hidden", e > 0 && (document.body.style.paddingRight = `${e}px`);
1149
1149
  }
1150
1150
  }
1151
1151
  function n() {
1152
- e && (e = !1, mn--, mn === 0 && (document.body.style.overflow = "", document.body.style.paddingRight = ""));
1152
+ e && (e = !1, gn--, gn === 0 && (document.body.style.overflow = "", document.body.style.paddingRight = ""));
1153
1153
  }
1154
1154
  return {
1155
1155
  lock: t,
@@ -1158,10 +1158,10 @@ function hn() {
1158
1158
  }
1159
1159
  //#endregion
1160
1160
  //#region src/components/Modal/UidModal.vue?vue&type=script&setup=true&lang.ts
1161
- var gn = ["aria-labelledby"], _n = { class: "uid-modal__header" }, vn = ["id"], yn = ["aria-label"], bn = { class: "uid-modal__body" }, xn = {
1161
+ var vn = ["aria-labelledby"], yn = { class: "uid-modal__header" }, bn = ["id"], xn = ["aria-label"], Sn = { class: "uid-modal__body" }, Cn = {
1162
1162
  key: 0,
1163
1163
  class: "uid-modal__footer"
1164
- }, Sn = /* @__PURE__ */ f({
1164
+ }, wn = /* @__PURE__ */ f({
1165
1165
  __name: "UidModal",
1166
1166
  props: /* @__PURE__ */ m({
1167
1167
  title: { default: void 0 },
@@ -1183,7 +1183,7 @@ var gn = ["aria-labelledby"], _n = { class: "uid-modal__header" }, vn = ["id"],
1183
1183
  }),
1184
1184
  emits: /* @__PURE__ */ m(["close"], ["update:modelValue"]),
1185
1185
  setup(t, { emit: i }) {
1186
- let a = $(), u = N(t, "modelValue"), f = t, p = i, m = M(), h = w(null), { activate: v, deactivate: y } = pn(h), { lock: b, unlock: S } = hn();
1186
+ let a = $(), u = N(t, "modelValue"), f = t, p = i, m = M(), h = w(null), { activate: v, deactivate: y } = hn(h), { lock: b, unlock: S } = _n();
1187
1187
  function C() {
1188
1188
  u.value = !1, p("close");
1189
1189
  }
@@ -1210,30 +1210,30 @@ var gn = ["aria-labelledby"], _n = { class: "uid-modal__header" }, vn = ["id"],
1210
1210
  "aria-labelledby": t.title ? j(m) : void 0,
1211
1211
  tabindex: "-1"
1212
1212
  }, [
1213
- l("div", _n, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1213
+ l("div", yn, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1214
1214
  key: 0,
1215
1215
  id: j(m),
1216
1216
  class: "uid-modal__title"
1217
- }, k(t.title), 9, vn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1217
+ }, k(t.title), 9, bn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1218
1218
  key: 0,
1219
1219
  type: "button",
1220
1220
  class: "uid-modal__close",
1221
1221
  "aria-label": j(a).modal.close,
1222
1222
  onClick: C
1223
1223
  }, [d(e, {
1224
- icon: j(_e),
1224
+ icon: j(ye),
1225
1225
  size: 18
1226
- }, null, 8, ["icon"])], 8, yn))]),
1227
- l("div", bn, [E(i.$slots, "default")]),
1228
- i.$slots.footer ? (x(), c("div", xn, [E(i.$slots, "footer")])) : s("", !0)
1229
- ], 10, gn)])) : s("", !0)]),
1226
+ }, null, 8, ["icon"])], 8, xn))]),
1227
+ l("div", Sn, [E(i.$slots, "default")]),
1228
+ i.$slots.footer ? (x(), c("div", Cn, [E(i.$slots, "footer")])) : s("", !0)
1229
+ ], 10, vn)])) : s("", !0)]),
1230
1230
  _: 3
1231
1231
  })]));
1232
1232
  }
1233
- }), Cn = ["aria-labelledby"], wn = { class: "uid-drawer__header" }, Tn = ["id"], En = ["aria-label"], Dn = { class: "uid-drawer__body" }, On = {
1233
+ }), Tn = ["aria-labelledby"], En = { class: "uid-drawer__header" }, Dn = ["id"], On = ["aria-label"], kn = { class: "uid-drawer__body" }, An = {
1234
1234
  key: 0,
1235
1235
  class: "uid-drawer__footer"
1236
- }, kn = /* @__PURE__ */ f({
1236
+ }, jn = /* @__PURE__ */ f({
1237
1237
  __name: "UidDrawer",
1238
1238
  props: /* @__PURE__ */ m({
1239
1239
  title: { default: void 0 },
@@ -1257,7 +1257,7 @@ var gn = ["aria-labelledby"], _n = { class: "uid-modal__header" }, vn = ["id"],
1257
1257
  }),
1258
1258
  emits: /* @__PURE__ */ m(["close"], ["update:modelValue"]),
1259
1259
  setup(t, { emit: i }) {
1260
- let a = $(), u = N(t, "modelValue"), f = t, p = i, m = M(), h = w(null), { activate: y, deactivate: b } = pn(h), { lock: S, unlock: C } = hn();
1260
+ let a = $(), u = N(t, "modelValue"), f = t, p = i, m = M(), h = w(null), { activate: y, deactivate: b } = hn(h), { lock: S, unlock: C } = _n();
1261
1261
  function T() {
1262
1262
  u.value = !1, p("close");
1263
1263
  }
@@ -1287,28 +1287,28 @@ var gn = ["aria-labelledby"], _n = { class: "uid-modal__header" }, vn = ["id"],
1287
1287
  "aria-labelledby": t.title ? j(m) : void 0,
1288
1288
  tabindex: "-1"
1289
1289
  }, [
1290
- l("div", wn, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1290
+ l("div", En, [E(i.$slots, "header", {}, () => [t.title ? (x(), c("p", {
1291
1291
  key: 0,
1292
1292
  id: j(m),
1293
1293
  class: "uid-drawer__title"
1294
- }, k(t.title), 9, Tn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1294
+ }, k(t.title), 9, Dn)) : s("", !0)]), t.hideClose ? s("", !0) : (x(), c("button", {
1295
1295
  key: 0,
1296
1296
  type: "button",
1297
1297
  class: "uid-drawer__close",
1298
1298
  "aria-label": j(a).drawer.close,
1299
1299
  onClick: T
1300
1300
  }, [d(e, {
1301
- icon: j(_e),
1301
+ icon: j(ye),
1302
1302
  size: 18
1303
- }, null, 8, ["icon"])], 8, En))]),
1304
- l("div", Dn, [E(i.$slots, "default")]),
1305
- i.$slots.footer ? (x(), c("div", On, [E(i.$slots, "footer")])) : s("", !0)
1306
- ], 14, Cn)])) : s("", !0)]),
1303
+ }, null, 8, ["icon"])], 8, On))]),
1304
+ l("div", kn, [E(i.$slots, "default")]),
1305
+ i.$slots.footer ? (x(), c("div", An, [E(i.$slots, "footer")])) : s("", !0)
1306
+ ], 14, Tn)])) : s("", !0)]),
1307
1307
  _: 3
1308
1308
  }, 8, ["name"])]));
1309
1309
  }
1310
- }), An = 8, jn = 8;
1311
- function Mn(e, t, n = {}) {
1310
+ }), Mn = 8, Nn = 8;
1311
+ function Pn(e, t, n = {}) {
1312
1312
  let r = w(0), i = w(0), o = w(A(n.placement) ?? "bottom"), s = a(() => ({
1313
1313
  position: "fixed",
1314
1314
  left: `${r.value}px`,
@@ -1317,7 +1317,7 @@ function Mn(e, t, n = {}) {
1317
1317
  function c() {
1318
1318
  let a = e.value, s = t.value;
1319
1319
  if (!a || !s) return;
1320
- let c = a.getBoundingClientRect(), l = s.getBoundingClientRect(), u = n.offset ?? An, d = window.innerWidth, f = window.innerHeight, p = A(n.placement) ?? "bottom";
1320
+ let c = a.getBoundingClientRect(), l = s.getBoundingClientRect(), u = n.offset ?? Mn, d = window.innerWidth, f = window.innerHeight, p = A(n.placement) ?? "bottom";
1321
1321
  if (p.startsWith("bottom")) {
1322
1322
  let e = f - c.bottom, t = c.top;
1323
1323
  e < l.height + u && t > e && (p = p.replace("bottom", "top"));
@@ -1327,7 +1327,7 @@ function Mn(e, t, n = {}) {
1327
1327
  }
1328
1328
  o.value = p;
1329
1329
  let m = 0, h = 0;
1330
- 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(jn, Math.min(m, d - l.width - jn)), i.value = Math.max(jn, Math.min(h, f - l.height - jn));
1330
+ 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(Nn, Math.min(m, d - l.width - Nn)), i.value = Math.max(Nn, Math.min(h, f - l.height - Nn));
1331
1331
  }
1332
1332
  return {
1333
1333
  x: r,
@@ -1339,7 +1339,7 @@ function Mn(e, t, n = {}) {
1339
1339
  }
1340
1340
  //#endregion
1341
1341
  //#region src/components/Tooltip/UidTooltip.vue?vue&type=script&setup=true&lang.ts
1342
- var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1342
+ var Fn = ["aria-describedby"], In = ["id"], Ln = /* @__PURE__ */ f({
1343
1343
  __name: "UidTooltip",
1344
1344
  props: {
1345
1345
  content: {},
@@ -1350,7 +1350,7 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1350
1350
  }
1351
1351
  },
1352
1352
  setup(e) {
1353
- let i = e, u = M(), f = w(null), p = w(null), m = w(!1), { floatingStyle: h, update: _ } = Mn(f, p, { placement: a(() => i.placement) });
1353
+ let i = e, u = M(), f = w(null), p = w(null), m = w(!1), { floatingStyle: h, update: _ } = Pn(f, p, { placement: a(() => i.placement) });
1354
1354
  async function y() {
1355
1355
  i.disabled || (m.value = !0, await g(), _());
1356
1356
  }
@@ -1366,7 +1366,7 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1366
1366
  onMouseleave: b,
1367
1367
  onFocusin: y,
1368
1368
  onFocusout: b
1369
- }, [E(i.$slots, "default")], 40, Nn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-tooltip" }, {
1369
+ }, [E(i.$slots, "default")], 40, Fn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-tooltip" }, {
1370
1370
  default: z(() => [m.value ? (x(), c("div", {
1371
1371
  key: 0,
1372
1372
  id: j(u),
@@ -1375,19 +1375,19 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1375
1375
  class: "uid-tooltip",
1376
1376
  role: "tooltip",
1377
1377
  style: v(j(h))
1378
- }, k(e.content), 13, Pn)) : s("", !0)]),
1378
+ }, k(e.content), 13, In)) : s("", !0)]),
1379
1379
  _: 1
1380
1380
  })]))], 64));
1381
1381
  }
1382
- }), In = [
1382
+ }), Rn = [
1383
1383
  "aria-expanded",
1384
1384
  "aria-controls",
1385
1385
  "onKeydown"
1386
- ], Ln = ["id"], Rn = /* @__PURE__ */ f({
1386
+ ], zn = ["id"], Bn = /* @__PURE__ */ f({
1387
1387
  __name: "UidPopover",
1388
1388
  props: { placement: { default: "bottom" } },
1389
1389
  setup(e) {
1390
- let i = e, u = w(null), f = w(null), p = w(!1), m = M(), { floatingStyle: h, update: _ } = Mn(u, f, { placement: a(() => i.placement) });
1390
+ let i = e, u = w(null), f = w(null), p = w(!1), m = M(), { floatingStyle: h, update: _ } = Pn(u, f, { placement: a(() => i.placement) });
1391
1391
  async function S() {
1392
1392
  p.value = !p.value, p.value && (await g(), _());
1393
1393
  }
@@ -1416,7 +1416,7 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1416
1416
  "aria-controls": j(m),
1417
1417
  onClick: S,
1418
1418
  onKeydown: [V(H(S, ["prevent"]), ["enter"]), V(H(S, ["prevent"]), ["space"])]
1419
- }, [E(e.$slots, "trigger")], 40, In), (x(), o(n, { to: "body" }, [d(r, { name: "uid-popover" }, {
1419
+ }, [E(e.$slots, "trigger")], 40, Rn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-popover" }, {
1420
1420
  default: z(() => [p.value ? (x(), c("div", {
1421
1421
  key: 0,
1422
1422
  id: j(m),
@@ -1425,21 +1425,21 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1425
1425
  class: "uid-popover",
1426
1426
  role: "dialog",
1427
1427
  style: v(j(h))
1428
- }, [E(e.$slots, "default")], 12, Ln)) : s("", !0)]),
1428
+ }, [E(e.$slots, "default")], 12, zn)) : s("", !0)]),
1429
1429
  _: 3
1430
1430
  })]))], 64));
1431
1431
  }
1432
- }), zn = Symbol("uid-menu-close"), Bn = ["aria-expanded", "aria-controls"], Vn = ["id"], Hn = /* @__PURE__ */ f({
1432
+ }), Vn = Symbol("uid-menu-close"), Hn = ["aria-expanded", "aria-controls"], Un = ["id"], Wn = /* @__PURE__ */ f({
1433
1433
  __name: "UidMenu",
1434
1434
  setup(e) {
1435
- let i = w(null), u = w(null), f = w(!1), p = M(), { floatingStyle: m, update: h } = Mn(a(() => i.value?.firstElementChild ?? i.value), u, { placement: "bottom-start" });
1435
+ let i = w(null), u = w(null), f = w(!1), p = M(), { floatingStyle: m, update: h } = Pn(a(() => i.value?.firstElementChild ?? i.value), u, { placement: "bottom-start" });
1436
1436
  function _() {
1437
1437
  return Array.from(u.value?.querySelectorAll("[role=\"menuitem\"]:not([disabled])") ?? []);
1438
1438
  }
1439
1439
  function y() {
1440
1440
  f.value = !1, i.value?.querySelector("button, [tabindex]")?.focus();
1441
1441
  }
1442
- S(zn, y);
1442
+ S(Vn, y);
1443
1443
  async function C() {
1444
1444
  f.value = !f.value, f.value && (await g(), h(), requestAnimationFrame(() => {
1445
1445
  h(), _()[0]?.focus();
@@ -1471,7 +1471,7 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1471
1471
  "aria-controls": j(p),
1472
1472
  onClick: C,
1473
1473
  onKeydown: T
1474
- }, [E(e.$slots, "trigger")], 40, Bn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-menu" }, {
1474
+ }, [E(e.$slots, "trigger")], 40, Hn), (x(), o(n, { to: "body" }, [d(r, { name: "uid-menu" }, {
1475
1475
  default: z(() => [f.value ? (x(), c("div", {
1476
1476
  key: 0,
1477
1477
  id: j(p),
@@ -1481,11 +1481,11 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1481
1481
  role: "menu",
1482
1482
  style: v(j(m)),
1483
1483
  onKeydown: D
1484
- }, [E(e.$slots, "default")], 44, Vn)) : s("", !0)]),
1484
+ }, [E(e.$slots, "default")], 44, Un)) : s("", !0)]),
1485
1485
  _: 3
1486
1486
  })]))], 64));
1487
1487
  }
1488
- }), Un = ["disabled"], Wn = /* @__PURE__ */ f({
1488
+ }), Gn = ["disabled"], Kn = /* @__PURE__ */ f({
1489
1489
  __name: "UidMenuItem",
1490
1490
  props: {
1491
1491
  icon: { default: void 0 },
@@ -1497,7 +1497,7 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1497
1497
  },
1498
1498
  emits: ["click"],
1499
1499
  setup(e, { emit: t }) {
1500
- let n = e, r = t, i = p(zn, () => {});
1500
+ let n = e, r = t, i = p(Vn, () => {});
1501
1501
  function a(e) {
1502
1502
  n.disabled || (r("click", e), i());
1503
1503
  }
@@ -1507,21 +1507,21 @@ var Nn = ["aria-describedby"], Pn = ["id"], Fn = /* @__PURE__ */ f({
1507
1507
  role: "menuitem",
1508
1508
  disabled: e.disabled,
1509
1509
  onClick: a
1510
- }, [E(t.$slots, "default")], 10, Un));
1510
+ }, [E(t.$slots, "default")], 10, Gn));
1511
1511
  }
1512
- }), Gn = (e, t) => {
1512
+ }), qn = (e, t) => {
1513
1513
  let n = e.__vccOpts || e;
1514
1514
  for (let [e, r] of t) n[e] = r;
1515
1515
  return n;
1516
- }, Kn = {}, qn = {
1516
+ }, Jn = {}, Yn = {
1517
1517
  class: "uid-menu-separator",
1518
1518
  role: "separator",
1519
1519
  "aria-hidden": "true"
1520
1520
  };
1521
- function Jn(e, t) {
1522
- return x(), c("div", qn);
1521
+ function Xn(e, t) {
1522
+ return x(), c("div", Yn);
1523
1523
  }
1524
- var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn = ["aria-orientation"], Qn = { class: "uid-tabs__panels" }, $n = /* @__PURE__ */ f({
1524
+ var Zn = /* @__PURE__ */ qn(Jn, [["render", Xn]]), Qn = Symbol("uid-tabs"), $n = ["aria-orientation"], er = { class: "uid-tabs__panels" }, tr = /* @__PURE__ */ f({
1525
1525
  __name: "UidTabs",
1526
1526
  props: /* @__PURE__ */ m({ orientation: { default: "horizontal" } }, {
1527
1527
  modelValue: { required: !0 },
@@ -1530,7 +1530,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1530
1530
  emits: ["update:modelValue"],
1531
1531
  setup(e) {
1532
1532
  let t = N(e, "modelValue");
1533
- return S(Xn, {
1533
+ return S(Qn, {
1534
1534
  activeTab: t,
1535
1535
  setTab: (e) => {
1536
1536
  t.value = e;
@@ -1540,15 +1540,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1540
1540
  class: "uid-tabs__list",
1541
1541
  role: "tablist",
1542
1542
  "aria-orientation": e.orientation
1543
- }, [E(t.$slots, "list")], 8, Zn), l("div", Qn, [E(t.$slots, "default")])], 2));
1543
+ }, [E(t.$slots, "list")], 8, $n), l("div", er, [E(t.$slots, "default")])], 2));
1544
1544
  }
1545
- }), er = [
1545
+ }), nr = [
1546
1546
  "id",
1547
1547
  "aria-selected",
1548
1548
  "aria-controls",
1549
1549
  "disabled",
1550
1550
  "tabindex"
1551
- ], tr = /* @__PURE__ */ f({
1551
+ ], rr = /* @__PURE__ */ f({
1552
1552
  __name: "UidTab",
1553
1553
  props: {
1554
1554
  value: {},
@@ -1558,7 +1558,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1558
1558
  }
1559
1559
  },
1560
1560
  setup(e) {
1561
- let t = e, n = p(Xn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1561
+ let t = e, n = p(Qn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-tab-${t.value}`), o = a(() => `${n.idPrefix}-panel-${t.value}`);
1562
1562
  function s() {
1563
1563
  t.disabled || n.setTab(t.value);
1564
1564
  }
@@ -1587,13 +1587,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1587
1587
  tabindex: r.value ? 0 : -1,
1588
1588
  onClick: s,
1589
1589
  onKeydown: l
1590
- }, [E(t.$slots, "default")], 42, er));
1590
+ }, [E(t.$slots, "default")], 42, nr));
1591
1591
  }
1592
- }), nr = ["id", "aria-labelledby"], rr = /* @__PURE__ */ f({
1592
+ }), ir = ["id", "aria-labelledby"], ar = /* @__PURE__ */ f({
1593
1593
  __name: "UidTabPanel",
1594
1594
  props: { value: {} },
1595
1595
  setup(e) {
1596
- let t = e, n = p(Xn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1596
+ let t = e, n = p(Qn), r = a(() => n.activeTab.value === t.value), i = a(() => `${n.idPrefix}-panel-${t.value}`), o = a(() => `${n.idPrefix}-tab-${t.value}`);
1597
1597
  return (e, t) => r.value ? (x(), c("div", {
1598
1598
  key: 0,
1599
1599
  id: i.value,
@@ -1601,9 +1601,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1601
1601
  role: "tabpanel",
1602
1602
  "aria-labelledby": o.value,
1603
1603
  tabindex: "0"
1604
- }, [E(e.$slots, "default")], 8, nr)) : s("", !0);
1604
+ }, [E(e.$slots, "default")], 8, ir)) : s("", !0);
1605
1605
  }
1606
- }), ir = ["aria-label"], ar = /* @__PURE__ */ f({
1606
+ }), or = ["aria-label"], sr = /* @__PURE__ */ f({
1607
1607
  __name: "UidBreadcrumb",
1608
1608
  props: {
1609
1609
  label: { default: "Навигация" },
@@ -1616,9 +1616,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1616
1616
  }, [l("ol", {
1617
1617
  class: "uid-breadcrumb__list",
1618
1618
  style: v({ "--uid-breadcrumb-sep": `'${e.separator}'` })
1619
- }, [E(t.$slots, "default")], 4)], 8, ir));
1619
+ }, [E(t.$slots, "default")], 4)], 8, or));
1620
1620
  }
1621
- }), or = { class: "uid-breadcrumb__item" }, sr = ["href"], cr = ["aria-current"], lr = /* @__PURE__ */ f({
1621
+ }), cr = { class: "uid-breadcrumb__item" }, lr = ["href"], ur = ["aria-current"], dr = /* @__PURE__ */ f({
1622
1622
  __name: "UidBreadcrumbItem",
1623
1623
  props: {
1624
1624
  href: { default: void 0 },
@@ -1628,17 +1628,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1628
1628
  }
1629
1629
  },
1630
1630
  setup(e) {
1631
- return (t, n) => (x(), c("li", or, [e.href && !e.current ? (x(), c("a", {
1631
+ return (t, n) => (x(), c("li", cr, [e.href && !e.current ? (x(), c("a", {
1632
1632
  key: 0,
1633
1633
  class: "uid-breadcrumb__link",
1634
1634
  href: e.href
1635
- }, [E(t.$slots, "default")], 8, sr)) : (x(), c("span", {
1635
+ }, [E(t.$slots, "default")], 8, lr)) : (x(), c("span", {
1636
1636
  key: 1,
1637
1637
  class: "uid-breadcrumb__current",
1638
1638
  "aria-current": e.current ? "page" : void 0
1639
- }, [E(t.$slots, "default")], 8, cr))]));
1639
+ }, [E(t.$slots, "default")], 8, ur))]));
1640
1640
  }
1641
- }), ur = /* @__PURE__ */ f({
1641
+ }), fr = /* @__PURE__ */ f({
1642
1642
  __name: "UidLink",
1643
1643
  props: {
1644
1644
  href: { default: void 0 },
@@ -1679,18 +1679,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1679
1679
  "tabindex"
1680
1680
  ]));
1681
1681
  }
1682
- }), dr = {
1682
+ }), pr = {
1683
1683
  class: "uid-pagination",
1684
1684
  "aria-label": "Пагинация"
1685
- }, fr = ["disabled", "aria-label"], pr = {
1685
+ }, mr = ["disabled", "aria-label"], hr = {
1686
1686
  key: 0,
1687
1687
  class: "uid-pagination__ellipsis",
1688
1688
  "aria-hidden": "true"
1689
- }, mr = [
1689
+ }, gr = [
1690
1690
  "aria-label",
1691
1691
  "aria-current",
1692
1692
  "onClick"
1693
- ], hr = ["disabled", "aria-label"], gr = /* @__PURE__ */ f({
1693
+ ], _r = ["disabled", "aria-label"], vr = /* @__PURE__ */ f({
1694
1694
  __name: "UidPagination",
1695
1695
  props: /* @__PURE__ */ m({
1696
1696
  total: {},
@@ -1719,7 +1719,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1719
1719
  function p(e) {
1720
1720
  e < 1 || e > s.value || e === i.value || (i.value = e);
1721
1721
  }
1722
- return (n, a) => (x(), c("nav", dr, [
1722
+ return (n, a) => (x(), c("nav", pr, [
1723
1723
  l("button", {
1724
1724
  type: "button",
1725
1725
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1729,15 +1729,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1729
1729
  }, [d(e, {
1730
1730
  icon: j(re),
1731
1731
  size: 16
1732
- }, null, 8, ["icon"])], 8, fr),
1733
- (x(!0), c(t, null, T(f.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", pr, " … ")) : (x(), c("button", {
1732
+ }, null, 8, ["icon"])], 8, mr),
1733
+ (x(!0), c(t, null, T(f.value, (e, n) => (x(), c(t, { key: `${n}-${e}` }, [e === "..." ? (x(), c("span", hr, " … ")) : (x(), c("button", {
1734
1734
  key: 1,
1735
1735
  type: "button",
1736
1736
  class: _(["uid-pagination__btn", { "uid-pagination__btn--active": e === i.value }]),
1737
1737
  "aria-label": j(r).pagination.page(e),
1738
1738
  "aria-current": e === i.value ? "page" : void 0,
1739
1739
  onClick: (t) => p(e)
1740
- }, k(e), 11, mr))], 64))), 128)),
1740
+ }, k(e), 11, gr))], 64))), 128)),
1741
1741
  l("button", {
1742
1742
  type: "button",
1743
1743
  class: "uid-pagination__btn uid-pagination__btn--nav",
@@ -1747,13 +1747,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1747
1747
  }, [d(e, {
1748
1748
  icon: j(X),
1749
1749
  size: 16
1750
- }, null, 8, ["icon"])], 8, hr)
1750
+ }, null, 8, ["icon"])], 8, _r)
1751
1751
  ]));
1752
1752
  }
1753
- }), _r = {
1753
+ }), yr = {
1754
1754
  class: "uid-pagination uid-pagination--cursor",
1755
1755
  "aria-label": "Навигация по страницам"
1756
- }, vr = ["disabled", "aria-label"], yr = ["disabled", "aria-label"], br = /* @__PURE__ */ f({
1756
+ }, br = ["disabled", "aria-label"], xr = ["disabled", "aria-label"], Sr = /* @__PURE__ */ f({
1757
1757
  __name: "UidPaginationCursor",
1758
1758
  props: {
1759
1759
  hasPrev: {
@@ -1770,7 +1770,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1770
1770
  emits: ["prev", "next"],
1771
1771
  setup(t, { emit: n }) {
1772
1772
  let r = n;
1773
- return (n, i) => (x(), c("nav", _r, [l("button", {
1773
+ return (n, i) => (x(), c("nav", yr, [l("button", {
1774
1774
  type: "button",
1775
1775
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1776
1776
  disabled: !t.hasPrev,
@@ -1779,7 +1779,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1779
1779
  }, [d(e, {
1780
1780
  icon: j(re),
1781
1781
  size: 16
1782
- }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, vr), l("button", {
1782
+ }, null, 8, ["icon"]), u(" " + k(t.prevLabel), 1)], 8, br), l("button", {
1783
1783
  type: "button",
1784
1784
  class: "uid-pagination__btn uid-pagination__btn--nav uid-pagination__btn--labeled",
1785
1785
  disabled: !t.hasNext,
@@ -1788,9 +1788,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1788
1788
  }, [u(k(t.nextLabel) + " ", 1), d(e, {
1789
1789
  icon: j(X),
1790
1790
  size: 16
1791
- }, null, 8, ["icon"])], 8, yr)]));
1791
+ }, null, 8, ["icon"])], 8, xr)]));
1792
1792
  }
1793
- }), xr = { class: "uid-load-more" }, Sr = ["disabled"], Cr = /* @__PURE__ */ f({
1793
+ }), Cr = { class: "uid-load-more" }, wr = ["disabled"], Tr = /* @__PURE__ */ f({
1794
1794
  __name: "UidLoadMore",
1795
1795
  props: {
1796
1796
  loading: {
@@ -1806,20 +1806,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1806
1806
  emits: ["load"],
1807
1807
  setup(e, { emit: t }) {
1808
1808
  let n = t;
1809
- return (t, r) => (x(), c("div", xr, [l("button", {
1809
+ return (t, r) => (x(), c("div", Cr, [l("button", {
1810
1810
  type: "button",
1811
1811
  class: "uid-load-more__btn",
1812
1812
  disabled: e.disabled || e.loading,
1813
1813
  onClick: r[0] ||= (e) => n("load")
1814
- }, [e.loading ? (x(), o(Ft, {
1814
+ }, [e.loading ? (x(), o(Lt, {
1815
1815
  key: 0,
1816
1816
  size: "sm"
1817
- })) : s("", !0), l("span", null, k(e.label), 1)], 8, Sr)]));
1817
+ })) : s("", !0), l("span", null, k(e.label), 1)], 8, wr)]));
1818
1818
  }
1819
- }), wr = { class: "uid-infinite-scroll" }, Tr = {
1819
+ }), Er = { class: "uid-infinite-scroll" }, Dr = {
1820
1820
  key: 0,
1821
1821
  class: "uid-infinite-scroll__loader"
1822
- }, Er = /* @__PURE__ */ f({
1822
+ }, Or = /* @__PURE__ */ f({
1823
1823
  __name: "UidInfiniteScroll",
1824
1824
  props: {
1825
1825
  loading: {
@@ -1847,14 +1847,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1847
1847
  e && u();
1848
1848
  }, { immediate: !0 }), R(() => n.disabled, (e) => {
1849
1849
  e ? o() : u();
1850
- }), b(o), (t, n) => (x(), c("div", wr, [e.loading ? (x(), c("div", Tr, [d(Ft, { size: "sm" })])) : s("", !0), l("div", {
1850
+ }), b(o), (t, n) => (x(), c("div", Er, [e.loading ? (x(), c("div", Dr, [d(Lt, { size: "sm" })])) : s("", !0), l("div", {
1851
1851
  ref_key: "sentinelRef",
1852
1852
  ref: i,
1853
1853
  class: "uid-infinite-scroll__sentinel",
1854
1854
  "aria-hidden": "true"
1855
1855
  }, null, 512)]));
1856
1856
  }
1857
- }), Dr = { class: "uid-page-size" }, Or = { class: "uid-page-size__label" }, kr = ["value"], Ar = ["value"], jr = /* @__PURE__ */ f({
1857
+ }), kr = { class: "uid-page-size" }, Ar = { class: "uid-page-size__label" }, jr = ["value"], Mr = ["value"], Nr = /* @__PURE__ */ f({
1858
1858
  __name: "UidPageSize",
1859
1859
  props: /* @__PURE__ */ m({
1860
1860
  options: { default: () => [
@@ -1871,25 +1871,25 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1871
1871
  emits: ["update:modelValue"],
1872
1872
  setup(e) {
1873
1873
  let n = N(e, "modelValue");
1874
- return (r, i) => (x(), c("div", Dr, [l("span", Or, k(e.label), 1), l("select", {
1874
+ return (r, i) => (x(), c("div", kr, [l("span", Ar, k(e.label), 1), l("select", {
1875
1875
  class: "uid-page-size__select",
1876
1876
  value: n.value,
1877
1877
  onChange: i[0] ||= (e) => n.value = Number(e.target.value)
1878
1878
  }, [(x(!0), c(t, null, T(e.options, (e) => (x(), c("option", {
1879
1879
  key: e,
1880
1880
  value: e
1881
- }, k(e), 9, Ar))), 128))], 40, kr)]));
1881
+ }, k(e), 9, Mr))), 128))], 40, jr)]));
1882
1882
  }
1883
- }), Mr = ["role", "tabindex"], Nr = {
1883
+ }), Pr = ["role", "tabindex"], Fr = {
1884
1884
  key: 0,
1885
1885
  class: "uid-card__media"
1886
- }, Pr = {
1886
+ }, Ir = {
1887
1887
  key: 1,
1888
1888
  class: "uid-card__header"
1889
- }, Fr = { class: "uid-card__body" }, Ir = {
1889
+ }, Lr = { class: "uid-card__body" }, Rr = {
1890
1890
  key: 2,
1891
1891
  class: "uid-card__footer"
1892
- }, Lr = /* @__PURE__ */ f({
1892
+ }, zr = /* @__PURE__ */ f({
1893
1893
  __name: "UidCard",
1894
1894
  props: {
1895
1895
  padding: { default: "md" },
@@ -1911,13 +1911,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1911
1911
  onKeydown: i,
1912
1912
  onClick: n[0] ||= (t) => e.clickable && r("click", t)
1913
1913
  }, [
1914
- t.$slots.media ? (x(), c("div", Nr, [E(t.$slots, "media")])) : s("", !0),
1915
- t.$slots.header ? (x(), c("div", Pr, [E(t.$slots, "header")])) : s("", !0),
1916
- l("div", Fr, [E(t.$slots, "default")]),
1917
- t.$slots.footer ? (x(), c("div", Ir, [E(t.$slots, "footer")])) : s("", !0)
1918
- ], 42, Mr));
1914
+ t.$slots.media ? (x(), c("div", Fr, [E(t.$slots, "media")])) : s("", !0),
1915
+ t.$slots.header ? (x(), c("div", Ir, [E(t.$slots, "header")])) : s("", !0),
1916
+ l("div", Lr, [E(t.$slots, "default")]),
1917
+ t.$slots.footer ? (x(), c("div", Rr, [E(t.$slots, "footer")])) : s("", !0)
1918
+ ], 42, Pr));
1919
1919
  }
1920
- }), Rr = ["title", "aria-label"], zr = ["src", "alt"], Br = /* @__PURE__ */ f({
1920
+ }), Br = ["title", "aria-label"], Vr = ["src", "alt"], Hr = /* @__PURE__ */ f({
1921
1921
  __name: "UidAvatar",
1922
1922
  props: {
1923
1923
  src: { default: void 0 },
@@ -1955,26 +1955,26 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1955
1955
  alt: e.alt ?? e.name,
1956
1956
  class: "uid-avatar__img",
1957
1957
  onError: l
1958
- }, null, 40, zr)) : (x(), c("span", {
1958
+ }, null, 40, Vr)) : (x(), c("span", {
1959
1959
  key: 1,
1960
1960
  class: "uid-avatar__initials",
1961
1961
  style: v({ background: s.value }),
1962
1962
  "aria-hidden": "true"
1963
- }, k(r.value), 5))], 10, Rr));
1963
+ }, k(r.value), 5))], 10, Br));
1964
1964
  }
1965
- }), Vr = { class: "uid-avatar-group" }, Hr = ["aria-label"], Ur = /* @__PURE__ */ f({
1965
+ }), Ur = { class: "uid-avatar-group" }, Wr = ["aria-label"], Gr = /* @__PURE__ */ f({
1966
1966
  __name: "UidAvatarGroup",
1967
1967
  props: { max: { default: void 0 } },
1968
1968
  setup(e) {
1969
1969
  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));
1970
- return (e, n) => (x(), c("div", Vr, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1970
+ return (e, n) => (x(), c("div", Ur, [(x(!0), c(t, null, T(l.value, (e, t) => (x(), o(O(e), { key: t }))), 128)), u.value > 0 ? (x(), c("span", {
1971
1971
  key: 0,
1972
1972
  class: "uid-avatar uid-avatar--md uid-avatar--circle uid-avatar-group__overflow",
1973
1973
  "aria-label": `Ещё ${u.value}`,
1974
1974
  role: "img"
1975
- }, " +" + k(u.value), 9, Hr)) : s("", !0)]));
1975
+ }, " +" + k(u.value), 9, Wr)) : s("", !0)]));
1976
1976
  }
1977
- }), Wr = ["aria-label"], Gr = /* @__PURE__ */ f({
1977
+ }), Kr = ["aria-label"], qr = /* @__PURE__ */ f({
1978
1978
  __name: "UidTag",
1979
1979
  props: {
1980
1980
  variant: { default: "default" },
@@ -1994,14 +1994,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
1994
1994
  "aria-label": j(r).common.clear,
1995
1995
  onClick: a[0] ||= H((e) => i("dismiss"), ["stop"])
1996
1996
  }, [d(e, {
1997
- icon: j(_e),
1997
+ icon: j(ye),
1998
1998
  size: 10
1999
- }, null, 8, ["icon"])], 8, Wr)) : s("", !0)], 2));
1999
+ }, null, 8, ["icon"])], 8, Kr)) : s("", !0)], 2));
2000
2000
  }
2001
- }), Kr = {
2001
+ }), Jr = {
2002
2002
  key: 0,
2003
2003
  class: "uid-divider__label"
2004
- }, qr = /* @__PURE__ */ f({
2004
+ }, Yr = /* @__PURE__ */ f({
2005
2005
  __name: "UidDivider",
2006
2006
  props: {
2007
2007
  label: { default: void 0 },
@@ -2011,9 +2011,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2011
2011
  return (t, n) => (x(), c("div", {
2012
2012
  class: _(["uid-divider", `uid-divider--${e.orientation}`]),
2013
2013
  role: "separator"
2014
- }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Kr, k(e.label), 1)) : s("", !0)], 2));
2014
+ }, [e.label && e.orientation === "horizontal" ? (x(), c("span", Jr, k(e.label), 1)) : s("", !0)], 2));
2015
2015
  }
2016
- }), Jr = Symbol("uid-accordion"), Yr = { class: "uid-accordion" }, Xr = /* @__PURE__ */ f({
2016
+ }), Xr = Symbol("uid-accordion"), Zr = { class: "uid-accordion" }, Qr = /* @__PURE__ */ f({
2017
2017
  __name: "UidAccordion",
2018
2018
  props: /* @__PURE__ */ m({ multiple: {
2019
2019
  type: Boolean,
@@ -2038,15 +2038,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2038
2038
  r.has(e) ? r.delete(e) : r.add(e), t.value = [...r];
2039
2039
  } else t.value = n === e ? "" : e;
2040
2040
  }
2041
- return S(Jr, {
2041
+ return S(Xr, {
2042
2042
  isOpen: r,
2043
2043
  toggle: i
2044
- }), (e, t) => (x(), c("div", Yr, [E(e.$slots, "default")]));
2044
+ }), (e, t) => (x(), c("div", Zr, [E(e.$slots, "default")]));
2045
2045
  }
2046
- }), Zr = ["aria-expanded", "disabled"], Qr = { class: "uid-accordion-item__title" }, $r = {
2046
+ }), $r = ["aria-expanded", "disabled"], ei = { class: "uid-accordion-item__title" }, ti = {
2047
2047
  class: "uid-accordion-item__chevron",
2048
2048
  "aria-hidden": "true"
2049
- }, ei = ["hidden"], ti = { class: "uid-accordion-item__body-inner" }, ni = /* @__PURE__ */ f({
2049
+ }, ni = ["hidden"], ri = { class: "uid-accordion-item__body-inner" }, ii = /* @__PURE__ */ f({
2050
2050
  __name: "UidAccordionItem",
2051
2051
  props: {
2052
2052
  value: {},
@@ -2057,7 +2057,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2057
2057
  }
2058
2058
  },
2059
2059
  setup(t) {
2060
- let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Jr), f = a(() => s.isOpen(n.value));
2060
+ let n = t, r = M(), i = `${r}-header`, o = `${r}-panel`, s = p(Xr), f = a(() => s.isOpen(n.value));
2061
2061
  function m() {
2062
2062
  n.disabled || s.toggle(n.value);
2063
2063
  }
@@ -2072,28 +2072,28 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2072
2072
  "aria-controls": o,
2073
2073
  disabled: t.disabled || void 0,
2074
2074
  onClick: m
2075
- }, [l("span", Qr, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", $r, [d(e, {
2075
+ }, [l("span", ei, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), l("span", ti, [d(e, {
2076
2076
  icon: j(Y),
2077
2077
  size: 16
2078
- }, null, 8, ["icon"])])], 8, Zr), l("div", {
2078
+ }, null, 8, ["icon"])])], 8, $r), l("div", {
2079
2079
  id: o,
2080
2080
  class: "uid-accordion-item__body",
2081
2081
  role: "region",
2082
2082
  "aria-labelledby": i,
2083
2083
  hidden: !f.value
2084
- }, [l("div", ti, [E(n.$slots, "default")])], 8, ei)], 2));
2084
+ }, [l("div", ri, [E(n.$slots, "default")])], 8, ni)], 2));
2085
2085
  }
2086
- }), ri = { class: "uid-table-scroll" }, ii = { class: "uid-table__head" }, ai = {
2086
+ }), ai = { class: "uid-table-scroll" }, oi = { class: "uid-table__head" }, si = {
2087
2087
  key: 0,
2088
2088
  class: "uid-table__th uid-table__th--select",
2089
2089
  scope: "col"
2090
- }, oi = [
2090
+ }, ci = [
2091
2091
  "tabindex",
2092
2092
  "role",
2093
2093
  "aria-sort",
2094
2094
  "onClick",
2095
2095
  "onKeydown"
2096
- ], si = { class: "uid-table__th-content" }, ci = { class: "uid-table__body" }, li = { key: 0 }, ui = ["colspan"], di = { key: 1 }, fi = ["colspan"], pi = ["onClick"], mi = /* @__PURE__ */ f({
2096
+ ], li = { class: "uid-table__th-content" }, ui = { class: "uid-table__body" }, di = { key: 0 }, fi = ["colspan"], pi = { key: 1 }, mi = ["colspan"], hi = ["onClick"], gi = /* @__PURE__ */ f({
2097
2097
  __name: "UidTable",
2098
2098
  props: {
2099
2099
  columns: {},
@@ -2155,7 +2155,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2155
2155
  t ? n.add(r) : n.delete(r), f("update:selection", n);
2156
2156
  }
2157
2157
  let O = a(() => !i.loading && i.data.length === 0);
2158
- return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", ri, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", ii, [l("tr", null, [n.selectable ? (x(), c("th", ai, [d(ut, {
2158
+ return (r, i) => (x(), c("div", { class: _(["uid-table-wrap", { "uid-table-wrap--bordered": n.bordered }]) }, [l("div", ai, [l("table", { class: _(["uid-table", { "uid-table--striped": n.striped }]) }, [l("thead", oi, [l("tr", null, [n.selectable ? (x(), c("th", si, [d(ft, {
2159
2159
  "model-value": h.value,
2160
2160
  indeterminate: y.value,
2161
2161
  "aria-label": "Выделить всё",
@@ -2173,18 +2173,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2173
2173
  "aria-sort": C(t),
2174
2174
  onClick: (e) => b(t),
2175
2175
  onKeydown: [V(H((e) => b(t), ["prevent"]), ["enter"]), V(H((e) => b(t), ["prevent"]), ["space"])]
2176
- }, [l("span", si, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
2176
+ }, [l("span", li, [u(k(t.label) + " ", 1), t.sortable ? (x(), o(e, {
2177
2177
  key: 0,
2178
2178
  icon: S(t),
2179
2179
  size: 14,
2180
2180
  class: "uid-table__sort-icon"
2181
- }, null, 8, ["icon"])) : s("", !0)])], 46, oi))), 128))])]), l("tbody", ci, [n.loading ? (x(), c("tr", li, [l("td", {
2181
+ }, null, 8, ["icon"])) : s("", !0)])], 46, ci))), 128))])]), l("tbody", ui, [n.loading ? (x(), c("tr", di, [l("td", {
2182
2182
  colspan: m.value,
2183
2183
  class: "uid-table__td uid-table__td--center"
2184
- }, [d(Ft, { size: "md" })], 8, ui)])) : O.value ? (x(), c("tr", di, [l("td", {
2184
+ }, [d(Lt, { size: "md" })], 8, fi)])) : O.value ? (x(), c("tr", pi, [l("td", {
2185
2185
  colspan: m.value,
2186
2186
  class: "uid-table__td uid-table__td--empty"
2187
- }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, fi)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, a) => (x(), c("tr", {
2187
+ }, [E(r.$slots, "empty", {}, () => [u(k(n.emptyText), 1)])], 8, mi)])) : (x(!0), c(t, { key: 2 }, T(n.data, (e, a) => (x(), c("tr", {
2188
2188
  key: a,
2189
2189
  class: _(["uid-table__row", { "uid-table__row--selected": n.selectable && n.selection.has(p(e)) }]),
2190
2190
  onClick: (t) => f("row-click", e)
@@ -2192,7 +2192,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2192
2192
  key: 0,
2193
2193
  class: "uid-table__td uid-table__td--select",
2194
2194
  onClick: i[0] ||= H(() => {}, ["stop"])
2195
- }, [d(ut, {
2195
+ }, [d(ft, {
2196
2196
  "model-value": n.selection.has(p(e)),
2197
2197
  "aria-label": `Строка ${p(e)}`,
2198
2198
  "onUpdate:modelValue": (t) => D(e, t)
@@ -2203,28 +2203,28 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2203
2203
  ])])) : s("", !0), (x(!0), c(t, null, T(n.columns, (t) => (x(), c("td", {
2204
2204
  key: t.key,
2205
2205
  class: _(["uid-table__td", `uid-table__td--${t.align ?? "left"}`])
2206
- }, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, pi))), 128))])], 2)])], 2));
2206
+ }, [E(r.$slots, t.key, { row: e }, () => [u(k(e[t.key]), 1)])], 2))), 128))], 10, hi))), 128))])], 2)])], 2));
2207
2207
  }
2208
- }), hi = [
2208
+ }), _i = [
2209
2209
  "aria-expanded",
2210
2210
  "aria-controls",
2211
2211
  "aria-disabled"
2212
- ], gi = { class: "uid-select__suffix" }, _i = ["aria-label"], vi = {
2212
+ ], vi = { class: "uid-select__suffix" }, yi = ["aria-label"], bi = {
2213
2213
  key: 0,
2214
2214
  class: "uid-select__search"
2215
- }, yi = ["placeholder"], bi = ["id"], xi = {
2215
+ }, xi = ["placeholder"], Si = ["id"], Ci = {
2216
2216
  key: 0,
2217
2217
  class: "uid-select__group-label"
2218
- }, Si = [
2218
+ }, wi = [
2219
2219
  "data-active",
2220
2220
  "aria-selected",
2221
2221
  "aria-disabled",
2222
2222
  "onClick",
2223
2223
  "onMouseenter"
2224
- ], Ci = {
2224
+ ], Ti = {
2225
2225
  key: 1,
2226
2226
  class: "uid-select__empty"
2227
- }, wi = /* @__PURE__ */ f({
2227
+ }, Ei = /* @__PURE__ */ f({
2228
2228
  __name: "UidSelect",
2229
2229
  props: /* @__PURE__ */ m({
2230
2230
  options: {},
@@ -2248,7 +2248,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2248
2248
  }),
2249
2249
  emits: /* @__PURE__ */ m(["change"], ["update:modelValue"]),
2250
2250
  setup(i, { emit: u }) {
2251
- let f = i, p = $(), m = a(() => f.placeholder ?? p.value.select.placeholder), h = u, y = N(i, "modelValue"), S = w(!1), C = w(""), E = w(0), D = w(null), O = w(null), A = w(null), P = w(null), F = w(null), L = M(), { floatingStyle: V, update: H } = Mn(O, A, {
2251
+ let f = i, p = $(), m = a(() => f.placeholder ?? p.value.select.placeholder), h = u, y = N(i, "modelValue"), S = w(!1), C = w(""), E = w(0), D = w(null), O = w(null), A = w(null), P = w(null), F = w(null), L = M(), { floatingStyle: V, update: H } = Pn(O, A, {
2252
2252
  placement: "bottom-start",
2253
2253
  offset: 4
2254
2254
  }), U = w(0);
@@ -2340,28 +2340,28 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2340
2340
  "aria-disabled": i.disabled,
2341
2341
  onClick: re,
2342
2342
  onKeydown: oe
2343
- }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div", gi, [i.clearable && y.value !== null ? (x(), c("button", {
2343
+ }, [l("span", { class: _(["uid-select__value", { "uid-select__value--placeholder": !ee.value }]) }, k(ee.value?.label ?? m.value), 3), l("div", vi, [i.clearable && y.value !== null ? (x(), c("button", {
2344
2344
  key: 0,
2345
2345
  type: "button",
2346
2346
  class: "uid-select__clear",
2347
2347
  "aria-label": j(p).common.clear,
2348
2348
  onClick: ie
2349
2349
  }, [d(e, {
2350
- icon: j(_e),
2350
+ icon: j(ye),
2351
2351
  size: 12
2352
- }, null, 8, ["icon"])], 8, _i)) : s("", !0), d(e, {
2352
+ }, null, 8, ["icon"])], 8, yi)) : s("", !0), d(e, {
2353
2353
  icon: j(Y),
2354
2354
  size: 16,
2355
2355
  class: _(["uid-select__chevron", { "uid-select__chevron--open": S.value }]),
2356
2356
  "aria-hidden": "true"
2357
- }, null, 8, ["icon", "class"])])], 40, hi), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
2357
+ }, null, 8, ["icon", "class"])])], 40, _i), (x(), o(n, { to: "body" }, [d(r, { name: "uid-select-dropdown" }, {
2358
2358
  default: z(() => [S.value ? (x(), c("div", {
2359
2359
  key: 0,
2360
2360
  ref_key: "dropdownRef",
2361
2361
  ref: A,
2362
2362
  class: "uid-select__dropdown",
2363
2363
  style: v(G.value)
2364
- }, [i.searchable ? (x(), c("div", vi, [B(l("input", {
2364
+ }, [i.searchable ? (x(), c("div", bi, [B(l("input", {
2365
2365
  ref_key: "searchRef",
2366
2366
  ref: F,
2367
2367
  "onUpdate:modelValue": u[0] ||= (e) => C.value = e,
@@ -2370,14 +2370,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2370
2370
  placeholder: j(p).common.search,
2371
2371
  autocomplete: "off",
2372
2372
  onKeydown: se
2373
- }, null, 40, yi), [[I, C.value]])])) : s("", !0), l("div", {
2373
+ }, null, 40, xi), [[I, C.value]])])) : s("", !0), l("div", {
2374
2374
  id: j(L),
2375
2375
  ref_key: "listRef",
2376
2376
  ref: P,
2377
2377
  class: "uid-select__list",
2378
2378
  role: "listbox",
2379
2379
  onKeydown: se
2380
- }, [K.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(te.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", xi, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2380
+ }, [K.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(te.value, ([n, r]) => (x(), c(t, { key: n }, [n ? (x(), c("div", Ci, k(n), 1)) : s("", !0), (x(!0), c(t, null, T(r, (t) => (x(), c("button", {
2381
2381
  key: t.value,
2382
2382
  type: "button",
2383
2383
  class: _(["uid-select__option", {
@@ -2397,27 +2397,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2397
2397
  size: 14,
2398
2398
  "aria-hidden": "true",
2399
2399
  class: "uid-select__check"
2400
- }, null, 8, ["icon"])) : s("", !0)], 42, Si))), 128))], 64))), 128)) : (x(), c("div", Ci, k(j(p).select.noResults), 1))], 40, bi)], 4)) : s("", !0)]),
2400
+ }, null, 8, ["icon"])) : s("", !0)], 42, wi))), 128))], 64))), 128)) : (x(), c("div", Ti, k(j(p).select.noResults), 1))], 40, Si)], 4)) : s("", !0)]),
2401
2401
  _: 1
2402
2402
  })]))], 2));
2403
2403
  }
2404
- }), Ti = [
2404
+ }), Di = [
2405
2405
  "aria-expanded",
2406
2406
  "aria-label",
2407
2407
  "aria-disabled"
2408
- ], Ei = { class: "uid-datepicker__suffix" }, Di = ["aria-label"], Oi = {
2408
+ ], Oi = { class: "uid-datepicker__suffix" }, ki = ["aria-label"], Ai = {
2409
2409
  key: 0,
2410
2410
  class: "uid-datepicker__panel",
2411
2411
  role: "dialog",
2412
2412
  "aria-label": "Выбор даты"
2413
- }, ki = { class: "uid-datepicker__nav" }, Ai = ["aria-label"], ji = { class: "uid-datepicker__month-label" }, Mi = ["aria-label"], Ni = [
2413
+ }, ji = { class: "uid-datepicker__nav" }, Mi = ["aria-label"], Ni = { class: "uid-datepicker__month-label" }, Pi = ["aria-label"], Fi = [
2414
2414
  "data-iso",
2415
2415
  "tabindex",
2416
2416
  "disabled",
2417
2417
  "aria-current",
2418
2418
  "aria-selected",
2419
2419
  "onClick"
2420
- ], Pi = /* @__PURE__ */ f({
2420
+ ], Ii = /* @__PURE__ */ f({
2421
2421
  __name: "UidDatePicker",
2422
2422
  props: /* @__PURE__ */ m({
2423
2423
  min: { default: void 0 },
@@ -2585,19 +2585,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2585
2585
  "aria-disabled": n.disabled,
2586
2586
  onClick: ee,
2587
2587
  onKeydown: ie
2588
- }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", Ei, [m.value ? (x(), c("button", {
2588
+ }, [l("span", { class: _(["uid-datepicker__value", { "uid-datepicker__value--placeholder": !m.value }]) }, k(m.value ? F.value : u.value), 3), l("div", Oi, [m.value ? (x(), c("button", {
2589
2589
  key: 0,
2590
2590
  type: "button",
2591
2591
  class: "uid-datepicker__clear",
2592
2592
  "aria-label": j(o).common.clear,
2593
2593
  onClick: q
2594
- }, " × ", 8, Di)) : s("", !0), d(e, {
2594
+ }, " × ", 8, ki)) : s("", !0), d(e, {
2595
2595
  icon: j(Y),
2596
2596
  size: 16,
2597
2597
  class: _(["uid-datepicker__chevron", { "uid-datepicker__chevron--open": h.value }]),
2598
2598
  "aria-hidden": "true"
2599
- }, null, 8, ["icon", "class"])])], 40, Ti), d(r, { name: "uid-datepicker-panel" }, {
2600
- default: z(() => [h.value ? (x(), c("div", Oi, [l("div", ki, [
2599
+ }, null, 8, ["icon", "class"])])], 40, Di), d(r, { name: "uid-datepicker-panel" }, {
2600
+ default: z(() => [h.value ? (x(), c("div", Ai, [l("div", ji, [
2601
2601
  l("button", {
2602
2602
  type: "button",
2603
2603
  class: "uid-datepicker__nav-btn",
@@ -2606,8 +2606,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2606
2606
  }, [d(e, {
2607
2607
  icon: j(re),
2608
2608
  size: 16
2609
- }, null, 8, ["icon"])], 8, Ai),
2610
- l("span", ji, k(f.value[O.value]) + " " + k(D.value), 1),
2609
+ }, null, 8, ["icon"])], 8, Mi),
2610
+ l("span", Ni, k(f.value[O.value]) + " " + k(D.value), 1),
2611
2611
  l("button", {
2612
2612
  type: "button",
2613
2613
  class: "uid-datepicker__nav-btn",
@@ -2616,7 +2616,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2616
2616
  }, [d(e, {
2617
2617
  icon: j(X),
2618
2618
  size: 16
2619
- }, null, 8, ["icon"])], 8, Mi)
2619
+ }, null, 8, ["icon"])], 8, Pi)
2620
2620
  ]), l("div", {
2621
2621
  ref_key: "gridRef",
2622
2622
  ref: S,
@@ -2640,11 +2640,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2640
2640
  "aria-current": e.iso === L.value ? "date" : void 0,
2641
2641
  "aria-selected": e.iso === m.value,
2642
2642
  onClick: (t) => K(e)
2643
- }, k(e.date.getDate()), 11, Ni))), 128))], 544)])) : s("", !0)]),
2643
+ }, k(e.date.getDate()), 11, Fi))), 128))], 544)])) : s("", !0)]),
2644
2644
  _: 1
2645
2645
  })], 2));
2646
2646
  }
2647
- }), Fi = /* @__PURE__ */ f({
2647
+ }), Li = /* @__PURE__ */ f({
2648
2648
  __name: "UidVirtualList",
2649
2649
  props: {
2650
2650
  items: {},
@@ -2686,17 +2686,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2686
2686
  index: r
2687
2687
  })], 4))), 128))], 4)], 4)], 36));
2688
2688
  }
2689
- }), Ii = {
2689
+ }), Ri = {
2690
2690
  key: 0,
2691
2691
  class: "uid-slider__header"
2692
- }, Li = {
2692
+ }, zi = {
2693
2693
  key: 0,
2694
2694
  class: "uid-slider__label"
2695
- }, Ri = {
2695
+ }, Bi = {
2696
2696
  key: 1,
2697
2697
  class: "uid-slider__value",
2698
2698
  "aria-live": "polite"
2699
- }, zi = [
2699
+ }, Vi = [
2700
2700
  "min",
2701
2701
  "max",
2702
2702
  "step",
@@ -2705,7 +2705,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2705
2705
  "aria-valuemin",
2706
2706
  "aria-valuemax",
2707
2707
  "aria-valuenow"
2708
- ], Bi = /* @__PURE__ */ f({
2708
+ ], Hi = /* @__PURE__ */ f({
2709
2709
  __name: "UidSlider",
2710
2710
  props: /* @__PURE__ */ m({
2711
2711
  min: { default: 0 },
@@ -2731,7 +2731,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2731
2731
  emits: ["update:modelValue"],
2732
2732
  setup(e) {
2733
2733
  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));
2734
- return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", Ii, [e.label ? (x(), c("label", Li, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", Ri, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
2734
+ return (t, a) => (x(), c("div", { class: _(["uid-slider", { "uid-slider--disabled": e.disabled }]) }, [e.label || e.showValue ? (x(), c("div", Ri, [e.label ? (x(), c("label", zi, k(e.label), 1)) : s("", !0), e.showValue ? (x(), c("span", Bi, k(i.value), 1)) : s("", !0)])) : s("", !0), B(l("input", {
2735
2735
  "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
2736
2736
  class: "uid-slider__input",
2737
2737
  type: "range",
@@ -2744,22 +2744,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2744
2744
  "aria-valuemax": e.max,
2745
2745
  "aria-valuenow": n.value,
2746
2746
  style: v({ "--_fill": `${r.value}%` })
2747
- }, null, 12, zi), [[
2747
+ }, null, 12, Vi), [[
2748
2748
  I,
2749
2749
  n.value,
2750
2750
  void 0,
2751
2751
  { number: !0 }
2752
2752
  ]])], 2));
2753
2753
  }
2754
- }), Vi = ["aria-expanded", "aria-disabled"], Hi = {
2754
+ }), Ui = ["aria-expanded", "aria-disabled"], Wi = {
2755
2755
  key: 0,
2756
2756
  class: "uid-colorpicker__panel",
2757
2757
  role: "dialog",
2758
2758
  "aria-label": "Выбор цвета"
2759
- }, Ui = { class: "uid-colorpicker__controls" }, Wi = { class: "uid-colorpicker__sliders" }, Gi = ["aria-valuenow"], Ki = ["aria-valuenow"], qi = { class: "uid-colorpicker__inputs" }, Ji = ["value"], Yi = {
2759
+ }, Gi = { class: "uid-colorpicker__controls" }, Ki = { class: "uid-colorpicker__sliders" }, qi = ["aria-valuenow"], Ji = ["aria-valuenow"], Yi = { class: "uid-colorpicker__inputs" }, Xi = ["value"], Zi = {
2760
2760
  key: 0,
2761
2761
  class: "uid-colorpicker__presets"
2762
- }, Xi = ["aria-label", "onClick"], Zi = /* @__PURE__ */ f({
2762
+ }, Qi = ["aria-label", "onClick"], $i = /* @__PURE__ */ f({
2763
2763
  __name: "UidColorPicker",
2764
2764
  props: /* @__PURE__ */ m({
2765
2765
  disabled: {
@@ -2950,8 +2950,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2950
2950
  }, [l("span", {
2951
2951
  class: "uid-colorpicker__swatch",
2952
2952
  style: v(u.value ? { background: u.value } : {})
2953
- }, 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" }, {
2954
- default: z(() => [g.value ? (x(), c("div", Hi, [
2953
+ }, null, 4), l("span", { class: _(["uid-colorpicker__trigger-label", { "uid-colorpicker__trigger-label--empty": !u.value }]) }, k(u.value ? u.value.toUpperCase() : "Выберите цвет"), 3)], 8, Ui), d(r, { name: "uid-colorpicker-panel" }, {
2954
+ default: z(() => [g.value ? (x(), c("div", Wi, [
2955
2955
  l("div", {
2956
2956
  ref_key: "gradientRef",
2957
2957
  ref: S,
@@ -2971,7 +2971,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2971
2971
  top: W.value
2972
2972
  })
2973
2973
  }, null, 4)], 36),
2974
- l("div", Ui, [l("div", Wi, [l("div", {
2974
+ l("div", Gi, [l("div", Ki, [l("div", {
2975
2975
  ref_key: "hueSliderRef",
2976
2976
  ref: C,
2977
2977
  class: "uid-colorpicker__hue-track",
@@ -2988,7 +2988,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
2988
2988
  }, [l("div", {
2989
2989
  class: "uid-colorpicker__track-thumb",
2990
2990
  style: v({ left: G.value })
2991
- }, null, 4)], 40, Gi), e.alpha ? (x(), c("div", {
2991
+ }, null, 4)], 40, qi), e.alpha ? (x(), c("div", {
2992
2992
  key: 0,
2993
2993
  ref_key: "alphaSliderRef",
2994
2994
  ref: E,
@@ -3007,11 +3007,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3007
3007
  }, [l("div", {
3008
3008
  class: "uid-colorpicker__track-thumb",
3009
3009
  style: v({ left: ee.value })
3010
- }, null, 4)], 44, Ki)) : s("", !0)]), l("span", {
3010
+ }, null, 4)], 44, Ji)) : s("", !0)]), l("span", {
3011
3011
  class: "uid-colorpicker__preview",
3012
3012
  style: v({ background: q.value })
3013
3013
  }, null, 4)]),
3014
- l("div", qi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
3014
+ l("div", Yi, [i[0] ||= l("label", { class: "uid-colorpicker__input-label" }, "HEX", -1), l("input", {
3015
3015
  class: "uid-colorpicker__hex-input",
3016
3016
  type: "text",
3017
3017
  value: D.value,
@@ -3020,37 +3020,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3020
3020
  onInput: ue,
3021
3021
  onBlur: de,
3022
3022
  onKeydown: fe
3023
- }, null, 40, Ji)]),
3024
- e.presets && e.presets.length ? (x(), c("div", Yi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
3023
+ }, null, 40, Xi)]),
3024
+ e.presets && e.presets.length ? (x(), c("div", Zi, [(x(!0), c(t, null, T(e.presets, (e) => (x(), c("button", {
3025
3025
  key: e,
3026
3026
  type: "button",
3027
3027
  class: _(["uid-colorpicker__preset", { "uid-colorpicker__preset--active": u.value === e || u.value === e.toLowerCase() || u.value?.toUpperCase() === e.toUpperCase() }]),
3028
3028
  style: v({ background: e }),
3029
3029
  "aria-label": e,
3030
3030
  onClick: (t) => _e(e)
3031
- }, null, 14, Xi))), 128))])) : s("", !0)
3031
+ }, null, 14, Qi))), 128))])) : s("", !0)
3032
3032
  ])) : s("", !0)]),
3033
3033
  _: 1
3034
3034
  })], 2));
3035
3035
  }
3036
- }), Qi = { class: "uid-command__search" }, $i = ["placeholder"], ea = {
3036
+ }), ea = { class: "uid-command__search" }, ta = ["placeholder"], na = {
3037
3037
  key: 0,
3038
3038
  class: "uid-command__group-label"
3039
- }, ta = [
3039
+ }, ra = [
3040
3040
  "data-active",
3041
3041
  "aria-selected",
3042
3042
  "onClick",
3043
3043
  "onMouseenter"
3044
- ], na = { class: "uid-command__item-text" }, ra = { class: "uid-command__item-label" }, ia = {
3044
+ ], ia = { class: "uid-command__item-text" }, aa = { class: "uid-command__item-label" }, oa = {
3045
3045
  key: 0,
3046
3046
  class: "uid-command__item-desc"
3047
- }, aa = {
3047
+ }, sa = {
3048
3048
  key: 0,
3049
3049
  class: "uid-command__item-shortcut"
3050
- }, oa = {
3050
+ }, ca = {
3051
3051
  key: 1,
3052
3052
  class: "uid-command__empty"
3053
- }, sa = /* @__PURE__ */ f({
3053
+ }, la = /* @__PURE__ */ f({
3054
3054
  __name: "UidCommand",
3055
3055
  props: /* @__PURE__ */ m({
3056
3056
  commands: {},
@@ -3065,7 +3065,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3065
3065
  }),
3066
3066
  emits: ["update:modelValue"],
3067
3067
  setup(i) {
3068
- 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 } = pn(h), { lock: D, unlock: O } = hn(), A = a(() => {
3068
+ 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 } = hn(h), { lock: D, unlock: O } = _n(), A = a(() => {
3069
3069
  let e = p.value.trim().toLowerCase();
3070
3070
  return e ? u.commands.filter((t) => t.label.toLowerCase().includes(e) || t.description?.toLowerCase().includes(e)) : u.commands;
3071
3071
  }), M = a(() => {
@@ -3120,8 +3120,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3120
3120
  "aria-modal": "true",
3121
3121
  "aria-label": "Палитра команд",
3122
3122
  onKeydown: V
3123
- }, [l("div", Qi, [d(e, {
3124
- icon: j(fe),
3123
+ }, [l("div", ea, [d(e, {
3124
+ icon: j(me),
3125
3125
  size: 16,
3126
3126
  class: "uid-command__search-icon",
3127
3127
  "aria-hidden": "true"
@@ -3135,12 +3135,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3135
3135
  autocomplete: "off",
3136
3136
  spellcheck: "false",
3137
3137
  "aria-autocomplete": "list"
3138
- }, null, 8, $i), [[I, p.value]])]), l("div", {
3138
+ }, null, 8, ta), [[I, p.value]])]), l("div", {
3139
3139
  ref_key: "listRef",
3140
3140
  ref: S,
3141
3141
  class: "uid-command__list",
3142
3142
  role: "listbox"
3143
- }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", ea, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
3143
+ }, [A.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(M.value, ([e, n]) => (x(), c(t, { key: e }, [e ? (x(), c("div", na, k(e), 1)) : s("", !0), (x(!0), c(t, null, T(n, (e) => (x(), c("button", {
3144
3144
  key: e.id,
3145
3145
  class: _(["uid-command__item", { "uid-command__item--active": A.value.indexOf(e) === m.value }]),
3146
3146
  "data-active": A.value.indexOf(e) === m.value ? "true" : void 0,
@@ -3149,18 +3149,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3149
3149
  type: "button",
3150
3150
  onClick: (t) => F(e),
3151
3151
  onMouseenter: (t) => m.value = A.value.indexOf(e)
3152
- }, [l("div", na, [l("span", ra, k(e.label), 1), e.description ? (x(), c("span", ia, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", aa, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
3152
+ }, [l("div", ia, [l("span", aa, k(e.label), 1), e.description ? (x(), c("span", oa, k(e.description), 1)) : s("", !0)]), e.shortcut ? (x(), c("div", sa, [(x(!0), c(t, null, T(e.shortcut, (e) => (x(), c("kbd", {
3153
3153
  key: e,
3154
3154
  class: "uid-command__kbd"
3155
- }, k(e), 1))), 128))])) : s("", !0)], 42, ta))), 128))], 64))), 128)) : (x(), c("div", oa, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
3155
+ }, k(e), 1))), 128))])) : s("", !0)], 42, ra))), 128))], 64))), 128)) : (x(), c("div", ca, k(i.emptyText), 1))], 512)], 544)])) : s("", !0)]),
3156
3156
  _: 1
3157
3157
  })]));
3158
3158
  }
3159
- }), ca = ["for"], la = {
3159
+ }), ua = ["for"], da = {
3160
3160
  key: 0,
3161
3161
  class: "uid-number-input__required",
3162
3162
  "aria-hidden": "true"
3163
- }, ua = { class: "uid-number-input__control" }, da = ["disabled", "aria-label"], fa = [
3163
+ }, fa = { class: "uid-number-input__control" }, pa = ["disabled", "aria-label"], ma = [
3164
3164
  "id",
3165
3165
  "name",
3166
3166
  "placeholder",
@@ -3173,7 +3173,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3173
3173
  "value",
3174
3174
  "aria-invalid",
3175
3175
  "aria-describedby"
3176
- ], pa = ["disabled", "aria-label"], ma = ["id"], ha = /* @__PURE__ */ f({
3176
+ ], ha = ["disabled", "aria-label"], ga = ["id"], _a = /* @__PURE__ */ f({
3177
3177
  __name: "UidNumberInput",
3178
3178
  props: /* @__PURE__ */ m({
3179
3179
  min: { default: void 0 },
@@ -3266,8 +3266,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3266
3266
  key: 0,
3267
3267
  for: j(h),
3268
3268
  class: "uid-number-input__label"
3269
- }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", la, "*")) : s("", !0)], 8, ca)) : s("", !0),
3270
- l("div", ua, [
3269
+ }, [u(k(t.label) + " ", 1), t.required ? (x(), c("span", da, "*")) : s("", !0)], 8, ua)) : s("", !0),
3270
+ l("div", fa, [
3271
3271
  t.controls ? (x(), c("button", {
3272
3272
  key: 0,
3273
3273
  type: "button",
@@ -3277,9 +3277,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3277
3277
  tabindex: "-1",
3278
3278
  onClick: E
3279
3279
  }, [d(e, {
3280
- icon: j(ue),
3280
+ icon: j(fe),
3281
3281
  size: 14
3282
- }, null, 8, ["icon"])], 8, da)) : s("", !0),
3282
+ }, null, 8, ["icon"])], 8, pa)) : s("", !0),
3283
3283
  l("input", {
3284
3284
  id: j(h),
3285
3285
  class: "uid-number-input__input",
@@ -3300,7 +3300,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3300
3300
  onBlur: O,
3301
3301
  onFocus: r[0] ||= (e) => i("focus", e),
3302
3302
  onKeydown: A
3303
- }, null, 40, fa),
3303
+ }, null, 40, ma),
3304
3304
  t.controls ? (x(), c("button", {
3305
3305
  key: 1,
3306
3306
  type: "button",
@@ -3310,39 +3310,39 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3310
3310
  tabindex: "-1",
3311
3311
  onClick: T
3312
3312
  }, [d(e, {
3313
- icon: j(de),
3313
+ icon: j(pe),
3314
3314
  size: 14
3315
- }, null, 8, ["icon"])], 8, pa)) : s("", !0)
3315
+ }, null, 8, ["icon"])], 8, ha)) : s("", !0)
3316
3316
  ]),
3317
3317
  v.value ? (x(), c("p", {
3318
3318
  key: 1,
3319
3319
  id: `${j(h)}-hint`,
3320
3320
  class: _(["uid-number-input__hint", g.value && "uid-number-input__hint--error"])
3321
- }, k(v.value), 11, ma)) : s("", !0)
3321
+ }, k(v.value), 11, ga)) : s("", !0)
3322
3322
  ], 2));
3323
3323
  }
3324
- }), ga = [
3324
+ }), va = [
3325
3325
  "aria-expanded",
3326
3326
  "aria-label",
3327
3327
  "aria-disabled"
3328
- ], _a = ["aria-label"], va = {
3328
+ ], ya = ["aria-label"], ba = {
3329
3329
  key: 0,
3330
3330
  class: "uid-timepicker__panel",
3331
3331
  role: "dialog",
3332
3332
  "aria-label": "Выбор времени"
3333
- }, ya = { class: "uid-timepicker__columns" }, ba = [
3333
+ }, xa = { class: "uid-timepicker__columns" }, Sa = [
3334
3334
  "aria-selected",
3335
3335
  "tabindex",
3336
3336
  "onClick"
3337
- ], xa = [
3337
+ ], Ca = [
3338
3338
  "aria-selected",
3339
3339
  "tabindex",
3340
3340
  "onClick"
3341
- ], Sa = [
3341
+ ], wa = [
3342
3342
  "aria-selected",
3343
3343
  "tabindex",
3344
3344
  "onClick"
3345
- ], Ca = { class: "uid-timepicker__footer" }, wa = /* @__PURE__ */ f({
3345
+ ], Ta = { class: "uid-timepicker__footer" }, Ea = /* @__PURE__ */ f({
3346
3346
  __name: "UidTimePicker",
3347
3347
  props: /* @__PURE__ */ m({
3348
3348
  step: { default: 5 },
@@ -3537,9 +3537,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3537
3537
  class: "uid-timepicker__clear",
3538
3538
  "aria-label": j(u).common.clear,
3539
3539
  onClick: te
3540
- }, " × ", 8, _a)) : s("", !0)
3541
- ], 40, ga), d(r, { name: "uid-timepicker-panel" }, {
3542
- default: z(() => [h.value ? (x(), c("div", va, [l("div", ya, [
3540
+ }, " × ", 8, ya)) : s("", !0)
3541
+ ], 40, va), d(r, { name: "uid-timepicker-panel" }, {
3542
+ default: z(() => [h.value ? (x(), c("div", ba, [l("div", xa, [
3543
3543
  l("div", {
3544
3544
  ref_key: "hourColRef",
3545
3545
  ref: S,
@@ -3555,7 +3555,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3555
3555
  "aria-selected": A.value.h === e,
3556
3556
  tabindex: A.value.h === e ? 0 : -1,
3557
3557
  onClick: (t) => U(e)
3558
- }, k(L(e)), 11, ba))), 128))], 544),
3558
+ }, k(L(e)), 11, Sa))), 128))], 544),
3559
3559
  l("div", {
3560
3560
  ref_key: "minuteColRef",
3561
3561
  ref: C,
@@ -3571,7 +3571,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3571
3571
  "aria-selected": A.value.m === e,
3572
3572
  tabindex: A.value.m === e ? 0 : -1,
3573
3573
  onClick: (t) => W(e)
3574
- }, k(L(e)), 11, xa))), 128))], 544),
3574
+ }, k(L(e)), 11, Ca))), 128))], 544),
3575
3575
  n.withSeconds ? (x(), c("div", {
3576
3576
  key: 0,
3577
3577
  ref_key: "secondColRef",
@@ -3588,8 +3588,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3588
3588
  "aria-selected": A.value.s === e,
3589
3589
  tabindex: A.value.s === e ? 0 : -1,
3590
3590
  onClick: (t) => G(e)
3591
- }, k(L(e)), 11, Sa))), 128))], 544)) : s("", !0)
3592
- ]), l("div", Ca, [l("button", {
3591
+ }, k(L(e)), 11, wa))), 128))], 544)) : s("", !0)
3592
+ ]), l("div", Ta, [l("button", {
3593
3593
  type: "button",
3594
3594
  class: "uid-timepicker__btn",
3595
3595
  onClick: K
@@ -3601,24 +3601,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3601
3601
  _: 1
3602
3602
  })], 2));
3603
3603
  }
3604
- }), Ta = [
3604
+ }), Da = [
3605
3605
  "aria-expanded",
3606
3606
  "aria-label",
3607
3607
  "aria-disabled"
3608
- ], Ea = ["aria-label"], Da = {
3608
+ ], Oa = ["aria-label"], ka = {
3609
3609
  key: 0,
3610
3610
  class: "uid-daterange__panel",
3611
3611
  role: "dialog",
3612
3612
  "aria-label": "Выбор диапазона дат"
3613
- }, Oa = { class: "uid-daterange__months" }, ka = { class: "uid-daterange__month" }, Aa = { class: "uid-daterange__nav" }, ja = ["aria-label"], Ma = { class: "uid-daterange__month-label" }, Na = ["aria-label"], Pa = { class: "uid-daterange__grid" }, Fa = [
3613
+ }, Aa = { class: "uid-daterange__months" }, ja = { class: "uid-daterange__month" }, Ma = { class: "uid-daterange__nav" }, Na = ["aria-label"], Pa = { class: "uid-daterange__month-label" }, Fa = ["aria-label"], Ia = { class: "uid-daterange__grid" }, La = [
3614
3614
  "disabled",
3615
3615
  "onClick",
3616
3616
  "onMouseenter"
3617
- ], Ia = { class: "uid-daterange__month" }, La = { class: "uid-daterange__nav" }, Ra = ["aria-label"], za = { class: "uid-daterange__month-label" }, Ba = ["aria-label"], Va = { class: "uid-daterange__grid" }, Ha = [
3617
+ ], Ra = { class: "uid-daterange__month" }, za = { class: "uid-daterange__nav" }, Ba = ["aria-label"], Va = { class: "uid-daterange__month-label" }, Ha = ["aria-label"], Ua = { class: "uid-daterange__grid" }, Wa = [
3618
3618
  "disabled",
3619
3619
  "onClick",
3620
3620
  "onMouseenter"
3621
- ], Ua = { class: "uid-daterange__footer" }, Wa = /* @__PURE__ */ f({
3621
+ ], Ga = { class: "uid-daterange__footer" }, Ka = /* @__PURE__ */ f({
3622
3622
  __name: "UidDateRangePicker",
3623
3623
  props: /* @__PURE__ */ m({
3624
3624
  min: { default: void 0 },
@@ -3813,9 +3813,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3813
3813
  class: "uid-daterange__clear",
3814
3814
  "aria-label": j(u).common.clear,
3815
3815
  onClick: ce
3816
- }, " × ", 8, Ea)) : s("", !0)
3817
- ], 40, Ta), d(r, { name: "uid-daterange-panel" }, {
3818
- default: z(() => [h.value ? (x(), c("div", Da, [l("div", Oa, [l("div", ka, [l("div", Aa, [
3816
+ }, " × ", 8, Oa)) : s("", !0)
3817
+ ], 40, Da), d(r, { name: "uid-daterange-panel" }, {
3818
+ default: z(() => [h.value ? (x(), c("div", ka, [l("div", Aa, [l("div", ja, [l("div", Ma, [
3819
3819
  l("button", {
3820
3820
  type: "button",
3821
3821
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3824,8 +3824,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3824
3824
  }, [d(e, {
3825
3825
  icon: j(re),
3826
3826
  size: 16
3827
- }, null, 8, ["icon"])], 8, ja),
3828
- l("span", Ma, k(H.value), 1),
3827
+ }, null, 8, ["icon"])], 8, Na),
3828
+ l("span", Pa, k(H.value), 1),
3829
3829
  l("button", {
3830
3830
  type: "button",
3831
3831
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3834,8 +3834,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3834
3834
  }, [d(e, {
3835
3835
  icon: j(X),
3836
3836
  size: 16
3837
- }, null, 8, ["icon"])], 8, Na)
3838
- ]), l("div", Pa, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3837
+ }, null, 8, ["icon"])], 8, Fa)
3838
+ ]), l("div", Ia, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3839
3839
  key: e,
3840
3840
  class: "uid-daterange__weekday"
3841
3841
  }, k(e), 1))), 128)), (x(!0), c(t, null, T(B.value, (e) => (x(), c("button", {
@@ -3852,7 +3852,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3852
3852
  disabled: G(e.iso) || !e.current,
3853
3853
  onClick: (t) => ie(e),
3854
3854
  onMouseenter: (t) => ae(e.iso)
3855
- }, k(e.date.getDate()), 43, Fa))), 128))])]), l("div", Ia, [l("div", La, [
3855
+ }, k(e.date.getDate()), 43, La))), 128))])]), l("div", Ra, [l("div", za, [
3856
3856
  l("button", {
3857
3857
  type: "button",
3858
3858
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--prev",
@@ -3861,8 +3861,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3861
3861
  }, [d(e, {
3862
3862
  icon: j(re),
3863
3863
  size: 16
3864
- }, null, 8, ["icon"])], 8, Ra),
3865
- l("span", za, k(U.value), 1),
3864
+ }, null, 8, ["icon"])], 8, Ba),
3865
+ l("span", Va, k(U.value), 1),
3866
3866
  l("button", {
3867
3867
  type: "button",
3868
3868
  class: "uid-daterange__nav-btn uid-daterange__nav-btn--next",
@@ -3871,8 +3871,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3871
3871
  }, [d(e, {
3872
3872
  icon: j(X),
3873
3873
  size: 16
3874
- }, null, 8, ["icon"])], 8, Ba)
3875
- ]), l("div", Va, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3874
+ }, null, 8, ["icon"])], 8, Ha)
3875
+ ]), l("div", Ua, [(x(!0), c(t, null, T(A.value, (e) => (x(), c("span", {
3876
3876
  key: e,
3877
3877
  class: "uid-daterange__weekday"
3878
3878
  }, k(e), 1))), 128)), (x(!0), c(t, null, T(V.value, (e) => (x(), c("button", {
@@ -3889,7 +3889,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3889
3889
  disabled: G(e.iso) || !e.current,
3890
3890
  onClick: (t) => ie(e),
3891
3891
  onMouseenter: (t) => ae(e.iso)
3892
- }, k(e.date.getDate()), 43, Ha))), 128))])])]), l("div", Ua, [
3892
+ }, k(e.date.getDate()), 43, Wa))), 128))])])]), l("div", Ga, [
3893
3893
  l("button", {
3894
3894
  type: "button",
3895
3895
  class: "uid-daterange__btn",
@@ -3909,11 +3909,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3909
3909
  _: 1
3910
3910
  })], 2));
3911
3911
  }
3912
- }), Ga = ["for"], Ka = {
3912
+ }), qa = ["for"], Ja = {
3913
3913
  key: 0,
3914
3914
  class: "uid-tags-input__required",
3915
3915
  "aria-hidden": "true"
3916
- }, qa = ["aria-label", "onClick"], Ja = [
3916
+ }, Ya = ["aria-label", "onClick"], Xa = [
3917
3917
  "id",
3918
3918
  "placeholder",
3919
3919
  "disabled",
@@ -3921,7 +3921,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
3921
3921
  "value",
3922
3922
  "aria-invalid",
3923
3923
  "aria-describedby"
3924
- ], Ya = ["id"], Xa = /* @__PURE__ */ f({
3924
+ ], Za = ["id"], Qa = /* @__PURE__ */ f({
3925
3925
  __name: "UidTagsInput",
3926
3926
  props: /* @__PURE__ */ m({
3927
3927
  separators: { default: () => [",", "Enter"] },
@@ -4022,7 +4022,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4022
4022
  key: 0,
4023
4023
  for: j(p),
4024
4024
  class: "uid-tags-input__label"
4025
- }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ka, "*")) : s("", !0)], 8, Ga)) : s("", !0),
4025
+ }, [u(k(e.label) + " ", 1), e.required ? (x(), c("span", Ja, "*")) : s("", !0)], 8, qa)) : s("", !0),
4026
4026
  l("div", {
4027
4027
  class: "uid-tags-input__control",
4028
4028
  role: "list",
@@ -4037,7 +4037,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4037
4037
  class: "uid-tags-input__chip-remove",
4038
4038
  "aria-label": j(m).tagsInput.remove(t),
4039
4039
  onClick: H((e) => S(n), ["stop"])
4040
- }, "×", 8, qa))], 2))), 128)), l("input", {
4040
+ }, "×", 8, Ya))], 2))), 128)), l("input", {
4041
4041
  id: j(p),
4042
4042
  ref_key: "inputRef",
4043
4043
  ref: f,
@@ -4053,19 +4053,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4053
4053
  onKeydown: C,
4054
4054
  onPaste: D,
4055
4055
  onBlur: b
4056
- }, null, 40, Ja)]),
4056
+ }, null, 40, Xa)]),
4057
4057
  g.value ? (x(), c("p", {
4058
4058
  key: 1,
4059
4059
  id: `${j(p)}-hint`,
4060
4060
  class: _(["uid-tags-input__hint", h.value && "uid-tags-input__hint--error"])
4061
- }, k(g.value), 11, Ya)) : s("", !0)
4061
+ }, k(g.value), 11, Za)) : s("", !0)
4062
4062
  ], 2));
4063
4063
  }
4064
- }), Za = ["for"], Qa = {
4064
+ }), $a = ["for"], eo = {
4065
4065
  key: 0,
4066
4066
  class: "uid-combobox__required",
4067
4067
  "aria-hidden": "true"
4068
- }, $a = { class: "uid-combobox__control" }, eo = [
4068
+ }, to = { class: "uid-combobox__control" }, no = [
4069
4069
  "id",
4070
4070
  "aria-expanded",
4071
4071
  "aria-controls",
@@ -4075,20 +4075,20 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4075
4075
  "disabled",
4076
4076
  "required",
4077
4077
  "value"
4078
- ], to = { class: "uid-combobox__suffix" }, no = ["aria-label"], ro = ["id"], io = [
4078
+ ], ro = { class: "uid-combobox__suffix" }, io = ["aria-label"], ao = ["id"], oo = [
4079
4079
  "id",
4080
4080
  "data-active",
4081
4081
  "aria-selected",
4082
4082
  "aria-disabled",
4083
4083
  "onClick",
4084
4084
  "onMouseenter"
4085
- ], ao = { class: "uid-combobox__option-label" }, oo = {
4085
+ ], so = { class: "uid-combobox__option-label" }, co = {
4086
4086
  key: 0,
4087
4087
  class: "uid-combobox__option-hint"
4088
- }, so = ["id", "data-active"], co = { class: "uid-combobox__option-label" }, lo = {
4088
+ }, lo = ["id", "data-active"], uo = { class: "uid-combobox__option-label" }, fo = {
4089
4089
  key: 2,
4090
4090
  class: "uid-combobox__empty"
4091
- }, uo = /* @__PURE__ */ f({
4091
+ }, po = /* @__PURE__ */ f({
4092
4092
  __name: "UidCombobox",
4093
4093
  props: /* @__PURE__ */ m({
4094
4094
  options: {},
@@ -4214,8 +4214,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4214
4214
  key: 0,
4215
4215
  for: j(A),
4216
4216
  class: "uid-combobox__label"
4217
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Qa, "*")) : s("", !0)], 8, Za)) : s("", !0),
4218
- l("div", $a, [l("input", {
4217
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", eo, "*")) : s("", !0)], 8, $a)) : s("", !0),
4218
+ l("div", to, [l("input", {
4219
4219
  id: j(A),
4220
4220
  ref_key: "inputRef",
4221
4221
  ref: D,
@@ -4236,16 +4236,16 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4236
4236
  onInput: ee,
4237
4237
  onFocus: K,
4238
4238
  onKeydown: te
4239
- }, null, 40, eo), l("div", to, [n.clearable && v.value !== null ? (x(), c("button", {
4239
+ }, null, 40, no), l("div", ro, [n.clearable && v.value !== null ? (x(), c("button", {
4240
4240
  key: 0,
4241
4241
  type: "button",
4242
4242
  class: "uid-combobox__clear",
4243
4243
  "aria-label": j(f).common.clear,
4244
4244
  onClick: G
4245
4245
  }, [d(e, {
4246
- icon: j(_e),
4246
+ icon: j(ye),
4247
4247
  size: 12
4248
- }, null, 8, ["icon"])], 8, no)) : s("", !0), d(e, {
4248
+ }, null, 8, ["icon"])], 8, io)) : s("", !0), d(e, {
4249
4249
  icon: j(Y),
4250
4250
  size: 16,
4251
4251
  class: _(["uid-combobox__chevron", { "uid-combobox__chevron--open": y.value }]),
@@ -4276,8 +4276,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4276
4276
  onClick: (e) => U(t),
4277
4277
  onMouseenter: (e) => !t.disabled && (C.value = n)
4278
4278
  }, [
4279
- l("span", ao, k(t.label), 1),
4280
- t.hint ? (x(), c("span", oo, k(t.hint), 1)) : s("", !0),
4279
+ l("span", so, k(t.label), 1),
4280
+ t.hint ? (x(), c("span", co, k(t.hint), 1)) : s("", !0),
4281
4281
  t.value === v.value ? (x(), o(e, {
4282
4282
  key: 1,
4283
4283
  icon: j(q),
@@ -4285,7 +4285,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4285
4285
  class: "uid-combobox__check",
4286
4286
  "aria-hidden": "true"
4287
4287
  }, null, 8, ["icon"])) : s("", !0)
4288
- ], 42, io))), 128)) : s("", !0),
4288
+ ], 42, oo))), 128)) : s("", !0),
4289
4289
  L.value ? (x(), c("button", {
4290
4290
  key: 1,
4291
4291
  id: `${j(P)}-${I.value.length}`,
@@ -4295,53 +4295,50 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4295
4295
  "data-active": C.value === I.value.length ? "true" : void 0,
4296
4296
  onClick: W,
4297
4297
  onMouseenter: i[0] ||= (e) => C.value = I.value.length
4298
- }, [l("span", co, k(j(f).combobox.create(S.value)), 1)], 42, so)) : s("", !0),
4299
- I.value.length === 0 && !L.value ? (x(), c("div", lo, k(m.value), 1)) : s("", !0)
4300
- ], 8, ro)) : s("", !0),
4298
+ }, [l("span", uo, k(j(f).combobox.create(S.value)), 1)], 42, lo)) : s("", !0),
4299
+ I.value.length === 0 && !L.value ? (x(), c("div", fo, k(m.value), 1)) : s("", !0)
4300
+ ], 8, ao)) : s("", !0),
4301
4301
  B.value ? (x(), c("p", {
4302
4302
  key: 2,
4303
4303
  class: _(["uid-combobox__hint", z.value && "uid-combobox__hint--error"])
4304
4304
  }, k(B.value), 3)) : s("", !0)
4305
4305
  ], 2));
4306
4306
  }
4307
- }), fo = Symbol("UidTree"), po = [
4307
+ }), mo = Symbol("UidTree"), ho = [
4308
4308
  "aria-expanded",
4309
4309
  "aria-selected",
4310
4310
  "aria-disabled"
4311
- ], mo = ["tabindex"], ho = ["aria-label"], go = {
4311
+ ], go = ["tabindex"], _o = ["aria-label"], vo = {
4312
4312
  key: 1,
4313
4313
  class: "uid-tree-item__chevron uid-tree-item__chevron--placeholder",
4314
4314
  "aria-hidden": "true"
4315
- }, _o = ["aria-checked"], vo = {
4316
- key: 3,
4317
- class: "uid-tree-item__icon"
4318
- }, yo = { class: "uid-tree-item__label" }, bo = {
4315
+ }, yo = ["aria-checked"], bo = { class: "uid-tree-item__label" }, xo = {
4319
4316
  key: 0,
4320
4317
  class: "uid-tree-item__children",
4321
4318
  role: "group"
4322
- }, xo = /* @__PURE__ */ f({
4319
+ }, So = /* @__PURE__ */ f({
4323
4320
  __name: "UidTreeItem",
4324
4321
  props: {
4325
4322
  node: {},
4326
4323
  level: {}
4327
4324
  },
4328
4325
  setup(n) {
4329
- let r = n, i = p(fo);
4326
+ let r = n, i = p(mo);
4330
4327
  if (!i) throw Error("UidTreeItem must be used inside UidTree");
4331
- let u = i, f = $(), m = w(null), h = a(() => !!r.node.children && r.node.children.length > 0), y = a(() => u.isExpanded(r.node.key)), b = a(() => u.isSelected(r.node.key)), S = a(() => u.isChecked(r.node.key)), C = a(() => u.isIndeterminate(r.node.key)), E = a(() => u.disabled.value || !!r.node.disabled), O = a(() => u.focusedKey.value === r.node.key), A = a(() => E.value ? -1 : O.value || u.focusedKey.value === null && u.isFirst(r.node.key) ? 0 : -1);
4332
- R(O, (e) => {
4328
+ let u = i, f = $(), m = w(null), h = a(() => !!r.node.children && r.node.children.length > 0), y = a(() => u.isExpanded(r.node.key)), b = a(() => r.node.icon ? r.node.icon : h.value ? y.value ? ue : le : se), S = a(() => u.isSelected(r.node.key)), C = a(() => u.isChecked(r.node.key)), E = a(() => u.isIndeterminate(r.node.key)), O = a(() => u.disabled.value || !!r.node.disabled), A = a(() => u.focusedKey.value === r.node.key), M = a(() => O.value ? -1 : A.value || u.focusedKey.value === null && u.isFirst(r.node.key) ? 0 : -1);
4329
+ R(A, (e) => {
4333
4330
  e && g(() => m.value?.focus());
4334
4331
  });
4335
- function M() {
4336
- E.value || (u.focusKey(r.node.key), h.value && u.toggleExpand(r.node.key), u.selectable.value && u.toggleSelect(r.node));
4337
- }
4338
- function N(e) {
4339
- e.stopPropagation(), !E.value && u.toggleExpand(r.node.key);
4332
+ function N() {
4333
+ O.value || (u.focusKey(r.node.key), h.value && u.toggleExpand(r.node.key), u.selectable.value && r.node.selectable !== !1 && u.toggleSelect(r.node));
4340
4334
  }
4341
4335
  function P(e) {
4342
- e.stopPropagation(), !E.value && u.toggleCheck(r.node);
4336
+ e.stopPropagation(), !O.value && u.toggleExpand(r.node.key);
4343
4337
  }
4344
4338
  function F(e) {
4339
+ e.stopPropagation(), !O.value && u.toggleCheck(r.node);
4340
+ }
4341
+ function I(e) {
4345
4342
  let t = r.node.key;
4346
4343
  if (e.key === "ArrowDown") e.preventDefault(), u.focusRelative(t, 1);
4347
4344
  else if (e.key === "ArrowUp") e.preventDefault(), u.focusRelative(t, -1);
@@ -4351,32 +4348,32 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4351
4348
  let e = u.parentKeyOf(t);
4352
4349
  e !== null && u.focusKey(e);
4353
4350
  }
4354
- else e.key === "Home" ? (e.preventDefault(), u.focusEdge("first")) : e.key === "End" ? (e.preventDefault(), u.focusEdge("last")) : (e.key === "Enter" || e.key === " ") && (e.preventDefault(), u.checkable.value ? u.toggleCheck(r.node) : u.selectable.value && u.toggleSelect(r.node));
4351
+ else e.key === "Home" ? (e.preventDefault(), u.focusEdge("first")) : e.key === "End" ? (e.preventDefault(), u.focusEdge("last")) : (e.key === "Enter" || e.key === " ") && (e.preventDefault(), u.checkable.value ? u.toggleCheck(r.node) : u.selectable.value && r.node.selectable !== !1 && u.toggleSelect(r.node));
4355
4352
  }
4356
- function I() {
4357
- O.value || u.focusKey(r.node.key);
4353
+ function L() {
4354
+ A.value || u.focusKey(r.node.key);
4358
4355
  }
4359
4356
  return (r, i) => {
4360
4357
  let a = D("UidTreeItem", !0);
4361
4358
  return x(), c("li", {
4362
4359
  class: _(["uid-tree-item", {
4363
- "uid-tree-item--selected": b.value,
4364
- "uid-tree-item--disabled": E.value,
4360
+ "uid-tree-item--selected": S.value,
4361
+ "uid-tree-item--disabled": O.value,
4365
4362
  "uid-tree-item--expanded": y.value
4366
4363
  }]),
4367
4364
  role: "treeitem",
4368
4365
  "aria-expanded": h.value ? y.value : void 0,
4369
- "aria-selected": j(u).selectable.value ? b.value : void 0,
4370
- "aria-disabled": E.value || void 0
4366
+ "aria-selected": j(u).selectable.value ? S.value : void 0,
4367
+ "aria-disabled": O.value || void 0
4371
4368
  }, [l("div", {
4372
4369
  ref_key: "rowRef",
4373
4370
  ref: m,
4374
4371
  class: "uid-tree-item__row",
4375
4372
  style: v({ "--uid-tree-level": n.level }),
4376
- tabindex: A.value,
4377
- onClick: M,
4378
- onKeydown: F,
4379
- onFocus: I
4373
+ tabindex: M.value,
4374
+ onClick: N,
4375
+ onKeydown: I,
4376
+ onFocus: L
4380
4377
  }, [
4381
4378
  h.value ? (x(), c("button", {
4382
4379
  key: 0,
@@ -4384,38 +4381,41 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4384
4381
  class: _(["uid-tree-item__chevron", { "uid-tree-item__chevron--open": y.value }]),
4385
4382
  "aria-label": y.value ? j(f).treeView.collapse : j(f).treeView.expand,
4386
4383
  tabindex: "-1",
4387
- onClick: N
4384
+ onClick: P
4388
4385
  }, [d(e, {
4389
4386
  icon: j(X),
4390
4387
  size: 14
4391
- }, null, 8, ["icon"])], 10, ho)) : (x(), c("span", go)),
4388
+ }, null, 8, ["icon"])], 10, _o)) : (x(), c("span", vo)),
4392
4389
  j(u).checkable.value ? (x(), c("span", {
4393
4390
  key: 2,
4394
4391
  class: _(["uid-tree-item__check", {
4395
- "uid-tree-item__check--checked": S.value,
4396
- "uid-tree-item__check--indeterminate": C.value
4392
+ "uid-tree-item__check--checked": C.value,
4393
+ "uid-tree-item__check--indeterminate": E.value
4397
4394
  }]),
4398
4395
  role: "checkbox",
4399
- "aria-checked": C.value ? "mixed" : S.value,
4400
- onClick: P
4401
- }, [S.value && !C.value ? (x(), o(e, {
4396
+ "aria-checked": E.value ? "mixed" : C.value,
4397
+ onClick: F
4398
+ }, [C.value && !E.value ? (x(), o(e, {
4402
4399
  key: 0,
4403
4400
  icon: j(q),
4404
4401
  size: 12
4405
- }, null, 8, ["icon"])) : s("", !0)], 10, _o)) : s("", !0),
4406
- n.node.icon ? (x(), c("span", vo, [d(e, {
4407
- icon: n.node.icon,
4402
+ }, null, 8, ["icon"])) : s("", !0)], 10, yo)) : s("", !0),
4403
+ l("span", { class: _(["uid-tree-item__icon", {
4404
+ "uid-tree-item__icon--branch": h.value,
4405
+ "uid-tree-item__icon--leaf": !h.value
4406
+ }]) }, [d(e, {
4407
+ icon: b.value,
4408
4408
  size: 16
4409
- }, null, 8, ["icon"])])) : s("", !0),
4410
- l("span", yo, k(n.node.label), 1)
4411
- ], 44, mo), h.value && y.value ? (x(), c("ul", bo, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4409
+ }, null, 8, ["icon"])], 2),
4410
+ l("span", bo, k(n.node.label), 1)
4411
+ ], 44, go), h.value && y.value ? (x(), c("ul", xo, [(x(!0), c(t, null, T(n.node.children, (e) => (x(), o(a, {
4412
4412
  key: e.key,
4413
4413
  node: e,
4414
4414
  level: n.level + 1
4415
- }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, po);
4415
+ }, null, 8, ["node", "level"]))), 128))])) : s("", !0)], 10, ho);
4416
4416
  };
4417
4417
  }
4418
- }), So = /* @__PURE__ */ f({
4418
+ }), Co = "__virtual_root__", wo = /* @__PURE__ */ f({
4419
4419
  __name: "UidTreeView",
4420
4420
  props: /* @__PURE__ */ m({
4421
4421
  nodes: {},
@@ -4438,7 +4438,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4438
4438
  showGuides: {
4439
4439
  type: Boolean,
4440
4440
  default: !1
4441
- }
4441
+ },
4442
+ virtualRoot: { default: null }
4442
4443
  }, {
4443
4444
  expandedKeys: { default: () => [] },
4444
4445
  expandedKeysModifiers: {},
@@ -4453,37 +4454,45 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4453
4454
  "update:checkedKeys"
4454
4455
  ]),
4455
4456
  setup(e, { emit: n }) {
4456
- let r = e, i = n, s = N(e, "expandedKeys"), l = N(e, "selectedKeys"), u = N(e, "checkedKeys");
4457
- function d(e) {
4457
+ let r = e, i = a(() => {
4458
+ if (!r.virtualRoot) return r.nodes;
4459
+ let e = typeof r.virtualRoot == "string" ? {
4460
+ key: Co,
4461
+ label: r.virtualRoot,
4462
+ selectable: !1
4463
+ } : { ...r.virtualRoot };
4464
+ return e.children = e.children ?? r.nodes, [e];
4465
+ }), s = n, l = N(e, "expandedKeys"), u = N(e, "selectedKeys"), d = N(e, "checkedKeys");
4466
+ function f(e) {
4458
4467
  let t = [], n = (e) => {
4459
4468
  for (let r of e) t.push(r.key), r.children && n(r.children);
4460
4469
  };
4461
4470
  return n(e), t;
4462
4471
  }
4463
- r.defaultExpandAll && s.value.length === 0 && (s.value = d(r.nodes));
4464
- let f = a({
4465
- get: () => new Set(s.value),
4466
- set: (e) => {
4467
- s.value = [...e];
4468
- }
4469
- }), p = a({
4472
+ r.defaultExpandAll && l.value.length === 0 ? l.value = f(i.value) : r.virtualRoot && l.value.length === 0 && (l.value = [i.value[0].key]);
4473
+ let p = a({
4470
4474
  get: () => new Set(l.value),
4471
4475
  set: (e) => {
4472
4476
  l.value = [...e];
4473
4477
  }
4474
- }), m = w(new Set(u.value));
4475
- R(u, (e) => {
4476
- m.value = new Set(e);
4478
+ }), m = a({
4479
+ get: () => new Set(u.value),
4480
+ set: (e) => {
4481
+ u.value = [...e];
4482
+ }
4483
+ }), h = w(new Set(d.value));
4484
+ R(d, (e) => {
4485
+ h.value = new Set(e);
4477
4486
  });
4478
- let h = w(/* @__PURE__ */ new Set());
4479
- function g(e) {
4487
+ let g = w(/* @__PURE__ */ new Set());
4488
+ function v(e) {
4480
4489
  let t = [], n = (e) => {
4481
4490
  if (e.children) for (let r of e.children) t.push(r.key), n(r);
4482
4491
  };
4483
4492
  return n(e), t;
4484
4493
  }
4485
- function v() {
4486
- let e = /* @__PURE__ */ new Set(), t = new Set(m.value), n = (r) => {
4494
+ function y() {
4495
+ let e = /* @__PURE__ */ new Set(), t = new Set(h.value), n = (r) => {
4487
4496
  if (!r.children || r.children.length === 0) {
4488
4497
  let e = t.has(r.key);
4489
4498
  return {
@@ -4501,26 +4510,26 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4501
4510
  some: a
4502
4511
  };
4503
4512
  };
4504
- for (let e of r.nodes) n(e);
4505
- m.value = t, h.value = e, u.value = [...t];
4513
+ for (let e of i.value) n(e);
4514
+ h.value = t, g.value = e, d.value = [...t];
4506
4515
  }
4507
- R(() => r.nodes, v, {
4516
+ R(i, y, {
4508
4517
  immediate: !0,
4509
4518
  deep: !0
4510
- }), R(u, () => {
4511
- [...m.value].sort().join(",") !== [...u.value].sort().join(",") && (m.value = new Set(u.value), v());
4519
+ }), R(d, () => {
4520
+ [...h.value].sort().join(",") !== [...d.value].sort().join(",") && (h.value = new Set(d.value), y());
4512
4521
  });
4513
- function y(e) {
4514
- let t = new Set(f.value);
4515
- t.has(e) ? t.delete(e) : t.add(e), f.value = t;
4516
- }
4517
4522
  function b(e) {
4518
- if (r.selectable === !1) return;
4519
4523
  let t = new Set(p.value);
4520
- r.selectable === "single" ? t.has(e.key) ? t.delete(e.key) : (t.clear(), t.add(e.key)) : t.has(e.key) ? t.delete(e.key) : t.add(e.key), p.value = t, i("select", e);
4524
+ t.has(e) ? t.delete(e) : t.add(e), p.value = t;
4521
4525
  }
4522
4526
  function C(e) {
4523
- let t = m.value.has(e.key), n = new Set(m.value), r = g(e);
4527
+ if (r.selectable === !1) return;
4528
+ let t = new Set(m.value);
4529
+ r.selectable === "single" ? t.has(e.key) ? t.delete(e.key) : (t.clear(), t.add(e.key)) : t.has(e.key) ? t.delete(e.key) : t.add(e.key), m.value = t, s("select", e);
4530
+ }
4531
+ function E(e) {
4532
+ let t = h.value.has(e.key), n = new Set(h.value), r = v(e);
4524
4533
  if (t) {
4525
4534
  n.delete(e.key);
4526
4535
  for (let e of r) n.delete(e);
@@ -4528,66 +4537,66 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4528
4537
  n.add(e.key);
4529
4538
  for (let e of r) n.add(e);
4530
4539
  }
4531
- m.value = n, u.value = [...n], v(), i("check", e, !t);
4540
+ h.value = n, d.value = [...n], y(), s("check", e, !t);
4532
4541
  }
4533
- let E = w(null), D = a(() => {
4542
+ let D = w(null), O = a(() => {
4534
4543
  let e = [], t = (n) => {
4535
- for (let r of n) e.push(r.key), r.children && f.value.has(r.key) && t(r.children);
4544
+ for (let r of n) e.push(r.key), r.children && p.value.has(r.key) && t(r.children);
4536
4545
  };
4537
- return t(r.nodes), e;
4538
- }), O = a(() => {
4546
+ return t(i.value), e;
4547
+ }), k = a(() => {
4539
4548
  let e = /* @__PURE__ */ new Map(), t = (n, r) => {
4540
4549
  for (let i of n) e.set(i.key, r), i.children && t(i.children, i.key);
4541
4550
  };
4542
- return t(r.nodes, null), e;
4551
+ return t(i.value, null), e;
4543
4552
  });
4544
- function k(e) {
4545
- E.value = e;
4546
- }
4547
- function A(e, t) {
4548
- let n = D.value, r = n.indexOf(e);
4549
- r < 0 || (E.value = n[Math.max(0, Math.min(n.length - 1, r + t))]);
4553
+ function A(e) {
4554
+ D.value = e;
4550
4555
  }
4551
- function j(e) {
4552
- let t = D.value;
4553
- t.length !== 0 && (E.value = e === "first" ? t[0] : t[t.length - 1]);
4556
+ function j(e, t) {
4557
+ let n = O.value, r = n.indexOf(e);
4558
+ r < 0 || (D.value = n[Math.max(0, Math.min(n.length - 1, r + t))]);
4554
4559
  }
4555
4560
  function M(e) {
4556
- return D.value[0] === e;
4561
+ let t = O.value;
4562
+ t.length !== 0 && (D.value = e === "first" ? t[0] : t[t.length - 1]);
4557
4563
  }
4558
4564
  function P(e) {
4559
- return O.value.get(e) ?? null;
4565
+ return O.value[0] === e;
4566
+ }
4567
+ function F(e) {
4568
+ return k.value.get(e) ?? null;
4560
4569
  }
4561
- return S(fo, {
4570
+ return S(mo, {
4562
4571
  selectable: a(() => r.selectable),
4563
4572
  checkable: a(() => r.checkable),
4564
4573
  disabled: a(() => r.disabled),
4565
- expandedKeys: f,
4566
- selectedKeys: p,
4567
- checkedKeys: m,
4568
- focusedKey: E,
4569
- isExpanded: (e) => f.value.has(e),
4570
- isSelected: (e) => p.value.has(e),
4571
- isChecked: (e) => m.value.has(e),
4572
- isIndeterminate: (e) => h.value.has(e),
4573
- isFirst: M,
4574
- toggleExpand: y,
4575
- toggleSelect: b,
4576
- toggleCheck: C,
4577
- focusKey: k,
4578
- focusRelative: A,
4579
- focusEdge: j,
4580
- parentKeyOf: P
4574
+ expandedKeys: p,
4575
+ selectedKeys: m,
4576
+ checkedKeys: h,
4577
+ focusedKey: D,
4578
+ isExpanded: (e) => p.value.has(e),
4579
+ isSelected: (e) => m.value.has(e),
4580
+ isChecked: (e) => h.value.has(e),
4581
+ isIndeterminate: (e) => g.value.has(e),
4582
+ isFirst: P,
4583
+ toggleExpand: b,
4584
+ toggleSelect: C,
4585
+ toggleCheck: E,
4586
+ focusKey: A,
4587
+ focusRelative: j,
4588
+ focusEdge: M,
4589
+ parentKeyOf: F
4581
4590
  }), (n, r) => (x(), c("ul", {
4582
4591
  class: _(["uid-tree", { "uid-tree--guides": e.showGuides }]),
4583
4592
  role: "tree"
4584
- }, [(x(!0), c(t, null, T(e.nodes, (e) => (x(), o(xo, {
4593
+ }, [(x(!0), c(t, null, T(i.value, (e) => (x(), o(So, {
4585
4594
  key: e.key,
4586
4595
  node: e,
4587
4596
  level: 0
4588
4597
  }, null, 8, ["node"]))), 128))], 2));
4589
4598
  }
4590
- }), Co = /* @__PURE__ */ f({
4599
+ }), To = /* @__PURE__ */ f({
4591
4600
  __name: "UidTimeline",
4592
4601
  props: { alternate: {
4593
4602
  type: Boolean,
@@ -4596,19 +4605,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4596
4605
  setup(e) {
4597
4606
  return (t, n) => (x(), c("ol", { class: _(["uid-timeline", { "uid-timeline--alternate": e.alternate }]) }, [E(t.$slots, "default")], 2));
4598
4607
  }
4599
- }), wo = { class: "uid-timeline-item__rail" }, To = { class: "uid-timeline-item__marker" }, Eo = { class: "uid-timeline-item__content" }, Do = {
4608
+ }), Eo = { class: "uid-timeline-item__rail" }, Do = { class: "uid-timeline-item__marker" }, Oo = { class: "uid-timeline-item__content" }, ko = {
4600
4609
  key: 0,
4601
4610
  class: "uid-timeline-item__time"
4602
- }, Oo = {
4611
+ }, Ao = {
4603
4612
  key: 1,
4604
4613
  class: "uid-timeline-item__title"
4605
- }, ko = {
4614
+ }, jo = {
4606
4615
  key: 2,
4607
4616
  class: "uid-timeline-item__description"
4608
- }, Ao = {
4617
+ }, Mo = {
4609
4618
  key: 3,
4610
4619
  class: "uid-timeline-item__description"
4611
- }, jo = /* @__PURE__ */ f({
4620
+ }, No = /* @__PURE__ */ f({
4612
4621
  __name: "UidTimelineItem",
4613
4622
  props: {
4614
4623
  title: {},
@@ -4618,37 +4627,37 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4618
4627
  icon: {}
4619
4628
  },
4620
4629
  setup(t) {
4621
- 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", wo, [l("div", To, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4630
+ 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", Eo, [l("div", Do, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
4622
4631
  key: 0,
4623
4632
  icon: t.icon,
4624
4633
  size: 14
4625
4634
  }, null, 8, ["icon"])) : s("", !0)])]), r[0] ||= l("div", {
4626
4635
  class: "uid-timeline-item__line",
4627
4636
  "aria-hidden": "true"
4628
- }, null, -1)]), l("div", Eo, [
4629
- t.time || n.$slots.time ? (x(), c("p", Do, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4630
- t.title ? (x(), c("h4", Oo, k(t.title), 1)) : s("", !0),
4631
- t.description && !n.$slots.default ? (x(), c("p", ko, k(t.description), 1)) : s("", !0),
4632
- n.$slots.default ? (x(), c("div", Ao, [E(n.$slots, "default")])) : s("", !0)
4637
+ }, null, -1)]), l("div", Oo, [
4638
+ t.time || n.$slots.time ? (x(), c("p", ko, [E(n.$slots, "time", {}, () => [u(k(t.time), 1)])])) : s("", !0),
4639
+ t.title ? (x(), c("h4", Ao, k(t.title), 1)) : s("", !0),
4640
+ t.description && !n.$slots.default ? (x(), c("p", jo, k(t.description), 1)) : s("", !0),
4641
+ n.$slots.default ? (x(), c("div", Mo, [E(n.$slots, "default")])) : s("", !0)
4633
4642
  ])], 2));
4634
4643
  }
4635
- }), Mo = ["for"], No = {
4644
+ }), Po = ["for"], Fo = {
4636
4645
  key: 0,
4637
4646
  class: "uid-file-upload__required",
4638
4647
  "aria-hidden": "true"
4639
- }, Po = ["aria-disabled", "aria-invalid"], Fo = { class: "uid-file-upload__primary-text" }, Io = ["innerHTML"], Lo = { class: "uid-file-upload__secondary-text" }, Ro = [
4648
+ }, Io = ["aria-disabled", "aria-invalid"], Lo = { class: "uid-file-upload__primary-text" }, Ro = ["innerHTML"], zo = { class: "uid-file-upload__secondary-text" }, Bo = [
4640
4649
  "id",
4641
4650
  "multiple",
4642
4651
  "accept",
4643
4652
  "disabled",
4644
4653
  "required"
4645
- ], zo = {
4654
+ ], Vo = {
4646
4655
  key: 1,
4647
4656
  class: "uid-file-upload__list"
4648
- }, Bo = { class: "uid-file-upload__file-info" }, Vo = { class: "uid-file-upload__file-name" }, Ho = { class: "uid-file-upload__file-meta" }, Uo = { key: 0 }, Wo = { key: 1 }, Go = {
4657
+ }, Ho = { class: "uid-file-upload__file-info" }, Uo = { class: "uid-file-upload__file-name" }, Wo = { class: "uid-file-upload__file-meta" }, Go = { key: 0 }, Ko = { key: 1 }, qo = {
4649
4658
  key: 0,
4650
4659
  class: "uid-file-upload__progress"
4651
- }, Ko = ["aria-label", "onClick"], qo = /* @__PURE__ */ f({
4660
+ }, Jo = ["aria-label", "onClick"], Yo = /* @__PURE__ */ f({
4652
4661
  __name: "UidFileUpload",
4653
4662
  props: /* @__PURE__ */ m({
4654
4663
  multiple: {
@@ -4741,7 +4750,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4741
4750
  key: 0,
4742
4751
  for: j(b),
4743
4752
  class: "uid-file-upload__label"
4744
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", No, "*")) : s("", !0)], 8, Mo)) : s("", !0),
4753
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", Fo, "*")) : s("", !0)], 8, Po)) : s("", !0),
4745
4754
  l("div", {
4746
4755
  class: _(["uid-file-upload__dropzone", { "uid-file-upload__dropzone--active": y.value }]),
4747
4756
  role: "button",
@@ -4755,13 +4764,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4755
4764
  onDragleave: R
4756
4765
  }, [
4757
4766
  d(e, {
4758
- icon: j(he),
4767
+ icon: j(_e),
4759
4768
  size: 32,
4760
4769
  class: "uid-file-upload__icon",
4761
4770
  "aria-hidden": "true"
4762
4771
  }, null, 8, ["icon"]),
4763
- l("p", Fo, [l("span", { innerHTML: f.value }, null, 8, Io)]),
4764
- l("p", Lo, k(p.value), 1),
4772
+ l("p", Lo, [l("span", { innerHTML: f.value }, null, 8, Ro)]),
4773
+ l("p", zo, k(p.value), 1),
4765
4774
  l("input", {
4766
4775
  id: j(b),
4767
4776
  ref_key: "inputRef",
@@ -4775,22 +4784,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4775
4784
  disabled: n.disabled,
4776
4785
  required: n.required,
4777
4786
  onChange: A
4778
- }, null, 40, Ro)
4779
- ], 42, Po),
4780
- h.value.length > 0 ? (x(), c("ul", zo, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
4787
+ }, null, 40, Bo)
4788
+ ], 42, Io),
4789
+ h.value.length > 0 ? (x(), c("ul", Vo, [(x(!0), c(t, null, T(h.value, (t) => (x(), c("li", {
4781
4790
  key: t.id,
4782
4791
  class: _(["uid-file-upload__item", { "uid-file-upload__item--error": t.error }])
4783
4792
  }, [
4784
4793
  d(e, {
4785
- icon: j(se),
4794
+ icon: j(ce),
4786
4795
  size: 20,
4787
4796
  class: "uid-file-upload__file-icon",
4788
4797
  "aria-hidden": "true"
4789
4798
  }, null, 8, ["icon"]),
4790
- l("div", Bo, [
4791
- l("div", Vo, k(t.file.name), 1),
4792
- l("div", Ho, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Uo, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", Wo, "— " + k(t.progress) + "%", 1))]),
4793
- t.progress !== void 0 && !t.error ? (x(), c("div", Go, [l("div", {
4799
+ l("div", Ho, [
4800
+ l("div", Uo, k(t.file.name), 1),
4801
+ l("div", Wo, [l("span", null, k(E(t.file.size)), 1), t.error ? (x(), c("span", Go, "— " + k(t.error), 1)) : t.progress === void 0 ? s("", !0) : (x(), c("span", Ko, "— " + k(t.progress) + "%", 1))]),
4802
+ t.progress !== void 0 && !t.error ? (x(), c("div", qo, [l("div", {
4794
4803
  class: "uid-file-upload__progress-bar",
4795
4804
  style: v({ width: `${t.progress}%` })
4796
4805
  }, null, 4)])) : s("", !0)
@@ -4801,9 +4810,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4801
4810
  "aria-label": j(o).fileUpload.remove(t.file.name),
4802
4811
  onClick: (e) => z(t)
4803
4812
  }, [d(e, {
4804
- icon: j(_e),
4813
+ icon: j(ye),
4805
4814
  size: 16
4806
- }, null, 8, ["icon"])], 8, Ko)
4815
+ }, null, 8, ["icon"])], 8, Jo)
4807
4816
  ], 2))), 128))])) : s("", !0),
4808
4817
  C.value ? (x(), c("p", {
4809
4818
  key: 2,
@@ -4811,17 +4820,17 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4811
4820
  }, k(C.value), 3)) : s("", !0)
4812
4821
  ], 2));
4813
4822
  }
4814
- }), Jo = {
4823
+ }), Xo = {
4815
4824
  key: 0,
4816
4825
  class: "uid-code uid-code--inline"
4817
- }, Yo = {
4826
+ }, Zo = {
4818
4827
  key: 0,
4819
4828
  class: "uid-code__header"
4820
- }, Xo = { class: "uid-code__lang" }, Zo = ["aria-label"], Qo = { class: "uid-code__body" }, $o = {
4829
+ }, Qo = { class: "uid-code__lang" }, $o = ["aria-label"], es = { class: "uid-code__body" }, ts = {
4821
4830
  key: 0,
4822
4831
  class: "uid-code__line-numbers",
4823
4832
  "aria-hidden": "true"
4824
- }, es = { class: "uid-code__pre" }, ts = /* @__PURE__ */ f({
4833
+ }, ns = { class: "uid-code__pre" }, rs = /* @__PURE__ */ f({
4825
4834
  __name: "UidCode",
4826
4835
  props: {
4827
4836
  code: { default: "" },
@@ -4853,14 +4862,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4853
4862
  }, 1500);
4854
4863
  } catch {}
4855
4864
  }
4856
- return (i, a) => n.inline ? (x(), c("code", Jo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4865
+ return (i, a) => n.inline ? (x(), c("code", Xo, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])) : (x(), c("div", {
4857
4866
  key: 1,
4858
4867
  class: _(["uid-code", {
4859
4868
  "uid-code--minimal": !p.value,
4860
4869
  "uid-code--wrap": n.wrap
4861
4870
  }]),
4862
4871
  style: v(n.maxHeight ? { "--uid-code-max-height": n.maxHeight } : void 0)
4863
- }, [p.value ? (x(), c("div", Yo, [l("span", Xo, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4872
+ }, [p.value ? (x(), c("div", Zo, [l("span", Qo, k(n.language || ""), 1), n.copy ? (x(), c("button", {
4864
4873
  key: 0,
4865
4874
  type: "button",
4866
4875
  class: _(["uid-code__copy", { "uid-code__copy--copied": o.value }]),
@@ -4870,30 +4879,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4870
4879
  icon: o.value ? j(q) : j(oe),
4871
4880
  size: 12,
4872
4881
  "aria-hidden": "true"
4873
- }, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, Zo)) : s("", !0)])) : s("", !0), l("div", Qo, [n.lineNumbers ? (x(), c("div", $o, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
4882
+ }, null, 8, ["icon"]), l("span", null, k(o.value ? j(r).copy.copied : j(r).copy.copy), 1)], 10, $o)) : s("", !0)])) : s("", !0), l("div", es, [n.lineNumbers ? (x(), c("div", ts, [(x(!0), c(t, null, T(f.value, (e, t) => (x(), c("span", {
4874
4883
  key: t,
4875
4884
  class: "uid-code__line-number"
4876
- }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", es, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4885
+ }, k(t + 1), 1))), 128))])) : s("", !0), l("pre", ns, [l("code", null, [E(i.$slots, "default", {}, () => [u(k(n.code), 1)])])])])], 6));
4877
4886
  }
4878
- }), ns = [
4887
+ }), is = [
4879
4888
  "aria-valuemax",
4880
4889
  "aria-valuenow",
4881
4890
  "aria-readonly",
4882
4891
  "aria-disabled",
4883
4892
  "aria-label"
4884
- ], rs = [
4893
+ ], as = [
4885
4894
  "tabindex",
4886
4895
  "aria-label",
4887
4896
  "onClick",
4888
4897
  "onMousemove",
4889
4898
  "onKeydown"
4890
- ], is = {
4899
+ ], os = {
4891
4900
  class: "uid-rating__icon",
4892
4901
  "aria-hidden": "true"
4893
- }, as = ["data-half"], os = {
4902
+ }, ss = ["data-half"], cs = {
4894
4903
  key: 0,
4895
4904
  class: "uid-rating__label"
4896
- }, ss = /* @__PURE__ */ f({
4905
+ }, ls = /* @__PURE__ */ f({
4897
4906
  __name: "UidRating",
4898
4907
  props: /* @__PURE__ */ m({
4899
4908
  max: { default: 5 },
@@ -4923,7 +4932,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4923
4932
  }),
4924
4933
  emits: /* @__PURE__ */ m(["change"], ["update:modelValue"]),
4925
4934
  setup(n, { emit: r }) {
4926
- 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 ?? me);
4935
+ 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 ?? ge);
4927
4936
  function g(e) {
4928
4937
  let t = m.value;
4929
4938
  return t >= e ? {
@@ -4997,21 +5006,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
4997
5006
  onClick: (e) => y(e, t),
4998
5007
  onMousemove: (e) => b(e, t),
4999
5008
  onKeydown: (e) => C(e, t)
5000
- }, [l("span", is, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
5009
+ }, [l("span", os, [d(e, { icon: h.value }, null, 8, ["icon"])]), g(t).full ? (x(), c("span", {
5001
5010
  key: 0,
5002
5011
  class: "uid-rating__icon uid-rating__icon--filled",
5003
5012
  "data-half": g(t).half ? "true" : "false",
5004
5013
  "aria-hidden": "true"
5005
- }, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, as)) : s("", !0)], 40, rs))), 128)), n.showLabel ? (x(), c("span", os, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, ns));
5014
+ }, [d(e, { icon: h.value }, null, 8, ["icon"])], 8, ss)) : s("", !0)], 40, as))), 128)), n.showLabel ? (x(), c("span", cs, k(u.value.toFixed(+!!n.allowHalf)) + " / " + k(n.max), 1)) : s("", !0)], 42, is));
5006
5015
  }
5007
- }), cs = [
5016
+ }), us = [
5008
5017
  "tabindex",
5009
5018
  "aria-orientation",
5010
5019
  "aria-valuemin",
5011
5020
  "aria-valuemax",
5012
5021
  "aria-valuenow",
5013
5022
  "aria-disabled"
5014
- ], ls = { class: "uid-splitter__pane uid-splitter__pane--end" }, us = /* @__PURE__ */ f({
5023
+ ], ds = { class: "uid-splitter__pane uid-splitter__pane--end" }, fs = /* @__PURE__ */ f({
5015
5024
  __name: "UidSplitter",
5016
5025
  props: /* @__PURE__ */ m({
5017
5026
  direction: { default: "horizontal" },
@@ -5089,27 +5098,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5089
5098
  l("span", { class: "uid-splitter__grip-dot" }),
5090
5099
  l("span", { class: "uid-splitter__grip-dot" }),
5091
5100
  l("span", { class: "uid-splitter__grip-dot" })
5092
- ], -1)]], 40, cs),
5093
- l("div", ls, [E(t.$slots, "end")])
5101
+ ], -1)]], 40, us),
5102
+ l("div", ds, [E(t.$slots, "end")])
5094
5103
  ], 2));
5095
5104
  }
5096
- }), ds = {
5105
+ }), ps = {
5097
5106
  key: 0,
5098
5107
  class: "uid-stat__icon",
5099
5108
  "aria-hidden": "true"
5100
- }, fs = { class: "uid-stat__body" }, ps = {
5109
+ }, ms = { class: "uid-stat__body" }, hs = {
5101
5110
  key: 0,
5102
5111
  class: "uid-stat__title"
5103
- }, ms = { class: "uid-stat__value-row" }, hs = { class: "uid-stat__value" }, gs = {
5112
+ }, gs = { class: "uid-stat__value-row" }, _s = { class: "uid-stat__value" }, vs = {
5104
5113
  key: 0,
5105
5114
  class: "uid-stat__prefix"
5106
- }, _s = {
5115
+ }, ys = {
5107
5116
  key: 1,
5108
5117
  class: "uid-stat__suffix"
5109
- }, vs = {
5118
+ }, bs = {
5110
5119
  key: 1,
5111
5120
  class: "uid-stat__footer"
5112
- }, ys = /* @__PURE__ */ f({
5121
+ }, xs = /* @__PURE__ */ f({
5113
5122
  __name: "UidStat",
5114
5123
  props: {
5115
5124
  title: {},
@@ -5135,16 +5144,16 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5135
5144
  `uid-stat--${t.tone}`,
5136
5145
  t.variant === "ghost" && "uid-stat--ghost",
5137
5146
  t.loading && "uid-stat--loading"
5138
- ]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ds, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
5147
+ ]]) }, [t.icon || n.$slots.icon ? (x(), c("span", ps, [E(n.$slots, "icon", {}, () => [t.icon ? (x(), o(e, {
5139
5148
  key: 0,
5140
5149
  icon: t.icon,
5141
5150
  size: 20
5142
- }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", fs, [
5143
- t.title ? (x(), c("p", ps, k(t.title), 1)) : s("", !0),
5144
- l("div", ms, [l("span", hs, [E(n.$slots, "value", {}, () => [
5145
- t.prefix ? (x(), c("span", gs, k(t.prefix), 1)) : s("", !0),
5151
+ }, null, 8, ["icon"])) : s("", !0)])])) : s("", !0), l("div", ms, [
5152
+ t.title ? (x(), c("p", hs, k(t.title), 1)) : s("", !0),
5153
+ l("div", gs, [l("span", _s, [E(n.$slots, "value", {}, () => [
5154
+ t.prefix ? (x(), c("span", vs, k(t.prefix), 1)) : s("", !0),
5146
5155
  l("span", null, k(r.value), 1),
5147
- t.suffix ? (x(), c("span", _s, k(t.suffix), 1)) : s("", !0)
5156
+ t.suffix ? (x(), c("span", ys, k(t.suffix), 1)) : s("", !0)
5148
5157
  ])]), t.trend !== void 0 || n.$slots.trend ? (x(), c("span", {
5149
5158
  key: 0,
5150
5159
  class: _(["uid-stat__trend", i.value && `uid-stat__trend--${i.value}`])
@@ -5153,13 +5162,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5153
5162
  icon: d.value,
5154
5163
  size: 12
5155
5164
  }, null, 8, ["icon"])) : s("", !0), l("span", null, k(f.value), 1)])], 2)) : s("", !0)]),
5156
- t.footer || n.$slots.footer ? (x(), c("p", vs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
5165
+ t.footer || n.$slots.footer ? (x(), c("p", bs, [E(n.$slots, "footer", {}, () => [u(k(t.footer), 1)])])) : s("", !0)
5157
5166
  ])], 2));
5158
5167
  }
5159
- }), bs = Symbol("UidDescriptionList"), xs = {
5168
+ }), Ss = Symbol("UidDescriptionList"), Cs = {
5160
5169
  key: 0,
5161
5170
  class: "uid-description-list__title"
5162
- }, Ss = /* @__PURE__ */ f({
5171
+ }, ws = /* @__PURE__ */ f({
5163
5172
  __name: "UidDescriptionList",
5164
5173
  props: {
5165
5174
  title: {},
@@ -5174,7 +5183,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5174
5183
  },
5175
5184
  setup(e) {
5176
5185
  let t = e;
5177
- S(bs, {
5186
+ S(Ss, {
5178
5187
  direction: a(() => t.direction),
5179
5188
  bordered: a(() => t.bordered)
5180
5189
  });
@@ -5186,12 +5195,12 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5186
5195
  `uid-description-list--${e.direction}`,
5187
5196
  `uid-description-list--${e.size}`,
5188
5197
  e.bordered && "uid-description-list--bordered"
5189
- ]]) }, [e.title || t.$slots.title ? (x(), c("h3", xs, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
5198
+ ]]) }, [e.title || t.$slots.title ? (x(), c("h3", Cs, [E(t.$slots, "title", {}, () => [u(k(e.title), 1)])])) : s("", !0), l("dl", {
5190
5199
  class: "uid-description-list__grid",
5191
5200
  style: v(n.value)
5192
5201
  }, [E(t.$slots, "default")], 4)], 2));
5193
5202
  }
5194
- }), Cs = { class: "uid-description-item__label" }, ws = { class: "uid-description-item__value" }, Ts = ["aria-label"], Es = /* @__PURE__ */ f({
5203
+ }), Ts = { class: "uid-description-item__label" }, Es = { class: "uid-description-item__value" }, Ds = ["aria-label"], Os = /* @__PURE__ */ f({
5195
5204
  __name: "UidDescriptionItem",
5196
5205
  props: {
5197
5206
  label: {},
@@ -5204,7 +5213,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5204
5213
  },
5205
5214
  setup(t) {
5206
5215
  let n = $(), r = t;
5207
- P(), p(bs, null);
5216
+ p(Ss, null);
5208
5217
  let i = w(null), o = w(!1), f = a(() => ({ "--uid-desc-span": r.span }));
5209
5218
  async function m() {
5210
5219
  let e = r.copyValue ?? i.value?.querySelector(".uid-description-item__value")?.textContent?.trim() ?? "";
@@ -5219,7 +5228,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5219
5228
  ref: i,
5220
5229
  class: "uid-description-item",
5221
5230
  style: v(f.value)
5222
- }, [l("dt", Cs, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", ws, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
5231
+ }, [l("dt", Ts, [E(r.$slots, "label", {}, () => [u(k(t.label), 1)])]), l("dd", Es, [E(r.$slots, "default"), t.copyable ? (x(), c("button", {
5223
5232
  key: 0,
5224
5233
  type: "button",
5225
5234
  class: _(["uid-description-item__copy", { "uid-description-item__copy--copied": o.value }]),
@@ -5228,24 +5237,24 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5228
5237
  }, [d(e, {
5229
5238
  icon: o.value ? j(q) : j(oe),
5230
5239
  size: 12
5231
- }, null, 8, ["icon"])], 10, Ts)) : s("", !0)])], 4));
5240
+ }, null, 8, ["icon"])], 10, Ds)) : s("", !0)])], 4));
5232
5241
  }
5233
- }), Ds = {
5242
+ }), ks = {
5234
5243
  class: "uid-pattern-result__icon",
5235
5244
  "aria-hidden": "true"
5236
- }, Os = {
5245
+ }, As = {
5237
5246
  key: 0,
5238
5247
  class: "uid-pattern-result__title"
5239
- }, ks = {
5248
+ }, js = {
5240
5249
  key: 1,
5241
5250
  class: "uid-pattern-result__description"
5242
- }, As = {
5251
+ }, Ms = {
5243
5252
  key: 2,
5244
5253
  class: "uid-pattern-result__content"
5245
- }, js = {
5254
+ }, Ns = {
5246
5255
  key: 3,
5247
5256
  class: "uid-pattern-result__actions"
5248
- }, Ms = /* @__PURE__ */ f({
5257
+ }, Ps = /* @__PURE__ */ f({
5249
5258
  __name: "UidResult",
5250
5259
  props: {
5251
5260
  status: { default: "success" },
@@ -5259,25 +5268,25 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5259
5268
  setup(t) {
5260
5269
  let n = t, r = {
5261
5270
  success: J,
5262
- info: le,
5271
+ info: de,
5263
5272
  warning: W,
5264
- error: ve
5273
+ error: be
5265
5274
  }, i = a(() => r[n.status]);
5266
5275
  return (n, r) => (x(), c("div", {
5267
5276
  class: _(["uid-pattern-result", [`uid-pattern-result--${t.status}`, t.compact && "uid-pattern-result--compact"]]),
5268
5277
  role: "status"
5269
5278
  }, [
5270
- l("div", Ds, [E(n.$slots, "icon", {}, () => [d(e, {
5279
+ l("div", ks, [E(n.$slots, "icon", {}, () => [d(e, {
5271
5280
  icon: i.value,
5272
5281
  size: t.compact ? 32 : 40
5273
5282
  }, null, 8, ["icon", "size"])])]),
5274
- t.title || n.$slots.title ? (x(), c("h2", Os, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
5275
- t.description || n.$slots.description ? (x(), c("p", ks, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
5276
- n.$slots.default ? (x(), c("div", As, [E(n.$slots, "default")])) : s("", !0),
5277
- n.$slots.actions ? (x(), c("div", js, [E(n.$slots, "actions")])) : s("", !0)
5283
+ t.title || n.$slots.title ? (x(), c("h2", As, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])])) : s("", !0),
5284
+ t.description || n.$slots.description ? (x(), c("p", js, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0),
5285
+ n.$slots.default ? (x(), c("div", Ms, [E(n.$slots, "default")])) : s("", !0),
5286
+ n.$slots.actions ? (x(), c("div", Ns, [E(n.$slots, "actions")])) : s("", !0)
5278
5287
  ], 2));
5279
5288
  }
5280
- }), Ns = ["aria-label"], Ps = /* @__PURE__ */ f({
5289
+ }), Fs = ["aria-label"], Is = /* @__PURE__ */ f({
5281
5290
  __name: "UidBackTop",
5282
5291
  props: {
5283
5292
  visibleAfter: { default: 200 },
@@ -5325,11 +5334,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5325
5334
  }, [E(t.$slots, "default", {}, () => [d(e, {
5326
5335
  icon: j(K),
5327
5336
  size: 20
5328
- }, null, 8, ["icon"])])], 8, Ns), [[L, f.value]])]),
5337
+ }, null, 8, ["icon"])])], 8, Fs), [[L, f.value]])]),
5329
5338
  _: 3
5330
5339
  }));
5331
5340
  }
5332
- }), Fs = { class: "uid-affix__content" }, Is = /* @__PURE__ */ f({
5341
+ }), Ls = { class: "uid-affix__content" }, Rs = /* @__PURE__ */ f({
5333
5342
  __name: "UidAffix",
5334
5343
  props: {
5335
5344
  offsetTop: {},
@@ -5359,9 +5368,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5359
5368
  ref: o,
5360
5369
  class: "uid-affix__sentinel",
5361
5370
  "aria-hidden": "true"
5362
- }, null, 512), l("div", Fs, [E(e.$slots, "default")])], 6));
5371
+ }, null, 512), l("div", Ls, [E(e.$slots, "default")])], 6));
5363
5372
  }
5364
- }), Ls = { class: "uid-watermark" }, Rs = { class: "uid-watermark__content" }, zs = /* @__PURE__ */ f({
5373
+ }), zs = { class: "uid-watermark" }, Bs = { class: "uid-watermark__content" }, Vs = /* @__PURE__ */ f({
5365
5374
  __name: "UidWatermark",
5366
5375
  props: {
5367
5376
  content: { default: "" },
@@ -5408,27 +5417,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5408
5417
  i();
5409
5418
  }), b(() => {
5410
5419
  n.value = "";
5411
- }), (e, t) => (x(), c("div", Ls, [l("div", {
5420
+ }), (e, t) => (x(), c("div", zs, [l("div", {
5412
5421
  class: "uid-watermark__overlay",
5413
5422
  style: v(o.value),
5414
5423
  "aria-hidden": "true"
5415
- }, null, 4), l("div", Rs, [E(e.$slots, "default")])]));
5424
+ }, null, 4), l("div", Bs, [E(e.$slots, "default")])]));
5416
5425
  }
5417
- }), Bs = {
5426
+ }), Hs = {
5418
5427
  class: "uid-anchor",
5419
5428
  "aria-label": "Содержание"
5420
- }, Vs = { class: "uid-anchor__list" }, Hs = [
5429
+ }, Us = { class: "uid-anchor__list" }, Ws = [
5421
5430
  "href",
5422
5431
  "aria-current",
5423
5432
  "onClick"
5424
- ], Us = {
5433
+ ], Gs = {
5425
5434
  key: 0,
5426
5435
  class: "uid-anchor__sublist"
5427
- }, Ws = [
5436
+ }, Ks = [
5428
5437
  "href",
5429
5438
  "aria-current",
5430
5439
  "onClick"
5431
- ], Gs = /* @__PURE__ */ f({
5440
+ ], qs = /* @__PURE__ */ f({
5432
5441
  __name: "UidAnchor",
5433
5442
  props: /* @__PURE__ */ m({
5434
5443
  items: {},
@@ -5492,7 +5501,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5492
5501
  behavior: r.smooth ? "smooth" : "auto"
5493
5502
  });
5494
5503
  }
5495
- return (n, r) => (x(), c("nav", Bs, [l("ul", Vs, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
5504
+ return (n, r) => (x(), c("nav", Hs, [l("ul", Us, [(x(!0), c(t, null, T(e.items, (e) => (x(), c("li", {
5496
5505
  key: e.key,
5497
5506
  class: "uid-anchor__item"
5498
5507
  }, [l("a", {
@@ -5500,7 +5509,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5500
5509
  class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
5501
5510
  "aria-current": a.value === e.key ? "location" : void 0,
5502
5511
  onClick: (t) => m(t, e)
5503
- }, k(e.title), 11, Hs), e.children?.length ? (x(), c("ul", Us, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
5512
+ }, k(e.title), 11, Ws), e.children?.length ? (x(), c("ul", Gs, [(x(!0), c(t, null, T(e.children, (e) => (x(), c("li", {
5504
5513
  key: e.key,
5505
5514
  class: "uid-anchor__item"
5506
5515
  }, [l("a", {
@@ -5508,18 +5517,18 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5508
5517
  class: _(["uid-anchor__link", { "uid-anchor__link--active": a.value === e.key }]),
5509
5518
  "aria-current": a.value === e.key ? "location" : void 0,
5510
5519
  onClick: (t) => m(t, e)
5511
- }, k(e.title), 11, Ws)]))), 128))])) : s("", !0)]))), 128))])]));
5520
+ }, k(e.title), 11, Ks)]))), 128))])) : s("", !0)]))), 128))])]));
5512
5521
  }
5513
- }), Ks = ["aria-label"], qs = {
5522
+ }), Js = ["aria-label"], Ys = {
5514
5523
  key: 0,
5515
5524
  class: "uid-tour__title"
5516
- }, Js = {
5525
+ }, Xs = {
5517
5526
  key: 1,
5518
5527
  class: "uid-tour__description"
5519
- }, Ys = { class: "uid-tour__footer" }, Xs = {
5528
+ }, Zs = { class: "uid-tour__footer" }, Qs = {
5520
5529
  key: 0,
5521
5530
  class: "uid-tour__progress"
5522
- }, Zs = { key: 1 }, Qs = { class: "uid-tour__actions" }, $s = /* @__PURE__ */ f({
5531
+ }, $s = { key: 1 }, ec = { class: "uid-tour__actions" }, tc = /* @__PURE__ */ f({
5523
5532
  __name: "UidTour",
5524
5533
  props: /* @__PURE__ */ m({
5525
5534
  steps: {},
@@ -5658,9 +5667,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5658
5667
  class: _(["uid-tour__popover", { "uid-tour__popover--center": F.value }]),
5659
5668
  style: v(F.value ? void 0 : P.value)
5660
5669
  }, [
5661
- D.value.title ? (x(), c("h3", qs, k(D.value.title), 1)) : s("", !0),
5662
- D.value.description ? (x(), c("p", Js, k(D.value.description), 1)) : s("", !0),
5663
- l("div", Ys, [e.showProgress ? (x(), c("span", Xs, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", Zs)), l("div", Qs, [
5670
+ D.value.title ? (x(), c("h3", Ys, k(D.value.title), 1)) : s("", !0),
5671
+ D.value.description ? (x(), c("p", Xs, k(D.value.description), 1)) : s("", !0),
5672
+ l("div", Zs, [e.showProgress ? (x(), c("span", Qs, k(y.value + 1) + " / " + k(e.steps.length), 1)) : (x(), c("span", $s)), l("div", ec, [
5664
5673
  e.showSkip && y.value < e.steps.length - 1 ? (x(), c("button", {
5665
5674
  key: 0,
5666
5675
  type: "button",
@@ -5680,21 +5689,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5680
5689
  }, k(y.value === e.steps.length - 1 ? f.value : u.value), 1)
5681
5690
  ])])
5682
5691
  ], 6)
5683
- ], 8, Ks)) : s("", !0)]));
5692
+ ], 8, Js)) : s("", !0)]));
5684
5693
  }
5685
- }), ec = ["for"], tc = [
5694
+ }), nc = ["for"], rc = [
5686
5695
  "id",
5687
5696
  "value",
5688
5697
  "placeholder",
5689
5698
  "rows",
5690
5699
  "disabled"
5691
- ], nc = ["onMousedown", "onMouseenter"], rc = { class: "uid-mention__option-label" }, ic = {
5700
+ ], ic = ["onMousedown", "onMouseenter"], ac = { class: "uid-mention__option-label" }, oc = {
5692
5701
  key: 0,
5693
5702
  class: "uid-mention__option-hint"
5694
- }, ac = {
5703
+ }, sc = {
5695
5704
  key: 0,
5696
5705
  class: "uid-mention__empty"
5697
- }, oc = /* @__PURE__ */ f({
5706
+ }, cc = /* @__PURE__ */ f({
5698
5707
  __name: "UidMention",
5699
5708
  props: /* @__PURE__ */ m({
5700
5709
  options: {},
@@ -5772,7 +5781,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5772
5781
  key: 0,
5773
5782
  for: j(p),
5774
5783
  class: "uid-mention__label"
5775
- }, k(e.label), 9, ec)) : s("", !0),
5784
+ }, k(e.label), 9, nc)) : s("", !0),
5776
5785
  l("textarea", {
5777
5786
  id: j(p),
5778
5787
  ref_key: "fieldRef",
@@ -5787,7 +5796,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5787
5796
  onKeydown: L,
5788
5797
  onKeyup: O,
5789
5798
  onBlur: r[0] ||= (e) => m.value = !1
5790
- }, null, 40, tc),
5799
+ }, null, 40, rc),
5791
5800
  m.value ? (x(), c("div", {
5792
5801
  key: 1,
5793
5802
  class: "uid-mention__dropdown",
@@ -5798,30 +5807,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5798
5807
  class: _(["uid-mention__option", { "uid-mention__option--active": t === y.value }]),
5799
5808
  onMousedown: H((t) => P(e), ["prevent"]),
5800
5809
  onMouseenter: (e) => y.value = t
5801
- }, [l("span", rc, k(e.label), 1), e.hint ? (x(), c("span", ic, k(e.hint), 1)) : s("", !0)], 42, nc))), 128)), D.value.length === 0 ? (x(), c("div", ac, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
5810
+ }, [l("span", ac, k(e.label), 1), e.hint ? (x(), c("span", oc, k(e.hint), 1)) : s("", !0)], 42, ic))), 128)), D.value.length === 0 ? (x(), c("div", sc, k(o.value), 1)) : s("", !0)], 4)) : s("", !0)
5802
5811
  ], 2));
5803
5812
  }
5804
- }), sc = ["for"], cc = {
5813
+ }), lc = ["for"], uc = {
5805
5814
  key: 0,
5806
5815
  class: "uid-tree-select__required",
5807
5816
  "aria-hidden": "true"
5808
- }, lc = [
5817
+ }, dc = [
5809
5818
  "id",
5810
5819
  "aria-expanded",
5811
5820
  "aria-controls",
5812
5821
  "aria-label",
5813
5822
  "aria-disabled",
5814
5823
  "aria-invalid"
5815
- ], uc = { class: "uid-tree-select__value" }, dc = ["aria-label", "onClick"], fc = {
5824
+ ], fc = { class: "uid-tree-select__value" }, pc = ["aria-label", "onClick"], mc = {
5816
5825
  key: 0,
5817
5826
  class: "uid-tree-select__chip"
5818
- }, pc = {
5827
+ }, hc = {
5819
5828
  key: 1,
5820
5829
  class: "uid-tree-select__placeholder"
5821
- }, mc = { key: 0 }, hc = {
5830
+ }, gc = { key: 0 }, _c = {
5822
5831
  key: 1,
5823
5832
  class: "uid-tree-select__placeholder"
5824
- }, gc = { class: "uid-tree-select__suffix" }, _c = ["aria-label"], vc = ["id"], yc = /* @__PURE__ */ f({
5833
+ }, vc = { class: "uid-tree-select__suffix" }, yc = ["aria-label"], bc = ["id"], xc = /* @__PURE__ */ f({
5825
5834
  __name: "UidTreeSelect",
5826
5835
  props: /* @__PURE__ */ m({
5827
5836
  nodes: {},
@@ -5914,7 +5923,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5914
5923
  key: 0,
5915
5924
  for: j(S),
5916
5925
  class: "uid-tree-select__label"
5917
- }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", cc, "*")) : s("", !0)], 8, sc)) : s("", !0),
5926
+ }, [u(k(n.label) + " ", 1), n.required ? (x(), c("span", uc, "*")) : s("", !0)], 8, lc)) : s("", !0),
5918
5927
  l("div", {
5919
5928
  id: j(S),
5920
5929
  ref_key: "triggerRef",
@@ -5930,7 +5939,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5930
5939
  "aria-invalid": E.value ? "true" : void 0,
5931
5940
  onClick: V,
5932
5941
  onKeydown: ee
5933
- }, [l("div", uc, [n.multiple ? (x(), c(t, { key: 0 }, [
5942
+ }, [l("div", fc, [n.multiple ? (x(), c(t, { key: 0 }, [
5934
5943
  (x(!0), c(t, null, T(I.value, (e) => (x(), c("span", {
5935
5944
  key: e.key,
5936
5945
  class: "uid-tree-select__chip"
@@ -5939,29 +5948,29 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5939
5948
  class: "uid-tree-select__chip-remove",
5940
5949
  "aria-label": j(o).treeSelect.removeTag(e.label),
5941
5950
  onClick: H((t) => G(t, e.key), ["stop"])
5942
- }, "×", 8, dc)]))), 128)),
5943
- L.value > 0 ? (x(), c("span", fc, "+" + k(L.value), 1)) : s("", !0),
5944
- F.value.length === 0 ? (x(), c("span", pc, k(f.value), 1)) : s("", !0)
5945
- ], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", mc, k(F.value[0].label), 1)) : (x(), c("span", hc, k(f.value), 1))], 64))]), l("div", gc, [n.clearable && P.value.length > 0 ? (x(), c("button", {
5951
+ }, "×", 8, pc)]))), 128)),
5952
+ L.value > 0 ? (x(), c("span", mc, "+" + k(L.value), 1)) : s("", !0),
5953
+ F.value.length === 0 ? (x(), c("span", hc, k(f.value), 1)) : s("", !0)
5954
+ ], 64)) : (x(), c(t, { key: 1 }, [F.value.length > 0 ? (x(), c("span", gc, k(F.value[0].label), 1)) : (x(), c("span", _c, k(f.value), 1))], 64))]), l("div", vc, [n.clearable && P.value.length > 0 ? (x(), c("button", {
5946
5955
  key: 0,
5947
5956
  type: "button",
5948
5957
  class: "uid-tree-select__clear",
5949
5958
  "aria-label": j(o).common.clear,
5950
5959
  onClick: W
5951
5960
  }, [d(e, {
5952
- icon: j(_e),
5961
+ icon: j(ye),
5953
5962
  size: 14
5954
- }, null, 8, ["icon"])], 8, _c)) : s("", !0), d(e, {
5963
+ }, null, 8, ["icon"])], 8, yc)) : s("", !0), d(e, {
5955
5964
  icon: j(Y),
5956
5965
  size: 16,
5957
5966
  class: _(["uid-tree-select__chevron", { "uid-tree-select__chevron--open": g.value }]),
5958
5967
  "aria-hidden": "true"
5959
- }, null, 8, ["icon", "class"])])], 40, lc),
5968
+ }, null, 8, ["icon", "class"])])], 40, dc),
5960
5969
  g.value ? (x(), c("div", {
5961
5970
  key: 1,
5962
5971
  id: j(C),
5963
5972
  class: "uid-tree-select__dropdown"
5964
- }, [d(So, {
5973
+ }, [d(wo, {
5965
5974
  nodes: n.nodes,
5966
5975
  "expanded-keys": h.value,
5967
5976
  "onUpdate:expandedKeys": i[0] ||= (e) => h.value = e,
@@ -5977,19 +5986,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
5977
5986
  "selectable",
5978
5987
  "default-expand-all",
5979
5988
  "show-guides"
5980
- ])], 8, vc)) : s("", !0),
5989
+ ])], 8, bc)) : s("", !0),
5981
5990
  D.value ? (x(), c("p", {
5982
5991
  key: 2,
5983
5992
  class: _(["uid-tree-select__hint", E.value && "uid-tree-select__hint--error"])
5984
5993
  }, k(D.value), 3)) : s("", !0)
5985
5994
  ], 2));
5986
5995
  }
5987
- }), bc = {
5996
+ }), Sc = {
5988
5997
  key: 0,
5989
5998
  class: "uid-notification-badge__dot",
5990
5999
  role: "status",
5991
6000
  "aria-hidden": "true"
5992
- }, xc = ["aria-label"], Sc = /* @__PURE__ */ f({
6001
+ }, Cc = ["aria-label"], wc = /* @__PURE__ */ f({
5993
6002
  __name: "UidNotificationBadge",
5994
6003
  props: {
5995
6004
  count: { default: 0 },
@@ -6016,22 +6025,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6016
6025
  return (t, a) => (x(), c("span", {
6017
6026
  class: _(["uid-notification-badge", [`uid-notification-badge--${e.placement}`, e.tone !== "danger" && `uid-notification-badge--${e.tone}`]]),
6018
6027
  style: v(i.value)
6019
- }, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", bc)) : n.value ? (x(), c("span", {
6028
+ }, [E(t.$slots, "default"), n.value && e.dot ? (x(), c("span", Sc)) : n.value ? (x(), c("span", {
6020
6029
  key: 1,
6021
6030
  class: "uid-notification-badge__count",
6022
6031
  role: "status",
6023
6032
  "aria-label": `${e.count}`
6024
- }, k(r.value), 9, xc)) : s("", !0)], 6));
6033
+ }, k(r.value), 9, Cc)) : s("", !0)], 6));
6025
6034
  }
6026
- }), Cc = ["aria-hidden", "aria-label"], wc = ["disabled"], Tc = ["disabled"], Ec = {
6035
+ }), Tc = ["aria-hidden", "aria-label"], Ec = ["disabled"], Dc = ["disabled"], Oc = {
6027
6036
  key: 2,
6028
6037
  class: "uid-carousel__indicators",
6029
6038
  role: "tablist"
6030
- }, Dc = [
6039
+ }, kc = [
6031
6040
  "aria-selected",
6032
6041
  "aria-label",
6033
6042
  "onClick"
6034
- ], Oc = /* @__PURE__ */ f({
6043
+ ], Ac = /* @__PURE__ */ f({
6035
6044
  __name: "UidCarousel",
6036
6045
  props: /* @__PURE__ */ m({
6037
6046
  items: {},
@@ -6123,7 +6132,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6123
6132
  }, [E(r.$slots, "default", {
6124
6133
  item: e,
6125
6134
  index: t
6126
- })], 8, Cc))), 128))], 4),
6135
+ })], 8, Tc))), 128))], 4),
6127
6136
  n.showArrows && g.value > 1 ? (x(), c("button", {
6128
6137
  key: 0,
6129
6138
  type: "button",
@@ -6134,7 +6143,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6134
6143
  }, [d(e, {
6135
6144
  icon: n.direction === "vertical" ? j(ie) : j(re),
6136
6145
  size: 20
6137
- }, null, 8, ["icon"])], 8, wc)) : s("", !0),
6146
+ }, null, 8, ["icon"])], 8, Ec)) : s("", !0),
6138
6147
  n.showArrows && g.value > 1 ? (x(), c("button", {
6139
6148
  key: 1,
6140
6149
  type: "button",
@@ -6145,8 +6154,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6145
6154
  }, [d(e, {
6146
6155
  icon: n.direction === "vertical" ? j(Y) : j(X),
6147
6156
  size: 20
6148
- }, null, 8, ["icon"])], 8, Tc)) : s("", !0),
6149
- n.showIndicators && g.value > 1 ? (x(), c("div", Ec, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
6157
+ }, null, 8, ["icon"])], 8, Dc)) : s("", !0),
6158
+ n.showIndicators && g.value > 1 ? (x(), c("div", Oc, [(x(!0), c(t, null, T(n.items, (e, t) => (x(), c("button", {
6150
6159
  key: t,
6151
6160
  type: "button",
6152
6161
  class: _(["uid-carousel__indicator", { "uid-carousel__indicator--active": t === f.value }]),
@@ -6154,38 +6163,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6154
6163
  "aria-selected": t === f.value,
6155
6164
  "aria-label": `Слайд ${t + 1}`,
6156
6165
  onClick: (e) => C(t)
6157
- }, null, 10, Dc))), 128))])) : s("", !0)
6166
+ }, null, 10, kc))), 128))])) : s("", !0)
6158
6167
  ], 34));
6159
6168
  }
6160
- }), kc = { class: "uid-transfer__panel" }, Ac = { class: "uid-transfer__header" }, jc = { class: "uid-transfer__title" }, Mc = ["aria-checked"], Nc = { class: "uid-transfer__count" }, Pc = {
6169
+ }), jc = { class: "uid-transfer__panel" }, Mc = { class: "uid-transfer__header" }, Nc = { class: "uid-transfer__title" }, Pc = ["aria-checked"], Fc = { class: "uid-transfer__count" }, Ic = {
6161
6170
  key: 0,
6162
6171
  class: "uid-transfer__search"
6163
- }, Fc = ["placeholder"], Ic = {
6172
+ }, Lc = ["placeholder"], Rc = {
6164
6173
  class: "uid-transfer__list",
6165
6174
  role: "listbox",
6166
6175
  "aria-multiselectable": "true"
6167
- }, Lc = [
6176
+ }, zc = [
6168
6177
  "aria-selected",
6169
6178
  "aria-disabled",
6170
6179
  "onClick"
6171
- ], Rc = { class: "uid-transfer__label" }, zc = {
6180
+ ], Bc = { class: "uid-transfer__label" }, Vc = {
6172
6181
  key: 0,
6173
6182
  class: "uid-transfer__empty"
6174
- }, Bc = { class: "uid-transfer__ops" }, Vc = ["disabled"], Hc = ["disabled"], Uc = { class: "uid-transfer__panel" }, Wc = { class: "uid-transfer__header" }, Gc = { class: "uid-transfer__title" }, Kc = ["aria-checked"], qc = { class: "uid-transfer__count" }, Jc = {
6183
+ }, Hc = { class: "uid-transfer__ops" }, Uc = ["disabled"], Wc = ["disabled"], Gc = { class: "uid-transfer__panel" }, Kc = { class: "uid-transfer__header" }, qc = { class: "uid-transfer__title" }, Jc = ["aria-checked"], Yc = { class: "uid-transfer__count" }, Xc = {
6175
6184
  key: 0,
6176
6185
  class: "uid-transfer__search"
6177
- }, Yc = ["placeholder"], Xc = {
6186
+ }, Zc = ["placeholder"], Qc = {
6178
6187
  class: "uid-transfer__list",
6179
6188
  role: "listbox",
6180
6189
  "aria-multiselectable": "true"
6181
- }, Zc = [
6190
+ }, $c = [
6182
6191
  "aria-selected",
6183
6192
  "aria-disabled",
6184
6193
  "onClick"
6185
- ], Qc = { class: "uid-transfer__label" }, $c = {
6194
+ ], el = { class: "uid-transfer__label" }, tl = {
6186
6195
  key: 0,
6187
6196
  class: "uid-transfer__empty"
6188
- }, el = /* @__PURE__ */ f({
6197
+ }, nl = /* @__PURE__ */ f({
6189
6198
  __name: "UidTransfer",
6190
6199
  props: /* @__PURE__ */ m({
6191
6200
  items: {},
@@ -6236,8 +6245,8 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6236
6245
  p.value = e, g.value = /* @__PURE__ */ new Set(), f("change", e);
6237
6246
  }
6238
6247
  return (r, i) => (x(), c("div", { class: _(["uid-transfer", { "uid-transfer--disabled": n.disabled }]) }, [
6239
- l("div", kc, [
6240
- l("div", Ac, [l("span", jc, [l("span", {
6248
+ l("div", jc, [
6249
+ l("div", Mc, [l("span", Nc, [l("span", {
6241
6250
  class: _(["uid-transfer__check", { "uid-transfer__check--checked": P.value }]),
6242
6251
  role: "checkbox",
6243
6252
  "aria-checked": P.value,
@@ -6248,14 +6257,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6248
6257
  key: 0,
6249
6258
  icon: j(q),
6250
6259
  size: 10
6251
- }, null, 8, ["icon"])) : s("", !0)], 42, Mc), u(" " + k(b.value[0]), 1)]), l("span", Nc, k(h.value.size) + " / " + k(D.value.length), 1)]),
6252
- n.searchable ? (x(), c("div", Pc, [B(l("input", {
6260
+ }, null, 8, ["icon"])) : s("", !0)], 42, Pc), u(" " + k(b.value[0]), 1)]), l("span", Fc, k(h.value.size) + " / " + k(D.value.length), 1)]),
6261
+ n.searchable ? (x(), c("div", Ic, [B(l("input", {
6253
6262
  "onUpdate:modelValue": i[3] ||= (e) => v.value = e,
6254
6263
  class: "uid-transfer__search-input",
6255
6264
  type: "text",
6256
6265
  placeholder: j(m).common.search
6257
- }, null, 8, Fc), [[I, v.value]])])) : s("", !0),
6258
- l("ul", Ic, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
6266
+ }, null, 8, Lc), [[I, v.value]])])) : s("", !0),
6267
+ l("ul", Rc, [(x(!0), c(t, null, T(D.value, (t) => (x(), c("li", {
6259
6268
  key: t.key,
6260
6269
  class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
6261
6270
  role: "option",
@@ -6269,9 +6278,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6269
6278
  key: 0,
6270
6279
  icon: j(q),
6271
6280
  size: 10
6272
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Rc, k(t.label), 1)], 10, Lc))), 128)), D.value.length === 0 ? (x(), c("li", zc, k(j(m).common.noResults), 1)) : s("", !0)])
6281
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Bc, k(t.label), 1)], 10, zc))), 128)), D.value.length === 0 ? (x(), c("li", Vc, k(j(m).common.noResults), 1)) : s("", !0)])
6273
6282
  ]),
6274
- l("div", Bc, [l("button", {
6283
+ l("div", Hc, [l("button", {
6275
6284
  type: "button",
6276
6285
  class: "uid-transfer__op",
6277
6286
  disabled: h.value.size === 0 || n.disabled,
@@ -6280,7 +6289,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6280
6289
  }, [d(e, {
6281
6290
  icon: j(X),
6282
6291
  size: 16
6283
- }, null, 8, ["icon"])], 8, Vc), l("button", {
6292
+ }, null, 8, ["icon"])], 8, Uc), l("button", {
6284
6293
  type: "button",
6285
6294
  class: "uid-transfer__op",
6286
6295
  disabled: g.value.size === 0 || n.disabled,
@@ -6289,9 +6298,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6289
6298
  }, [d(e, {
6290
6299
  icon: j(re),
6291
6300
  size: 16
6292
- }, null, 8, ["icon"])], 8, Hc)]),
6293
- l("div", Uc, [
6294
- l("div", Wc, [l("span", Gc, [l("span", {
6301
+ }, null, 8, ["icon"])], 8, Wc)]),
6302
+ l("div", Gc, [
6303
+ l("div", Kc, [l("span", qc, [l("span", {
6295
6304
  class: _(["uid-transfer__check", { "uid-transfer__check--checked": F.value }]),
6296
6305
  role: "checkbox",
6297
6306
  "aria-checked": F.value,
@@ -6302,14 +6311,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6302
6311
  key: 0,
6303
6312
  icon: j(q),
6304
6313
  size: 10
6305
- }, null, 8, ["icon"])) : s("", !0)], 42, Kc), u(" " + k(b.value[1]), 1)]), l("span", qc, k(g.value.size) + " / " + k(O.value.length), 1)]),
6306
- n.searchable ? (x(), c("div", Jc, [B(l("input", {
6314
+ }, null, 8, ["icon"])) : s("", !0)], 42, Jc), u(" " + k(b.value[1]), 1)]), l("span", Yc, k(g.value.size) + " / " + k(O.value.length), 1)]),
6315
+ n.searchable ? (x(), c("div", Xc, [B(l("input", {
6307
6316
  "onUpdate:modelValue": i[7] ||= (e) => y.value = e,
6308
6317
  class: "uid-transfer__search-input",
6309
6318
  type: "text",
6310
6319
  placeholder: j(m).common.search
6311
- }, null, 8, Yc), [[I, y.value]])])) : s("", !0),
6312
- l("ul", Xc, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
6320
+ }, null, 8, Zc), [[I, y.value]])])) : s("", !0),
6321
+ l("ul", Qc, [(x(!0), c(t, null, T(O.value, (t) => (x(), c("li", {
6313
6322
  key: t.key,
6314
6323
  class: _(["uid-transfer__item", { "uid-transfer__item--disabled": t.disabled }]),
6315
6324
  role: "option",
@@ -6323,30 +6332,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6323
6332
  key: 0,
6324
6333
  icon: j(q),
6325
6334
  size: 10
6326
- }, null, 8, ["icon"])) : s("", !0)], 2), l("span", Qc, k(t.label), 1)], 10, Zc))), 128)), O.value.length === 0 ? (x(), c("li", $c, k(j(m).common.noResults), 1)) : s("", !0)])
6335
+ }, null, 8, ["icon"])) : s("", !0)], 2), l("span", el, k(t.label), 1)], 10, $c))), 128)), O.value.length === 0 ? (x(), c("li", tl, k(j(m).common.noResults), 1)) : s("", !0)])
6327
6336
  ])
6328
6337
  ], 2));
6329
6338
  }
6330
- }), tl = {
6339
+ }), rl = {
6331
6340
  key: 0,
6332
6341
  class: "uid-cascader__label"
6333
- }, nl = [
6342
+ }, il = [
6334
6343
  "aria-expanded",
6335
6344
  "aria-disabled",
6336
6345
  "aria-label"
6337
- ], rl = { class: "uid-cascader__value" }, il = {
6346
+ ], al = { class: "uid-cascader__value" }, ol = {
6338
6347
  key: 0,
6339
6348
  class: "uid-cascader__separator"
6340
- }, al = {
6349
+ }, sl = {
6341
6350
  key: 1,
6342
6351
  class: "uid-cascader__placeholder"
6343
- }, ol = { class: "uid-cascader__suffix" }, sl = ["aria-label"], cl = {
6352
+ }, cl = { class: "uid-cascader__suffix" }, ll = ["aria-label"], ul = {
6344
6353
  key: 1,
6345
6354
  class: "uid-cascader__dropdown"
6346
- }, ll = ["onClick", "onMouseenter"], ul = { class: "uid-cascader__option-label" }, dl = {
6355
+ }, dl = ["onClick", "onMouseenter"], fl = { class: "uid-cascader__option-label" }, pl = {
6347
6356
  key: 2,
6348
6357
  class: "uid-cascader__hint"
6349
- }, fl = /* @__PURE__ */ f({
6358
+ }, ml = /* @__PURE__ */ f({
6350
6359
  __name: "UidCascader",
6351
6360
  props: /* @__PURE__ */ m({
6352
6361
  options: {},
@@ -6451,7 +6460,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6451
6460
  "uid-cascader--disabled": n.disabled
6452
6461
  }])
6453
6462
  }, [
6454
- n.label ? (x(), c("label", tl, k(n.label), 1)) : s("", !0),
6463
+ n.label ? (x(), c("label", rl, k(n.label), 1)) : s("", !0),
6455
6464
  l("div", {
6456
6465
  class: "uid-cascader__trigger",
6457
6466
  tabindex: "0",
@@ -6462,21 +6471,21 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6462
6471
  "aria-label": m.value,
6463
6472
  onClick: A,
6464
6473
  onKeydown: I
6465
- }, [l("div", rl, [E.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(E.value, (e, r) => (x(), c(t, { key: r }, [l("span", null, k(e), 1), r < E.value.length - 1 ? (x(), c("span", il, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", al, k(m.value), 1))]), l("div", ol, [n.clearable && f.value.length > 0 ? (x(), c("button", {
6474
+ }, [l("div", al, [E.value.length > 0 ? (x(!0), c(t, { key: 0 }, T(E.value, (e, r) => (x(), c(t, { key: r }, [l("span", null, k(e), 1), r < E.value.length - 1 ? (x(), c("span", ol, k(n.separator), 1)) : s("", !0)], 64))), 128)) : (x(), c("span", sl, k(m.value), 1))]), l("div", cl, [n.clearable && f.value.length > 0 ? (x(), c("button", {
6466
6475
  key: 0,
6467
6476
  type: "button",
6468
6477
  class: "uid-cascader__clear",
6469
6478
  "aria-label": j(p).common.clear,
6470
6479
  onClick: F
6471
6480
  }, [d(e, {
6472
- icon: j(_e),
6481
+ icon: j(ye),
6473
6482
  size: 14
6474
- }, null, 8, ["icon"])], 8, sl)) : s("", !0), d(e, {
6483
+ }, null, 8, ["icon"])], 8, ll)) : s("", !0), d(e, {
6475
6484
  icon: j(Y),
6476
6485
  size: 16,
6477
6486
  class: _(["uid-cascader__chevron", { "uid-cascader__chevron--open": h.value }])
6478
- }, null, 8, ["icon", "class"])])], 40, nl),
6479
- h.value ? (x(), c("div", cl, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
6487
+ }, null, 8, ["icon", "class"])])], 40, il),
6488
+ h.value ? (x(), c("div", ul, [(x(!0), c(t, null, T(S.value, (r, i) => (x(), c("div", {
6480
6489
  key: i,
6481
6490
  class: "uid-cascader__column"
6482
6491
  }, [(x(!0), c(t, null, T(r, (t) => (x(), c("button", {
@@ -6488,27 +6497,27 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6488
6497
  }]),
6489
6498
  onClick: (e) => M(t, i),
6490
6499
  onMouseenter: (e) => n.expandTrigger === "hover" && t.children && M(t, i)
6491
- }, [l("span", ul, k(t.label), 1), t.children?.length ? (x(), o(e, {
6500
+ }, [l("span", fl, k(t.label), 1), t.children?.length ? (x(), o(e, {
6492
6501
  key: 0,
6493
6502
  icon: j(X),
6494
6503
  size: 14,
6495
6504
  class: "uid-cascader__option-arrow",
6496
6505
  "aria-hidden": "true"
6497
- }, null, 8, ["icon"])) : s("", !0)], 42, ll))), 128))]))), 128))])) : s("", !0),
6498
- n.hint ? (x(), c("p", dl, k(n.hint), 1)) : s("", !0)
6506
+ }, null, 8, ["icon"])) : s("", !0)], 42, dl))), 128))]))), 128))])) : s("", !0),
6507
+ n.hint ? (x(), c("p", pl, k(n.hint), 1)) : s("", !0)
6499
6508
  ], 2));
6500
6509
  }
6501
- }), pl = { class: "uid-calendar__header" }, ml = { class: "uid-calendar__title" }, hl = { class: "uid-calendar__nav" }, gl = ["aria-label"], _l = ["aria-label"], vl = { class: "uid-calendar__weekdays" }, yl = { class: "uid-calendar__grid" }, bl = [
6510
+ }), hl = { class: "uid-calendar__header" }, gl = { class: "uid-calendar__title" }, _l = { class: "uid-calendar__nav" }, vl = ["aria-label"], yl = ["aria-label"], bl = { class: "uid-calendar__weekdays" }, xl = { class: "uid-calendar__grid" }, Sl = [
6502
6511
  "tabindex",
6503
6512
  "aria-current",
6504
6513
  "aria-selected",
6505
6514
  "aria-label",
6506
6515
  "onClick",
6507
6516
  "onKeydown"
6508
- ], xl = { class: "uid-calendar__date" }, Sl = { class: "uid-calendar__events" }, Cl = ["title", "onClick"], wl = { class: "uid-calendar__event-label" }, Tl = {
6517
+ ], Cl = { class: "uid-calendar__date" }, wl = { class: "uid-calendar__events" }, Tl = ["title", "onClick"], El = { class: "uid-calendar__event-label" }, Dl = {
6509
6518
  key: 0,
6510
6519
  class: "uid-calendar__more"
6511
- }, El = /* @__PURE__ */ f({
6520
+ }, Ol = /* @__PURE__ */ f({
6512
6521
  __name: "UidCalendar",
6513
6522
  props: /* @__PURE__ */ m({
6514
6523
  events: { default: () => [] },
@@ -6595,7 +6604,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6595
6604
  e.stopPropagation(), o("event-click", t);
6596
6605
  }
6597
6606
  return (r, i) => (x(), c("div", { class: _(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
6598
- l("div", pl, [l("span", ml, k(S.value), 1), l("div", hl, [
6607
+ l("div", hl, [l("span", gl, k(S.value), 1), l("div", _l, [
6599
6608
  l("button", {
6600
6609
  type: "button",
6601
6610
  class: "uid-calendar__btn uid-calendar__btn--icon",
@@ -6604,7 +6613,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6604
6613
  }, [d(e, {
6605
6614
  icon: j(re),
6606
6615
  size: 14
6607
- }, null, 8, ["icon"])], 8, gl),
6616
+ }, null, 8, ["icon"])], 8, vl),
6608
6617
  l("button", {
6609
6618
  type: "button",
6610
6619
  class: "uid-calendar__btn",
@@ -6618,13 +6627,13 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6618
6627
  }, [d(e, {
6619
6628
  icon: j(X),
6620
6629
  size: 14
6621
- }, null, 8, ["icon"])], 8, _l)
6630
+ }, null, 8, ["icon"])], 8, yl)
6622
6631
  ])]),
6623
- l("div", vl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
6632
+ l("div", bl, [(x(!0), c(t, null, T(j(f).datePicker.weekdaysShort, (e) => (x(), c("span", {
6624
6633
  key: e,
6625
6634
  class: "uid-calendar__weekday"
6626
6635
  }, k(e), 1))), 128))]),
6627
- l("div", yl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
6636
+ l("div", xl, [(x(!0), c(t, null, T(D.value, (e) => (x(), c("div", {
6628
6637
  key: e.iso,
6629
6638
  class: _(["uid-calendar__day", {
6630
6639
  "uid-calendar__day--other": !e.current,
@@ -6639,30 +6648,30 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6639
6648
  "aria-label": e.iso,
6640
6649
  onClick: (t) => F(e),
6641
6650
  onKeydown: [V(H((t) => F(e), ["prevent"]), ["enter"]), V(H((t) => F(e), ["prevent"]), ["space"])]
6642
- }, [l("span", xl, k(e.date.getDate()), 1), l("div", Sl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
6651
+ }, [l("span", Cl, k(e.date.getDate()), 1), l("div", wl, [(x(!0), c(t, null, T(e.events.slice(0, n.maxEventsPerDay), (t, n) => (x(), c("button", {
6643
6652
  key: t.id ?? `${e.iso}-${n}`,
6644
6653
  type: "button",
6645
6654
  class: "uid-calendar__event",
6646
6655
  style: v(t.color ? { "--uid-event-color": t.color } : void 0),
6647
6656
  title: t.title,
6648
6657
  onClick: (e) => I(e, t)
6649
- }, [l("span", wl, k(t.title), 1)], 12, Cl))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", Tl, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, bl))), 128))])
6658
+ }, [l("span", El, k(t.title), 1)], 12, Tl))), 128)), e.events.length > n.maxEventsPerDay ? (x(), c("span", Dl, "+" + k(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Sl))), 128))])
6650
6659
  ], 2));
6651
6660
  }
6652
- }), Dl = ["aria-label"], Ol = [
6661
+ }), kl = ["aria-label"], Al = [
6653
6662
  "viewBox",
6654
6663
  "width",
6655
6664
  "height"
6656
- ], kl = [
6665
+ ], jl = [
6657
6666
  "x2",
6658
6667
  "y1",
6659
6668
  "y2"
6660
- ], Al = [
6669
+ ], Ml = [
6661
6670
  "x",
6662
6671
  "y",
6663
6672
  "width",
6664
6673
  "height"
6665
- ], jl = ["d"], Ml = ["d"], Nl = ["cx", "cy"], Pl = ["cx", "cy"], Fl = 2, Il = /* @__PURE__ */ f({
6674
+ ], Nl = ["d"], Pl = ["d"], Fl = ["cx", "cy"], Il = ["cx", "cy"], Ll = 2, Rl = /* @__PURE__ */ f({
6666
6675
  __name: "UidSparkline",
6667
6676
  props: {
6668
6677
  data: {},
@@ -6705,11 +6714,11 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6705
6714
  };
6706
6715
  });
6707
6716
  function i(e, t) {
6708
- return t <= 1 ? n.width / 2 : Fl + e / (t - 1) * (n.width - Fl * 2);
6717
+ return t <= 1 ? n.width / 2 : Ll + e / (t - 1) * (n.width - Ll * 2);
6709
6718
  }
6710
6719
  function o(e) {
6711
6720
  let t = r.value, i = (e - t.min) / (t.max - t.min);
6712
- return n.height - Fl - i * (n.height - Fl * 2);
6721
+ return n.height - Ll - i * (n.height - Ll * 2);
6713
6722
  }
6714
6723
  let u = a(() => n.data.map((e, t) => ({
6715
6724
  x: i(t, n.data.length),
@@ -6728,14 +6737,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6728
6737
  }), f = a(() => {
6729
6738
  let e = u.value;
6730
6739
  if (e.length === 0) return "";
6731
- let t = n.height - Fl;
6740
+ let t = n.height - Ll;
6732
6741
  return `${d.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
6733
6742
  }), p = a(() => {
6734
6743
  let e = u.value, t = e.length;
6735
6744
  if (t === 0) return [];
6736
- let r = n.width - Fl * 2, i = Math.max(1, r / t * .7), a = o(0);
6745
+ let r = n.width - Ll * 2, i = Math.max(1, r / t * .7), a = o(0);
6737
6746
  return e.map((e, n) => {
6738
- let o = Fl + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
6747
+ let o = Ll + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
6739
6748
  return {
6740
6749
  x: o,
6741
6750
  y: c,
@@ -6767,59 +6776,59 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6767
6776
  x2: e.width,
6768
6777
  y1: m.value,
6769
6778
  y2: m.value
6770
- }, null, 8, kl)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
6779
+ }, null, 8, jl)) : s("", !0), e.type === "bar" ? (x(!0), c(t, { key: 1 }, T(p.value, (e, t) => (x(), c("rect", {
6771
6780
  key: t,
6772
6781
  class: _(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
6773
6782
  x: e.x,
6774
6783
  y: e.y,
6775
6784
  width: e.width,
6776
6785
  height: e.height
6777
- }, null, 10, Al))), 128)) : (x(), c(t, { key: 2 }, [
6786
+ }, null, 10, Ml))), 128)) : (x(), c(t, { key: 2 }, [
6778
6787
  e.type === "area" ? (x(), c("path", {
6779
6788
  key: 0,
6780
6789
  class: "uid-sparkline__area",
6781
6790
  d: f.value
6782
- }, null, 8, jl)) : s("", !0),
6791
+ }, null, 8, Nl)) : s("", !0),
6783
6792
  l("path", {
6784
6793
  class: "uid-sparkline__line",
6785
6794
  d: d.value
6786
- }, null, 8, Ml),
6795
+ }, null, 8, Pl),
6787
6796
  e.showDots ? (x(!0), c(t, { key: 1 }, T(u.value, (e, t) => (x(), c("circle", {
6788
6797
  key: t,
6789
6798
  class: "uid-sparkline__dot",
6790
6799
  cx: e.x,
6791
6800
  cy: e.y,
6792
6801
  r: "2.5"
6793
- }, null, 8, Nl))), 128)) : s("", !0),
6802
+ }, null, 8, Fl))), 128)) : s("", !0),
6794
6803
  e.showLast && g.value && !e.showDots ? (x(), c("circle", {
6795
6804
  key: 2,
6796
6805
  class: "uid-sparkline__dot uid-sparkline__dot--last",
6797
6806
  cx: g.value.x,
6798
6807
  cy: g.value.y,
6799
6808
  r: "2.5"
6800
- }, null, 8, Pl)) : s("", !0)
6801
- ], 64))], 8, Ol))], 12, Dl));
6809
+ }, null, 8, Il)) : s("", !0)
6810
+ ], 64))], 8, Al))], 12, kl));
6802
6811
  }
6803
- }), Ll = ["aria-valuemax", "aria-valuenow"], Rl = [
6812
+ }), zl = ["aria-valuemax", "aria-valuenow"], Bl = [
6804
6813
  "width",
6805
6814
  "height",
6806
6815
  "viewBox"
6807
- ], zl = [
6816
+ ], Vl = [
6808
6817
  "cx",
6809
6818
  "cy",
6810
6819
  "r",
6811
6820
  "stroke-width"
6812
- ], Bl = [
6821
+ ], Hl = [
6813
6822
  "cx",
6814
6823
  "cy",
6815
6824
  "r",
6816
6825
  "stroke-width",
6817
6826
  "stroke-dasharray",
6818
6827
  "stroke-dashoffset"
6819
- ], Vl = {
6828
+ ], Ul = {
6820
6829
  key: 0,
6821
6830
  class: "uid-progress-ring__label"
6822
- }, Hl = /* @__PURE__ */ f({
6831
+ }, Wl = /* @__PURE__ */ f({
6823
6832
  __name: "UidProgressRing",
6824
6833
  props: {
6825
6834
  value: { default: 0 },
@@ -6864,7 +6873,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6864
6873
  cy: i.value,
6865
6874
  r: n.value,
6866
6875
  "stroke-width": e.strokeWidth
6867
- }, null, 8, zl), l("circle", {
6876
+ }, null, 8, Vl), l("circle", {
6868
6877
  class: "uid-progress-ring__progress",
6869
6878
  cx: i.value,
6870
6879
  cy: i.value,
@@ -6872,50 +6881,50 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6872
6881
  "stroke-width": e.strokeWidth,
6873
6882
  "stroke-dasharray": r.value,
6874
6883
  "stroke-dashoffset": f.value
6875
- }, null, 8, Bl)], 8, Rl)), e.showLabel || t.$slots.default ? (x(), c("div", Vl, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, Ll));
6884
+ }, null, 8, Hl)], 8, Bl)), e.showLabel || t.$slots.default ? (x(), c("div", Ul, [E(t.$slots, "default", {}, () => [u(k(p.value), 1)])])) : s("", !0)], 14, zl));
6876
6885
  }
6877
- }), Ul = [
6886
+ }), Gl = [
6878
6887
  "aria-valuemin",
6879
6888
  "aria-valuemax",
6880
6889
  "aria-valuenow",
6881
6890
  "aria-label"
6882
- ], Wl = [
6891
+ ], Kl = [
6883
6892
  "width",
6884
6893
  "height",
6885
6894
  "viewBox"
6886
- ], Gl = ["d", "stroke-width"], Kl = [
6895
+ ], ql = ["d", "stroke-width"], Jl = [
6887
6896
  "d",
6888
6897
  "stroke",
6889
6898
  "stroke-width",
6890
6899
  "stroke-dasharray",
6891
6900
  "stroke-dashoffset"
6892
- ], ql = [
6901
+ ], Yl = [
6893
6902
  "d",
6894
6903
  "stroke-width",
6895
6904
  "stroke-dasharray",
6896
6905
  "stroke-dashoffset"
6897
- ], Jl = { key: 2 }, Yl = [
6906
+ ], Xl = { key: 2 }, Zl = [
6898
6907
  "x1",
6899
6908
  "y1",
6900
6909
  "x2",
6901
6910
  "y2",
6902
6911
  "transform"
6903
- ], Xl = ["cx", "cy"], Zl = {
6912
+ ], Ql = ["cx", "cy"], $l = {
6904
6913
  key: 0,
6905
6914
  class: "uid-gauge__content"
6906
- }, Ql = {
6915
+ }, eu = {
6907
6916
  key: 0,
6908
6917
  class: "uid-gauge__value"
6909
- }, $l = {
6918
+ }, tu = {
6910
6919
  key: 0,
6911
6920
  class: "uid-gauge__suffix"
6912
- }, eu = {
6921
+ }, nu = {
6913
6922
  key: 1,
6914
6923
  class: "uid-gauge__label"
6915
- }, tu = {
6924
+ }, ru = {
6916
6925
  key: 1,
6917
6926
  class: "uid-gauge__limits"
6918
- }, nu = 4, ru = /* @__PURE__ */ f({
6927
+ }, iu = 4, au = /* @__PURE__ */ f({
6919
6928
  __name: "UidGauge",
6920
6929
  props: {
6921
6930
  value: { default: 0 },
@@ -6944,7 +6953,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6944
6953
  formatValue: {}
6945
6954
  },
6946
6955
  setup(e) {
6947
- let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - nu), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + nu), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
6956
+ let n = e, r = a(() => (n.size - n.strokeWidth) / 2 - iu), i = a(() => n.size / 2), o = a(() => n.size / 2), u = a(() => n.size / 2 + n.strokeWidth / 2 + iu), d = a(() => Math.PI * r.value), f = a(() => Math.max(n.min, Math.min(n.max, n.value))), p = a(() => {
6948
6957
  let e = n.max - n.min;
6949
6958
  return e <= 0 ? 0 : (f.value - n.min) / e;
6950
6959
  }), m = a(() => {
@@ -6982,7 +6991,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6982
6991
  class: "uid-gauge__track",
6983
6992
  d: m.value,
6984
6993
  "stroke-width": e.strokeWidth
6985
- }, null, 8, Gl),
6994
+ }, null, 8, ql),
6986
6995
  e.ranges && e.ranges.length ? (x(!0), c(t, { key: 0 }, T(e.ranges, (t, n) => (x(), c("path", {
6987
6996
  key: n,
6988
6997
  class: "uid-gauge__range",
@@ -6991,7 +7000,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6991
7000
  "stroke-width": e.strokeWidth,
6992
7001
  "stroke-dasharray": g(t).dasharray,
6993
7002
  "stroke-dashoffset": g(t).dashoffset
6994
- }, null, 8, Kl))), 128)) : s("", !0),
7003
+ }, null, 8, Jl))), 128)) : s("", !0),
6995
7004
  !e.ranges || e.ranges.length === 0 ? (x(), c("path", {
6996
7005
  key: 1,
6997
7006
  class: "uid-gauge__progress",
@@ -6999,43 +7008,43 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
6999
7008
  "stroke-width": e.strokeWidth,
7000
7009
  "stroke-dasharray": d.value,
7001
7010
  "stroke-dashoffset": h.value
7002
- }, null, 8, ql)) : s("", !0),
7003
- e.showNeedle ? (x(), c("g", Jl, [l("line", {
7011
+ }, null, 8, Yl)) : s("", !0),
7012
+ e.showNeedle ? (x(), c("g", Xl, [l("line", {
7004
7013
  class: "uid-gauge__needle",
7005
7014
  x1: i.value,
7006
7015
  y1: o.value,
7007
7016
  x2: i.value + r.value - e.strokeWidth,
7008
7017
  y2: o.value,
7009
7018
  transform: `rotate(${y.value} ${i.value} ${o.value})`
7010
- }, null, 8, Yl), l("circle", {
7019
+ }, null, 8, Zl), l("circle", {
7011
7020
  class: "uid-gauge__needle-pivot",
7012
7021
  cx: i.value,
7013
7022
  cy: o.value,
7014
7023
  r: "4"
7015
- }, null, 8, Xl)])) : s("", !0)
7016
- ], 8, Wl)),
7017
- e.showValue || e.label ? (x(), c("div", Zl, [e.showValue ? (x(), c("div", Ql, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", $l, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", eu, k(e.label), 1)) : s("", !0)])) : s("", !0),
7018
- e.showLimits ? (x(), c("div", tu, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
7019
- ], 14, Ul));
7024
+ }, null, 8, Ql)])) : s("", !0)
7025
+ ], 8, Kl)),
7026
+ e.showValue || e.label ? (x(), c("div", $l, [e.showValue ? (x(), c("div", eu, [l("span", null, k(b.value), 1), e.suffix ? (x(), c("span", tu, k(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (x(), c("div", nu, k(e.label), 1)) : s("", !0)])) : s("", !0),
7027
+ e.showLimits ? (x(), c("div", ru, [l("span", null, k(e.min), 1), l("span", null, k(e.max), 1)])) : s("", !0)
7028
+ ], 14, Gl));
7020
7029
  }
7021
- }), iu = ["aria-label"], au = { class: "uid-heatmap__chart" }, ou = {
7030
+ }), ou = ["aria-label"], su = { class: "uid-heatmap__chart" }, cu = {
7022
7031
  key: 0,
7023
7032
  class: "uid-heatmap__weekdays",
7024
7033
  "aria-hidden": "true"
7025
- }, su = { class: "uid-heatmap__grid-wrapper" }, cu = [
7034
+ }, lu = { class: "uid-heatmap__grid-wrapper" }, uu = [
7026
7035
  "width",
7027
7036
  "height",
7028
7037
  "viewBox"
7029
- ], lu = [
7038
+ ], du = [
7030
7039
  "x",
7031
7040
  "y",
7032
7041
  "width",
7033
7042
  "height",
7034
7043
  "fill"
7035
- ], uu = {
7044
+ ], fu = {
7036
7045
  key: 0,
7037
7046
  class: "uid-heatmap__legend"
7038
- }, du = /* @__PURE__ */ f({
7047
+ }, pu = /* @__PURE__ */ f({
7039
7048
  __name: "UidHeatmap",
7040
7049
  props: {
7041
7050
  data: {},
@@ -7141,10 +7150,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7141
7150
  style: v(E.value),
7142
7151
  role: "img",
7143
7152
  "aria-label": M.value
7144
- }, [l("div", au, [e.showWeekdays ? (x(), c("div", ou, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
7153
+ }, [l("div", su, [e.showWeekdays ? (x(), c("div", cu, [(x(!0), c(t, null, T(j(r).datePicker.weekdaysShort, (e, t) => (x(), c("span", {
7145
7154
  key: e,
7146
7155
  class: _(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
7147
- }, k(e), 3))), 128))])) : s("", !0), l("div", su, [e.showMonths ? (x(), c("div", {
7156
+ }, k(e), 3))), 128))])) : s("", !0), l("div", lu, [e.showMonths ? (x(), c("div", {
7148
7157
  key: 0,
7149
7158
  class: "uid-heatmap__months",
7150
7159
  style: v({ width: `${C.value}px` }),
@@ -7167,7 +7176,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7167
7176
  width: e.cellSize,
7168
7177
  height: e.cellSize,
7169
7178
  fill: b(t.level)
7170
- }, [l("title", null, k(O(t)), 1)], 8, lu))), 128))], 8, cu))])]), e.showLegend ? (x(), c("div", uu, [
7179
+ }, [l("title", null, k(O(t)), 1)], 8, du))), 128))], 8, uu))])]), e.showLegend ? (x(), c("div", fu, [
7171
7180
  i[0] ||= l("span", null, "Меньше", -1),
7172
7181
  (x(!0), c(t, null, T(D.value, (e) => (x(), c("span", {
7173
7182
  key: e,
@@ -7175,15 +7184,15 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7175
7184
  style: v(e === 0 ? void 0 : { background: b(e) })
7176
7185
  }, null, 4))), 128)),
7177
7186
  i[1] ||= l("span", null, "Больше", -1)
7178
- ])) : s("", !0)], 12, iu));
7187
+ ])) : s("", !0)], 12, ou));
7179
7188
  }
7180
- }), fu = ["aria-label"], pu = ["aria-current"], mu = { class: "uid-stepper__indicator" }, hu = {
7189
+ }), mu = ["aria-label"], hu = ["aria-current"], gu = { class: "uid-stepper__indicator" }, _u = {
7181
7190
  key: 1,
7182
7191
  "aria-hidden": "true"
7183
- }, gu = { class: "uid-stepper__content" }, _u = { class: "uid-stepper__label" }, vu = {
7192
+ }, vu = { class: "uid-stepper__content" }, yu = { class: "uid-stepper__label" }, bu = {
7184
7193
  key: 0,
7185
7194
  class: "uid-stepper__description"
7186
- }, yu = /* @__PURE__ */ f({
7195
+ }, xu = /* @__PURE__ */ f({
7187
7196
  __name: "UidStepper",
7188
7197
  props: {
7189
7198
  steps: {},
@@ -7201,14 +7210,14 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7201
7210
  key: i,
7202
7211
  class: _(["uid-stepper__step", [`uid-stepper__step--${r(i, n.current)}`]]),
7203
7212
  "aria-current": i === n.current ? "step" : void 0
7204
- }, [l("div", mu, [r(i, n.current) === "completed" ? (x(), o(e, {
7213
+ }, [l("div", gu, [r(i, n.current) === "completed" ? (x(), o(e, {
7205
7214
  key: 0,
7206
7215
  icon: j(q),
7207
7216
  size: 16,
7208
7217
  "aria-hidden": "true"
7209
- }, null, 8, ["icon"])) : (x(), c("span", hu, k(i + 1), 1))]), l("div", gu, [l("span", _u, k(t.label), 1), t.description ? (x(), c("span", vu, k(t.description), 1)) : s("", !0)])], 10, pu))), 128))], 10, fu));
7218
+ }, null, 8, ["icon"])) : (x(), c("span", _u, k(i + 1), 1))]), l("div", vu, [l("span", yu, k(t.label), 1), t.description ? (x(), c("span", bu, k(t.description), 1)) : s("", !0)])], 10, hu))), 128))], 10, mu));
7210
7219
  }
7211
- }), bu = /* @__PURE__ */ f({
7220
+ }), Su = /* @__PURE__ */ f({
7212
7221
  __name: "UidStack",
7213
7222
  props: {
7214
7223
  direction: { default: "column" },
@@ -7254,7 +7263,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7254
7263
  _: 3
7255
7264
  }, 8, ["class", "style"]));
7256
7265
  }
7257
- }), xu = /* @__PURE__ */ f({
7266
+ }), Cu = /* @__PURE__ */ f({
7258
7267
  __name: "UidGrid",
7259
7268
  props: {
7260
7269
  cols: { default: 12 },
@@ -7287,7 +7296,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7287
7296
  _: 3
7288
7297
  }, 8, ["style"]));
7289
7298
  }
7290
- }), Su = /* @__PURE__ */ f({
7299
+ }), wu = /* @__PURE__ */ f({
7291
7300
  __name: "UidContainer",
7292
7301
  props: {
7293
7302
  size: { default: "lg" },
@@ -7303,7 +7312,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7303
7312
  _: 3
7304
7313
  }, 8, ["class"]));
7305
7314
  }
7306
- }), Cu = Symbol("uid-wizard"), wu = { class: "uid-wizard" }, Tu = /* @__PURE__ */ f({
7315
+ }), Tu = Symbol("uid-wizard"), Eu = { class: "uid-wizard" }, Du = /* @__PURE__ */ f({
7307
7316
  __name: "UidWizard",
7308
7317
  props: /* @__PURE__ */ m({ steps: {} }, {
7309
7318
  modelValue: { default: 0 },
@@ -7328,7 +7337,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7328
7337
  function m(e) {
7329
7338
  i.delete(e);
7330
7339
  }
7331
- return S(Cu, {
7340
+ return S(Tu, {
7332
7341
  current: r,
7333
7342
  steps: o,
7334
7343
  isFirst: s,
@@ -7345,9 +7354,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7345
7354
  goTo: f,
7346
7355
  isFirst: s,
7347
7356
  isLast: l
7348
- }), (e, t) => (x(), c("div", wu, [E(e.$slots, "default")]));
7357
+ }), (e, t) => (x(), c("div", Eu, [E(e.$slots, "default")]));
7349
7358
  }
7350
- }), Eu = ["aria-label"], Du = /* @__PURE__ */ f({
7359
+ }), Ou = ["aria-label"], ku = /* @__PURE__ */ f({
7351
7360
  __name: "UidWizardStep",
7352
7361
  props: {
7353
7362
  index: {},
@@ -7357,7 +7366,7 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7357
7366
  }
7358
7367
  },
7359
7368
  setup(e) {
7360
- let t = e, n = p(Cu);
7369
+ let t = e, n = p(Tu);
7361
7370
  if (!n) throw Error("UidWizardStep must be inside UidWizard");
7362
7371
  R(() => t.validate, (e, r) => {
7363
7372
  r !== void 0 && n.unregisterValidator(t.index), e !== void 0 && n.registerValidator(t.index, e);
@@ -7368,22 +7377,22 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7368
7377
  class: "uid-wizard-step",
7369
7378
  role: "tabpanel",
7370
7379
  "aria-label": `Шаг ${e.index + 1}`
7371
- }, [E(t.$slots, "default")], 8, Eu)) : s("", !0);
7380
+ }, [E(t.$slots, "default")], 8, Ou)) : s("", !0);
7372
7381
  }
7373
- }), Ou = { class: "uid-pattern-header__inner" }, ku = {
7382
+ }), Au = { class: "uid-pattern-header__inner" }, ju = {
7374
7383
  key: 0,
7375
7384
  class: "uid-pattern-header__logo"
7376
- }, Au = {
7385
+ }, Mu = {
7377
7386
  key: 1,
7378
7387
  class: "uid-pattern-header__nav",
7379
7388
  "aria-label": "Основная навигация"
7380
- }, ju = {
7389
+ }, Nu = {
7381
7390
  key: 2,
7382
7391
  class: "uid-pattern-header__actions"
7383
- }, Mu = {
7392
+ }, Pu = {
7384
7393
  key: 3,
7385
7394
  class: "uid-pattern-header__mobile"
7386
- }, Nu = /* @__PURE__ */ f({
7395
+ }, Fu = /* @__PURE__ */ f({
7387
7396
  __name: "UidHeader",
7388
7397
  props: {
7389
7398
  sticky: {
@@ -7404,38 +7413,38 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7404
7413
  "uid-pattern-header--sticky": e.sticky,
7405
7414
  "uid-pattern-header--bordered": e.bordered,
7406
7415
  "uid-pattern-header--transparent": e.transparent
7407
- }]) }, [l("div", Ou, [
7408
- t.$slots.logo ? (x(), c("div", ku, [E(t.$slots, "logo")])) : s("", !0),
7409
- t.$slots.nav ? (x(), c("nav", Au, [E(t.$slots, "nav")])) : s("", !0),
7410
- t.$slots.actions ? (x(), c("div", ju, [E(t.$slots, "actions")])) : s("", !0),
7411
- t.$slots.mobile ? (x(), c("div", Mu, [E(t.$slots, "mobile")])) : s("", !0)
7416
+ }]) }, [l("div", Au, [
7417
+ t.$slots.logo ? (x(), c("div", ju, [E(t.$slots, "logo")])) : s("", !0),
7418
+ t.$slots.nav ? (x(), c("nav", Mu, [E(t.$slots, "nav")])) : s("", !0),
7419
+ t.$slots.actions ? (x(), c("div", Nu, [E(t.$slots, "actions")])) : s("", !0),
7420
+ t.$slots.mobile ? (x(), c("div", Pu, [E(t.$slots, "mobile")])) : s("", !0)
7412
7421
  ])], 2));
7413
7422
  }
7414
- }), Pu = { class: "uid-pattern-footer__inner" }, Fu = {
7423
+ }), Iu = { class: "uid-pattern-footer__inner" }, Lu = {
7415
7424
  key: 0,
7416
7425
  class: "uid-pattern-footer__columns"
7417
- }, Iu = {
7426
+ }, Ru = {
7418
7427
  key: 1,
7419
7428
  class: "uid-pattern-footer__content"
7420
- }, Lu = {
7429
+ }, zu = {
7421
7430
  key: 2,
7422
7431
  class: "uid-pattern-footer__bottom"
7423
- }, Ru = /* @__PURE__ */ f({
7432
+ }, Bu = /* @__PURE__ */ f({
7424
7433
  __name: "UidFooter",
7425
7434
  props: { variant: { default: "minimal" } },
7426
7435
  setup(e) {
7427
- return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Pu, [t.$slots.columns ? (x(), c("div", Fu, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Iu, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", Lu, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
7436
+ return (t, n) => (x(), c("footer", { class: _(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Iu, [t.$slots.columns ? (x(), c("div", Lu, [E(t.$slots, "columns")])) : t.$slots.default ? (x(), c("div", Ru, [E(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (x(), c("div", zu, [E(t.$slots, "bottom")])) : s("", !0)])], 2));
7428
7437
  }
7429
- }), zu = {
7438
+ }), Vu = {
7430
7439
  key: 0,
7431
7440
  class: "uid-pattern-sidebar__header"
7432
- }, Bu = {
7441
+ }, Hu = {
7433
7442
  class: "uid-pattern-sidebar__nav",
7434
7443
  "aria-label": "Навигация"
7435
- }, Vu = {
7444
+ }, Uu = {
7436
7445
  key: 1,
7437
7446
  class: "uid-pattern-sidebar__footer"
7438
- }, Hu = /* @__PURE__ */ f({
7447
+ }, Wu = /* @__PURE__ */ f({
7439
7448
  __name: "UidSidebar",
7440
7449
  props: {
7441
7450
  collapsed: {
@@ -7451,19 +7460,19 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7451
7460
  style: v(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
7452
7461
  "aria-label": "Боковая навигация"
7453
7462
  }, [
7454
- t.$slots.header ? (x(), c("div", zu, [E(t.$slots, "header")])) : s("", !0),
7455
- l("nav", Bu, [E(t.$slots, "nav")]),
7456
- t.$slots.footer ? (x(), c("div", Vu, [E(t.$slots, "footer")])) : s("", !0)
7463
+ t.$slots.header ? (x(), c("div", Vu, [E(t.$slots, "header")])) : s("", !0),
7464
+ l("nav", Hu, [E(t.$slots, "nav")]),
7465
+ t.$slots.footer ? (x(), c("div", Uu, [E(t.$slots, "footer")])) : s("", !0)
7457
7466
  ], 6));
7458
7467
  }
7459
- }), Uu = {
7468
+ }), Gu = {
7460
7469
  key: 0,
7461
7470
  class: "uid-sidebar-item__icon",
7462
7471
  "aria-hidden": "true"
7463
- }, Wu = { class: "uid-sidebar-item__label" }, Gu = {
7472
+ }, Ku = { class: "uid-sidebar-item__label" }, qu = {
7464
7473
  key: 1,
7465
7474
  class: "uid-sidebar-item__badge"
7466
- }, Ku = /* @__PURE__ */ f({
7475
+ }, Ju = /* @__PURE__ */ f({
7467
7476
  __name: "UidSidebarItem",
7468
7477
  props: {
7469
7478
  href: { default: void 0 },
@@ -7498,9 +7507,9 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7498
7507
  tabindex: e.disabled ? -1 : void 0
7499
7508
  }), {
7500
7509
  default: z(() => [
7501
- t.$slots.icon ? (x(), c("span", Uu, [E(t.$slots, "icon")])) : s("", !0),
7502
- l("span", Wu, [E(t.$slots, "default")]),
7503
- e.badge === void 0 ? s("", !0) : (x(), c("span", Gu, k(e.badge), 1))
7510
+ t.$slots.icon ? (x(), c("span", Gu, [E(t.$slots, "icon")])) : s("", !0),
7511
+ l("span", Ku, [E(t.$slots, "default")]),
7512
+ e.badge === void 0 ? s("", !0) : (x(), c("span", qu, k(e.badge), 1))
7504
7513
  ]),
7505
7514
  _: 3
7506
7515
  }, 16, [
@@ -7510,10 +7519,10 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7510
7519
  "tabindex"
7511
7520
  ]));
7512
7521
  }
7513
- }), qu = { class: "uid-sidebar-group" }, Ju = {
7522
+ }), Yu = { class: "uid-sidebar-group" }, Xu = {
7514
7523
  key: 0,
7515
7524
  class: "uid-sidebar-group__title"
7516
- }, Yu = /* @__PURE__ */ f({
7525
+ }, Zu = /* @__PURE__ */ f({
7517
7526
  __name: "UidSidebarGroup",
7518
7527
  props: {
7519
7528
  title: { default: void 0 },
@@ -7523,29 +7532,29 @@ var Yn = /* @__PURE__ */ Gn(Kn, [["render", Jn]]), Xn = Symbol("uid-tabs"), Zn =
7523
7532
  }
7524
7533
  },
7525
7534
  setup(e) {
7526
- return (t, n) => (x(), c("div", qu, [e.title ? (x(), c("p", Ju, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
7535
+ return (t, n) => (x(), c("div", Yu, [e.title ? (x(), c("p", Xu, k(e.title), 1)) : s("", !0), E(t.$slots, "default")]));
7527
7536
  }
7528
- }), Xu = {}, Zu = {
7537
+ }), Qu = {}, $u = {
7529
7538
  class: "uid-sidebar-divider",
7530
7539
  role: "separator",
7531
7540
  "aria-hidden": "true"
7532
7541
  };
7533
- function Qu(e, t) {
7534
- return x(), c("div", Zu);
7542
+ function ed(e, t) {
7543
+ return x(), c("div", $u);
7535
7544
  }
7536
- var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-page-header" }, td = {
7545
+ var td = /* @__PURE__ */ qn(Qu, [["render", ed]]), nd = { class: "uid-pattern-page-header" }, rd = {
7537
7546
  key: 0,
7538
7547
  class: "uid-pattern-page-header__breadcrumb"
7539
- }, nd = { class: "uid-pattern-page-header__row" }, rd = { class: "uid-pattern-page-header__heading" }, id = { class: "uid-pattern-page-header__title" }, ad = {
7548
+ }, id = { class: "uid-pattern-page-header__row" }, ad = { class: "uid-pattern-page-header__heading" }, od = { class: "uid-pattern-page-header__title" }, sd = {
7540
7549
  key: 0,
7541
7550
  class: "uid-pattern-page-header__description"
7542
- }, od = {
7551
+ }, cd = {
7543
7552
  key: 0,
7544
7553
  class: "uid-pattern-page-header__actions"
7545
- }, sd = {
7554
+ }, ld = {
7546
7555
  key: 1,
7547
7556
  class: "uid-pattern-page-header__tabs"
7548
- }, cd = /* @__PURE__ */ f({
7557
+ }, ud = /* @__PURE__ */ f({
7549
7558
  __name: "UidPageHeader",
7550
7559
  props: {
7551
7560
  title: { default: void 0 },
@@ -7558,9 +7567,9 @@ var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-pa
7558
7567
  emits: ["back"],
7559
7568
  setup(t, { emit: n }) {
7560
7569
  let r = n;
7561
- return (n, i) => (x(), c("div", ed, [
7562
- n.$slots.breadcrumb ? (x(), c("div", td, [E(n.$slots, "breadcrumb")])) : s("", !0),
7563
- l("div", nd, [l("div", rd, [t.back ? (x(), c("button", {
7570
+ return (n, i) => (x(), c("div", nd, [
7571
+ n.$slots.breadcrumb ? (x(), c("div", rd, [E(n.$slots, "breadcrumb")])) : s("", !0),
7572
+ l("div", id, [l("div", ad, [t.back ? (x(), c("button", {
7564
7573
  key: 0,
7565
7574
  type: "button",
7566
7575
  class: "uid-pattern-page-header__back",
@@ -7569,42 +7578,42 @@ var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-pa
7569
7578
  }, [d(e, {
7570
7579
  icon: j(ee),
7571
7580
  size: 20
7572
- }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", id, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", ad, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", od, [E(n.$slots, "actions")])) : s("", !0)]),
7573
- n.$slots.tabs ? (x(), c("div", sd, [E(n.$slots, "tabs")])) : s("", !0)
7581
+ }, null, 8, ["icon"])])) : s("", !0), l("div", null, [l("h1", od, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", sd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (x(), c("div", cd, [E(n.$slots, "actions")])) : s("", !0)]),
7582
+ n.$slots.tabs ? (x(), c("div", ld, [E(n.$slots, "tabs")])) : s("", !0)
7574
7583
  ]));
7575
7584
  }
7576
- }), ld = { class: "uid-pattern-empty-state" }, ud = { class: "uid-pattern-empty-state__illustration" }, dd = { class: "uid-pattern-empty-state__content" }, fd = { class: "uid-pattern-empty-state__title" }, pd = {
7585
+ }), dd = { class: "uid-pattern-empty-state" }, fd = { class: "uid-pattern-empty-state__illustration" }, pd = { class: "uid-pattern-empty-state__content" }, md = { class: "uid-pattern-empty-state__title" }, hd = {
7577
7586
  key: 0,
7578
7587
  class: "uid-pattern-empty-state__description"
7579
- }, md = {
7588
+ }, gd = {
7580
7589
  key: 0,
7581
7590
  class: "uid-pattern-empty-state__actions"
7582
- }, hd = /* @__PURE__ */ f({
7591
+ }, _d = /* @__PURE__ */ f({
7583
7592
  __name: "UidEmptyState",
7584
7593
  props: {
7585
7594
  title: { default: "Ничего не найдено" },
7586
7595
  description: { default: void 0 }
7587
7596
  },
7588
7597
  setup(t) {
7589
- return (n, r) => (x(), c("div", ld, [
7590
- l("div", ud, [E(n.$slots, "illustration", {}, () => [d(e, {
7591
- icon: j(ce),
7598
+ return (n, r) => (x(), c("div", dd, [
7599
+ l("div", fd, [E(n.$slots, "illustration", {}, () => [d(e, {
7600
+ icon: j(ue),
7592
7601
  size: 48
7593
7602
  }, null, 8, ["icon"])])]),
7594
- l("div", dd, [l("h2", fd, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", pd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
7595
- n.$slots.actions ? (x(), c("div", md, [E(n.$slots, "actions")])) : s("", !0)
7603
+ l("div", pd, [l("h2", md, [E(n.$slots, "title", {}, () => [u(k(t.title), 1)])]), t.description || n.$slots.description ? (x(), c("p", hd, [E(n.$slots, "description", {}, () => [u(k(t.description), 1)])])) : s("", !0)]),
7604
+ n.$slots.actions ? (x(), c("div", gd, [E(n.$slots, "actions")])) : s("", !0)
7596
7605
  ]));
7597
7606
  }
7598
- }), gd = { class: "uid-pattern-error-state" }, _d = { class: "uid-pattern-error-state__illustration" }, vd = {
7607
+ }), vd = { class: "uid-pattern-error-state" }, yd = { class: "uid-pattern-error-state__illustration" }, bd = {
7599
7608
  key: 0,
7600
7609
  class: "uid-pattern-error-state__code"
7601
- }, yd = { class: "uid-pattern-error-state__content" }, bd = { class: "uid-pattern-error-state__title" }, xd = {
7610
+ }, xd = { class: "uid-pattern-error-state__content" }, Sd = { class: "uid-pattern-error-state__title" }, Cd = {
7602
7611
  key: 0,
7603
7612
  class: "uid-pattern-error-state__description"
7604
- }, Sd = {
7613
+ }, wd = {
7605
7614
  key: 1,
7606
7615
  class: "uid-pattern-error-state__actions"
7607
- }, Cd = /* @__PURE__ */ f({
7616
+ }, Td = /* @__PURE__ */ f({
7608
7617
  __name: "UidErrorState",
7609
7618
  props: {
7610
7619
  code: { default: void 0 },
@@ -7619,33 +7628,33 @@ var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-pa
7619
7628
  description: "Запрашиваемая страница не существует или была перемещена."
7620
7629
  },
7621
7630
  500: {
7622
- icon: pe,
7631
+ icon: he,
7623
7632
  title: "Ошибка сервера",
7624
7633
  description: "На сервере произошла ошибка. Мы уже работаем над исправлением."
7625
7634
  },
7626
7635
  network: {
7627
- icon: ge,
7636
+ icon: ve,
7628
7637
  title: "Нет соединения",
7629
7638
  description: "Проверьте подключение к интернету и попробуйте снова."
7630
7639
  }
7631
7640
  }, i = a(() => n.code ? r[n.code] ?? null : null), o = a(() => i.value?.icon ?? U), f = a(() => n.title ?? i.value?.title ?? "Что-то пошло не так"), p = a(() => n.description ?? i.value?.description);
7632
- return (n, r) => (x(), c("div", gd, [
7633
- l("div", _d, [E(n.$slots, "illustration", {}, () => [d(e, {
7641
+ return (n, r) => (x(), c("div", vd, [
7642
+ l("div", yd, [E(n.$slots, "illustration", {}, () => [d(e, {
7634
7643
  icon: o.value,
7635
7644
  size: 48
7636
7645
  }, null, 8, ["icon"])])]),
7637
- t.code ? (x(), c("div", vd, k(t.code), 1)) : s("", !0),
7638
- l("div", yd, [l("h2", bd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", xd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
7639
- n.$slots.actions ? (x(), c("div", Sd, [E(n.$slots, "actions")])) : s("", !0)
7646
+ t.code ? (x(), c("div", bd, k(t.code), 1)) : s("", !0),
7647
+ l("div", xd, [l("h2", Sd, [E(n.$slots, "title", {}, () => [u(k(f.value), 1)])]), p.value || n.$slots.description ? (x(), c("p", Cd, [E(n.$slots, "description", {}, () => [u(k(p.value), 1)])])) : s("", !0)]),
7648
+ n.$slots.actions ? (x(), c("div", wd, [E(n.$slots, "actions")])) : s("", !0)
7640
7649
  ]));
7641
7650
  }
7642
- }), wd = {
7651
+ }), Ed = {
7643
7652
  key: 0,
7644
7653
  class: "uid-layout-simple__header"
7645
- }, Td = { class: "uid-layout-simple__content" }, Ed = {
7654
+ }, Dd = { class: "uid-layout-simple__content" }, Od = {
7646
7655
  key: 1,
7647
7656
  class: "uid-layout-simple__footer"
7648
- }, Dd = /* @__PURE__ */ f({
7657
+ }, kd = /* @__PURE__ */ f({
7649
7658
  __name: "UidSimpleLayout",
7650
7659
  props: { full: {
7651
7660
  type: Boolean,
@@ -7653,26 +7662,26 @@ var $u = /* @__PURE__ */ Gn(Xu, [["render", Qu]]), ed = { class: "uid-pattern-pa
7653
7662
  } },
7654
7663
  setup(e) {
7655
7664
  return (t, n) => (x(), c("div", { class: _(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
7656
- t.$slots.header ? (x(), c("div", wd, [E(t.$slots, "header")])) : s("", !0),
7657
- l("main", Td, [E(t.$slots, "default")]),
7658
- t.$slots.footer ? (x(), c("div", Ed, [E(t.$slots, "footer")])) : s("", !0)
7665
+ t.$slots.header ? (x(), c("div", Ed, [E(t.$slots, "header")])) : s("", !0),
7666
+ l("main", Dd, [E(t.$slots, "default")]),
7667
+ t.$slots.footer ? (x(), c("div", Od, [E(t.$slots, "footer")])) : s("", !0)
7659
7668
  ], 2));
7660
7669
  }
7661
- }), Od = Symbol("uid-sidebar-layout");
7662
- function kd() {
7663
- let e = p(Od);
7670
+ }), Ad = Symbol("uid-sidebar-layout");
7671
+ function jd() {
7672
+ let e = p(Ad);
7664
7673
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
7665
7674
  return e;
7666
7675
  }
7667
7676
  //#endregion
7668
7677
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
7669
- var Ad = { class: "uid-layout-sidebar__sidebar" }, jd = { class: "uid-layout-sidebar__main" }, Md = {
7678
+ var Md = { class: "uid-layout-sidebar__sidebar" }, Nd = { class: "uid-layout-sidebar__main" }, Pd = {
7670
7679
  key: 0,
7671
7680
  class: "uid-layout-sidebar__main-header"
7672
- }, Nd = { class: "uid-layout-sidebar__main-content" }, Pd = {
7681
+ }, Fd = { class: "uid-layout-sidebar__main-content" }, Id = {
7673
7682
  key: 1,
7674
7683
  class: "uid-layout-sidebar__main-footer"
7675
- }, Fd = /* @__PURE__ */ f({
7684
+ }, Ld = /* @__PURE__ */ f({
7676
7685
  __name: "UidSidebarLayout",
7677
7686
  props: /* @__PURE__ */ m({ sidebarWidth: { default: void 0 } }, {
7678
7687
  modelValue: {
@@ -7690,7 +7699,7 @@ var Ad = { class: "uid-layout-sidebar__sidebar" }, jd = { class: "uid-layout-sid
7690
7699
  }, o = () => {
7691
7700
  n.value = !0;
7692
7701
  };
7693
- S(Od, {
7702
+ S(Ad, {
7694
7703
  collapsed: n,
7695
7704
  toggle: r,
7696
7705
  open: i,
@@ -7701,58 +7710,58 @@ var Ad = { class: "uid-layout-sidebar__sidebar" }, jd = { class: "uid-layout-sid
7701
7710
  class: _(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
7702
7711
  style: v(u.value)
7703
7712
  }, [
7704
- l("aside", Ad, [E(e.$slots, "sidebar")]),
7713
+ l("aside", Md, [E(e.$slots, "sidebar")]),
7705
7714
  l("div", {
7706
7715
  class: "uid-layout-sidebar__backdrop",
7707
7716
  "aria-hidden": "true",
7708
7717
  onClick: o
7709
7718
  }),
7710
- l("div", jd, [
7711
- e.$slots.header ? (x(), c("div", Md, [E(e.$slots, "header")])) : s("", !0),
7712
- l("main", Nd, [E(e.$slots, "default")]),
7713
- e.$slots.footer ? (x(), c("div", Pd, [E(e.$slots, "footer")])) : s("", !0)
7719
+ l("div", Nd, [
7720
+ e.$slots.header ? (x(), c("div", Pd, [E(e.$slots, "header")])) : s("", !0),
7721
+ l("main", Fd, [E(e.$slots, "default")]),
7722
+ e.$slots.footer ? (x(), c("div", Id, [E(e.$slots, "footer")])) : s("", !0)
7714
7723
  ])
7715
7724
  ], 6));
7716
7725
  }
7717
- }), Id = {
7726
+ }), Rd = {
7718
7727
  key: 0,
7719
7728
  class: "uid-layout-auth__brand"
7720
- }, Ld = { class: "uid-layout-auth__main" }, Rd = { class: "uid-layout-auth__card" }, zd = {
7729
+ }, zd = { class: "uid-layout-auth__main" }, Bd = { class: "uid-layout-auth__card" }, Vd = {
7721
7730
  key: 0,
7722
7731
  class: "uid-layout-auth__footer"
7723
- }, Bd = /* @__PURE__ */ f({
7732
+ }, Hd = /* @__PURE__ */ f({
7724
7733
  __name: "UidAuthLayout",
7725
7734
  props: { variant: { default: "centered" } },
7726
7735
  setup(e) {
7727
- return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", Id, [E(t.$slots, "brand")])) : s("", !0), l("div", Ld, [l("div", Rd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", zd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
7736
+ return (t, n) => (x(), c("div", { class: _(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (x(), c("div", Rd, [E(t.$slots, "brand")])) : s("", !0), l("div", zd, [l("div", Bd, [E(t.$slots, "default")]), t.$slots.footer ? (x(), c("div", Vd, [E(t.$slots, "footer")])) : s("", !0)])], 2));
7728
7737
  }
7729
- }), Vd = { class: "uid-layout-wizard" }, Hd = {
7738
+ }), Ud = { class: "uid-layout-wizard" }, Wd = {
7730
7739
  key: 0,
7731
7740
  class: "uid-layout-wizard__header"
7732
- }, Ud = {
7741
+ }, Gd = {
7733
7742
  key: 1,
7734
7743
  class: "uid-layout-wizard__stepper"
7735
- }, Wd = { class: "uid-layout-wizard__content" }, Gd = {
7744
+ }, Kd = { class: "uid-layout-wizard__content" }, qd = {
7736
7745
  key: 2,
7737
7746
  class: "uid-layout-wizard__nav"
7738
- }, Kd = /* @__PURE__ */ f({
7747
+ }, Jd = /* @__PURE__ */ f({
7739
7748
  __name: "UidWizardLayout",
7740
7749
  setup(e) {
7741
- return (e, t) => (x(), c("div", Vd, [
7742
- e.$slots.header ? (x(), c("div", Hd, [E(e.$slots, "header")])) : s("", !0),
7743
- e.$slots.stepper ? (x(), c("div", Ud, [E(e.$slots, "stepper")])) : s("", !0),
7744
- l("main", Wd, [E(e.$slots, "default")]),
7745
- e.$slots.nav ? (x(), c("div", Gd, [E(e.$slots, "nav")])) : s("", !0)
7750
+ return (e, t) => (x(), c("div", Ud, [
7751
+ e.$slots.header ? (x(), c("div", Wd, [E(e.$slots, "header")])) : s("", !0),
7752
+ e.$slots.stepper ? (x(), c("div", Gd, [E(e.$slots, "stepper")])) : s("", !0),
7753
+ l("main", Kd, [E(e.$slots, "default")]),
7754
+ e.$slots.nav ? (x(), c("div", qd, [E(e.$slots, "nav")])) : s("", !0)
7746
7755
  ]));
7747
7756
  }
7748
- }), qd = /* @__PURE__ */ f({
7757
+ }), Yd = /* @__PURE__ */ f({
7749
7758
  __name: "UidLocaleProvider",
7750
7759
  props: { locale: {} },
7751
7760
  setup(e) {
7752
7761
  let t = e;
7753
- return Ht(a(() => t.locale)), (e, t) => E(e.$slots, "default");
7762
+ return Wt(a(() => t.locale)), (e, t) => E(e.$slots, "default");
7754
7763
  }
7755
- }), Jd = {
7764
+ }), Xd = {
7756
7765
  common: {
7757
7766
  clear: "Clear",
7758
7767
  close: "Close",
@@ -7851,19 +7860,19 @@ var Ad = { class: "uid-layout-sidebar__sidebar" }, jd = { class: "uid-layout-sid
7851
7860
  page: (e) => `Page ${e}`,
7852
7861
  pageSize: (e) => `${e} per page`
7853
7862
  }
7854
- }, Yd = w("light");
7855
- function Xd() {
7863
+ }, Zd = w("light");
7864
+ function Qd() {
7856
7865
  let e = null;
7857
7866
  function t(e) {
7858
- Yd.value = e, document.documentElement.dataset.theme = e;
7867
+ Zd.value = e, document.documentElement.dataset.theme = e;
7859
7868
  }
7860
7869
  function n() {
7861
- t(Yd.value === "light" ? "dark" : "light");
7870
+ t(Zd.value === "light" ? "dark" : "light");
7862
7871
  }
7863
7872
  function r() {
7864
7873
  let e = document.documentElement.dataset.theme;
7865
7874
  if (e === "light" || e === "dark") {
7866
- Yd.value = e;
7875
+ Zd.value = e;
7867
7876
  return;
7868
7877
  }
7869
7878
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -7875,7 +7884,7 @@ function Xd() {
7875
7884
  e.addEventListener("change", n), b(() => e?.removeEventListener("change", n));
7876
7885
  }
7877
7886
  return {
7878
- theme: Yd,
7887
+ theme: Zd,
7879
7888
  setTheme: t,
7880
7889
  toggle: n,
7881
7890
  initFromSystem: r,
@@ -7884,27 +7893,27 @@ function Xd() {
7884
7893
  }
7885
7894
  //#endregion
7886
7895
  //#region src/composables/useWizard.ts
7887
- function Zd() {
7888
- let e = p(Cu);
7896
+ function $d() {
7897
+ let e = p(Tu);
7889
7898
  if (!e) throw Error("useWizard() must be used inside UidWizard");
7890
7899
  return e;
7891
7900
  }
7892
7901
  //#endregion
7893
7902
  //#region src/composables/useCommandPalette.ts
7894
- var Qd = w(!1);
7895
- function $d() {
7903
+ var ef = w(!1);
7904
+ function tf() {
7896
7905
  return {
7897
- open: Qd,
7906
+ open: ef,
7898
7907
  show: () => {
7899
- Qd.value = !0;
7908
+ ef.value = !0;
7900
7909
  },
7901
7910
  hide: () => {
7902
- Qd.value = !1;
7911
+ ef.value = !1;
7903
7912
  },
7904
7913
  toggle: () => {
7905
- Qd.value = !Qd.value;
7914
+ ef.value = !ef.value;
7906
7915
  }
7907
7916
  };
7908
7917
  }
7909
7918
  //#endregion
7910
- export { Xr as UidAccordion, ni as UidAccordionItem, Is as UidAffix, Jt as UidAlert, Gs as UidAnchor, Bd as UidAuthLayout, Br as UidAvatar, Ur as UidAvatarGroup, Ps as UidBackTop, Rt as UidBadge, ar as UidBreadcrumb, lr as UidBreadcrumbItem, Se as UidButton, El as UidCalendar, Lr as UidCard, Oc as UidCarousel, fl as UidCascader, ut as UidCheckbox, ts as UidCode, Zi as UidColorPicker, uo as UidCombobox, sa as UidCommand, Su as UidContainer, Pi as UidDatePicker, Wa as UidDateRangePicker, Es as UidDescriptionItem, Ss as UidDescriptionList, qr as UidDivider, kn as UidDrawer, hd as UidEmptyState, Cd as UidErrorState, qo as UidFileUpload, Ru as UidFooter, Nt as UidFormField, ru as UidGauge, xu as UidGrid, Nu as UidHeader, du as UidHeatmap, e as UidIcon, Er as UidInfiniteScroll, et as UidInput, Ot as UidLabel, ur as UidLink, Cr as UidLoadMore, qd as UidLocaleProvider, oc as UidMention, Hn as UidMenu, Wn as UidMenuItem, Yn as UidMenuSeparator, Sn as UidModal, Sc as UidNotificationBadge, ha as UidNumberInput, cd as UidPageHeader, jr as UidPageSize, gr as UidPagination, br as UidPaginationCursor, Rn as UidPopover, dn as UidProgress, Hl as UidProgressRing, mt as UidRadio, bt as UidRadioGroup, ss as UidRating, Ms as UidResult, wi as UidSelect, Hu as UidSidebar, $u as UidSidebarDivider, Yu as UidSidebarGroup, Ku as UidSidebarItem, Fd as UidSidebarLayout, Dd as UidSimpleLayout, Lt as UidSkeleton, Bi as UidSlider, Il as UidSparkline, Ft as UidSpinner, us as UidSplitter, bu as UidStack, ys as UidStat, yu as UidStepper, Tt as UidSwitch, tr as UidTab, rr as UidTabPanel, mi as UidTable, $n as UidTabs, Gr as UidTag, Xa as UidTagsInput, at as UidTextarea, wa as UidTimePicker, Co as UidTimeline, jo as UidTimelineItem, en as UidToast, an as UidToastProvider, Fn as UidTooltip, $s as UidTour, el as UidTransfer, xo as UidTreeItem, yc as UidTreeSelect, So as UidTreeView, Fi as UidVirtualList, zs as UidWatermark, Tu as UidWizard, Kd as UidWizardLayout, Du as UidWizardStep, Ae as email, Jd as en, Z as getMessage, ze as inList, Ne as integer, Fe as max, Le as maxValue, Pe as min, Ie as minValue, ke as nullable, Me as numeric, We as parseRules, Ht as provideLocale, Re as regex, Oe as required, Ve as requiredIf, He as requiredUnless, zt as ru, Ge as runRules, Be as sameAs, Te as setMessages, je as url, $d as useCommandPalette, Ke as useField, pn as useFocusTrap, $ as useLocale, Mn as usePopover, hn as useScrollLock, kd as useSidebar, Xd as useTheme, rn as useToast, Zd as useWizard };
7919
+ export { Qr as UidAccordion, ii as UidAccordionItem, Rs as UidAffix, Xt as UidAlert, qs as UidAnchor, Hd as UidAuthLayout, Hr as UidAvatar, Gr as UidAvatarGroup, Is as UidBackTop, Bt as UidBadge, sr as UidBreadcrumb, dr as UidBreadcrumbItem, we as UidButton, Ol as UidCalendar, zr as UidCard, Ac as UidCarousel, ml as UidCascader, ft as UidCheckbox, rs as UidCode, $i as UidColorPicker, po as UidCombobox, la as UidCommand, wu as UidContainer, Ii as UidDatePicker, Ka as UidDateRangePicker, Os as UidDescriptionItem, ws as UidDescriptionList, Yr as UidDivider, jn as UidDrawer, _d as UidEmptyState, Td as UidErrorState, Yo as UidFileUpload, Bu as UidFooter, Ft as UidFormField, au as UidGauge, Cu as UidGrid, Fu as UidHeader, pu as UidHeatmap, e as UidIcon, Or as UidInfiniteScroll, nt as UidInput, At as UidLabel, fr as UidLink, Tr as UidLoadMore, Yd as UidLocaleProvider, cc as UidMention, Wn as UidMenu, Kn as UidMenuItem, Zn as UidMenuSeparator, wn as UidModal, wc as UidNotificationBadge, _a as UidNumberInput, ud as UidPageHeader, Nr as UidPageSize, vr as UidPagination, Sr as UidPaginationCursor, Bn as UidPopover, pn as UidProgress, Wl as UidProgressRing, gt as UidRadio, St as UidRadioGroup, ls as UidRating, Ps as UidResult, Ei as UidSelect, Wu as UidSidebar, td as UidSidebarDivider, Zu as UidSidebarGroup, Ju as UidSidebarItem, Ld as UidSidebarLayout, kd as UidSimpleLayout, zt as UidSkeleton, Hi as UidSlider, Rl as UidSparkline, Lt as UidSpinner, fs as UidSplitter, Su as UidStack, xs as UidStat, xu as UidStepper, Dt as UidSwitch, rr as UidTab, ar as UidTabPanel, gi as UidTable, tr as UidTabs, qr as UidTag, Qa as UidTagsInput, st as UidTextarea, Ea as UidTimePicker, To as UidTimeline, No as UidTimelineItem, nn as UidToast, sn as UidToastProvider, Ln as UidTooltip, tc as UidTour, nl as UidTransfer, So as UidTreeItem, xc as UidTreeSelect, wo as UidTreeView, Li as UidVirtualList, Vs as UidWatermark, Du as UidWizard, Jd as UidWizardLayout, ku as UidWizardStep, Me as email, Xd as en, Z as getMessage, Ve as inList, Fe as integer, Le as max, ze as maxValue, Ie as min, Re as minValue, je as nullable, Pe as numeric, Ke as parseRules, Wt as provideLocale, Be as regex, Ae as required, Ue as requiredIf, We as requiredUnless, Vt as ru, qe as runRules, He as sameAs, De as setMessages, Ne as url, tf as useCommandPalette, Je as useField, hn as useFocusTrap, $ as useLocale, Pn as usePopover, _n as useScrollLock, jd as useSidebar, Qd as useTheme, on as useToast, $d as useWizard };