@dskripchenko/ui 1.17.0 → 1.18.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
@@ -276,7 +276,42 @@ var ne = [
276
276
  offlineDescription: "Check your internet connection and try again."
277
277
  },
278
278
  wizard: { step: (e) => `Step ${e}` },
279
- calendar: { today: "Today" },
279
+ calendar: {
280
+ today: "Today",
281
+ views: {
282
+ day: "Day",
283
+ week: "Week",
284
+ month: "Month",
285
+ year: "Year",
286
+ agenda: "Agenda"
287
+ },
288
+ allDay: "All day",
289
+ noEvents: "No events",
290
+ more: (e) => `+${e}`,
291
+ monthsGenitive: [
292
+ "January",
293
+ "February",
294
+ "March",
295
+ "April",
296
+ "May",
297
+ "June",
298
+ "July",
299
+ "August",
300
+ "September",
301
+ "October",
302
+ "November",
303
+ "December"
304
+ ],
305
+ weekdaysLong: [
306
+ "Monday",
307
+ "Tuesday",
308
+ "Wednesday",
309
+ "Thursday",
310
+ "Friday",
311
+ "Saturday",
312
+ "Sunday"
313
+ ]
314
+ },
280
315
  carousel: {
281
316
  prev: "Previous",
282
317
  next: "Next",
@@ -301,7 +336,7 @@ var ne = [
301
336
  selectAll: "Select all",
302
337
  row: (e) => `Row ${e}`
303
338
  },
304
- avatarGroup: { more: (e) => `${e} more` },
339
+ avatarGroup: { more: (e) => `+${e}` },
305
340
  command: {
306
341
  placeholder: "Search commands...",
307
342
  empty: "Nothing found",
@@ -10895,6 +10930,7 @@ var vd = ["aria-label"], yd = [
10895
10930
  role: "list"
10896
10931
  }, Jp = [
10897
10932
  "draggable",
10933
+ "aria-keyshortcuts",
10898
10934
  "onDragstart",
10899
10935
  "onDragover",
10900
10936
  "onDrop",
@@ -10918,6 +10954,10 @@ var vd = ["aria-label"], yd = [
10918
10954
  busy: {
10919
10955
  type: Boolean,
10920
10956
  default: !1
10957
+ },
10958
+ readonly: {
10959
+ type: Boolean,
10960
+ default: !1
10921
10961
  }
10922
10962
  },
10923
10963
  emits: ["move", "open"],
@@ -10936,7 +10976,7 @@ var vd = ["aria-label"], yd = [
10936
10976
  return t.key === n ? !0 : e.targets === void 0 || e.targets.includes(t.key);
10937
10977
  }
10938
10978
  function v(e, t, n) {
10939
- if (r.busy) {
10979
+ if (r.busy || r.readonly) {
10940
10980
  e.preventDefault();
10941
10981
  return;
10942
10982
  }
@@ -10979,7 +11019,7 @@ var vd = ["aria-label"], yd = [
10979
11019
  i("open", t);
10980
11020
  return;
10981
11021
  }
10982
- if (!e.altKey || e.key !== "ArrowRight" && e.key !== "ArrowLeft" || r.busy) return;
11022
+ if (!e.altKey || e.key !== "ArrowRight" && e.key !== "ArrowLeft" || r.busy || r.readonly) return;
10983
11023
  e.preventDefault();
10984
11024
  let o = e.key === "ArrowRight" ? 1 : -1, s = r.columns.findIndex((e) => e.key === n.key);
10985
11025
  for (let e = s + o; e >= 0 && e < r.columns.length; e += o) {
@@ -11001,6 +11041,7 @@ var vd = ["aria-label"], yd = [
11001
11041
  return (n, r) => (E(), c("div", {
11002
11042
  class: b(["uid-board", {
11003
11043
  "uid-board--busy": e.busy,
11044
+ "uid-board--readonly": e.readonly,
11004
11045
  "uid-board--dragging": d.value !== null
11005
11046
  }]),
11006
11047
  role: "region",
@@ -11032,10 +11073,10 @@ var vd = ["aria-label"], yd = [
11032
11073
  "uid-board__card--dragging": d.value?.card.key === a.key,
11033
11074
  "uid-board__card--drop-before": f.value?.beforeKey === a.key && f.value?.column === p.key
11034
11075
  }]),
11035
- draggable: !e.busy,
11076
+ draggable: !e.busy && !e.readonly,
11036
11077
  tabindex: "0",
11037
11078
  role: "listitem",
11038
- "aria-keyshortcuts": "Alt+ArrowLeft Alt+ArrowRight Enter",
11079
+ "aria-keyshortcuts": e.readonly ? "Enter" : "Alt+ArrowLeft Alt+ArrowRight Enter",
11039
11080
  onDragstart: (e) => v(e, a, p),
11040
11081
  onDragend: y,
11041
11082
  onDragover: te((e) => x(e, p, r, a.key), ["stop"]),
@@ -11540,17 +11581,178 @@ var vd = ["aria-label"], yd = [
11540
11581
  r.hint ? (E(), c("p", Um, I(r.hint), 1)) : s("", !0)
11541
11582
  ], 2));
11542
11583
  }
11543
- }), Gm = { class: "uid-calendar__header" }, Km = { class: "uid-calendar__title" }, qm = { class: "uid-calendar__nav" }, Jm = ["aria-label"], Ym = ["aria-label"], Xm = { class: "uid-calendar__weekdays" }, Zm = { class: "uid-calendar__grid" }, Qm = [
11584
+ });
11585
+ //#endregion
11586
+ //#region src/components/Calendar/calendarModel.ts
11587
+ function Gm(e) {
11588
+ let t = String(e.getMonth() + 1).padStart(2, "0"), n = String(e.getDate()).padStart(2, "0");
11589
+ return `${e.getFullYear()}-${t}-${n}`;
11590
+ }
11591
+ function Km(e) {
11592
+ let [t, n, r] = e.split("-").map(Number);
11593
+ return new Date(t, n - 1, r);
11594
+ }
11595
+ function qm(e, t) {
11596
+ let n = Km(e);
11597
+ return n.setDate(n.getDate() + t), Gm(n);
11598
+ }
11599
+ function Jm(e, t) {
11600
+ return Math.round((Km(t).getTime() - Km(e).getTime()) / 864e5);
11601
+ }
11602
+ function Ym(e) {
11603
+ return qm(e, -((Km(e).getDay() + 6) % 7));
11604
+ }
11605
+ function Xm(e) {
11606
+ return `${e.slice(0, 7)}-01`;
11607
+ }
11608
+ function Zm(e) {
11609
+ let t = Km(Xm(e));
11610
+ return Gm(new Date(t.getFullYear(), t.getMonth() + 1, 0));
11611
+ }
11612
+ function Qm(e) {
11613
+ if (!e) return null;
11614
+ let t = /^(\d{1,2}):(\d{2})$/.exec(e);
11615
+ return t ? Math.min(1440, Number(t[1]) * 60 + Number(t[2])) : null;
11616
+ }
11617
+ function $m(e) {
11618
+ let t = Math.floor(e / 60);
11619
+ return `${String(t).padStart(2, "0")}:${String(e % 60).padStart(2, "0")}`;
11620
+ }
11621
+ function eh(e, t) {
11622
+ switch (e) {
11623
+ case "day": return {
11624
+ view: e,
11625
+ start: t,
11626
+ end: t
11627
+ };
11628
+ case "week": {
11629
+ let n = Ym(t);
11630
+ return {
11631
+ view: e,
11632
+ start: n,
11633
+ end: qm(n, 6)
11634
+ };
11635
+ }
11636
+ case "month": {
11637
+ let n = Ym(Xm(t));
11638
+ return {
11639
+ view: e,
11640
+ start: n,
11641
+ end: qm(n, 41)
11642
+ };
11643
+ }
11644
+ case "year": {
11645
+ let n = t.slice(0, 4);
11646
+ return {
11647
+ view: e,
11648
+ start: `${n}-01-01`,
11649
+ end: `${n}-12-31`
11650
+ };
11651
+ }
11652
+ case "agenda": return {
11653
+ view: e,
11654
+ start: Xm(t),
11655
+ end: Zm(t)
11656
+ };
11657
+ }
11658
+ }
11659
+ function th(e, t, n) {
11660
+ if (e === "day") return qm(t, n);
11661
+ if (e === "week") return qm(t, 7 * n);
11662
+ let r = Km(t);
11663
+ return Gm(e === "year" ? new Date(r.getFullYear() + n, r.getMonth(), 1) : new Date(r.getFullYear(), r.getMonth() + n, 1));
11664
+ }
11665
+ function nh(e) {
11666
+ return e.endDate && e.endDate > e.date ? e.endDate : e.date;
11667
+ }
11668
+ function rh(e) {
11669
+ return Qm(e.time) === null;
11670
+ }
11671
+ function ih(e) {
11672
+ return nh(e) !== e.date;
11673
+ }
11674
+ function ah(e, t) {
11675
+ return e.date <= t && t <= nh(e);
11676
+ }
11677
+ function oh(e, t) {
11678
+ return e.filter((e) => ah(e, t)).sort((e, t) => (rh(e) || ih(e) ? -1 : Qm(e.time) ?? 0) - (rh(t) || ih(t) ? -1 : Qm(t.time) ?? 0));
11679
+ }
11680
+ function sh(e, t) {
11681
+ let n = e.filter((e) => e.date === t && !rh(e) && !ih(e)).map((e) => {
11682
+ let t = Qm(e.time) ?? 0, n = Math.max(t + 15, Qm(e.endTime) ?? t + 60);
11683
+ return {
11684
+ event: e,
11685
+ start: t,
11686
+ end: Math.min(n, 1440),
11687
+ col: 0,
11688
+ cols: 1
11689
+ };
11690
+ }).sort((e, t) => e.start - t.start || t.end - e.end), r = [], i = -1, a = () => {
11691
+ let e = r.reduce((e, t) => Math.max(e, t.col + 1), 1);
11692
+ for (let t of r) t.cols = e;
11693
+ r = [];
11694
+ };
11695
+ for (let e of n) {
11696
+ e.start >= i && (a(), i = -1);
11697
+ let t = new Set(r.filter((t) => t.end > e.start).map((e) => e.col)), n = 0;
11698
+ for (; t.has(n);) n++;
11699
+ e.col = n, r.push(e), i = Math.max(i, e.end);
11700
+ }
11701
+ return a(), n;
11702
+ }
11703
+ function ch(e, t, n) {
11704
+ let r = Jm(e.date, nh(e)), i = { date: t };
11705
+ r > 0 && (i.endDate = qm(t, r));
11706
+ let a = Qm(e.time);
11707
+ if (a === null) return i;
11708
+ let o = Qm(e.endTime) ?? a + 60, s = n === void 0 ? a : Qm(n) ?? a;
11709
+ return i.time = $m(s), (e.endTime !== void 0 || n !== void 0) && (i.endTime = $m(Math.min(1440, s + (o - a)))), i;
11710
+ }
11711
+ //#endregion
11712
+ //#region src/components/Calendar/UidCalendar.vue?vue&type=script&setup=true&lang.ts
11713
+ var lh = { class: "uid-calendar__header" }, uh = { class: "uid-calendar__title" }, dh = { class: "uid-calendar__tools" }, fh = {
11714
+ key: 0,
11715
+ class: "uid-calendar__views",
11716
+ role: "group"
11717
+ }, ph = ["aria-pressed", "onClick"], mh = { class: "uid-calendar__nav" }, hh = ["aria-label"], gh = ["aria-label"], _h = { class: "uid-calendar__weekdays" }, vh = { class: "uid-calendar__grid" }, yh = [
11718
+ "data-date",
11544
11719
  "tabindex",
11545
11720
  "aria-current",
11546
11721
  "aria-selected",
11547
11722
  "aria-label",
11548
11723
  "onClick",
11549
11724
  "onKeydown"
11550
- ], $m = { class: "uid-calendar__date" }, eh = { class: "uid-calendar__events" }, th = ["title", "onClick"], nh = { class: "uid-calendar__event-label" }, rh = {
11725
+ ], bh = { class: "uid-calendar__date" }, xh = { class: "uid-calendar__events" }, Sh = [
11726
+ "title",
11727
+ "onClick",
11728
+ "onPointerdown"
11729
+ ], Ch = {
11730
+ key: 0,
11731
+ class: "uid-calendar__event-time"
11732
+ }, wh = { class: "uid-calendar__event-label" }, Th = ["onClick"], Eh = { class: "uid-calendar__tg-head" }, Dh = ["onClick"], Oh = { class: "uid-calendar__tg-weekday" }, kh = { class: "uid-calendar__tg-date" }, Ah = { class: "uid-calendar__allday" }, jh = { class: "uid-calendar__gutter uid-calendar__gutter-label" }, Mh = ["data-date", "onClick"], Nh = [
11733
+ "title",
11734
+ "onClick",
11735
+ "onPointerdown"
11736
+ ], Ph = { class: "uid-calendar__event-label" }, Fh = { class: "uid-calendar__tg-inner" }, Ih = { class: "uid-calendar__gutter uid-calendar__hours" }, Lh = ["data-date", "onClick"], Rh = [
11737
+ "title",
11738
+ "onClick",
11739
+ "onKeydown",
11740
+ "onPointerdown"
11741
+ ], zh = { class: "uid-calendar__block-time" }, Bh = { class: "uid-calendar__block-title" }, Vh = ["onPointerdown"], Hh = {
11742
+ key: 2,
11743
+ class: "uid-calendar__year"
11744
+ }, Uh = ["onClick"], Wh = { class: "uid-calendar__mini-grid" }, Gh = [
11745
+ "tabindex",
11746
+ "aria-label",
11747
+ "disabled",
11748
+ "onClick"
11749
+ ], Kh = {
11750
+ key: 3,
11751
+ class: "uid-calendar__agenda"
11752
+ }, qh = {
11551
11753
  key: 0,
11552
- class: "uid-calendar__more"
11553
- }, ih = /* @__PURE__ */ f({
11754
+ class: "uid-calendar__empty"
11755
+ }, Jh = { class: "uid-calendar__agenda-date" }, Yh = ["onClick"], Xh = { class: "uid-calendar__agenda-time" }, Zh = { class: "uid-calendar__agenda-title" }, Qh = /* @__PURE__ */ f({
11554
11756
  __name: "UidCalendar",
11555
11757
  props: /* @__PURE__ */ _({
11556
11758
  events: { default: () => [] },
@@ -11561,150 +11763,449 @@ var vd = ["aria-label"], yd = [
11561
11763
  default: !1
11562
11764
  },
11563
11765
  maxEventsPerDay: { default: 3 },
11564
- todayLabel: {}
11766
+ todayLabel: {},
11767
+ views: { default: () => ["month"] },
11768
+ editable: {
11769
+ type: Boolean,
11770
+ default: !1
11771
+ },
11772
+ hourHeight: { default: 48 },
11773
+ scrollToHour: { default: 8 }
11565
11774
  }, {
11566
11775
  modelValue: { default: null },
11567
- modelModifiers: {}
11776
+ modelModifiers: {},
11777
+ view: { default: "month" },
11778
+ viewModifiers: {},
11779
+ anchor: { default: null },
11780
+ anchorModifiers: {}
11568
11781
  }),
11569
11782
  emits: /* @__PURE__ */ _([
11570
11783
  "event-click",
11571
11784
  "date-click",
11572
- "change"
11573
- ], ["update:modelValue"]),
11574
- setup(n, { emit: r }) {
11575
- let i = n, o = r, u = H(n, "modelValue"), f = Q(), p = /* @__PURE__ */ new Date(), m = v(p), h = A(u.value ? _(u.value).getFullYear() : p.getFullYear()), g = A(u.value ? _(u.value).getMonth() : p.getMonth());
11576
- function _(e) {
11577
- return /* @__PURE__ */ new Date(`${e}T00:00:00`);
11785
+ "change",
11786
+ "range",
11787
+ "event-move",
11788
+ "slot-click"
11789
+ ], [
11790
+ "update:modelValue",
11791
+ "update:view",
11792
+ "update:anchor"
11793
+ ]),
11794
+ setup(n, { expose: r, emit: i }) {
11795
+ let o = n, u = i, f = H(n, "modelValue"), p = H(n, "view"), m = H(n, "anchor"), h = Q(), g = Gm(/* @__PURE__ */ new Date()), _ = a({
11796
+ get: () => m.value ?? v.value,
11797
+ set: (e) => {
11798
+ v.value = e, m.value = e;
11799
+ }
11800
+ }), v = A(m.value ?? f.value ?? g), w = a(() => eh(p.value, _.value));
11801
+ q(w, (e) => u("range", e), { immediate: !0 });
11802
+ let T = a(() => h.value.datePicker.months), D = a(() => h.value.calendar);
11803
+ function O(e) {
11804
+ let t = Km(e);
11805
+ return `${t.getDate()} ${D.value.monthsGenitive[t.getMonth()]}`;
11806
+ }
11807
+ let k = a(() => {
11808
+ let e = Km(_.value);
11809
+ switch (p.value) {
11810
+ case "day": return `${D.value.weekdaysLong[(e.getDay() + 6) % 7]}, ${O(_.value)} ${e.getFullYear()}`;
11811
+ case "week": {
11812
+ let e = Km(w.value.start), t = Km(w.value.end);
11813
+ return `${e.getMonth() === t.getMonth() ? String(e.getDate()) : O(w.value.start)} – ${O(w.value.end)} ${t.getFullYear()}`;
11814
+ }
11815
+ case "year": return String(e.getFullYear());
11816
+ default: return `${T.value[e.getMonth()]} ${e.getFullYear()}`;
11817
+ }
11818
+ }), M = a(() => o.todayLabel ?? D.value.today), N = a(() => p.value === "month" || p.value === "agenda" ? h.value.datePicker.prevMonth : D.value.views[p.value]), P = a(() => p.value === "month" || p.value === "agenda" ? h.value.datePicker.nextMonth : D.value.views[p.value]);
11819
+ function F(e) {
11820
+ _.value = th(p.value, _.value, e);
11578
11821
  }
11579
- function v(e) {
11580
- return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
11822
+ function L() {
11823
+ _.value = g;
11824
+ }
11825
+ function R(e) {
11826
+ p.value = e;
11827
+ }
11828
+ function B(e) {
11829
+ _.value = e, o.views.includes("day") && (p.value = "day");
11830
+ }
11831
+ function V(e) {
11832
+ return !!(o.min && e < o.min || o.max && e > o.max);
11581
11833
  }
11582
- let y = a(() => `${f.value.datePicker.months[g.value]} ${h.value}`), S = a(() => i.todayLabel ?? f.value.calendar.today), C = a(() => {
11834
+ function U(e) {
11835
+ V(e) || (f.value = e, u("date-click", e), u("change", e));
11836
+ }
11837
+ let W = A(null), G = !1, K = a(() => {
11838
+ let e = W.value;
11839
+ return !e || !e.active ? o.events : o.events.map((t) => t === e.event ? {
11840
+ ...t,
11841
+ ...e.preview
11842
+ } : t);
11843
+ }), J = a(() => {
11583
11844
  let e = /* @__PURE__ */ new Map();
11584
- for (let t of i.events) {
11585
- let n = e.get(t.date) ?? [];
11586
- n.push(t), e.set(t.date, n);
11587
- }
11588
- return e;
11589
- }), w = a(() => {
11590
- let e = new Date(h.value, g.value, 1), t = new Date(h.value, g.value + 1, 0), n = (e.getDay() + 6) % 7, r = [];
11591
- for (let e = n; e > 0; e--) {
11592
- let t = new Date(h.value, g.value, 1 - e), n = v(t);
11593
- r.push({
11594
- date: t,
11595
- iso: n,
11596
- current: !1,
11597
- events: C.value.get(n) ?? []
11598
- });
11599
- }
11600
- for (let e = 1; e <= t.getDate(); e++) {
11601
- let t = new Date(h.value, g.value, e), n = v(t);
11602
- r.push({
11603
- date: t,
11604
- iso: n,
11605
- current: !0,
11606
- events: C.value.get(n) ?? []
11607
- });
11608
- }
11609
- let i = 1;
11610
- for (; r.length < 42;) {
11611
- let e = new Date(h.value, g.value + 1, i++), t = v(e);
11612
- r.push({
11613
- date: e,
11614
- iso: t,
11615
- current: !1,
11616
- events: C.value.get(t) ?? []
11845
+ return K.value.forEach((t, n) => e.set(t, o.events[n])), e;
11846
+ }), Y = (e) => J.value.get(e) ?? e;
11847
+ function ee(e, t) {
11848
+ e.stopPropagation(), !G && u("event-click", Y(t));
11849
+ }
11850
+ function ne(e) {
11851
+ return rh(e) ? "" : e.endTime ? `${e.time}–${e.endTime}` : e.time ?? "";
11852
+ }
11853
+ let re = a(() => {
11854
+ let e = _.value.slice(0, 7), t = [];
11855
+ for (let n = 0; n < 42; n++) {
11856
+ let r = qm(w.value.start, n);
11857
+ t.push({
11858
+ date: Km(r),
11859
+ iso: r,
11860
+ current: r.startsWith(e),
11861
+ events: oh(K.value, r)
11617
11862
  });
11618
11863
  }
11619
- return r;
11864
+ return t;
11620
11865
  });
11621
- function T(e) {
11622
- return !!(i.min && e < i.min || i.max && e > i.max);
11866
+ function ie(e, t) {
11867
+ return {
11868
+ "uid-calendar__event--timed": !rh(e) && !ih(e),
11869
+ "uid-calendar__event--from-prev": ih(e) && t !== e.date,
11870
+ "uid-calendar__event--to-next": ih(e) && t !== nh(e),
11871
+ "uid-calendar__event--dragging": !!W.value?.active && Y(e) === W.value.event,
11872
+ "uid-calendar__event--draggable": o.editable
11873
+ };
11623
11874
  }
11624
- function D() {
11625
- g.value === 0 ? (g.value = 11, h.value--) : g.value--;
11875
+ let ae = a(() => {
11876
+ if (p.value === "day") return [_.value];
11877
+ let e = Ym(_.value);
11878
+ return Array.from({ length: 7 }, (t, n) => qm(e, n));
11879
+ }), Z = Array.from({ length: 24 }, (e, t) => t), oe = a(() => o.hourHeight), se = a(() => ae.value.map((e) => oh(K.value, e).filter((e) => rh(e) || ih(e)))), ce = a(() => ae.value.map((e) => sh(K.value, e))), le = A((/* @__PURE__ */ new Date()).getHours() * 60 + (/* @__PURE__ */ new Date()).getMinutes()), ue, de = A(null);
11880
+ function fe() {
11881
+ de.value && (de.value.scrollTop = Math.max(0, o.scrollToHour * oe.value - 12));
11882
+ }
11883
+ q(p, (e) => {
11884
+ (e === "day" || e === "week") && y(fe);
11885
+ }), C(() => {
11886
+ fe(), ue = setInterval(() => {
11887
+ let e = /* @__PURE__ */ new Date();
11888
+ le.value = e.getHours() * 60 + e.getMinutes();
11889
+ }, 6e4);
11890
+ }), S(() => {
11891
+ clearInterval(ue), xe();
11892
+ });
11893
+ function pe(e, t = 15) {
11894
+ return Math.round(e / t) * t;
11626
11895
  }
11627
- function O() {
11628
- g.value === 11 ? (g.value = 0, h.value++) : g.value++;
11896
+ function me(e, t) {
11897
+ return (t - e.getBoundingClientRect().top) / oe.value * 60;
11629
11898
  }
11630
- function k() {
11631
- h.value = p.getFullYear(), g.value = p.getMonth();
11899
+ function he(e, t) {
11900
+ !o.editable || G || u("slot-click", {
11901
+ date: t,
11902
+ time: $m(Math.max(0, Math.min(1410, Math.floor(me(e.currentTarget, e.clientY) / 30) * 30)))
11903
+ });
11632
11904
  }
11633
- function M(e) {
11634
- T(e.iso) || (u.value = e.iso, o("date-click", e.iso), o("change", e.iso));
11905
+ function ge(e) {
11906
+ !o.editable || G || u("slot-click", { date: e });
11635
11907
  }
11636
- function N(e, t) {
11637
- e.stopPropagation(), o("event-click", t);
11908
+ function _e(e, t, n, r) {
11909
+ if (!o.editable || e.button !== 0) return;
11910
+ e.stopPropagation();
11911
+ let i = Y(t), a = 0;
11912
+ if (r && n === "move") {
11913
+ let t = e.currentTarget.closest(".uid-calendar__col");
11914
+ t && (a = me(t, e.clientY) - (Qm(i.time) ?? 0));
11915
+ }
11916
+ W.value = {
11917
+ event: i,
11918
+ mode: n,
11919
+ grid: r,
11920
+ x: e.clientX,
11921
+ y: e.clientY,
11922
+ grab: a,
11923
+ active: !1,
11924
+ preview: { date: i.date }
11925
+ }, window.addEventListener("pointermove", ve), window.addEventListener("pointerup", ye), window.addEventListener("keydown", be);
11638
11926
  }
11639
- return (r, i) => (E(), c("div", { class: b(["uid-calendar", { "uid-calendar--compact": n.compact }]) }, [
11640
- l("div", Gm, [l("span", Km, I(y.value), 1), l("div", qm, [
11641
- l("button", {
11642
- type: "button",
11643
- class: "uid-calendar__btn uid-calendar__btn--icon",
11644
- "aria-label": z(f).datePicker.prevMonth,
11645
- onClick: D
11646
- }, [d(e, {
11647
- icon: z(Xt),
11648
- size: 14
11649
- }, null, 8, ["icon"])], 8, Jm),
11650
- l("button", {
11651
- type: "button",
11652
- class: "uid-calendar__btn",
11653
- onClick: k
11654
- }, I(S.value), 1),
11655
- l("button", {
11656
- type: "button",
11657
- class: "uid-calendar__btn uid-calendar__btn--icon",
11658
- "aria-label": z(f).datePicker.nextMonth,
11659
- onClick: O
11660
- }, [d(e, {
11661
- icon: z(Zt),
11662
- size: 14
11663
- }, null, 8, ["icon"])], 8, Ym)
11664
- ])]),
11665
- l("div", Xm, [(E(!0), c(t, null, j(z(f).datePicker.weekdaysShort, (e) => (E(), c("span", {
11927
+ function ve(e) {
11928
+ let t = W.value;
11929
+ if (!t || !t.active && Math.hypot(e.clientX - t.x, e.clientY - t.y) < 4) return;
11930
+ t.active = !0;
11931
+ let n = document.elementFromPoint(e.clientX, e.clientY), r = (n?.closest("[data-date]"))?.dataset.date;
11932
+ if (!r) return;
11933
+ if (!t.grid) {
11934
+ t.preview = ch(t.event, r);
11935
+ return;
11936
+ }
11937
+ let i = n?.closest(".uid-calendar__col"), a = Qm(t.event.time) ?? 0, o = Qm(t.event.endTime) ?? a + 60;
11938
+ if (t.mode === "resize") {
11939
+ let n = Math.max(a + 15, Math.min(1440, pe(i ? me(i, e.clientY) : o)));
11940
+ t.preview = {
11941
+ date: t.event.date,
11942
+ time: t.event.time,
11943
+ endTime: $m(n)
11944
+ };
11945
+ return;
11946
+ }
11947
+ if (!i) {
11948
+ t.preview = ch(t.event, r);
11949
+ return;
11950
+ }
11951
+ let s = Math.max(0, Math.min(1440 - (o - a), pe(me(i, e.clientY) - t.grab)));
11952
+ t.preview = ch(t.event, r, $m(s));
11953
+ }
11954
+ function ye() {
11955
+ let e = W.value;
11956
+ if (xe(), !e || !e.active) return;
11957
+ G = !0, setTimeout(() => {
11958
+ G = !1;
11959
+ }, 0);
11960
+ let t = e.preview;
11961
+ t.date === e.event.date && (t.endDate ?? e.event.date) === nh(e.event) && (t.time ?? e.event.time) === e.event.time && (t.endTime ?? e.event.endTime) === e.event.endTime || u("event-move", {
11962
+ event: e.event,
11963
+ ...t
11964
+ });
11965
+ }
11966
+ function be(e) {
11967
+ e.key === "Escape" && xe();
11968
+ }
11969
+ function xe() {
11970
+ W.value = null, window.removeEventListener("pointermove", ve), window.removeEventListener("pointerup", ye), window.removeEventListener("keydown", be);
11971
+ }
11972
+ function Se(e) {
11973
+ let t = {
11974
+ top: `${e.start / 60 * oe.value}px`,
11975
+ height: `${Math.max(18, (e.end - e.start) / 60 * oe.value - 2)}px`,
11976
+ left: `calc(${e.col / e.cols * 100}% + 2px)`,
11977
+ width: `calc(${100 / e.cols}% - 4px)`
11978
+ };
11979
+ return e.event.color && (t["--uid-event-color"] = e.event.color), t;
11980
+ }
11981
+ let Ce = a(() => {
11982
+ let e = _.value.slice(0, 4);
11983
+ return Array.from({ length: 12 }, (t, n) => {
11984
+ let r = `${e}-${String(n + 1).padStart(2, "0")}-01`, i = Ym(r), a = Array.from({ length: 42 }, (e, t) => {
11985
+ let n = qm(i, t);
11986
+ return {
11987
+ iso: n,
11988
+ day: Km(n).getDate(),
11989
+ current: n.startsWith(r.slice(0, 7))
11990
+ };
11991
+ });
11992
+ return {
11993
+ first: r,
11994
+ name: T.value[n],
11995
+ cells: a
11996
+ };
11997
+ });
11998
+ }), we = a(() => {
11999
+ let e = /* @__PURE__ */ new Set(), { start: t, end: n } = w.value;
12000
+ for (let r of o.events) {
12001
+ let i = r.date < t ? t : r.date, a = nh(r) > n ? n : nh(r);
12002
+ for (let t = 0, n = Jm(i, a); t <= n && t < 400; t++) e.add(qm(i, t));
12003
+ }
12004
+ return e;
12005
+ });
12006
+ function Te(e) {
12007
+ _.value = e, o.views.includes("month") && (p.value = "month");
12008
+ }
12009
+ let Ee = a(() => {
12010
+ let e = [], { start: t, end: n } = w.value;
12011
+ for (let r = t; r <= n; r = qm(r, 1)) {
12012
+ let t = oh(K.value, r);
12013
+ if (t.length === 0) continue;
12014
+ let n = Km(r);
12015
+ e.push({
12016
+ iso: r,
12017
+ label: `${D.value.weekdaysLong[(n.getDay() + 6) % 7]}, ${O(r)}`,
12018
+ events: t
12019
+ });
12020
+ }
12021
+ return e;
12022
+ });
12023
+ return r({
12024
+ go: F,
12025
+ goToday: L,
12026
+ setView: R
12027
+ }), (r, i) => (E(), c("div", { class: b(["uid-calendar", [`uid-calendar--${p.value}`, {
12028
+ "uid-calendar--compact": n.compact,
12029
+ "uid-calendar--editable": n.editable
12030
+ }]]) }, [l("div", lh, [l("span", uh, I(k.value), 1), l("div", dh, [n.views.length > 1 ? (E(), c("div", fh, [(E(!0), c(t, null, j(n.views, (e) => (E(), c("button", {
12031
+ key: e,
12032
+ type: "button",
12033
+ class: b(["uid-calendar__btn uid-calendar__view", { "uid-calendar__view--active": e === p.value }]),
12034
+ "aria-pressed": e === p.value,
12035
+ onClick: (t) => R(e)
12036
+ }, I(D.value.views[e]), 11, ph))), 128))])) : s("", !0), l("div", mh, [
12037
+ l("button", {
12038
+ type: "button",
12039
+ class: "uid-calendar__btn uid-calendar__btn--icon",
12040
+ "aria-label": N.value,
12041
+ onClick: i[0] ||= (e) => F(-1)
12042
+ }, [d(e, {
12043
+ icon: z(Xt),
12044
+ size: 14
12045
+ }, null, 8, ["icon"])], 8, hh),
12046
+ l("button", {
12047
+ type: "button",
12048
+ class: "uid-calendar__btn",
12049
+ onClick: L
12050
+ }, I(M.value), 1),
12051
+ l("button", {
12052
+ type: "button",
12053
+ class: "uid-calendar__btn uid-calendar__btn--icon",
12054
+ "aria-label": P.value,
12055
+ onClick: i[1] ||= (e) => F(1)
12056
+ }, [d(e, {
12057
+ icon: z(Zt),
12058
+ size: 14
12059
+ }, null, 8, ["icon"])], 8, gh)
12060
+ ])])]), p.value === "month" ? (E(), c(t, { key: 0 }, [l("div", _h, [(E(!0), c(t, null, j(z(h).datePicker.weekdaysShort, (e) => (E(), c("span", {
12061
+ key: e,
12062
+ class: "uid-calendar__weekday"
12063
+ }, I(e), 1))), 128))]), l("div", vh, [(E(!0), c(t, null, j(re.value, (e) => (E(), c("div", {
12064
+ key: e.iso,
12065
+ class: b(["uid-calendar__day", {
12066
+ "uid-calendar__day--other": !e.current,
12067
+ "uid-calendar__day--today": e.iso === z(g),
12068
+ "uid-calendar__day--selected": e.iso === f.value,
12069
+ "uid-calendar__day--disabled": V(e.iso)
12070
+ }]),
12071
+ "data-date": e.iso,
12072
+ tabindex: V(e.iso) ? -1 : 0,
12073
+ role: "button",
12074
+ "aria-current": e.iso === z(g) ? "date" : void 0,
12075
+ "aria-selected": e.iso === f.value,
12076
+ "aria-label": e.iso,
12077
+ onClick: (t) => U(e.iso),
12078
+ onKeydown: [X(te((t) => U(e.iso), ["prevent"]), ["enter"]), X(te((t) => U(e.iso), ["prevent"]), ["space"])]
12079
+ }, [l("span", bh, I(e.date.getDate()), 1), l("div", xh, [(E(!0), c(t, null, j(e.events.slice(0, n.maxEventsPerDay), (t, n) => (E(), c("button", {
12080
+ key: t.id ?? `${e.iso}-${n}`,
12081
+ type: "button",
12082
+ class: b(["uid-calendar__event", ie(t, e.iso)]),
12083
+ style: x(t.color ? { "--uid-event-color": t.color } : void 0),
12084
+ title: ne(t) ? `${ne(t)} ${t.title}` : t.title,
12085
+ onClick: (e) => ee(e, t),
12086
+ onPointerdown: (e) => _e(e, t, "move", !1)
12087
+ }, [!z(rh)(t) && e.iso === t.date ? (E(), c("span", Ch, I(t.time), 1)) : s("", !0), l("span", wh, I(!z(ih)(t) || e.iso === t.date || e.date.getDay() === 1 ? t.title : "\xA0"), 1)], 46, Sh))), 128)), e.events.length > n.maxEventsPerDay ? (E(), c("button", {
12088
+ key: 0,
12089
+ type: "button",
12090
+ class: "uid-calendar__more",
12091
+ onClick: te((t) => B(e.iso), ["stop"])
12092
+ }, I(D.value.more(e.events.length - n.maxEventsPerDay)), 9, Th)) : s("", !0)])], 42, yh))), 128))])], 64)) : p.value === "week" || p.value === "day" ? (E(), c("div", {
12093
+ key: 1,
12094
+ class: "uid-calendar__tg",
12095
+ style: x({ "--uid-cal-hour-h": `${oe.value}px` })
12096
+ }, [
12097
+ l("div", Eh, [i[3] ||= l("span", { class: "uid-calendar__gutter" }, null, -1), (E(!0), c(t, null, j(ae.value, (e) => (E(), c("button", {
11666
12098
  key: e,
11667
- class: "uid-calendar__weekday"
11668
- }, I(e), 1))), 128))]),
11669
- l("div", Zm, [(E(!0), c(t, null, j(w.value, (e) => (E(), c("div", {
11670
- key: e.iso,
11671
- class: b(["uid-calendar__day", {
11672
- "uid-calendar__day--other": !e.current,
11673
- "uid-calendar__day--today": e.iso === z(m),
11674
- "uid-calendar__day--selected": e.iso === u.value,
11675
- "uid-calendar__day--disabled": T(e.iso)
12099
+ type: "button",
12100
+ class: b(["uid-calendar__tg-day", { "uid-calendar__tg-day--today": e === z(g) }]),
12101
+ onClick: (t) => p.value === "week" ? B(e) : U(e)
12102
+ }, [l("span", Oh, I(z(h).datePicker.weekdaysShort[(z(Km)(e).getDay() + 6) % 7]), 1), l("span", kh, I(z(Km)(e).getDate()), 1)], 10, Dh))), 128))]),
12103
+ l("div", Ah, [l("span", jh, I(D.value.allDay), 1), (E(!0), c(t, null, j(se.value, (e, n) => (E(), c("div", {
12104
+ key: ae.value[n],
12105
+ class: "uid-calendar__allday-cell",
12106
+ "data-date": ae.value[n],
12107
+ onClick: (e) => ge(ae.value[n])
12108
+ }, [(E(!0), c(t, null, j(e, (e, t) => (E(), c("button", {
12109
+ key: e.id ?? `${ae.value[n]}-a${t}`,
12110
+ type: "button",
12111
+ class: b(["uid-calendar__event", ie(e, ae.value[n])]),
12112
+ style: x(e.color ? { "--uid-event-color": e.color } : void 0),
12113
+ title: e.title,
12114
+ onClick: (t) => ee(t, e),
12115
+ onPointerdown: (t) => _e(t, e, "move", !1)
12116
+ }, [l("span", Ph, I(e.title), 1)], 46, Nh))), 128))], 8, Mh))), 128))]),
12117
+ l("div", {
12118
+ ref_key: "body",
12119
+ ref: de,
12120
+ class: "uid-calendar__tg-body"
12121
+ }, [l("div", Fh, [l("div", Ih, [(E(!0), c(t, null, j(z(Z), (e) => (E(), c("span", {
12122
+ key: e,
12123
+ class: "uid-calendar__hour"
12124
+ }, I(e === 0 ? "" : z($m)(e * 60)), 1))), 128))]), (E(!0), c(t, null, j(ae.value, (e, r) => (E(), c("div", {
12125
+ key: e,
12126
+ class: b(["uid-calendar__col", { "uid-calendar__col--today": e === z(g) }]),
12127
+ "data-date": e,
12128
+ onClick: (t) => he(t, e)
12129
+ }, [e === z(g) ? (E(), c("div", {
12130
+ key: 0,
12131
+ class: "uid-calendar__now",
12132
+ style: x({ top: `${le.value / 60 * oe.value}px` })
12133
+ }, null, 4)) : s("", !0), (E(!0), c(t, null, j(ce.value[r], (t, r) => (E(), c("div", {
12134
+ key: t.event.id ?? `${e}-${r}`,
12135
+ class: b(["uid-calendar__block", {
12136
+ "uid-calendar__block--dragging": !!W.value?.active && Y(t.event) === W.value.event,
12137
+ "uid-calendar__block--short": t.end - t.start < 45
11676
12138
  }]),
11677
- tabindex: T(e.iso) ? -1 : 0,
12139
+ style: x(Se(t)),
11678
12140
  role: "button",
11679
- "aria-current": e.iso === z(m) ? "date" : void 0,
11680
- "aria-selected": e.iso === u.value,
11681
- "aria-label": e.iso,
11682
- onClick: (t) => M(e),
11683
- onKeydown: [X(te((t) => M(e), ["prevent"]), ["enter"]), X(te((t) => M(e), ["prevent"]), ["space"])]
11684
- }, [l("span", $m, I(e.date.getDate()), 1), l("div", eh, [(E(!0), c(t, null, j(e.events.slice(0, n.maxEventsPerDay), (t, n) => (E(), c("button", {
11685
- key: t.id ?? `${e.iso}-${n}`,
11686
- type: "button",
11687
- class: "uid-calendar__event",
11688
- style: x(t.color ? { "--uid-event-color": t.color } : void 0),
11689
- title: t.title,
11690
- onClick: (e) => N(e, t)
11691
- }, [l("span", nh, I(t.title), 1)], 12, th))), 128)), e.events.length > n.maxEventsPerDay ? (E(), c("span", rh, "+" + I(e.events.length - n.maxEventsPerDay), 1)) : s("", !0)])], 42, Qm))), 128))])
11692
- ], 2));
12141
+ tabindex: "0",
12142
+ title: `${ne(t.event)} ${t.event.title}`,
12143
+ onClick: (e) => ee(e, t.event),
12144
+ onKeydown: X(te((e) => u("event-click", Y(t.event)), ["prevent"]), ["enter"]),
12145
+ onPointerdown: (e) => _e(e, t.event, "move", !0)
12146
+ }, [
12147
+ l("span", zh, I(ne(t.event)), 1),
12148
+ l("span", Bh, I(t.event.title), 1),
12149
+ n.editable ? (E(), c("span", {
12150
+ key: 0,
12151
+ class: "uid-calendar__resize",
12152
+ onPointerdown: (e) => _e(e, t.event, "resize", !0),
12153
+ onClick: i[2] ||= te(() => {}, ["stop"])
12154
+ }, null, 40, Vh)) : s("", !0)
12155
+ ], 46, Rh))), 128))], 10, Lh))), 128))])], 512)
12156
+ ], 4)) : p.value === "year" ? (E(), c("div", Hh, [(E(!0), c(t, null, j(Ce.value, (e) => (E(), c("div", {
12157
+ key: e.first,
12158
+ class: "uid-calendar__mini"
12159
+ }, [l("button", {
12160
+ type: "button",
12161
+ class: "uid-calendar__mini-title",
12162
+ onClick: (t) => Te(e.first)
12163
+ }, I(e.name), 9, Uh), l("div", Wh, [(E(!0), c(t, null, j(z(h).datePicker.weekdaysShort, (e) => (E(), c("span", {
12164
+ key: e,
12165
+ class: "uid-calendar__mini-wd"
12166
+ }, I(e.slice(0, 1)), 1))), 128)), (E(!0), c(t, null, j(e.cells, (e) => (E(), c("button", {
12167
+ key: e.iso,
12168
+ type: "button",
12169
+ class: b(["uid-calendar__mini-day", {
12170
+ "uid-calendar__mini-day--other": !e.current,
12171
+ "uid-calendar__mini-day--today": e.current && e.iso === z(g),
12172
+ "uid-calendar__mini-day--busy": e.current && we.value.has(e.iso)
12173
+ }]),
12174
+ tabindex: e.current ? 0 : -1,
12175
+ "aria-label": e.iso,
12176
+ disabled: !e.current,
12177
+ onClick: (t) => {
12178
+ B(e.iso), U(e.iso);
12179
+ }
12180
+ }, I(e.day), 11, Gh))), 128))])]))), 128))])) : (E(), c("div", Kh, [Ee.value.length === 0 ? (E(), c("p", qh, I(D.value.noEvents), 1)) : s("", !0), (E(!0), c(t, null, j(Ee.value, (e) => (E(), c("section", {
12181
+ key: e.iso,
12182
+ class: b(["uid-calendar__agenda-day", { "uid-calendar__agenda-day--today": e.iso === z(g) }])
12183
+ }, [l("h4", Jh, I(e.label), 1), (E(!0), c(t, null, j(e.events, (t, n) => (E(), c("button", {
12184
+ key: t.id ?? `${e.iso}-${n}`,
12185
+ type: "button",
12186
+ class: "uid-calendar__agenda-item",
12187
+ style: x(t.color ? { "--uid-event-color": t.color } : void 0),
12188
+ onClick: (e) => ee(e, t)
12189
+ }, [
12190
+ l("span", Xh, I(z(rh)(t) || z(ih)(t) && e.iso !== t.date ? D.value.allDay : ne(t)), 1),
12191
+ i[4] ||= l("span", { class: "uid-calendar__agenda-dot" }, null, -1),
12192
+ l("span", Zh, I(t.title), 1)
12193
+ ], 12, Yh))), 128))], 2))), 128))]))], 2));
11693
12194
  }
11694
- }), ah = ["aria-label"], oh = [
12195
+ }), $h = ["aria-label"], eg = [
11695
12196
  "viewBox",
11696
12197
  "width",
11697
12198
  "height"
11698
- ], sh = [
12199
+ ], tg = [
11699
12200
  "x2",
11700
12201
  "y1",
11701
12202
  "y2"
11702
- ], ch = [
12203
+ ], ng = [
11703
12204
  "x",
11704
12205
  "y",
11705
12206
  "width",
11706
12207
  "height"
11707
- ], lh = ["d"], uh = ["d"], dh = ["cx", "cy"], fh = ["cx", "cy"], ph = 2, mh = /* @__PURE__ */ f({
12208
+ ], rg = ["d"], ig = ["d"], ag = ["cx", "cy"], og = ["cx", "cy"], sg = 2, cg = /* @__PURE__ */ f({
11708
12209
  __name: "UidSparkline",
11709
12210
  props: {
11710
12211
  data: {},
@@ -11747,11 +12248,11 @@ var vd = ["aria-label"], yd = [
11747
12248
  };
11748
12249
  });
11749
12250
  function o(e, t) {
11750
- return t <= 1 ? n.width / 2 : ph + e / (t - 1) * (n.width - ph * 2);
12251
+ return t <= 1 ? n.width / 2 : sg + e / (t - 1) * (n.width - sg * 2);
11751
12252
  }
11752
12253
  function u(e) {
11753
12254
  let t = i.value, r = (e - t.min) / (t.max - t.min);
11754
- return n.height - ph - r * (n.height - ph * 2);
12255
+ return n.height - sg - r * (n.height - sg * 2);
11755
12256
  }
11756
12257
  let d = a(() => n.data.map((e, t) => ({
11757
12258
  x: o(t, n.data.length),
@@ -11770,14 +12271,14 @@ var vd = ["aria-label"], yd = [
11770
12271
  }), p = a(() => {
11771
12272
  let e = d.value;
11772
12273
  if (e.length === 0) return "";
11773
- let t = n.height - ph;
12274
+ let t = n.height - sg;
11774
12275
  return `${f.value} L ${e[e.length - 1].x.toFixed(2)} ${t.toFixed(2)} L ${e[0].x.toFixed(2)} ${t.toFixed(2)} Z`;
11775
12276
  }), m = a(() => {
11776
12277
  let e = d.value, t = e.length;
11777
12278
  if (t === 0) return [];
11778
- let r = n.width - ph * 2, i = Math.max(1, r / t * .7), a = u(0);
12279
+ let r = n.width - sg * 2, i = Math.max(1, r / t * .7), a = u(0);
11779
12280
  return e.map((e, n) => {
11780
- let o = ph + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
12281
+ let o = sg + (n + .5) / t * r - i / 2, s = e.v < 0, c = s ? a : e.y, l = s ? e.y : a;
11781
12282
  return {
11782
12283
  x: o,
11783
12284
  y: c,
@@ -11814,59 +12315,59 @@ var vd = ["aria-label"], yd = [
11814
12315
  x2: e.width,
11815
12316
  y1: h.value,
11816
12317
  y2: h.value
11817
- }, null, 8, sh)) : s("", !0), e.type === "bar" ? (E(!0), c(t, { key: 1 }, j(m.value, (e, t) => (E(), c("rect", {
12318
+ }, null, 8, tg)) : s("", !0), e.type === "bar" ? (E(!0), c(t, { key: 1 }, j(m.value, (e, t) => (E(), c("rect", {
11818
12319
  key: t,
11819
12320
  class: b(["uid-sparkline__bar", { "uid-sparkline__bar--negative": e.negative }]),
11820
12321
  x: e.x,
11821
12322
  y: e.y,
11822
12323
  width: e.width,
11823
12324
  height: e.height
11824
- }, null, 10, ch))), 128)) : (E(), c(t, { key: 2 }, [
12325
+ }, null, 10, ng))), 128)) : (E(), c(t, { key: 2 }, [
11825
12326
  e.type === "area" ? (E(), c("path", {
11826
12327
  key: 0,
11827
12328
  class: "uid-sparkline__area",
11828
12329
  d: p.value
11829
- }, null, 8, lh)) : s("", !0),
12330
+ }, null, 8, rg)) : s("", !0),
11830
12331
  l("path", {
11831
12332
  class: "uid-sparkline__line",
11832
12333
  d: f.value
11833
- }, null, 8, uh),
12334
+ }, null, 8, ig),
11834
12335
  e.showDots ? (E(!0), c(t, { key: 1 }, j(d.value, (e, t) => (E(), c("circle", {
11835
12336
  key: t,
11836
12337
  class: "uid-sparkline__dot",
11837
12338
  cx: e.x,
11838
12339
  cy: e.y,
11839
12340
  r: "2.5"
11840
- }, null, 8, dh))), 128)) : s("", !0),
12341
+ }, null, 8, ag))), 128)) : s("", !0),
11841
12342
  e.showLast && _.value && !e.showDots ? (E(), c("circle", {
11842
12343
  key: 2,
11843
12344
  class: "uid-sparkline__dot uid-sparkline__dot--last",
11844
12345
  cx: _.value.x,
11845
12346
  cy: _.value.y,
11846
12347
  r: "2.5"
11847
- }, null, 8, fh)) : s("", !0)
11848
- ], 64))], 8, oh))], 12, ah));
12348
+ }, null, 8, og)) : s("", !0)
12349
+ ], 64))], 8, eg))], 12, $h));
11849
12350
  }
11850
- }), hh = ["aria-valuemax", "aria-valuenow"], gh = [
12351
+ }), lg = ["aria-valuemax", "aria-valuenow"], ug = [
11851
12352
  "width",
11852
12353
  "height",
11853
12354
  "viewBox"
11854
- ], _h = [
12355
+ ], dg = [
11855
12356
  "cx",
11856
12357
  "cy",
11857
12358
  "r",
11858
12359
  "stroke-width"
11859
- ], vh = [
12360
+ ], fg = [
11860
12361
  "cx",
11861
12362
  "cy",
11862
12363
  "r",
11863
12364
  "stroke-width",
11864
12365
  "stroke-dasharray",
11865
12366
  "stroke-dashoffset"
11866
- ], yh = {
12367
+ ], pg = {
11867
12368
  key: 0,
11868
12369
  class: "uid-progress-ring__label"
11869
- }, bh = /* @__PURE__ */ f({
12370
+ }, mg = /* @__PURE__ */ f({
11870
12371
  __name: "UidProgressRing",
11871
12372
  props: {
11872
12373
  value: { default: 0 },
@@ -11911,7 +12412,7 @@ var vd = ["aria-label"], yd = [
11911
12412
  cy: i.value,
11912
12413
  r: n.value,
11913
12414
  "stroke-width": e.strokeWidth
11914
- }, null, 8, _h), l("circle", {
12415
+ }, null, 8, dg), l("circle", {
11915
12416
  class: "uid-progress-ring__progress",
11916
12417
  cx: i.value,
11917
12418
  cy: i.value,
@@ -11919,50 +12420,50 @@ var vd = ["aria-label"], yd = [
11919
12420
  "stroke-width": e.strokeWidth,
11920
12421
  "stroke-dasharray": r.value,
11921
12422
  "stroke-dashoffset": f.value
11922
- }, null, 8, vh)], 8, gh)), e.showLabel || t.$slots.default ? (E(), c("div", yh, [M(t.$slots, "default", {}, () => [u(I(p.value), 1)])])) : s("", !0)], 14, hh));
12423
+ }, null, 8, fg)], 8, ug)), e.showLabel || t.$slots.default ? (E(), c("div", pg, [M(t.$slots, "default", {}, () => [u(I(p.value), 1)])])) : s("", !0)], 14, lg));
11923
12424
  }
11924
- }), xh = [
12425
+ }), hg = [
11925
12426
  "aria-valuemin",
11926
12427
  "aria-valuemax",
11927
12428
  "aria-valuenow",
11928
12429
  "aria-label"
11929
- ], Sh = [
12430
+ ], gg = [
11930
12431
  "width",
11931
12432
  "height",
11932
12433
  "viewBox"
11933
- ], Ch = ["d", "stroke-width"], wh = [
12434
+ ], _g = ["d", "stroke-width"], vg = [
11934
12435
  "d",
11935
12436
  "stroke",
11936
12437
  "stroke-width",
11937
12438
  "stroke-dasharray",
11938
12439
  "stroke-dashoffset"
11939
- ], Th = [
12440
+ ], yg = [
11940
12441
  "d",
11941
12442
  "stroke-width",
11942
12443
  "stroke-dasharray",
11943
12444
  "stroke-dashoffset"
11944
- ], Eh = { key: 2 }, Dh = [
12445
+ ], bg = { key: 2 }, xg = [
11945
12446
  "x1",
11946
12447
  "y1",
11947
12448
  "x2",
11948
12449
  "y2",
11949
12450
  "transform"
11950
- ], Oh = ["cx", "cy"], kh = {
12451
+ ], Sg = ["cx", "cy"], Cg = {
11951
12452
  key: 0,
11952
12453
  class: "uid-gauge__content"
11953
- }, Ah = {
12454
+ }, wg = {
11954
12455
  key: 0,
11955
12456
  class: "uid-gauge__value"
11956
- }, jh = {
12457
+ }, Tg = {
11957
12458
  key: 0,
11958
12459
  class: "uid-gauge__suffix"
11959
- }, Mh = {
12460
+ }, Eg = {
11960
12461
  key: 1,
11961
12462
  class: "uid-gauge__label"
11962
- }, Nh = {
12463
+ }, Dg = {
11963
12464
  key: 1,
11964
12465
  class: "uid-gauge__limits"
11965
- }, Ph = 4, Fh = /* @__PURE__ */ f({
12466
+ }, Og = 4, kg = /* @__PURE__ */ f({
11966
12467
  __name: "UidGauge",
11967
12468
  props: {
11968
12469
  value: { default: 0 },
@@ -11992,7 +12493,7 @@ var vd = ["aria-label"], yd = [
11992
12493
  locale: { default: void 0 }
11993
12494
  },
11994
12495
  setup(e) {
11995
- let n = e, r = Q(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - Ph), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + Ph), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
12496
+ let n = e, r = Q(), i = a(() => n.locale ?? r.value.code), o = a(() => (n.size - n.strokeWidth) / 2 - Og), u = a(() => n.size / 2), d = a(() => n.size / 2), f = a(() => n.size / 2 + n.strokeWidth / 2 + Og), p = a(() => Math.PI * o.value), m = a(() => Math.max(n.min, Math.min(n.max, n.value))), h = a(() => {
11996
12497
  let e = n.max - n.min;
11997
12498
  return e <= 0 ? 0 : (m.value - n.min) / e;
11998
12499
  }), g = a(() => {
@@ -12030,7 +12531,7 @@ var vd = ["aria-label"], yd = [
12030
12531
  class: "uid-gauge__track",
12031
12532
  d: g.value,
12032
12533
  "stroke-width": e.strokeWidth
12033
- }, null, 8, Ch),
12534
+ }, null, 8, _g),
12034
12535
  e.ranges && e.ranges.length ? (E(!0), c(t, { key: 0 }, j(e.ranges, (t, n) => (E(), c("path", {
12035
12536
  key: n,
12036
12537
  class: "uid-gauge__range",
@@ -12039,7 +12540,7 @@ var vd = ["aria-label"], yd = [
12039
12540
  "stroke-width": e.strokeWidth,
12040
12541
  "stroke-dasharray": v(t).dasharray,
12041
12542
  "stroke-dashoffset": v(t).dashoffset
12042
- }, null, 8, wh))), 128)) : s("", !0),
12543
+ }, null, 8, vg))), 128)) : s("", !0),
12043
12544
  !e.ranges || e.ranges.length === 0 ? (E(), c("path", {
12044
12545
  key: 1,
12045
12546
  class: "uid-gauge__progress",
@@ -12047,43 +12548,43 @@ var vd = ["aria-label"], yd = [
12047
12548
  "stroke-width": e.strokeWidth,
12048
12549
  "stroke-dasharray": p.value,
12049
12550
  "stroke-dashoffset": _.value
12050
- }, null, 8, Th)) : s("", !0),
12051
- e.showNeedle ? (E(), c("g", Eh, [l("line", {
12551
+ }, null, 8, yg)) : s("", !0),
12552
+ e.showNeedle ? (E(), c("g", bg, [l("line", {
12052
12553
  class: "uid-gauge__needle",
12053
12554
  x1: u.value,
12054
12555
  y1: d.value,
12055
12556
  x2: u.value + o.value - e.strokeWidth,
12056
12557
  y2: d.value,
12057
12558
  transform: `rotate(${y.value} ${u.value} ${d.value})`
12058
- }, null, 8, Dh), l("circle", {
12559
+ }, null, 8, xg), l("circle", {
12059
12560
  class: "uid-gauge__needle-pivot",
12060
12561
  cx: u.value,
12061
12562
  cy: d.value,
12062
12563
  r: "4"
12063
- }, null, 8, Oh)])) : s("", !0)
12064
- ], 8, Sh)),
12065
- e.showValue || e.label ? (E(), c("div", kh, [e.showValue ? (E(), c("div", Ah, [l("span", null, I(S.value), 1), e.suffix ? (E(), c("span", jh, I(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (E(), c("div", Mh, I(e.label), 1)) : s("", !0)])) : s("", !0),
12066
- e.showLimits ? (E(), c("div", Nh, [l("span", null, I(e.min), 1), l("span", null, I(e.max), 1)])) : s("", !0)
12067
- ], 14, xh));
12564
+ }, null, 8, Sg)])) : s("", !0)
12565
+ ], 8, gg)),
12566
+ e.showValue || e.label ? (E(), c("div", Cg, [e.showValue ? (E(), c("div", wg, [l("span", null, I(S.value), 1), e.suffix ? (E(), c("span", Tg, I(e.suffix), 1)) : s("", !0)])) : s("", !0), e.label ? (E(), c("div", Eg, I(e.label), 1)) : s("", !0)])) : s("", !0),
12567
+ e.showLimits ? (E(), c("div", Dg, [l("span", null, I(e.min), 1), l("span", null, I(e.max), 1)])) : s("", !0)
12568
+ ], 14, hg));
12068
12569
  }
12069
- }), Ih = ["aria-label"], Lh = { class: "uid-heatmap__chart" }, Rh = {
12570
+ }), Ag = ["aria-label"], jg = { class: "uid-heatmap__chart" }, Mg = {
12070
12571
  key: 0,
12071
12572
  class: "uid-heatmap__weekdays",
12072
12573
  "aria-hidden": "true"
12073
- }, zh = { class: "uid-heatmap__grid-wrapper" }, Bh = [
12574
+ }, Ng = { class: "uid-heatmap__grid-wrapper" }, Pg = [
12074
12575
  "width",
12075
12576
  "height",
12076
12577
  "viewBox"
12077
- ], Vh = [
12578
+ ], Fg = [
12078
12579
  "x",
12079
12580
  "y",
12080
12581
  "width",
12081
12582
  "height",
12082
12583
  "fill"
12083
- ], Hh = {
12584
+ ], Ig = {
12084
12585
  key: 0,
12085
12586
  class: "uid-heatmap__legend"
12086
- }, Uh = /* @__PURE__ */ f({
12587
+ }, Lg = /* @__PURE__ */ f({
12087
12588
  __name: "UidHeatmap",
12088
12589
  props: {
12089
12590
  data: {},
@@ -12189,10 +12690,10 @@ var vd = ["aria-label"], yd = [
12189
12690
  style: x(w.value),
12190
12691
  role: "img",
12191
12692
  "aria-label": k.value
12192
- }, [l("div", Lh, [e.showWeekdays ? (E(), c("div", Rh, [(E(!0), c(t, null, j(z(r).datePicker.weekdaysShort, (e, t) => (E(), c("span", {
12693
+ }, [l("div", jg, [e.showWeekdays ? (E(), c("div", Mg, [(E(!0), c(t, null, j(z(r).datePicker.weekdaysShort, (e, t) => (E(), c("span", {
12193
12694
  key: e,
12194
12695
  class: b(["uid-heatmap__weekday", { "uid-heatmap__weekday--visible": t === 0 || t === 2 || t === 4 }])
12195
- }, I(e), 3))), 128))])) : s("", !0), l("div", zh, [e.showMonths ? (E(), c("div", {
12696
+ }, I(e), 3))), 128))])) : s("", !0), l("div", Ng, [e.showMonths ? (E(), c("div", {
12196
12697
  key: 0,
12197
12698
  class: "uid-heatmap__months",
12198
12699
  style: x({ width: `${S.value}px` }),
@@ -12215,7 +12716,7 @@ var vd = ["aria-label"], yd = [
12215
12716
  width: e.cellSize,
12216
12717
  height: e.cellSize,
12217
12718
  fill: v(t.level)
12218
- }, [l("title", null, I(D(t)), 1)], 8, Vh))), 128))], 8, Bh))])]), e.showLegend ? (E(), c("div", Hh, [
12719
+ }, [l("title", null, I(D(t)), 1)], 8, Fg))), 128))], 8, Pg))])]), e.showLegend ? (E(), c("div", Ig, [
12219
12720
  l("span", null, I(z(r).heatmap.less), 1),
12220
12721
  (E(!0), c(t, null, j(T.value, (e) => (E(), c("span", {
12221
12722
  key: e,
@@ -12223,9 +12724,9 @@ var vd = ["aria-label"], yd = [
12223
12724
  style: x(e === 0 ? void 0 : { background: v(e) })
12224
12725
  }, null, 4))), 128)),
12225
12726
  l("span", null, I(z(r).heatmap.more), 1)
12226
- ])) : s("", !0)], 12, Ih));
12727
+ ])) : s("", !0)], 12, Ag));
12227
12728
  }
12228
- }), Wh = {
12729
+ }), Rg = {
12229
12730
  default: ["color-mix(in srgb, var(--uid-heatmap-matrix-color) 14%, var(--uid-color-bg))", "var(--uid-heatmap-matrix-color)"],
12230
12731
  viridis: [
12231
12732
  "#440154",
@@ -12305,42 +12806,42 @@ var vd = ["aria-label"], yd = [
12305
12806
  "#67000d"
12306
12807
  ]
12307
12808
  };
12308
- function Gh(e) {
12309
- return Object.prototype.hasOwnProperty.call(Wh, e);
12809
+ function zg(e) {
12810
+ return Object.prototype.hasOwnProperty.call(Rg, e);
12310
12811
  }
12311
- function Kh(e) {
12812
+ function Bg(e) {
12312
12813
  if (Array.isArray(e)) {
12313
12814
  let t = e.filter((e) => typeof e == "string" && e.trim() !== "");
12314
- return t.length > 0 ? t : [...Wh.default];
12815
+ return t.length > 0 ? t : [...Rg.default];
12315
12816
  }
12316
12817
  let t = typeof e == "string" ? e.trim() : "";
12317
- if (t === "") return [...Wh.default];
12818
+ if (t === "") return [...Rg.default];
12318
12819
  let n = t.toLowerCase();
12319
- return Gh(n) ? [...Wh[n]] : qh(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...Wh.default];
12820
+ return zg(n) ? [...Rg[n]] : Vg(t) ? [`color-mix(in srgb, ${t} 14%, var(--uid-color-bg))`, t] : [...Rg.default];
12320
12821
  }
12321
- function qh(e) {
12822
+ function Vg(e) {
12322
12823
  return /^(#|rgba?\(|hsla?\(|hwb\(|lab\(|lch\(|oklab\(|oklch\(|color\(|color-mix\(|var\()/i.test(e) ? !0 : typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("color", e);
12323
12824
  }
12324
- function Jh(e, t) {
12825
+ function Hg(e, t) {
12325
12826
  if (e.length === 0) return "transparent";
12326
12827
  if (e.length === 1) return e[0];
12327
12828
  let n = (Number.isFinite(t) ? Math.min(1, Math.max(0, t)) : 0) * (e.length - 1), r = Math.min(e.length - 2, Math.floor(n)), i = n - r;
12328
12829
  return i <= 5e-4 ? e[r] : i >= .9995 ? e[r + 1] : `color-mix(in srgb, ${e[r + 1]} ${(i * 100).toFixed(1)}%, ${e[r]})`;
12329
12830
  }
12330
- function Yh(e) {
12831
+ function Ug(e) {
12331
12832
  return e.length === 1 ? e[0] : `linear-gradient(to right, ${e.join(", ")})`;
12332
12833
  }
12333
12834
  //#endregion
12334
12835
  //#region src/components/Heatmap/UidHeatmapMatrix.vue?vue&type=script&setup=true&lang.ts
12335
- var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12836
+ var Wg = { class: "uid-heatmap-matrix__scroll" }, Gg = [
12336
12837
  "aria-label",
12337
12838
  "aria-rowcount",
12338
12839
  "aria-colcount"
12339
- ], Qh = {
12840
+ ], Kg = {
12340
12841
  class: "uid-heatmap-matrix__row uid-heatmap-matrix__row--head",
12341
12842
  role: "row",
12342
12843
  "aria-rowindex": "1"
12343
- }, $h = ["aria-colindex", "aria-label"], eg = ["title"], tg = ["aria-rowindex"], ng = ["title"], rg = [
12844
+ }, qg = ["aria-colindex", "aria-label"], Jg = ["title"], Yg = ["aria-rowindex"], Xg = ["title"], Zg = [
12344
12845
  "aria-colindex",
12345
12846
  "aria-label",
12346
12847
  "tabindex",
@@ -12348,14 +12849,14 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12348
12849
  "data-c",
12349
12850
  "onMouseenter",
12350
12851
  "onFocus"
12351
- ], ig = { class: "uid-heatmap-matrix__tooltip-label" }, ag = { class: "uid-heatmap-matrix__tooltip-value" }, og = {
12852
+ ], Qg = { class: "uid-heatmap-matrix__tooltip-label" }, $g = { class: "uid-heatmap-matrix__tooltip-value" }, e_ = {
12352
12853
  key: 1,
12353
12854
  class: "uid-heatmap-matrix__legend",
12354
12855
  "aria-hidden": "true"
12355
- }, sg = { class: "uid-heatmap-matrix__legend-value" }, cg = { class: "uid-heatmap-matrix__legend-value" }, lg = {
12856
+ }, t_ = { class: "uid-heatmap-matrix__legend-value" }, n_ = { class: "uid-heatmap-matrix__legend-value" }, r_ = {
12356
12857
  key: 0,
12357
12858
  class: "uid-heatmap-matrix__legend-empty"
12358
- }, ug = 11, dg = 96, fg = 18, pg = /* @__PURE__ */ f({
12859
+ }, i_ = 11, a_ = 96, o_ = 18, s_ = /* @__PURE__ */ f({
12359
12860
  __name: "UidHeatmapMatrix",
12360
12861
  props: {
12361
12862
  rows: {},
@@ -12391,13 +12892,13 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12391
12892
  min: typeof n.min == "number" ? n.min : e,
12392
12893
  max: typeof n.max == "number" ? n.max : t
12393
12894
  };
12394
- }), v = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => Kh(n.colorScale));
12895
+ }), v = a(() => g.value.some((e) => e.some((e) => e === null))), w = a(() => Bg(n.colorScale));
12395
12896
  function T(e) {
12396
12897
  let { min: t, max: n } = _.value;
12397
12898
  return n <= t ? +(e > t) : (e - t) / (n - t);
12398
12899
  }
12399
12900
  function D(e) {
12400
- if (e !== null) return Jh(w.value, T(e));
12901
+ if (e !== null) return Hg(w.value, T(e));
12401
12902
  }
12402
12903
  function O(e) {
12403
12904
  return n.formatValue ? n.formatValue(e) : new Intl.NumberFormat(r.value.code).format(e);
@@ -12419,7 +12920,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12419
12920
  return `${n.row} × ${n.col}: ${k(n.value)}`;
12420
12921
  }
12421
12922
  function F(e) {
12422
- return Math.min(dg, e.length * ug * .6);
12923
+ return Math.min(a_, e.length * i_ * .6);
12423
12924
  }
12424
12925
  let L = a(() => n.cols.reduce((e, t) => Math.max(e, F(t)), 0)), R = a(() => {
12425
12926
  let e = n.cols.length, t = p.value, r = n.colLabels;
@@ -12428,7 +12929,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12428
12929
  step: 1,
12429
12930
  reserve: 0
12430
12931
  };
12431
- let a = t - 4 - m.value - n.gap * e, o = Math.max(n.minCellWidth, a / e), s = L.value, c = Math.max(1, Math.ceil((s + 6) / o)), l = (s + ug) * i, u = Math.max(n.minCellWidth, (a - l) / Math.max(.5, e - .5)), d = Math.max(0, Math.ceil(l - u / 2)), f = Math.max(1, Math.ceil(fg / u));
12932
+ let a = t - 4 - m.value - n.gap * e, o = Math.max(n.minCellWidth, a / e), s = L.value, c = Math.max(1, Math.ceil((s + 6) / o)), l = (s + i_) * i, u = Math.max(n.minCellWidth, (a - l) / Math.max(.5, e - .5)), d = Math.max(0, Math.ceil(l - u / 2)), f = Math.max(1, Math.ceil(o_ / u));
12432
12933
  return r === "horizontal" ? {
12433
12934
  mode: "horizontal",
12434
12935
  step: c,
@@ -12456,7 +12957,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12456
12957
  "--uid-heatmap-matrix-min-cell": `${n.minCellWidth}px`,
12457
12958
  "--uid-heatmap-matrix-gap": `${n.gap}px`,
12458
12959
  "--uid-heatmap-matrix-header-height": `${V.value}px`
12459
- })), U = a(() => R.value.reserve > 0 ? { paddingInlineEnd: `${R.value.reserve}px` } : void 0), W = a(() => Yh(w.value)), G = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), K = A({
12960
+ })), U = a(() => R.value.reserve > 0 ? { paddingInlineEnd: `${R.value.reserve}px` } : void 0), W = a(() => Ug(w.value)), G = a(() => n.ariaLabel ?? r.value.heatmap.matrixSummary(n.rows.length, n.cols.length)), K = A({
12460
12961
  r: 0,
12461
12962
  c: 0
12462
12963
  }), J = A(null), Y = A(!1), ee = a(() => J.value ?? (Y.value ? K.value : null)), X = a(() => ee.value ? N(ee.value.r, ee.value.c) : null), te = A({});
@@ -12554,7 +13055,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12554
13055
  class: b(["uid-heatmap-matrix", `uid-heatmap-matrix--labels-${R.value.mode}`]),
12555
13056
  style: x(H.value)
12556
13057
  }, [
12557
- l("div", Xh, [l("div", {
13058
+ l("div", Wg, [l("div", {
12558
13059
  class: "uid-heatmap-matrix__grid",
12559
13060
  role: "grid",
12560
13061
  style: x(U.value),
@@ -12563,7 +13064,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12563
13064
  "aria-colcount": e.cols.length + 1,
12564
13065
  onMouseleave: ie,
12565
13066
  onKeydown: se
12566
- }, [l("div", Qh, [i[0] ||= l("div", {
13067
+ }, [l("div", Kg, [i[0] ||= l("div", {
12567
13068
  class: "uid-heatmap-matrix__corner",
12568
13069
  role: "columnheader",
12569
13070
  "aria-colindex": "1"
@@ -12577,7 +13078,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12577
13078
  class: b(["uid-heatmap-matrix__col-label", { "uid-heatmap-matrix__col-label--hidden": !B(t) }]),
12578
13079
  title: e,
12579
13080
  "aria-hidden": "true"
12580
- }, I(e), 11, eg)], 8, $h))), 128))]), (E(!0), c(t, null, j(e.rows, (n, r) => (E(), c("div", {
13081
+ }, I(e), 11, Jg)], 8, qg))), 128))]), (E(!0), c(t, null, j(e.rows, (n, r) => (E(), c("div", {
12581
13082
  key: `r-${r}`,
12582
13083
  class: "uid-heatmap-matrix__row",
12583
13084
  role: "row",
@@ -12590,7 +13091,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12590
13091
  role: "rowheader",
12591
13092
  "aria-colindex": "1",
12592
13093
  title: n
12593
- }, I(n), 9, ng), (E(!0), c(t, null, j(e.cols, (e, t) => (E(), c("div", {
13094
+ }, I(n), 9, Xg), (E(!0), c(t, null, j(e.cols, (e, t) => (E(), c("div", {
12594
13095
  key: `c-${r}-${t}`,
12595
13096
  class: b(["uid-heatmap-matrix__cell", {
12596
13097
  "uid-heatmap-matrix__cell--empty": g.value[r][t] === null,
@@ -12606,7 +13107,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12606
13107
  onMouseenter: (e) => re(r, t),
12607
13108
  onFocus: (e) => ae(r, t),
12608
13109
  onBlur: Z
12609
- }, null, 46, rg))), 128))], 8, tg))), 128))], 44, Zh)]),
13110
+ }, null, 46, Zg))), 128))], 8, Yg))), 128))], 44, Gg)]),
12610
13111
  X.value ? (E(), c("div", {
12611
13112
  key: 0,
12612
13113
  ref_key: "tooltipRef",
@@ -12617,25 +13118,25 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12617
13118
  }, [M(n.$slots, "tooltip", {
12618
13119
  cell: X.value,
12619
13120
  formatted: k(X.value.value)
12620
- }, () => [l("span", ig, I(X.value.row) + " × " + I(X.value.col), 1), l("strong", ag, I(k(X.value.value)), 1)])], 4)) : s("", !0),
12621
- e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (E(), c("div", og, [
12622
- l("span", sg, I(O(_.value.min)), 1),
13121
+ }, () => [l("span", Qg, I(X.value.row) + " × " + I(X.value.col), 1), l("strong", $g, I(k(X.value.value)), 1)])], 4)) : s("", !0),
13122
+ e.showLegend && e.rows.length > 0 && e.cols.length > 0 ? (E(), c("div", e_, [
13123
+ l("span", t_, I(O(_.value.min)), 1),
12623
13124
  l("span", {
12624
13125
  class: "uid-heatmap-matrix__legend-bar",
12625
13126
  style: x({ background: W.value })
12626
13127
  }, null, 4),
12627
- l("span", cg, I(O(_.value.max)), 1),
12628
- v.value ? (E(), c("span", lg, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + I(z(r).heatmap.noData), 1)])) : s("", !0)
13128
+ l("span", n_, I(O(_.value.max)), 1),
13129
+ v.value ? (E(), c("span", r_, [i[1] ||= l("span", { class: "uid-heatmap-matrix__legend-swatch" }, null, -1), u(" " + I(z(r).heatmap.noData), 1)])) : s("", !0)
12629
13130
  ])) : s("", !0)
12630
13131
  ], 6));
12631
13132
  }
12632
- }), mg = ["aria-label"], hg = ["aria-current"], gg = { class: "uid-stepper__indicator" }, _g = {
13133
+ }), c_ = ["aria-label"], l_ = ["aria-current"], u_ = { class: "uid-stepper__indicator" }, d_ = {
12633
13134
  key: 1,
12634
13135
  "aria-hidden": "true"
12635
- }, vg = { class: "uid-stepper__content" }, yg = { class: "uid-stepper__label" }, bg = {
13136
+ }, f_ = { class: "uid-stepper__content" }, p_ = { class: "uid-stepper__label" }, m_ = {
12636
13137
  key: 0,
12637
13138
  class: "uid-stepper__description"
12638
- }, xg = /* @__PURE__ */ f({
13139
+ }, h_ = /* @__PURE__ */ f({
12639
13140
  __name: "UidStepper",
12640
13141
  props: {
12641
13142
  steps: {},
@@ -12664,20 +13165,20 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12664
13165
  class: b(["uid-stepper__target", { "uid-stepper__target--selectable": d(r) }]),
12665
13166
  onClick: (e) => d(r) && u("select", r)
12666
13167
  }, {
12667
- default: Y(() => [l("div", gg, [f(r, n.current) === "completed" ? (E(), o(e, {
13168
+ default: Y(() => [l("div", u_, [f(r, n.current) === "completed" ? (E(), o(e, {
12668
13169
  key: 0,
12669
13170
  icon: z(Jt),
12670
13171
  size: 16,
12671
13172
  "aria-hidden": "true"
12672
- }, null, 8, ["icon"])) : (E(), c("span", _g, I(r + 1), 1))]), l("div", vg, [l("span", yg, I(t.label), 1), t.description ? (E(), c("span", bg, I(t.description), 1)) : s("", !0)])]),
13173
+ }, null, 8, ["icon"])) : (E(), c("span", d_, I(r + 1), 1))]), l("div", f_, [l("span", p_, I(t.label), 1), t.description ? (E(), c("span", m_, I(t.description), 1)) : s("", !0)])]),
12673
13174
  _: 2
12674
13175
  }, 1032, [
12675
13176
  "type",
12676
13177
  "class",
12677
13178
  "onClick"
12678
- ]))], 10, hg))), 128))], 10, mg));
13179
+ ]))], 10, l_))), 128))], 10, c_));
12679
13180
  }
12680
- }), Sg = /* @__PURE__ */ f({
13181
+ }), g_ = /* @__PURE__ */ f({
12681
13182
  __name: "UidStack",
12682
13183
  props: {
12683
13184
  direction: { default: "column" },
@@ -12723,7 +13224,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12723
13224
  _: 3
12724
13225
  }, 8, ["class", "style"]));
12725
13226
  }
12726
- }), Cg = /* @__PURE__ */ f({
13227
+ }), __ = /* @__PURE__ */ f({
12727
13228
  __name: "UidGrid",
12728
13229
  props: {
12729
13230
  cols: { default: 12 },
@@ -12758,7 +13259,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12758
13259
  _: 3
12759
13260
  }, 8, ["style"]));
12760
13261
  }
12761
- }), wg = /* @__PURE__ */ f({
13262
+ }), v_ = /* @__PURE__ */ f({
12762
13263
  __name: "UidContainer",
12763
13264
  props: {
12764
13265
  size: { default: "lg" },
@@ -12774,7 +13275,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12774
13275
  _: 3
12775
13276
  }, 8, ["class"]));
12776
13277
  }
12777
- }), Tg = Symbol("uid-wizard"), Eg = { class: "uid-wizard" }, Dg = /* @__PURE__ */ f({
13278
+ }), y_ = Symbol("uid-wizard"), b_ = { class: "uid-wizard" }, x_ = /* @__PURE__ */ f({
12778
13279
  __name: "UidWizard",
12779
13280
  props: /* @__PURE__ */ _({ steps: {} }, {
12780
13281
  modelValue: { default: 0 },
@@ -12799,7 +13300,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12799
13300
  function m(e) {
12800
13301
  i.delete(e);
12801
13302
  }
12802
- return D(Tg, {
13303
+ return D(y_, {
12803
13304
  current: r,
12804
13305
  steps: o,
12805
13306
  isFirst: s,
@@ -12816,9 +13317,9 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12816
13317
  goTo: f,
12817
13318
  isFirst: s,
12818
13319
  isLast: l
12819
- }), (e, t) => (E(), c("div", Eg, [M(e.$slots, "default")]));
13320
+ }), (e, t) => (E(), c("div", b_, [M(e.$slots, "default")]));
12820
13321
  }
12821
- }), Og = ["aria-label"], kg = /* @__PURE__ */ f({
13322
+ }), S_ = ["aria-label"], C_ = /* @__PURE__ */ f({
12822
13323
  __name: "UidWizardStep",
12823
13324
  props: {
12824
13325
  index: {},
@@ -12828,7 +13329,7 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12828
13329
  }
12829
13330
  },
12830
13331
  setup(e) {
12831
- let t = e, n = Q(), r = g(Tg);
13332
+ let t = e, n = Q(), r = g(y_);
12832
13333
  if (!r) throw Error("UidWizardStep must be inside UidWizard");
12833
13334
  q(() => t.validate, (e, n) => {
12834
13335
  n !== void 0 && r.unregisterValidator(t.index), e !== void 0 && r.registerValidator(t.index, e);
@@ -12839,18 +13340,18 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12839
13340
  class: "uid-wizard-step",
12840
13341
  role: "tabpanel",
12841
13342
  "aria-label": z(n).wizard.step(e.index + 1)
12842
- }, [M(t.$slots, "default")], 8, Og)) : s("", !0);
13343
+ }, [M(t.$slots, "default")], 8, S_)) : s("", !0);
12843
13344
  }
12844
- }), Ag = { class: "uid-pattern-header__inner" }, jg = {
13345
+ }), w_ = { class: "uid-pattern-header__inner" }, T_ = {
12845
13346
  key: 0,
12846
13347
  class: "uid-pattern-header__logo"
12847
- }, Mg = ["aria-label"], Ng = {
13348
+ }, E_ = ["aria-label"], D_ = {
12848
13349
  key: 2,
12849
13350
  class: "uid-pattern-header__actions"
12850
- }, Pg = {
13351
+ }, O_ = {
12851
13352
  key: 3,
12852
13353
  class: "uid-pattern-header__mobile"
12853
- }, Fg = /* @__PURE__ */ f({
13354
+ }, k_ = /* @__PURE__ */ f({
12854
13355
  __name: "UidHeader",
12855
13356
  props: {
12856
13357
  sticky: {
@@ -12872,39 +13373,39 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12872
13373
  "uid-pattern-header--sticky": e.sticky,
12873
13374
  "uid-pattern-header--bordered": e.bordered,
12874
13375
  "uid-pattern-header--transparent": e.transparent
12875
- }]) }, [l("div", Ag, [
12876
- n.$slots.logo ? (E(), c("div", jg, [M(n.$slots, "logo")])) : s("", !0),
13376
+ }]) }, [l("div", w_, [
13377
+ n.$slots.logo ? (E(), c("div", T_, [M(n.$slots, "logo")])) : s("", !0),
12877
13378
  n.$slots.nav ? (E(), c("nav", {
12878
13379
  key: 1,
12879
13380
  class: "uid-pattern-header__nav",
12880
13381
  "aria-label": z(t).header.nav
12881
- }, [M(n.$slots, "nav")], 8, Mg)) : s("", !0),
12882
- n.$slots.actions ? (E(), c("div", Ng, [M(n.$slots, "actions")])) : s("", !0),
12883
- n.$slots.mobile ? (E(), c("div", Pg, [M(n.$slots, "mobile")])) : s("", !0)
13382
+ }, [M(n.$slots, "nav")], 8, E_)) : s("", !0),
13383
+ n.$slots.actions ? (E(), c("div", D_, [M(n.$slots, "actions")])) : s("", !0),
13384
+ n.$slots.mobile ? (E(), c("div", O_, [M(n.$slots, "mobile")])) : s("", !0)
12884
13385
  ])], 2));
12885
13386
  }
12886
- }), Ig = { class: "uid-pattern-footer__inner" }, Lg = {
13387
+ }), A_ = { class: "uid-pattern-footer__inner" }, j_ = {
12887
13388
  key: 0,
12888
13389
  class: "uid-pattern-footer__columns"
12889
- }, Rg = {
13390
+ }, M_ = {
12890
13391
  key: 1,
12891
13392
  class: "uid-pattern-footer__content"
12892
- }, zg = {
13393
+ }, N_ = {
12893
13394
  key: 2,
12894
13395
  class: "uid-pattern-footer__bottom"
12895
- }, Bg = /* @__PURE__ */ f({
13396
+ }, P_ = /* @__PURE__ */ f({
12896
13397
  __name: "UidFooter",
12897
13398
  props: { variant: { default: "minimal" } },
12898
13399
  setup(e) {
12899
- return (t, n) => (E(), c("footer", { class: b(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", Ig, [t.$slots.columns ? (E(), c("div", Lg, [M(t.$slots, "columns")])) : t.$slots.default ? (E(), c("div", Rg, [M(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (E(), c("div", zg, [M(t.$slots, "bottom")])) : s("", !0)])], 2));
13400
+ return (t, n) => (E(), c("footer", { class: b(["uid-pattern-footer", `uid-pattern-footer--${e.variant}`]) }, [l("div", A_, [t.$slots.columns ? (E(), c("div", j_, [M(t.$slots, "columns")])) : t.$slots.default ? (E(), c("div", M_, [M(t.$slots, "default")])) : s("", !0), t.$slots.bottom ? (E(), c("div", N_, [M(t.$slots, "bottom")])) : s("", !0)])], 2));
12900
13401
  }
12901
- }), Vg = ["aria-label"], Hg = {
13402
+ }), F_ = ["aria-label"], I_ = {
12902
13403
  key: 0,
12903
13404
  class: "uid-pattern-sidebar__header"
12904
- }, Ug = ["aria-label"], Wg = {
13405
+ }, L_ = ["aria-label"], R_ = {
12905
13406
  key: 1,
12906
13407
  class: "uid-pattern-sidebar__footer"
12907
- }, Gg = /* @__PURE__ */ f({
13408
+ }, z_ = /* @__PURE__ */ f({
12908
13409
  __name: "UidSidebar",
12909
13410
  props: {
12910
13411
  collapsed: {
@@ -12921,22 +13422,22 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12921
13422
  style: x(e.width && !e.collapsed ? { "--uid-sidebar-width": e.width } : void 0),
12922
13423
  "aria-label": z(t).sidebar.label
12923
13424
  }, [
12924
- n.$slots.header ? (E(), c("div", Hg, [M(n.$slots, "header")])) : s("", !0),
13425
+ n.$slots.header ? (E(), c("div", I_, [M(n.$slots, "header")])) : s("", !0),
12925
13426
  l("nav", {
12926
13427
  class: "uid-pattern-sidebar__nav",
12927
13428
  "aria-label": z(t).sidebar.nav
12928
- }, [M(n.$slots, "nav")], 8, Ug),
12929
- n.$slots.footer ? (E(), c("div", Wg, [M(n.$slots, "footer")])) : s("", !0)
12930
- ], 14, Vg));
13429
+ }, [M(n.$slots, "nav")], 8, L_),
13430
+ n.$slots.footer ? (E(), c("div", R_, [M(n.$slots, "footer")])) : s("", !0)
13431
+ ], 14, F_));
12931
13432
  }
12932
- }), Kg = {
13433
+ }), B_ = {
12933
13434
  key: 0,
12934
13435
  class: "uid-sidebar-item__icon",
12935
13436
  "aria-hidden": "true"
12936
- }, qg = { class: "uid-sidebar-item__label" }, Jg = {
13437
+ }, V_ = { class: "uid-sidebar-item__label" }, H_ = {
12937
13438
  key: 1,
12938
13439
  class: "uid-sidebar-item__badge"
12939
- }, Yg = /* @__PURE__ */ f({
13440
+ }, U_ = /* @__PURE__ */ f({
12940
13441
  __name: "UidSidebarItem",
12941
13442
  props: {
12942
13443
  href: { default: void 0 },
@@ -12963,9 +13464,9 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12963
13464
  tabindex: e.disabled ? -1 : void 0
12964
13465
  }), {
12965
13466
  default: Y(() => [
12966
- t.$slots.icon ? (E(), c("span", Kg, [M(t.$slots, "icon")])) : s("", !0),
12967
- l("span", qg, [M(t.$slots, "default")]),
12968
- e.badge === void 0 ? s("", !0) : (E(), c("span", Jg, I(e.badge), 1))
13467
+ t.$slots.icon ? (E(), c("span", B_, [M(t.$slots, "icon")])) : s("", !0),
13468
+ l("span", V_, [M(t.$slots, "default")]),
13469
+ e.badge === void 0 ? s("", !0) : (E(), c("span", H_, I(e.badge), 1))
12969
13470
  ]),
12970
13471
  _: 3
12971
13472
  }, 16, [
@@ -12975,10 +13476,10 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12975
13476
  "tabindex"
12976
13477
  ]));
12977
13478
  }
12978
- }), Xg = { class: "uid-sidebar-group" }, Zg = {
13479
+ }), W_ = { class: "uid-sidebar-group" }, G_ = {
12979
13480
  key: 0,
12980
13481
  class: "uid-sidebar-group__title"
12981
- }, Qg = /* @__PURE__ */ f({
13482
+ }, K_ = /* @__PURE__ */ f({
12982
13483
  __name: "UidSidebarGroup",
12983
13484
  props: {
12984
13485
  title: { default: void 0 },
@@ -12988,29 +13489,29 @@ var Xh = { class: "uid-heatmap-matrix__scroll" }, Zh = [
12988
13489
  }
12989
13490
  },
12990
13491
  setup(e) {
12991
- return (t, n) => (E(), c("div", Xg, [e.title ? (E(), c("p", Zg, I(e.title), 1)) : s("", !0), M(t.$slots, "default")]));
13492
+ return (t, n) => (E(), c("div", W_, [e.title ? (E(), c("p", G_, I(e.title), 1)) : s("", !0), M(t.$slots, "default")]));
12992
13493
  }
12993
- }), $g = {}, e_ = {
13494
+ }), q_ = {}, J_ = {
12994
13495
  class: "uid-sidebar-divider",
12995
13496
  role: "separator",
12996
13497
  "aria-hidden": "true"
12997
13498
  };
12998
- function t_(e, t) {
12999
- return E(), c("div", e_);
13499
+ function Y_(e, t) {
13500
+ return E(), c("div", J_);
13000
13501
  }
13001
- var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-page-header" }, i_ = {
13502
+ var X_ = /* @__PURE__ */ Vr(q_, [["render", Y_]]), Z_ = { class: "uid-pattern-page-header" }, Q_ = {
13002
13503
  key: 0,
13003
13504
  class: "uid-pattern-page-header__breadcrumb"
13004
- }, a_ = { class: "uid-pattern-page-header__row" }, o_ = { class: "uid-pattern-page-header__heading" }, s_ = ["aria-label"], c_ = { class: "uid-pattern-page-header__title" }, l_ = {
13505
+ }, $_ = { class: "uid-pattern-page-header__row" }, ev = { class: "uid-pattern-page-header__heading" }, tv = ["aria-label"], nv = { class: "uid-pattern-page-header__title" }, rv = {
13005
13506
  key: 0,
13006
13507
  class: "uid-pattern-page-header__description"
13007
- }, u_ = {
13508
+ }, iv = {
13008
13509
  key: 0,
13009
13510
  class: "uid-pattern-page-header__actions"
13010
- }, d_ = {
13511
+ }, av = {
13011
13512
  key: 1,
13012
13513
  class: "uid-pattern-page-header__tabs"
13013
- }, f_ = /* @__PURE__ */ f({
13514
+ }, ov = /* @__PURE__ */ f({
13014
13515
  __name: "UidPageHeader",
13015
13516
  props: {
13016
13517
  title: { default: void 0 },
@@ -13023,9 +13524,9 @@ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-pa
13023
13524
  emits: ["back"],
13024
13525
  setup(t, { emit: n }) {
13025
13526
  let r = Q(), i = n;
13026
- return (n, a) => (E(), c("div", r_, [
13027
- n.$slots.breadcrumb ? (E(), c("div", i_, [M(n.$slots, "breadcrumb")])) : s("", !0),
13028
- l("div", a_, [l("div", o_, [t.back ? (E(), c("button", {
13527
+ return (n, a) => (E(), c("div", Z_, [
13528
+ n.$slots.breadcrumb ? (E(), c("div", Q_, [M(n.$slots, "breadcrumb")])) : s("", !0),
13529
+ l("div", $_, [l("div", ev, [t.back ? (E(), c("button", {
13029
13530
  key: 0,
13030
13531
  type: "button",
13031
13532
  class: "uid-pattern-page-header__back",
@@ -13034,17 +13535,17 @@ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-pa
13034
13535
  }, [d(e, {
13035
13536
  icon: z(Ut),
13036
13537
  size: 20
13037
- }, null, 8, ["icon"])], 8, s_)) : s("", !0), l("div", null, [l("h1", c_, [M(n.$slots, "title", {}, () => [u(I(t.title), 1)])]), t.description || n.$slots.description ? (E(), c("p", l_, [M(n.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (E(), c("div", u_, [M(n.$slots, "actions")])) : s("", !0)]),
13038
- n.$slots.tabs ? (E(), c("div", d_, [M(n.$slots, "tabs")])) : s("", !0)
13538
+ }, null, 8, ["icon"])], 8, tv)) : s("", !0), l("div", null, [l("h1", nv, [M(n.$slots, "title", {}, () => [u(I(t.title), 1)])]), t.description || n.$slots.description ? (E(), c("p", rv, [M(n.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)])]), n.$slots.actions ? (E(), c("div", iv, [M(n.$slots, "actions")])) : s("", !0)]),
13539
+ n.$slots.tabs ? (E(), c("div", av, [M(n.$slots, "tabs")])) : s("", !0)
13039
13540
  ]));
13040
13541
  }
13041
- }), p_ = { class: "uid-pattern-empty-state" }, m_ = { class: "uid-pattern-empty-state__illustration" }, h_ = { class: "uid-pattern-empty-state__content" }, g_ = { class: "uid-pattern-empty-state__title" }, __ = {
13542
+ }), sv = { class: "uid-pattern-empty-state" }, cv = { class: "uid-pattern-empty-state__illustration" }, lv = { class: "uid-pattern-empty-state__content" }, uv = { class: "uid-pattern-empty-state__title" }, dv = {
13042
13543
  key: 0,
13043
13544
  class: "uid-pattern-empty-state__description"
13044
- }, v_ = {
13545
+ }, fv = {
13045
13546
  key: 0,
13046
13547
  class: "uid-pattern-empty-state__actions"
13047
- }, y_ = /* @__PURE__ */ f({
13548
+ }, pv = /* @__PURE__ */ f({
13048
13549
  __name: "UidEmptyState",
13049
13550
  props: {
13050
13551
  title: { default: void 0 },
@@ -13052,25 +13553,25 @@ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-pa
13052
13553
  },
13053
13554
  setup(t) {
13054
13555
  let n = Q();
13055
- return (r, i) => (E(), c("div", p_, [
13056
- l("div", m_, [M(r.$slots, "illustration", {}, () => [d(e, {
13556
+ return (r, i) => (E(), c("div", sv, [
13557
+ l("div", cv, [M(r.$slots, "illustration", {}, () => [d(e, {
13057
13558
  icon: z(sn),
13058
13559
  size: 48
13059
13560
  }, null, 8, ["icon"])])]),
13060
- l("div", h_, [l("h2", g_, [M(r.$slots, "title", {}, () => [u(I(t.title ?? z(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (E(), c("p", __, [M(r.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)]),
13061
- r.$slots.actions ? (E(), c("div", v_, [M(r.$slots, "actions")])) : s("", !0)
13561
+ l("div", lv, [l("h2", uv, [M(r.$slots, "title", {}, () => [u(I(t.title ?? z(n).emptyState.title), 1)])]), t.description || r.$slots.description ? (E(), c("p", dv, [M(r.$slots, "description", {}, () => [u(I(t.description), 1)])])) : s("", !0)]),
13562
+ r.$slots.actions ? (E(), c("div", fv, [M(r.$slots, "actions")])) : s("", !0)
13062
13563
  ]));
13063
13564
  }
13064
- }), b_ = { class: "uid-pattern-error-state" }, x_ = { class: "uid-pattern-error-state__illustration" }, S_ = {
13565
+ }), mv = { class: "uid-pattern-error-state" }, hv = { class: "uid-pattern-error-state__illustration" }, gv = {
13065
13566
  key: 0,
13066
13567
  class: "uid-pattern-error-state__code"
13067
- }, C_ = { class: "uid-pattern-error-state__content" }, w_ = { class: "uid-pattern-error-state__title" }, T_ = {
13568
+ }, _v = { class: "uid-pattern-error-state__content" }, vv = { class: "uid-pattern-error-state__title" }, yv = {
13068
13569
  key: 0,
13069
13570
  class: "uid-pattern-error-state__description"
13070
- }, E_ = {
13571
+ }, bv = {
13071
13572
  key: 1,
13072
13573
  class: "uid-pattern-error-state__actions"
13073
- }, D_ = /* @__PURE__ */ f({
13574
+ }, xv = /* @__PURE__ */ f({
13074
13575
  __name: "UidErrorState",
13075
13576
  props: {
13076
13577
  code: { default: void 0 },
@@ -13095,23 +13596,23 @@ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-pa
13095
13596
  description: r.value.errorState.offlineDescription
13096
13597
  }
13097
13598
  })), o = a(() => n.code ? i.value[n.code] ?? null : null), f = a(() => o.value?.icon ?? $t), p = a(() => n.title ?? o.value?.title ?? r.value.errorState.title), m = a(() => n.description ?? o.value?.description);
13098
- return (n, r) => (E(), c("div", b_, [
13099
- l("div", x_, [M(n.$slots, "illustration", {}, () => [d(e, {
13599
+ return (n, r) => (E(), c("div", mv, [
13600
+ l("div", hv, [M(n.$slots, "illustration", {}, () => [d(e, {
13100
13601
  icon: f.value,
13101
13602
  size: 48
13102
13603
  }, null, 8, ["icon"])])]),
13103
- t.code ? (E(), c("div", S_, I(t.code), 1)) : s("", !0),
13104
- l("div", C_, [l("h2", w_, [M(n.$slots, "title", {}, () => [u(I(p.value), 1)])]), m.value || n.$slots.description ? (E(), c("p", T_, [M(n.$slots, "description", {}, () => [u(I(m.value), 1)])])) : s("", !0)]),
13105
- n.$slots.actions ? (E(), c("div", E_, [M(n.$slots, "actions")])) : s("", !0)
13604
+ t.code ? (E(), c("div", gv, I(t.code), 1)) : s("", !0),
13605
+ l("div", _v, [l("h2", vv, [M(n.$slots, "title", {}, () => [u(I(p.value), 1)])]), m.value || n.$slots.description ? (E(), c("p", yv, [M(n.$slots, "description", {}, () => [u(I(m.value), 1)])])) : s("", !0)]),
13606
+ n.$slots.actions ? (E(), c("div", bv, [M(n.$slots, "actions")])) : s("", !0)
13106
13607
  ]));
13107
13608
  }
13108
- }), O_ = {
13609
+ }), Sv = {
13109
13610
  key: 0,
13110
13611
  class: "uid-layout-simple__header"
13111
- }, k_ = { class: "uid-layout-simple__content" }, A_ = {
13612
+ }, Cv = { class: "uid-layout-simple__content" }, wv = {
13112
13613
  key: 1,
13113
13614
  class: "uid-layout-simple__footer"
13114
- }, j_ = /* @__PURE__ */ f({
13615
+ }, Tv = /* @__PURE__ */ f({
13115
13616
  __name: "UidSimpleLayout",
13116
13617
  props: { full: {
13117
13618
  type: Boolean,
@@ -13119,26 +13620,26 @@ var n_ = /* @__PURE__ */ Vr($g, [["render", t_]]), r_ = { class: "uid-pattern-pa
13119
13620
  } },
13120
13621
  setup(e) {
13121
13622
  return (t, n) => (E(), c("div", { class: b(["uid-layout-simple", { "uid-layout-simple--full": e.full }]) }, [
13122
- t.$slots.header ? (E(), c("div", O_, [M(t.$slots, "header")])) : s("", !0),
13123
- l("main", k_, [M(t.$slots, "default")]),
13124
- t.$slots.footer ? (E(), c("div", A_, [M(t.$slots, "footer")])) : s("", !0)
13623
+ t.$slots.header ? (E(), c("div", Sv, [M(t.$slots, "header")])) : s("", !0),
13624
+ l("main", Cv, [M(t.$slots, "default")]),
13625
+ t.$slots.footer ? (E(), c("div", wv, [M(t.$slots, "footer")])) : s("", !0)
13125
13626
  ], 2));
13126
13627
  }
13127
- }), M_ = Symbol("uid-sidebar-layout");
13128
- function N_() {
13129
- let e = g(M_);
13628
+ }), Ev = Symbol("uid-sidebar-layout");
13629
+ function Dv() {
13630
+ let e = g(Ev);
13130
13631
  if (!e) throw Error("useSidebar() must be used inside UidSidebarLayout");
13131
13632
  return e;
13132
13633
  }
13133
13634
  //#endregion
13134
13635
  //#region src/layouts/Sidebar/UidSidebarLayout.vue?vue&type=script&setup=true&lang.ts
13135
- var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sidebar__main" }, I_ = {
13636
+ var Ov = { class: "uid-layout-sidebar__sidebar" }, kv = { class: "uid-layout-sidebar__main" }, Av = {
13136
13637
  key: 0,
13137
13638
  class: "uid-layout-sidebar__main-header"
13138
- }, L_ = { class: "uid-layout-sidebar__main-content" }, R_ = {
13639
+ }, jv = { class: "uid-layout-sidebar__main-content" }, Mv = {
13139
13640
  key: 1,
13140
13641
  class: "uid-layout-sidebar__main-footer"
13141
- }, z_ = /* @__PURE__ */ f({
13642
+ }, Nv = /* @__PURE__ */ f({
13142
13643
  __name: "UidSidebarLayout",
13143
13644
  props: /* @__PURE__ */ _({ sidebarWidth: { default: void 0 } }, {
13144
13645
  modelValue: {
@@ -13156,7 +13657,7 @@ var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sid
13156
13657
  }, o = () => {
13157
13658
  n.value = !0;
13158
13659
  };
13159
- D(M_, {
13660
+ D(Ev, {
13160
13661
  collapsed: n,
13161
13662
  toggle: r,
13162
13663
  open: i,
@@ -13167,58 +13668,58 @@ var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sid
13167
13668
  class: b(["uid-layout-sidebar", { "uid-layout-sidebar--collapsed": n.value }]),
13168
13669
  style: x(u.value)
13169
13670
  }, [
13170
- l("aside", P_, [M(e.$slots, "sidebar")]),
13671
+ l("aside", Ov, [M(e.$slots, "sidebar")]),
13171
13672
  l("div", {
13172
13673
  class: "uid-layout-sidebar__backdrop",
13173
13674
  "aria-hidden": "true",
13174
13675
  onClick: o
13175
13676
  }),
13176
- l("div", F_, [
13177
- e.$slots.header ? (E(), c("div", I_, [M(e.$slots, "header")])) : s("", !0),
13178
- l("main", L_, [M(e.$slots, "default")]),
13179
- e.$slots.footer ? (E(), c("div", R_, [M(e.$slots, "footer")])) : s("", !0)
13677
+ l("div", kv, [
13678
+ e.$slots.header ? (E(), c("div", Av, [M(e.$slots, "header")])) : s("", !0),
13679
+ l("main", jv, [M(e.$slots, "default")]),
13680
+ e.$slots.footer ? (E(), c("div", Mv, [M(e.$slots, "footer")])) : s("", !0)
13180
13681
  ])
13181
13682
  ], 6));
13182
13683
  }
13183
- }), B_ = {
13684
+ }), Pv = {
13184
13685
  key: 0,
13185
13686
  class: "uid-layout-auth__brand"
13186
- }, V_ = { class: "uid-layout-auth__main" }, H_ = { class: "uid-layout-auth__card" }, U_ = {
13687
+ }, Fv = { class: "uid-layout-auth__main" }, Iv = { class: "uid-layout-auth__card" }, Lv = {
13187
13688
  key: 0,
13188
13689
  class: "uid-layout-auth__footer"
13189
- }, W_ = /* @__PURE__ */ f({
13690
+ }, Rv = /* @__PURE__ */ f({
13190
13691
  __name: "UidAuthLayout",
13191
13692
  props: { variant: { default: "centered" } },
13192
13693
  setup(e) {
13193
- return (t, n) => (E(), c("div", { class: b(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (E(), c("div", B_, [M(t.$slots, "brand")])) : s("", !0), l("div", V_, [l("div", H_, [M(t.$slots, "default")]), t.$slots.footer ? (E(), c("div", U_, [M(t.$slots, "footer")])) : s("", !0)])], 2));
13694
+ return (t, n) => (E(), c("div", { class: b(["uid-layout-auth", [`uid-layout-auth--${e.variant}`]]) }, [e.variant === "split" && t.$slots.brand ? (E(), c("div", Pv, [M(t.$slots, "brand")])) : s("", !0), l("div", Fv, [l("div", Iv, [M(t.$slots, "default")]), t.$slots.footer ? (E(), c("div", Lv, [M(t.$slots, "footer")])) : s("", !0)])], 2));
13194
13695
  }
13195
- }), G_ = { class: "uid-layout-wizard" }, K_ = {
13696
+ }), zv = { class: "uid-layout-wizard" }, Bv = {
13196
13697
  key: 0,
13197
13698
  class: "uid-layout-wizard__header"
13198
- }, q_ = {
13699
+ }, Vv = {
13199
13700
  key: 1,
13200
13701
  class: "uid-layout-wizard__stepper"
13201
- }, J_ = { class: "uid-layout-wizard__content" }, Y_ = {
13702
+ }, Hv = { class: "uid-layout-wizard__content" }, Uv = {
13202
13703
  key: 2,
13203
13704
  class: "uid-layout-wizard__nav"
13204
- }, X_ = /* @__PURE__ */ f({
13705
+ }, Wv = /* @__PURE__ */ f({
13205
13706
  __name: "UidWizardLayout",
13206
13707
  setup(e) {
13207
- return (e, t) => (E(), c("div", G_, [
13208
- e.$slots.header ? (E(), c("div", K_, [M(e.$slots, "header")])) : s("", !0),
13209
- e.$slots.stepper ? (E(), c("div", q_, [M(e.$slots, "stepper")])) : s("", !0),
13210
- l("main", J_, [M(e.$slots, "default")]),
13211
- e.$slots.nav ? (E(), c("div", Y_, [M(e.$slots, "nav")])) : s("", !0)
13708
+ return (e, t) => (E(), c("div", zv, [
13709
+ e.$slots.header ? (E(), c("div", Bv, [M(e.$slots, "header")])) : s("", !0),
13710
+ e.$slots.stepper ? (E(), c("div", Vv, [M(e.$slots, "stepper")])) : s("", !0),
13711
+ l("main", Hv, [M(e.$slots, "default")]),
13712
+ e.$slots.nav ? (E(), c("div", Uv, [M(e.$slots, "nav")])) : s("", !0)
13212
13713
  ]));
13213
13714
  }
13214
- }), Z_ = /* @__PURE__ */ f({
13715
+ }), Gv = /* @__PURE__ */ f({
13215
13716
  __name: "UidLocaleProvider",
13216
13717
  props: { locale: {} },
13217
13718
  setup(e) {
13218
13719
  let t = e;
13219
13720
  return Mt(a(() => t.locale)), (e, t) => M(e.$slots, "default");
13220
13721
  }
13221
- }), Q_ = {
13722
+ }), Kv = {
13222
13723
  code: "ru-RU",
13223
13724
  common: {
13224
13725
  clear: "Очистить",
@@ -13410,7 +13911,42 @@ var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sid
13410
13911
  offlineDescription: "Проверьте подключение к интернету и попробуйте снова."
13411
13912
  },
13412
13913
  wizard: { step: (e) => `Шаг ${e}` },
13413
- calendar: { today: "Сегодня" },
13914
+ calendar: {
13915
+ today: "Сегодня",
13916
+ views: {
13917
+ day: "День",
13918
+ week: "Неделя",
13919
+ month: "Месяц",
13920
+ year: "Год",
13921
+ agenda: "Повестка"
13922
+ },
13923
+ allDay: "Весь день",
13924
+ noEvents: "Событий нет",
13925
+ more: (e) => `+${e}`,
13926
+ monthsGenitive: [
13927
+ "января",
13928
+ "февраля",
13929
+ "марта",
13930
+ "апреля",
13931
+ "мая",
13932
+ "июня",
13933
+ "июля",
13934
+ "августа",
13935
+ "сентября",
13936
+ "октября",
13937
+ "ноября",
13938
+ "декабря"
13939
+ ],
13940
+ weekdaysLong: [
13941
+ "Понедельник",
13942
+ "Вторник",
13943
+ "Среда",
13944
+ "Четверг",
13945
+ "Пятница",
13946
+ "Суббота",
13947
+ "Воскресенье"
13948
+ ]
13949
+ },
13414
13950
  carousel: {
13415
13951
  prev: "Предыдущий",
13416
13952
  next: "Следующий",
@@ -13475,19 +14011,19 @@ var P_ = { class: "uid-layout-sidebar__sidebar" }, F_ = { class: "uid-layout-sid
13475
14011
  sameAs: "Значения не совпадают",
13476
14012
  unknown: (e) => `Ошибка валидации: ${e}`
13477
14013
  }
13478
- }, $_ = A("light");
13479
- function ev() {
14014
+ }, qv = A("light");
14015
+ function Jv() {
13480
14016
  let e = null;
13481
14017
  function t(e) {
13482
- $_.value = e, document.documentElement.dataset.theme = e;
14018
+ qv.value = e, document.documentElement.dataset.theme = e;
13483
14019
  }
13484
14020
  function n() {
13485
- t($_.value === "light" ? "dark" : "light");
14021
+ t(qv.value === "light" ? "dark" : "light");
13486
14022
  }
13487
14023
  function r() {
13488
14024
  let e = document.documentElement.dataset.theme;
13489
14025
  if (e === "light" || e === "dark") {
13490
- $_.value = e;
14026
+ qv.value = e;
13491
14027
  return;
13492
14028
  }
13493
14029
  let n = window.matchMedia("(prefers-color-scheme: dark)").matches;
@@ -13499,7 +14035,7 @@ function ev() {
13499
14035
  e.addEventListener("change", n), w(() => e?.removeEventListener("change", n));
13500
14036
  }
13501
14037
  return {
13502
- theme: $_,
14038
+ theme: qv,
13503
14039
  setTheme: t,
13504
14040
  toggle: n,
13505
14041
  initFromSystem: r,
@@ -13508,27 +14044,27 @@ function ev() {
13508
14044
  }
13509
14045
  //#endregion
13510
14046
  //#region src/composables/useWizard.ts
13511
- function tv() {
13512
- let e = g(Tg);
14047
+ function Yv() {
14048
+ let e = g(y_);
13513
14049
  if (!e) throw Error("useWizard() must be used inside UidWizard");
13514
14050
  return e;
13515
14051
  }
13516
14052
  //#endregion
13517
14053
  //#region src/composables/useCommandPalette.ts
13518
- var nv = A(!1);
13519
- function rv() {
14054
+ var Xv = A(!1);
14055
+ function Zv() {
13520
14056
  return {
13521
- open: nv,
14057
+ open: Xv,
13522
14058
  show: () => {
13523
- nv.value = !0;
14059
+ Xv.value = !0;
13524
14060
  },
13525
14061
  hide: () => {
13526
- nv.value = !1;
14062
+ Xv.value = !1;
13527
14063
  },
13528
14064
  toggle: () => {
13529
- nv.value = !nv.value;
14065
+ Xv.value = !Xv.value;
13530
14066
  }
13531
14067
  };
13532
14068
  }
13533
14069
  //#endregion
13534
- export { Du as PLAYBACK_RATES, aa as UidAccordion, da as UidAccordionItem, qf as UidAffix, Rn as UidAlert, np as UidAnchor, ff as UidAudio, W_ as UidAuthLayout, Yi as UidAvatar, Qi as UidAvatarGroup, Gf as UidBackTop, Rt as UidBadge, $p as UidBoard, fi as UidBreadcrumb, yi as UidBreadcrumbItem, ae as UidButton, ih as UidCalendar, Ki as UidCard, zp as UidCarousel, Wm as UidCascader, $e as UidCheckbox, at as UidCheckboxGroup, Cl as UidCode, Do as UidColorPicker, $s as UidCombobox, Ro as UidCommand, wg as UidContainer, qa as UidDatePicker, Ps as UidDateRangePicker, Lf as UidDescriptionItem, Nf as UidDescriptionList, na as UidDivider, br as UidDrawer, y_ as UidEmptyState, D_ as UidErrorState, Rc as UidFileUpload, Bg as UidFooter, Ot as UidFormField, Fh as UidGauge, Cg as UidGrid, Fg as UidHeader, Uh as UidHeatmap, pg as UidHeatmapMatrix, e as UidIcon, pu as UidImage, Ii as UidInfiniteScroll, Ue as UidInput, Ct as UidLabel, bi as UidLink, Ni as UidLoadMore, Z_ as UidLocaleProvider, iu as UidMarkdown, _p as UidMention, Rr as UidMenu, Br as UidMenuItem, Gr as UidMenuSeparator, pr as UidModal, Np as UidNotificationBadge, Ko as UidNumberInput, f_ as UidPageHeader, Bi as UidPageSize, Ei as UidPagination, Ai as UidPaginationCursor, kr as UidPopover, er as UidProgress, bh as UidProgressRing, lt as UidRadio, ht as UidRadioGroup, vf as UidRating, Uf as UidResult, Fa as UidSelect, Gg as UidSidebar, n_ as UidSidebarDivider, Qg as UidSidebarGroup, Yg as UidSidebarItem, z_ as UidSidebarLayout, j_ as UidSimpleLayout, Lt as UidSkeleton, no as UidSlider, mh as UidSparkline, Ft as UidSpinner, xf as UidSplitter, Sg as UidStack, Af as UidStat, xg as UidStepper, $r as UidSubMenu, bt as UidSwitch, ai as UidTab, si as UidTabPanel, xa as UidTable, ri as UidTabs, ea as UidTag, Bs as UidTagsInput, Je as UidTextarea, is as UidTimePicker, dc as UidTimeline, yc as UidTimelineItem, Wn as UidToast, Jn as UidToastProvider, Er as UidTooltip, up as UidTour, Tm as UidTransfer, cc as UidTreeItem, Ap as UidTreeSelect, uc as UidTreeView, zd as UidVideo, Ja as UidVirtualList, Xf as UidWatermark, Dg as UidWizard, X_ as UidWizardLayout, kg as UidWizardStep, Vu as clearWaveformCache, ju as computePeaks, Ol as createSlugger, wu as cueAt, Cu as cueText, ve as email, Z as en, El as escapeHtml, mu as formatTime, fe as getMessage, Bu as getWaveform, Jh as heatmapColorAt, Wh as heatmapColorScales, De as inList, xe as integer, pl as isHighlightable, vu as isHlsSource, ql as markdownBlockRenderersKey, Ce as max, Te as maxValue, Se as min, we as minValue, ho as normalizeColor, Mu as normalizePeaks, _e as nullable, be as numeric, yu as orderSources, fo as parseColor, Me as parseRules, Tu as parseThumbnail, xu as parseVtt, Pu as peaksToPath, Nt as provideAppLocale, Mt as provideLocale, Jl as provideMarkdownBlockRenderers, Ee as regex, Bl as renderMarkdown, ge as required, ke as requiredIf, Ae as requiredUnless, Nu as resamplePeaks, Ml as resolveAgainst, Kh as resolveHeatmapStops, Q_ as ru, Ne as runRules, Oe as sameAs, de as setMessages, le as setValidationLocale, Kl as splitMarkdown, ml as tokenize, kt as uidLocaleKey, ye as url, rv as useCommandPalette, Pe as useField, nr as useFocusTrap, Q as useLocale, Yl as useMarkdownBlockRenderers, gd as useMediaController, Cr as usePopover, ir as useScrollLock, N_ as useSidebar, ev as useTheme, qn as useToast, tv as useWizard };
14070
+ export { Du as PLAYBACK_RATES, aa as UidAccordion, da as UidAccordionItem, qf as UidAffix, Rn as UidAlert, np as UidAnchor, ff as UidAudio, Rv as UidAuthLayout, Yi as UidAvatar, Qi as UidAvatarGroup, Gf as UidBackTop, Rt as UidBadge, $p as UidBoard, fi as UidBreadcrumb, yi as UidBreadcrumbItem, ae as UidButton, Qh as UidCalendar, Ki as UidCard, zp as UidCarousel, Wm as UidCascader, $e as UidCheckbox, at as UidCheckboxGroup, Cl as UidCode, Do as UidColorPicker, $s as UidCombobox, Ro as UidCommand, v_ as UidContainer, qa as UidDatePicker, Ps as UidDateRangePicker, Lf as UidDescriptionItem, Nf as UidDescriptionList, na as UidDivider, br as UidDrawer, pv as UidEmptyState, xv as UidErrorState, Rc as UidFileUpload, P_ as UidFooter, Ot as UidFormField, kg as UidGauge, __ as UidGrid, k_ as UidHeader, Lg as UidHeatmap, s_ as UidHeatmapMatrix, e as UidIcon, pu as UidImage, Ii as UidInfiniteScroll, Ue as UidInput, Ct as UidLabel, bi as UidLink, Ni as UidLoadMore, Gv as UidLocaleProvider, iu as UidMarkdown, _p as UidMention, Rr as UidMenu, Br as UidMenuItem, Gr as UidMenuSeparator, pr as UidModal, Np as UidNotificationBadge, Ko as UidNumberInput, ov as UidPageHeader, Bi as UidPageSize, Ei as UidPagination, Ai as UidPaginationCursor, kr as UidPopover, er as UidProgress, mg as UidProgressRing, lt as UidRadio, ht as UidRadioGroup, vf as UidRating, Uf as UidResult, Fa as UidSelect, z_ as UidSidebar, X_ as UidSidebarDivider, K_ as UidSidebarGroup, U_ as UidSidebarItem, Nv as UidSidebarLayout, Tv as UidSimpleLayout, Lt as UidSkeleton, no as UidSlider, cg as UidSparkline, Ft as UidSpinner, xf as UidSplitter, g_ as UidStack, Af as UidStat, h_ as UidStepper, $r as UidSubMenu, bt as UidSwitch, ai as UidTab, si as UidTabPanel, xa as UidTable, ri as UidTabs, ea as UidTag, Bs as UidTagsInput, Je as UidTextarea, is as UidTimePicker, dc as UidTimeline, yc as UidTimelineItem, Wn as UidToast, Jn as UidToastProvider, Er as UidTooltip, up as UidTour, Tm as UidTransfer, cc as UidTreeItem, Ap as UidTreeSelect, uc as UidTreeView, zd as UidVideo, Ja as UidVirtualList, Xf as UidWatermark, x_ as UidWizard, Wv as UidWizardLayout, C_ as UidWizardStep, Vu as clearWaveformCache, ju as computePeaks, Ol as createSlugger, wu as cueAt, Cu as cueText, ve as email, Z as en, El as escapeHtml, mu as formatTime, fe as getMessage, Bu as getWaveform, Hg as heatmapColorAt, Rg as heatmapColorScales, De as inList, xe as integer, pl as isHighlightable, vu as isHlsSource, ql as markdownBlockRenderersKey, Ce as max, Te as maxValue, Se as min, we as minValue, ho as normalizeColor, Mu as normalizePeaks, _e as nullable, be as numeric, yu as orderSources, fo as parseColor, Me as parseRules, Tu as parseThumbnail, xu as parseVtt, Pu as peaksToPath, Nt as provideAppLocale, Mt as provideLocale, Jl as provideMarkdownBlockRenderers, Ee as regex, Bl as renderMarkdown, ge as required, ke as requiredIf, Ae as requiredUnless, Nu as resamplePeaks, Ml as resolveAgainst, Bg as resolveHeatmapStops, Kv as ru, Ne as runRules, Oe as sameAs, de as setMessages, le as setValidationLocale, Kl as splitMarkdown, ml as tokenize, kt as uidLocaleKey, ye as url, Zv as useCommandPalette, Pe as useField, nr as useFocusTrap, Q as useLocale, Yl as useMarkdownBlockRenderers, gd as useMediaController, Cr as usePopover, ir as useScrollLock, Dv as useSidebar, Jv as useTheme, qn as useToast, Yv as useWizard };